/* ===== RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --negro-base: #050A1F;
  --azul-profundo: #0A1B5C;
  --azul-corporativo: #0D2C8B;
  --azul-electrico: #2979FF;
  --cian-neon: #00E5FF;
  --turquesa-tech: #2CB9C6;
  --blanco-frio: #F4F8FF;
  --gris-azulado: #8FA9C9;
  --gris-oscuro: #1B1F2E;

  --glass-bg: rgba(10, 27, 92, 0.2);
  --glass-border: rgba(0, 229, 255, 0.15);
  --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 229, 255, 0.1) inset;
  --glow-neon: 0 0 20px rgba(0, 229, 255, 0.3);
  --transition-slow: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--negro-base);
  color: var(--blanco-frio);
  line-height: 1.7;
  font-size: 1.1rem;
  overflow-x: hidden;
}

/* ===== FONDO MULTICAPA ===== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(45deg,
      rgba(0, 229, 255, 0.02) 0px,
      rgba(0, 229, 255, 0.02) 2px,
      transparent 2px,
      transparent 6px),
    radial-gradient(circle at 20% 30%, rgba(41, 121, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.08) 0%, transparent 45%),
    linear-gradient(135deg, var(--negro-base) 0%, var(--azul-profundo) 70%, #0A1F4A 100%);
  pointer-events: none;
  z-index: 0;
}

.tech-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
  animation: gridMove 40s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 901px) {
  body {
    cursor: none;
  }

  .custom-cursor {
    width: 32px;
    height: 32px;
    border: 2px solid var(--cian-neon);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.2s;
    box-shadow: 0 0 20px var(--cian-neon);
    backdrop-filter: blur(4px);
    background: rgba(0, 229, 255, 0.05);
  }

  .custom-cursor.hover {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 229, 255, 0.15);
    border-color: var(--blanco-frio);
    box-shadow: 0 0 30px var(--azul-electrico);
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  position: relative;
  z-index: 5;
}

/* ===== TÍTULOS DE SECCIÓN ===== */
.section-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--blanco-frio) 0%, var(--cian-neon) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
  letter-spacing: -0.02em;
}

.section-title-white-bg {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--azul-profundo);
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {

  .section-title,
  .section-title-white-bg {
    font-size: 2.8rem;
  }
}

@media (max-width: 550px) {

  .section-title,
  .section-title-white-bg {
    font-size: 2.2rem;
  }
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background: rgba(5, 10, 31, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.logo-img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--cian-neon));
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: var(--cian-neon);
  cursor: pointer;
  transition: color 0.3s;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--blanco-frio);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  transition: color 0.3s;
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--cian-neon);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 2rem;
}

.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(5, 10, 31, 0.9) 0%, rgba(10, 27, 92, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
}

.hero-logo {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 0 30px var(--azul-electrico));
  margin-bottom: 2rem;
  animation: glowPulse 3s infinite alternate;
}

.hero h1 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--blanco-frio) 0%, var(--cian-neon) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
}

.hero .highlight {
  background: linear-gradient(135deg, var(--cian-neon), var(--azul-electrico));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== PRESENTACIÓN EMPRESA ===== */
.presentacion {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 3rem;
  margin: 4rem auto;
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.presentacion p {
  font-size: 1.4rem;
  color: var(--gris-azulado);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
}

.resaltado {
  font-weight: 800;
  color: var(--cian-neon);
  text-shadow: 0 0 15px currentColor;
}

/* ===== CON QUIENES TRABAJAMOS ===== */
.colaboradores-wrapper {
  background-color: white;
  border-radius: 60px;
  padding: 3rem 2rem;
  margin: 3rem 0;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.colaboradores-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0 0;
}

.colaboradores-grid img {
  width: 120px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.colaboradores-grid img:hover {
  transform: scale(1.05);
}

/* ===== NOVEDADES ===== */
.novedades {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 3rem;
  margin: 4rem auto;
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.carrusel-container {
  position: relative;
  max-width: 600px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 30px;
}

.carrusel-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.carrusel-slide {
  min-width: 100%;
}

.carrusel-slide img {
  width: 100%;
  display: block;
  border-radius: 30px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.carrusel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 229, 255, 0.2);
  border: 1px solid var(--cian-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cian-neon);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.carrusel-control:hover {
  background: rgba(0, 229, 255, 0.5);
  box-shadow: var(--glow-neon);
  transform: translateY(-50%) scale(1.1);
}

.carrusel-control.prev {
  left: 10px;
}

.carrusel-control.next {
  right: 10px;
}

.carrusel-indicadores {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.indicador {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gris-azulado);
  cursor: pointer;
  transition: background 0.3s;
}

.indicador.activo {
  background: var(--cian-neon);
  box-shadow: 0 0 10px var(--cian-neon);
}

/* ===== SERVICIOS (CORREGIDO) ===== */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  flex: 0 1 300px;
  min-width: 260px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-slow);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--cian-neon);
  box-shadow: 0 30px 50px -20px rgba(0, 229, 255, 0.3), var(--glass-shadow);
}

.service-icon {
  font-size: 3rem;
  color: var(--cian-neon);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px currentColor);
}

.service-card h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--blanco-frio);
}

.service-card p {
  color: var(--gris-azulado);
  font-size: 1.1rem;
}

.btn-saber-mas {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  border: 1px solid var(--cian-neon);
  border-radius: 50px;
  color: var(--blanco-frio);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-saber-mas:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: var(--glow-neon);
}

/* ===== POR QUÉ ESCOGERNOS ===== */
.casos-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.caso-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-slow);
}

.caso-item:hover {
  border-color: var(--turquesa-tech);
}

.caso-texto h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--blanco-frio);
}

.caso-texto p {
  color: var(--gris-azulado);
  font-size: 1.2rem;
  line-height: 1.8;
}

.caso-imagen {
  display: flex;
  justify-content: center;
  align-items: center;
}

.caso-imagen img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s;
}

.caso-item:hover .caso-imagen img {
  transform: scale(1.02);
}

/* Orden por defecto: texto izquierda, imagen derecha */
.caso-item:nth-child(even) .caso-imagen {
  order: 0;
}

.caso-item:nth-child(even) .caso-texto {
  order: 1;
}

.caso-item:nth-child(odd) .caso-imagen {
  order: 1;
}

.caso-item:nth-child(odd) .caso-texto {
  order: 0;
}

/* ===== EQUIPO ===== */
.equipo {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 60px;
  padding: 4rem;
  margin: 4rem 0;
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.equipo-texto {
  color: var(--gris-azulado);
  font-size: 1.3rem;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
}

/* Destacar la frase principal */
.destacado-rivaldo {
  font-size: 2.2rem;
  font-weight: 800;
  display: inline-block;
  background: linear-gradient(45deg, var(--cian-neon), var(--azul-electrico), var(--turquesa-tech));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
  animation: brilloNeon 2s infinite alternate;
  transition: transform 0.3s;
}

.destacado-rivaldo:hover {
  transform: scale(1.05);
  animation: none;
  text-shadow: 0 0 40px var(--cian-neon);
}

@keyframes brilloNeon {
  0% {
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3), 0 0 20px rgba(0, 229, 255, 0.2);
  }

  100% {
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.8), 0 0 50px rgba(41, 121, 255, 0.6);
  }
}

.equipo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.equipo-imagen img {
  width: 100%;
  max-width: 400px;
  border-radius: 30px;
  border: 1px solid var(--cian-neon);
  box-shadow: var(--glow-neon);
}

.liderazgo-tiktok {
  width: 100%;
  overflow: hidden;
}

.liderazgo-tiktok .tiktok-embed {
  max-width: 100% !important;
  min-width: auto !important;
  width: 100% !important;
}

/* ===== PROMOCIONES ===== */
.promociones-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.promociones-grid img {
  width: 250px;
  height: auto;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s, opacity 0.3s;
  cursor: pointer;
}

.promociones-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-neon);
  opacity: 0.9;
}

/* ===== PROYECTOS DESTACADOS ===== */
/* reutiliza .casos-grid y .caso-item */

/* ===== EXPERIENCIAS ===== */
.experiencias-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.experiencias-grid img {
  width: 300px;
  height: auto;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s;
}

.experiencias-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-neon);
}

/* ===== UBICACIÓN (dos columnas) ===== */
.ubicacion-container {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 60px;
  padding: 3rem;
  margin: 4rem auto;
  box-shadow: var(--glass-shadow);
}

.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ubicacion-texto {
  color: var(--gris-azulado);
}

.ubicacion-texto h3 {
  font-size: 2.2rem;
  color: var(--cian-neon);
  margin-bottom: 1.5rem;
}

.ubicacion-texto p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.ubicacion-texto i {
  color: var(--cian-neon);
  margin-right: 0.5rem;
}

.mapa-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  /* relación 4:3, ajustable sin deformar */
  height: 0;
  overflow: hidden;
  border-radius: 30px;
}

.mapa-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== CONTACTO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 60px;
  padding: 3rem;
  margin-top: 2rem;
}

.contact-form h3,
.contact-info h3 {
  font-size: 2.2rem;
  color: var(--blanco-frio);
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--cian-neon);
  font-family: 'Space Mono', monospace;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 1rem 1.5rem;
  color: var(--blanco-frio);
  font-size: 1.1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cian-neon);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.btn-primary {
  background: transparent;
  border: 1px solid var(--cian-neon);
  color: var(--blanco-frio);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  font-size: 1.2rem;
}

.btn-primary:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: var(--glow-neon);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  box-shadow: 0 0 25px #25D366;
}

.info-phone {
  font-size: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.info-phone i {
  color: var(--cian-neon);
}

.phone-badge {
  display: inline-block;
  border: 1px solid var(--cian-neon);
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 1.1rem;
  max-width: 100%;
  word-break: break-word;
}

/* ===== REDES SOCIALES ===== */
/* --- FOOTER SOCIAL SECTION (FONDO NEGRO PROFESIONAL) --- */

:root {
  --cian-neon: #00e5ff;
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contenedor General */
.social-section {
  width: 100%;
  margin: 4rem 0 0 0;
  background: #09072c;
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
  text-align: center;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid de Redes Sociales */
.social-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem auto;
  flex-wrap: wrap;
}

.social-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  flex: 1 1 160px;
  max-width: 180px;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition-slow);
  animation: breathe 4s infinite ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-card:hover {
  border-color: var(--cian-neon);
  transform: translateY(-8px);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.2);
}

.social-icon {
  font-size: 2.2rem;
  color: var(--cian-neon);
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.social-follow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Efecto hover en links de navegación */
.footer-col ul li a:hover {
  color: var(--cian-neon) !important;
  padding-left: 5px;
}

@keyframes breathe {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(0, 229, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }

  50% {
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
  }
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center !important;
  }

  .social-grid {
    gap: 0.8rem;
  }
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 4rem;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  background: rgba(5, 10, 31, 0.5);
  backdrop-filter: blur(10px);
  font-size: 1.1rem;
}

.social-buttons {
  display: flex;
  gap: 1rem;
}

.btn-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cian-neon);
  transition: 0.3s;
}

.btn-social:hover {
  background: var(--cian-neon);
  color: var(--negro-base);
  transform: translateY(-3px);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--cian-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cian-neon);
  text-decoration: none;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--cian-neon);
  color: var(--negro-base);
}

/* ===== MODAL PARA AMPLIAR IMAGEN ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border: 2px solid var(--cian-neon);
  border-radius: 10px;
  box-shadow: 0 0 30px var(--cian-neon);
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--blanco-frio);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10001;
}

.close-modal:hover {
  color: var(--cian-neon);
}

/* ===== ANIMACIONES SCROLL ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(5, 10, 31, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 99;
  }

  .menu-toggle:checked~.nav-links {
    transform: translateY(0);
  }

  .menu-toggle {
    display: none;
  }

  .hamburger {
    font-size: 2rem;
    user-select: none;
  }

  .container {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-logo {
    width: 120px;
  }

  /* En móvil: texto antes que imagen */
  .caso-item,
  .equipo-duo,
  .ubicacion-grid {
    grid-template-columns: 1fr;
  }

  .caso-item:nth-child(even) .caso-imagen,
  .caso-item:nth-child(odd) .caso-imagen {
    order: 1;
    /* imagen después del texto */
  }

  .caso-item:nth-child(even) .caso-texto,
  .caso-item:nth-child(odd) .caso-texto {
    order: 0;
    /* texto primero */
  }

  .equipo-duo {
    gap: 2rem;
  }

  .equipo-imagen img {
    max-width: 70%;
  }

  .ubicacion-grid {
    gap: 2rem;
  }

  .mapa-wrapper {
    padding-bottom: 56.25%;
    /* 16:9 en móvil */
  }

  .info-phone {
    font-size: 1.6rem;
  }

  .social-grid {
    flex-direction: column;
    align-items: center;
  }

  .social-card {
    width: 100%;
    max-width: 300px;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .colaboradores-grid img {
    width: 80px;
  }

  .carrusel-control {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .close-modal {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}

@media (max-width: 550px) {
  body {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-logo {
    width: 100px;
  }

  .presentacion p {
    font-size: 1.1rem;
  }

  .service-card h3 {
    font-size: 1.6rem;
  }

  .btn-saber-mas {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }

  .info-phone {
    font-size: 1.3rem;
  }

  .phone-badge {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .destacado-rivaldo {
    font-size: 1.8rem;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--cian-neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  /* Esto hace que el centro del círculo coincida con la punta del mouse */
  margin-left: -10px;
  margin-top: -10px;
  /* ¡IMPORTANTE!: Solo transiciones para tamaño/color, NUNCA para transform */
  transition: width 0.2s ease, height 0.2s ease, background 0.3s ease;
  will-change: transform;
}
/* Contenedor Grid */
.equipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

/* Columna de multimedia */
.equipo-media {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.equipo-img-principal {
  width: 100%;
  max-width: 350px;
  border-radius: 15px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
}

/* Ajuste del TikTok para que no ocupe demasiado espacio */
.video-preview {
  max-width: 350px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .equipo-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .equipo-media {
    order: -1; /* El video/foto sale primero en móvil */
  }
}

.destacado-rivaldo {
  color: #00e5ff;
  font-weight: 700;
  display: block;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
/* Contenedor Duo: Foto y TikTok */
.equipo-duo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.equipo-imagen {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.equipo-imagen img {
    width: 280px; /* Tamaño mediano */
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    background: rgba(10, 25, 47, 0.4);
    padding: 8px;
}

/* El cuadrito de datos debajo de la imagen */
.info-badge-mini {
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.4);
    padding: 10px 20px;
    border-radius: 12px;
    margin-top: -20px; /* Efecto de solapado */
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.info-badge-mini .nombre {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.info-badge-mini .cargo {
    display: block;
    color: #00e5ff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TikTok Mediano y Limpio */
.liderazgo-tiktok {
    max-width: 325px; /* Evita que el video sea gigante */
    width: 100%;
}

.tiktok-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .equipo-duo {
        flex-direction: column;
        gap: 30px;
    }
    .info-badge-mini {
        margin-top: 10px;
    }
}
.carrusel-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); /* Transición suave */
    will-change: transform; /* Prepara a la GPU */
    backface-visibility: hidden;
}

.carrusel-slide {
    min-width: 100%;
    user-select: none;
}

.carrusel-slide img {
    width: 100%;
    display: block;
    pointer-events: none; /* Evita que el arrastre accidental rompa el carrusel */
}
/* Contenedor Principal con Fondo Azul */
.colaboradores-section {
    background: linear-gradient(135deg, #0a192f 0%, #06101f 100%);
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.section-title-white-bg span {
    color: #fff; /* Ajustamos el color para que resalte en el azul */
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Slider Infinito */
.logos-slider {
    position: relative;
    width: 100%;
    margin-top: 40px;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos-track {
    display: flex;
    width: calc(250px * 14); /* Ajustar según número de logos */
    animation: scroll-infinito 30s linear infinite;
    will-change: transform;
}

.logo-item {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.logo-item img {
    max-width: 160px;
    height: auto;
    filter: grayscale(100%) brightness(1.5); /* Logos en blanco/gris para elegancia */
    opacity: 0.6;
    transition: all 0.4s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Animación de movimiento */
@keyframes scroll-infinito {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(calc(-250px * 7), 0, 0); }
}

/* Pausar al pasar el mouse */
.logos-slider:hover .logos-track {
    animation-play-state: paused;
}
/* Sección General */
.colaboradores-section {
    padding: 80px 0;
    background: #0a192f; /* Azul Medianoche de la empresa */
    position: relative;
}

/* Tarjeta contenedora con efecto Glassmorphism */
.colaboradores-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
}

.section-title-white-bg span {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    display: block;
    margin-bottom: 40px;
}

/* Contenedor de la Sección */
.colaboradores-section {
    padding: 60px 0;
    background: #0a192f; /* Fondo base de la empresa */
    display: flex;
    justify-content: center;
}

/* El Cuadro (Card) */
.alianzas-card {
    background: rgba(16, 33, 58, 0.4); /* Azul traslúcido */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 229, 255, 0.2); /* Borde Cian sutil */
    border-radius: 24px;
    padding: 40px;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.alianzas-card h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.section-subtitle {
    color: rgba(0, 229, 255, 0.8);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-family: 'Space Mono', monospace;
}

/* Grid de Logos */
.colaboradores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    align-items: center;
}

.logo-box {
    display: flex;
    justify-content: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.logo-box img {
    max-width: 110px;
    width: 100%;
    height: auto;
    filter: brightness(1.2) contrast(1.1);
}

/* Hover liviano */
.logo-box:hover {
    transform: translateY(-5px);
}

/* Responsive Móvil */
@media (max-width: 480px) {
    .colaboradores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .alianzas-card {
        padding: 25px 15px;
    }
}
/* Eliminamos fondo de la sección para máxima velocidad */
.seccion-limpia {
    padding: 40px 0;
    background: transparent; 
}

/* El Cuadro: Minimalismo Científico */
.cuadro-alianzas {
    border: 1px solid rgba(0, 229, 255, 0.3); /* Borde Cian muy fino */
    border-radius: 12px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(10, 25, 47, 0.2); /* Un toque de color para legibilidad */
}

.titulo-cuadro {
    color: #00e5ff;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

/* Grid de Logos: Estática y rápida */
.grid-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.grid-logos img {
    height: 50px; /* Tamaño uniforme para evitar saltos de layout */
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Pone los logos en blanco puro: carga más rápido visualmente */
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.grid-logos img:hover {
    opacity: 1;
}

/* Ajuste para móviles: se apilan solos */
@media (max-width: 600px) {
    .grid-logos {
        gap: 20px;
    }
    .grid-logos img {
        height: 40px;
    }
}
/* El contenedor que simula un monitor científico */
.scanner-frame {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    background: rgba(0, 229, 255, 0.02);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 4px;
}

/* Acoplar imágenes al cuadro */
.carrusel-container {
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Mantiene la proporción siempre */
    background: #000;
}

.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen sin deformarla */
    filter: contrast(1.1) brightness(0.9) saturate(1.1); /* Look más "tech" */
}

/* Ideas Tecnológicas: Esquinas de radar */
.corner-top-left, .corner-bottom-right {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #00e5ff;
}

.corner-top-left {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.corner-bottom-right {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* Indicadores tipo "Bit" */
.indicador {
    width: 12px;
    height: 4px;
    background: rgba(0, 229, 255, 0.2);
    border-radius: 0; /* Cuadrados para look digital */
    transition: all 0.3s ease;
}

.indicador.activo {
    background: #00e5ff;
    box-shadow: 0 0 10px #00e5ff;
    width: 24px;
}

/* Controles minimalistas */
.carrusel-control {
    background: rgba(10, 25, 47, 0.7);
    color: #00e5ff;
    width: 40px;
    height: 40px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 229, 255, 0.3);
}
/* Contenedor Maestro */
.tech-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
}

/* Cada Cuadro de Imagen */
.grid-item {
    background: #0d1b2a;
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.grid-item:hover {
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    transform: translateY(-5px);
}

/* Cabecera Técnica */
.item-header {
    background: rgba(0, 229, 255, 0.1);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #00e5ff;
}

/* Cuerpo: La Imagen */
.item-body {
    width: 100%;
    aspect-ratio: 1 / 1; /* Cuadradas para orden visual */
    overflow: hidden;
    background: #000;
}

.item-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    filter: saturate(1.2) contrast(1.1);
}

/* Pie de cuadro */
.item-footer {
    padding: 6px 12px;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Space Mono', monospace;
    border-top: 1px solid rgba(0, 229, 255, 0.05);
}

/* Responsive para que no se amontonen */
@media (max-width: 600px) {
    .tech-grid-container {
        grid-template-columns: 1fr;
    }
}
/* Ocultar el cursor por defecto en toda la web */
html, body {
    cursor: none !important;
}

/* Asegurar que los enlaces y botones tampoco muestren la "manito" nativa */
a, button, label, .btn-social, .ampliable {
    cursor: none !important;
}

/* Estilo base del cursor personalizado (por si no lo tienes así) */
#customCursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: rgba(0, 229, 255, 0.5); /* Cian neón */
    border-radius: 50%;
    pointer-events: none; /* Crucial: para que no bloquee los clics */
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: difference; /* Efecto tecnológico al pasar sobre colores */
}

/* Estado cuando pasas sobre un link */
#customCursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(0, 229, 255, 0.2);
    border: 2px solid #00e5ff;
}
/* Contenedor sin fondo sólido para que se vea el fondo de la web */
.social-wrapper {
    padding: 60px 0;
    text-align: center;
}

/* Título con Efecto Gloss */
.social-title-glass {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.social-title-glass span {
    color: #00e5ff;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

/* Grid Minimalista */
.social-grid-minimal {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* El Link de Cristal */
.social-link-glass {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03); /* Casi invisible */
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 50px; /* Forma de píldora tech */
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-icon-box {
    font-size: 1.4rem;
    color: #00e5ff;
    transition: transform 0.3s;
}

.glass-text-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Efecto Gloss en las letras */
.social-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(180deg, #ffffff 0%, #00e5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Solo se ve el brillo */
}

.social-status {
    font-size: 0.6rem;
    color: rgba(0, 229, 255, 0.5);
    letter-spacing: 2px;
}

/* Interacción */
.social-link-glass:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    transform: translateY(-5px);
}

.social-link-glass:hover .glass-icon-box {
    transform: scale(1.2);
    color: #fff;
}

/* Móvil */
@media (max-width: 600px) {
    .social-grid-minimal {
        flex-direction: column;
        align-items: center;
    }
    .social-link-glass {
        width: 220px;
    }
}
/* Contenedor Flotante (Fuera de cuadros) */
.social-wrapper {
    padding: 80px 0;
    text-align: center;
}

/* Efecto GLOSS para "Síguenos" y "Nuestras Redes" */
.social-header-glass {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gloss-text-top {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 6px;
    color: rgba(0, 229, 255, 0.7);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    margin-bottom: 10px;
}

.gloss-text-main {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
    /* Degradado de Cristal/Metal */
    background: linear-gradient(
        to bottom, 
        #ffffff 20%, 
        #a5f3fc 40%, 
        #00e5ff 50%, 
        #2dd4bf 60%, 
        #ffffff 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-text 5s linear infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 229, 255, 0.2));
}

/* Animación del brillo en las letras */
@keyframes shine-text {
    to { background-position: 200% center; }
}

/* Botones de Redes Estilo Glass */
.social-link-glass {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-link-glass:hover {
    background: rgba(0, 229, 255, 0.08);
    border-color: #00e5ff;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.social-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #fff;
    font-weight: bold;
}

.social-status {
    font-size: 0.65rem;
    color: rgba(0, 229, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .gloss-text-main { font-size: 1.8rem; }
    .social-grid-minimal { 
        display: grid; 
        grid-template-columns: 1fr; 
        gap: 15px; 
        padding: 0 20px;
    }
}
.hero {
    background-color: #0a192f;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#numbers-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(10,25,47,0.2) 0%, #0a192f 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    pointer-events: none; /* Permite que el cursor interactúe con el fondo si fuera necesario */
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(0, 229, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, background 0.3s;
}

.custom-cursor.hover {
    transform: scale(2.5);
    background: rgba(0, 229, 255, 0.2);
    border: 1px solid #00e5ff;
}
/* --- TARJETAS DE SERVICIO MEJORADAS --- */
.servicio-detalle {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-card {
    border: 1px solid rgba(0, 255, 204, 0.3);
    background: linear-gradient(145deg, rgba(0, 255, 204, 0.05), rgba(0, 0, 0, 0));
}

.price-tag {
    font-family: 'Space Mono', monospace;
    color: #00ffcc;
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
}

.btn-nav-login {
    border: 1px solid #00ffcc;
    border-radius: 30px;
    padding: 5px 20px !important;
    color: #00ffcc !important;
}

.btn-nav-login:hover {
    background: #00ffcc;
    color: #000 !important;
}
/* ESTRUCTURA DEL NAVBAR - Manteniendo tus colores */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Lógica del Dropdown (Solo posicionamiento) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    z-index: 1000;
    /* Usamos fondo traslúcido para que combine con tu Glassmorphism */
    background: rgba(0, 0, 0, 0.9); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.9rem;
    border: none !important; /* Evita conflictos */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Botón Login - Solo estructura */
.btn-nav-login {
    margin-left: 10px;
    padding: 5px 15px !important;
    border-radius: 20px !important;
    border: 1px solid currentColor !important; /* Usa el color de texto actual */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/* Contenedor principal en Flex */
.hero-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left; /* Texto alineado a la izquierda */
}

.hero-text-side {
    flex: 1;
}

.hero-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Estilo de la imagen destacada */
.img-destacada {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    /* Efecto de resplandor sutil */
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.3));
    animation: float 6s ease-in-out infinite; /* Animación de flotado */
}

/* Animación de flotado para la imagen */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Ajuste para móviles */
@media (max-width: 900px) {
    .hero-flex-container {
        flex-direction: column-reverse; /* Imagen arriba, texto abajo en móvil */
        text-align: center;
        gap: 30px;
    }
    
    .img-destacada {
        max-width: 280px;
    }
}
/* Contenedor Flexible */
.hero-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* Estilo del Botón Contáctanos */
.btn-primary {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--cian-neon);
    color: var(--cian-neon);
    padding: 15px 35px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s ease;
    margin-top: 25px;
    cursor: none; /* Para que funcione con tu cursor personalizado */
}

.btn-primary:hover {
    background: var(--cian-neon);
    color: var(--azul-oscuro);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
    transform: translateY(-3px);
}

/* Imagen con efecto de marco tecnológico */
.hero-image-side {
    flex: 1;
    position: relative;
}

.marco-digital {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 15px;
}

.img-destacada {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    display: block;
    filter: brightness(1.1) contrast(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}

.img-destacada:hover {
    transform: scale(1.02);
}

/* Responsividad */
@media (max-width: 900px) {
    .hero-flex-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }
    .btn-primary {
        width: 80%;
    }
}
/* --- HERO LAYOUT --- */
.hero-wrapper {
    position: relative;
    z-index: 10;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* --- TEXTO --- */
.hero-brand-logo {
    height: 50px;
    margin-bottom: 25px;
}

.hero-main-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    max-width: 500px;
    line-height: 1.6;
}

/* --- BOTÓN CONTACTO --- */
.btn-primary-tech {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid var(--cian-neon);
    color: var(--cian-neon);
    padding: 16px 40px;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
}

.btn-primary-tech:hover {
    background: var(--cian-neon);
    color: var(--azul-oscuro);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    transform: scale(1.05);
}

/* --- MARCO DE IMAGEN --- */
.image-tech-frame {
    position: relative;
    padding: 15px;
}

.hero-img-main {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: block;
}

/* Esquinas decorativas tech */
.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--cian-neon);
    pointer-events: none;
}
.top-right { top: 0; right: 0; border-bottom: none; border-left: none; }
.bottom-left { bottom: 0; left: 0; border-top: none; border-right: none; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-description { margin: 0 auto 35px; }
    .hero-main-title { font-size: 2.2rem; }
}
/* --- DIVISOR ELEGANTE --- */
.divisor-nave {
    position: relative;
    width: 100%;
    height: 1px;
    background: rgba(0, 229, 255, 0.1); /* Línea base muy tenue */
    margin: 40px 0;
    overflow: hidden;
}

.linea-neon {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--cian-neon) 50%, 
        transparent 100%);
    opacity: 0.6;
}

/* Punto de luz que recorre la línea como un pulso de datos */
.punto-orbital {
    position: absolute;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--cian-neon), transparent);
    filter: blur(5px);
    animation: pulsoDatos 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pulsoDatos {
    0% { left: -10%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

/* --- REFINAMIENTO DEL CONTENIDO (Más Elegante) --- */
.hero-main-title {
    font-weight: 700;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(120deg, #00e5ff 0%, #00a2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Efecto de marco flotante para la imagen */
.image-tech-frame {
    border: 1px solid rgba(0, 229, 255, 0.1);
    background: rgba(10, 25, 47, 0.4);
    padding: 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.05);
}
/* --- MEJORAS DEL HERO --- */
.hero-wrapper {
    padding: 120px 0 80px 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--cian-neon);
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.hero-main-title {
    font-size: 3.8rem; /* Un poco más grande para impacto */
    margin-top: 0;
}

/* --- BOTÓN REFINADO --- */
.btn-primary-tech {
    position: relative;
    overflow: hidden;
    padding: 18px 40px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: 1px solid var(--cian-neon);
    color: var(--cian-neon);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.4s;
}

.btn-primary-tech:hover {
    background: var(--cian-neon);
    color: var(--azul-oscuro);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
}

.btn-icon {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.btn-primary-tech:hover .btn-icon {
    transform: translateX(5px);
}

/* --- MARCO TECNOLÓGICO CON ESCANER --- */
.image-tech-container {
    position: relative;
}

.image-tech-frame {
    position: relative;
    padding: 10px;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.1);
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.1), transparent);
    animation: scan 4s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

.blob-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

/* --- DIVISOR MODIFICADO --- */
.divisor-tech {
    position: relative;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.linea-gradiente {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--cian-neon), transparent);
    opacity: 0.4;
}
/* --- AJUSTES DE TAMAÑO --- */

/* Logo más imponente */
.hero-brand-logo-large {
    height: 85px; /* Aumentado para destacar la marca */
    width: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.2));
}

/* Título Mediano y Elegante */
.hero-title-medium {
    font-size: 2.6rem; /* Tamaño mediano, más profesional */
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 35px;
}

/* Ajuste del Grid para mantener simetría con los nuevos tamaños */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

/* Adaptación para dispositivos pequeños */
@media (max-width: 768px) {
    .hero-brand-logo-large {
        height: 65px;
    }
    .hero-title-medium {
        font-size: 2rem;
    }
}
/* --- EFECTO GLOW PARA EL LOGO --- */
.hero-brand-logo-glow {
    height: 90px;
    width: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.4));
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.6)); transform: scale(1.02); }
}

/* --- ESTILO DE LETRAS ELEGANTE --- */
.hero-title-elegant {
    font-size: 2.5rem; /* Tamaño mediano óptimo */
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: -0.02em; /* Letras un poco más juntas para elegancia */
    color: #ffffff;
}

/* Glow sutil para el texto resaltado */
.highlight-glow {
    background: linear-gradient(90deg, #00e5ff, #00a2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.sub-text {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 35px;
    border-left: 2px solid var(--cian-neon); /* Detalle de línea elegante al costado */
    padding-left: 20px;
}

/* Ajuste del contenedor para centrar en la pantalla */
.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh; /* Se asegura de ocupar casi toda la pantalla */
}
/* --- GRID DE SERVICIOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

/* --- TARJETA ESTILO ENLACE --- */
.service-card {
    text-decoration: none; /* Quita el subrayado de enlace */
    color: inherit;
    background: rgba(16, 33, 58, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: none; /* Para usar tu cursor personalizado */
}

/* Efecto Hover: Glow y Elevación */
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cian-neon);
    background: rgba(16, 33, 58, 0.8);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--cian-neon);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.3));
}

.service-card h3 {
    font-family: 'Space Mono', monospace;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Detalle "Explorar" que aparece al hacer hover */
.card-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--cian-neon);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.service-card:hover .card-link {
    opacity: 1;
}

/* Botón Final Centrado */
.services-footer {
    text-align: center;
    margin-top: 60px;
}

.btn-saber-mas {
    padding: 15px 40px;
    border: 1px solid var(--cian-neon);
    color: var(--cian-neon);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-saber-mas:hover {
    background: var(--cian-neon);
    color: var(--azul-oscuro);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
/* --- GRID CONFIGURADO A 3 COLUMNAS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fuerza 3 columnas exactas en PC */
    gap: 30px;
    margin: 50px 0;
}

/* --- TARJETAS TIPO BOTÓN --- */
.service-card {
    background: rgba(16, 33, 58, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Efecto Glow al pasar el mouse */
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cian-neon);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--cian-neon);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.service-card h3 {
    font-family: 'Space Mono', monospace;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Detalle de flecha al final de la tarjeta */
.card-footer-tech {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--cian-neon);
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.service-card:hover .card-footer-tech {
    opacity: 1;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columnas en Tablet */
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; } /* 1 columna en Celular */
    .service-card { cursor: auto; }
}

.btn-container-center {
    text-align: center;
    margin-top: 40px;
}
.btn-portal-alumnos {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--cian-neon);
    color: var(--cian-neon);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.btn-portal-alumnos:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5), inset 0 0 10px rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
    letter-spacing: 1px;
}
.btn-portal-alumnos {
    position: fixed;
    bottom: 30px;
    right: 90px; /* Separado del botón de volver arriba */
    background: rgba(0, 12, 26, 0.8);
    border: 1px solid var(--cian-neon);
    color: var(--cian-neon);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.btn-portal-alumnos:hover {
    background: var(--cian-neon);
    color: #000c1a;
    box-shadow: 0 0 30px var(--cian-neon);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .btn-portal-alumnos {
        bottom: 20px;
        right: 20px;
        font-size: 0.75rem;
        padding: 10px 15px;
    }
    .back-to-top {
        display: none; /* Ocultamos el otro para no saturar en móvil */
    }
}
/* --- ESTILOS BASE Y DESKTOP --- */
:root {
    --asc-blue: #00e5ff;
    --asc-bg: #000c1a;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(0, 12, 26, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    padding: 120px 5% 50px;
}

/* --- MEDIA QUERIES PARA CELULAR --- */
@media (max-width: 992px) {
    /* Ocultamos los links normales y los volvemos un menú lateral */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido */
        width: 70%;
        height: 100vh;
        background: var(--asc-bg);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* Cuando el checkbox está activo, mostramos el menú */
    #menu-toggle:checked ~ .nav-links {
        right: 0;
    }

    /* Diseño del botón Hamburguesa */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background: var(--asc-blue);
        border-radius: 5px;
        transition: 0.3s;
    }

    /* Animación de la X al abrir */
    #menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    #menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

    /* Adaptación del Hero (Texto e Imagen) */
    .hero-content-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        text-align: center;
        padding-top: 100px;
    }

    .hero-text-content {
        order: 1;
    }

    .hero-visual-content {
        order: 2;
        margin-top: 30px;
    }

    .hero-title-elegant {
        font-size: 2.2rem !important;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .btn-primary-tech {
        width: 100%;
        text-align: center;
    }

    .hero-img-main {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    /* Desactivar cursor de PC en móvil */
    .custom-cursor { display: none; }
}

/* Ajustes finales para pantallas muy pequeñas */
@media (max-width: 480px) {
    .hero-title-elegant { font-size: 1.8rem !important; }
    .logo-img { height: 35px; }
    .nav-links { width: 100%; } /* Menú ocupa toda la pantalla */
}
