* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #05070d;
  color: white;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* =========================================
   ZONA PRINCIPAL (HERO)
   ========================================= */
.hero {
  min-height: 100vh;
  padding: 40px 8% 40px;
  background: radial-gradient(circle at top, #101827, #05070d 65%);
}

.video-section {
  max-width: 900px; /* Tamaño ideal para que tu GIF principal destaque */
  margin: 0 auto 50px;
}

.video-box {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35); /* Borde dorado */
  box-shadow: 0 0 45px rgba(0, 140, 255, 0.18); /* Resplandor azul tecnológico */
  background: #111;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
}

.video-box video,
.video-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   SECCIÓN DE PORTAFOLIO (TUS APPS)
   ========================================= */
.divisiones-section {
  padding: 20px 0 60px;
}

.divisiones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.division-info {
  padding: 30px;
  text-align: center;
  background: linear-gradient(145deg, #070b14, #101827);
}

.division-info h3 {
  font-size: 24px;
  color: #d4af37;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.division-info p {
  color: #b6bcc8;
  font-size: 14px;
  line-height: 1.6;
  min-height: 85px; /* Mantiene la misma altura en todas las tarjetas */
}

/* Botones de acción en las tarjetas */
.btn-ver-catalogo {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: transparent;
  color: #d4af37;
  border: 1px solid #d4af37;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.btn-ver-catalogo:hover:not([disabled]) {
  background: #d4af37;
  color: #05070d;
}

/* =========================================
   MODAL DE CONTACTO / COTIZACIÓN
   ========================================= */
.modal-interes {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-interes.activo {
  display: flex;
}

.modal-contenido {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(145deg, #070b14, #101827);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  box-shadow: 0 0 45px rgba(0, 140, 255, 0.22);
}

.cerrar-modal {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  color: white;
  border: none;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.2s;
}

.cerrar-modal:hover {
  color: #d4af37;
}

.modal-contenido h2 {
  color: #d4af37;
  margin-bottom: 12px;
  font-size: 20px;
}

.modal-contenido p {
  color: #b6bcc8;
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 13px;
}

.label-consulta {
  display: block;
  color: #d4af37;
  font-size: 13px;
  margin-bottom: 8px;
  text-align: left;
}

.modal-contenido input,
.modal-contenido textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 140, 255, 0.35);
  background: #05070d;
  color: white;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s;
}

.modal-contenido input:focus,
.modal-contenido textarea:focus {
  border-color: #d4af37;
}

.modal-contenido textarea {
  min-height: 110px;
  resize: none;
}

.enviar-solicitud {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: #d4af37;
  color: #05070d;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enviar-solicitud:hover {
  background: transparent;
  color: #d4af37;
}

.mensaje-exito {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

/* =========================================
   RESPONSIVIDAD (MÓVILES)
   ========================================= */
@media (max-width: 900px) {
  .divisiones-grid {
    grid-template-columns: 1fr; /* Pone las 3 tarjetas en una sola columna hacia abajo */
    gap: 30px;
  }
  
  .hero {
    padding: 20px 5% 40px;
  }
}