/* =========================================================
   INDEX.CSS - ESTILO UNIFICADO (LIGHT MODE)
   ========================================================= */

/* 1. FONDO GLOBAL (SOLO PARA INDEX) */
body {
  background:
    linear-gradient(rgba(241, 245, 249, 0.70), rgba(241, 245, 249, 0.70)),
    url('../img/fondos/ejemplo.jpeg') no-repeat center top fixed !important;
  background-size: cover !important;
  color: var(--text);
}

/* =========================================================
   1. HERO SECTION (PORTADA)
   ========================================================= */
.hero {
  position: relative;
  /* Espacio normal para PC */
  padding: 140px 0 60px;
  background: transparent;
}

/* --- REGLA CRÍTICA PARA CELULAR --- */
/* Esto obliga al texto a bajar 170px para que la barra no lo tape */
@media (max-width: 900px) {
  .hero {
    padding-top: 170px !important; 
    padding-bottom: 40px;
  }
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-start;
}

/* 2. TEXTO PRINCIPAL (HERO) */
.hero-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.hero h1, .hero .h1 { color: var(--navy); }
.hero p, .hero .p { color: var(--muted); }
.hero .kicker { color: var(--accent); }

.hero-card > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* 3. ESTADÍSTICAS */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.stat {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 15px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.stat:hover { transform: translateY(-3px); border-color: var(--accent); }

.stat b {
  display: block;
  font-size: 1.6rem;
  color: var(--accent);
  font-family: var(--font-tech);
}

.stat span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}

/* 4. COLUMNA DERECHA (VISUAL) */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-visual .card:first-child{ margin-top: 20px; }

.hero-visual .card {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-visual h3 { color: var(--navy); margin-top: 0; font-weight: 800; }

/* =========================================
   5. LOGOS DE MARCAS 
   ========================================= */
   .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px; 
    align-items: center;
    justify-items: center;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 25px; 
    border-radius: var(--radius);
    margin-top: 15px; 
  }
  
  .brands-grid img {
    max-width: 100%;
    max-height: 55px; 
    width: auto;
    object-fit: contain; 
    opacity: 0.9; /* Un poquito de transparencia elegante */
    transition: all 0.3s ease;
    /* (Eliminamos la línea del grayscale) */
  }
  
  .brands-grid img:hover { 
    transform: scale(1.05); /* Efecto de acercamiento */
    opacity: 1; /* Color al 100% de fuerza */
  }
  
  /* Clases específicas si necesitas forzar el tamaño de algún logo rebelde */
  .brands-grid .ho { max-height: 40px; } 
  .brands-grid .no { max-height: 35px; }

/* 6. BLOQUE "POR QUÉ ELEGIRNOS" */
.glass-panel {
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border-radius: 12px;
  padding: 40px;
}
/* =========================================================
   INDEX.CSS - SISTEMAS DE NICARAGUA
   ========================================================= */

/* =========================================
   01. FONDO GLOBAL
   ========================================= */
   body {
    background:
      linear-gradient(rgba(241, 245, 249, 0.70), rgba(241, 245, 249, 0.70)),
      url('../img/fondos/ejemplo.jpeg') no-repeat center top fixed !important;
    background-size: cover !important;
    color: var(--text);
  }
  
  /* =========================================
     02. HERO SECTION
     ========================================= */
  .hero {
    position: relative;
    padding: 140px 0 60px;
    background: transparent;
  }
  
  @media (max-width: 900px) {
    .hero {
      padding-top: 170px !important; 
      padding-bottom: 40px;
    }
  }
  
  .hero-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: flex-start;
  }
  
  /* =========================================
     03. TEXTO PRINCIPAL (HERO)
     ========================================= */
  .hero-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
  }
  
  .hero h1, .hero .h1 { color: var(--navy); }
  .hero p, .hero .p { color: var(--muted); }
  .hero .kicker { color: var(--accent); }
  
  .hero-card > div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
  }
  
  /* =========================================
     04. ESTADÍSTICAS
     ========================================= */
  .stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 40px;
  }
  
  .stat {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
  }
  
  .stat:hover { 
    transform: translateY(-3px); 
    border-color: var(--accent); 
  }
  
  .stat b {
    display: block;
    font-size: 1.6rem;
    color: var(--accent);
    font-family: var(--font-tech);
  }
  
  .stat span {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    line-height: 1.2;
  }
  
  /* =========================================
     05. COLUMNA DERECHA (VISUAL)
     ========================================= */
  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-visual .card:first-child{ 
    margin-top: 20px; 
  }
  
  .hero-visual .card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }
  
  .hero-visual h3 { 
    color: var(--navy); 
    margin-top: 0; 
    font-weight: 800; 
  }
  
  /* =========================================
     06. LOGOS DE MARCAS 
     ========================================= */
     .brands-grid img {
      width: 100% !important;
      max-width: 180px !important; /* Limita el ancho al tamaño visual de Forza */
      height: 90px !important;     /* Limita la altura para que ninguno se dispare */
      object-fit: contain !important; /* Mantiene la proporción perfecta */
      transition: all 0.3s ease;
      /* El filtro gris fue eliminado para mantener el color original */
    }
    
    .brands-grid img:hover { 
      transform: scale(1.05);
    }
  
  /* =========================================
     07. CARACTERÍSTICAS
     ========================================= */
  .glass-panel {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border-radius: 12px;
    padding: 40px;
  }
  
  .features-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
  }
  
  .feature-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .feature-box:hover {
    background: #f8fafc;
    transform: translateY(-5px);
    border-color: #e2e8f0;
  }
  
  .f-icon {
    background: rgba(232, 93, 4, 0.1);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  .feature-box:hover .f-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--accent);
    color: white;
  }
  
  .f-title {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    font-family: var(--font-tech);
  }
  
  .f-desc { 
    margin: 0; 
    font-size: 0.95rem; 
    color: #64748b; 
    line-height: 1.5; 
  }
  
  /* =========================================
     08. RESPONSIVE
     ========================================= */
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-row { flex-direction: column; gap: 25px; }
    .glass-panel { padding: 25px; }
    .feature-box { padding: 10px 0; border-bottom: 1px solid #eee; }
    .feature-box:last-child { border-bottom: none; }
    .stat-grid { gap: 10px; }
    .stat b { font-size: 1.3rem; }
  }
.features-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border-radius: 8px;
  flex: 1;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-box:hover {
  background: #f8fafc;
  transform: translateY(-5px);
  border-color: #e2e8f0;
}

.f-icon {
  background: rgba(232, 93, 4, 0.1);
  color: var(--accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-box:hover .f-icon {
  transform: scale(1.1) rotate(10deg);
  background: var(--accent);
  color: white;
}

.f-title {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-tech);
}

.f-desc { margin: 0; font-size: 0.95rem; color: #64748b; line-height: 1.5; }

/* 7. RESPONSIVE GENERAL */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-row { flex-direction: column; gap: 25px; }
  .glass-panel { padding: 25px; }
  .feature-box { padding: 10px 0; border-bottom: 1px solid #eee; }
  .feature-box:last-child { border-bottom: none; }
  .stat-grid { gap: 10px; }
  .stat b { font-size: 1.3rem; }
}