/* =========================================
   RESETEO Y ESTILOS BASE
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff; /* Fondo blanco general */
  color: #333333; /* Texto oscuro para contrastar con el fondo claro */
  overflow-x: hidden;
}

/* =========================================
   SECCIÓN HERO (INICIO)
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Alinea todo el bloque a la izquierda */
  text-align: left; /* Asegura que cada línea de texto inicie a la izquierda */
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4); /* Oscurece el video para que el texto resalte */
}

.hero-bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2; 
}

.hero-content {
  max-width: 800px;
  padding: 20px;
  z-index: 2;
  position: relative;
  margin-left: 10%; /* Separa el contenido del borde izquierdo de la pantalla */
}

/* Título principal LATCOM */
.latcom-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 4.5rem;
  color: #ff8c00; /* Naranja intenso */
  letter-spacing: 3px;
  margin-bottom: 5px;
}

/* Subtítulo de Internet */
.hero-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #0066cc; /* Azul sólido (no fosforescente) */
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #ffffff; /* En blanco porque está sobre el video oscuro */
  margin-bottom: 30px;
}

/* Botón de acción naranja */
.btn-orange {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  background: #ff8c00;
  color: #ffffff;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-orange:hover {
  background: #cc7000;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

/* =========================================
   SECCIÓN DE CARACTERÍSTICAS / SERVICIOS
   ========================================= */
.services {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333333; /* Texto oscuro para fondo blanco */
}

/* Grid de tarjetas horizontales */
.services-grid {
  display: flex;
  flex-direction: row; /* Fuerza el orden horizontal */
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* Permite que las tarjetas bajen en pantallas de celular */
}

.service-card {
  flex: 1; /* Todas las tarjetas ocupan el mismo ancho */
  min-width: 220px; /* Evita que se hagan muy delgadas en móviles */
  background: #f8f9fa; /* Gris muy claro para destacar levemente del fondo blanco */
  border: 1px solid #e9ecef;
  padding: 30px 20px;
  border-radius: 15px;
  transition: 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Sombra suave */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-color: #0066cc; /* El borde se vuelve azul al pasar el cursor */
}

.service-card h3 {
  margin-bottom: 10px;
  color: #0066cc; /* Título de la tarjeta en azul */
}

.service-card p {
  color: #555555;
  line-height: 1.6;
}