body{ margin: 0;
    font-family: sans-serif;
  
    }

.Contenedor {
    display: grid;
    grid-template-columns: repeat(5, 20% 20% 20% 20% 20%);
    grid-template-rows: auto;
    grid-template-areas:
      "header header header header header"
      "intro intro intro intro intro"
      "web web web web web"
      "crm crm crm crm crm"
      "erp erp erp erp erp"
      "erp-analitico erp-analitico erp-analitico erp-analitico erp-analitico"
    "erp-avanzado erp-avanzado erp-avanzado erp-avanzado erp-avanzado"
    "footer footer footer footer footer"
    
      
      ;
      
  }
  
  .header {
    grid-area: header;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
     position: fixed;        /* 👈 Fija la barra arriba */
  top: 0;
  left: 0;
  width: 95%;            /* Asegura que ocupe todo el ancho */
  z-index: 1000;          /* Que quede por encima del resto */
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  nav {
    display: flex;
    gap: 1rem;
  }
  
  nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 700;
    padding: 10px;
    border-radius: 5px;
  }

  nav a:hover {
    background-color: #e73a0a;
    color: white;
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle span {
    height: 3px;
    background: white;
    margin: 4px 0;
    width: 25px;
    border-radius: 2px;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }


  /*intro*/
.intro-section {
  grid-area: intro;
  margin-top: 100px;
  text-align: center;
  padding: 60px 30px;
  background-color: #f9f9f9;
  min-height: 50vh;
}

.intro-text h1 {
  font-size: 32px;
  color: #222;
  margin-bottom: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.intro-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  font-family: 'Inter', sans-serif;
}

.intro-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.intro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 140px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.intro-card img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.intro-card span {
  font-size: 16px;
  font-weight: 500;
  color: #007acc;
  font-family: 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
  .intro-links {
    flex-direction: column;
    align-items: center;
  }

  .intro-card {
    width: 80%;
  }
}

.intro-section {
    grid-area: intro;
    text-align: center;
    padding: 60px 30px;
    background-color: #f9f9f9;
  }
  
  .intro-text h1 {
    font-size: 32px;
    color: #222;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .intro-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
  }
  
  .intro-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .intro-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 140px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }
  
  .intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  
  .intro-card img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
  }
  
  .intro-card span {
    font-size: 16px;
    font-weight: 500;
    color: #007acc;
    font-family: 'Segoe UI', sans-serif;
  }
  
  @media (max-width: 768px) {
    .intro-links {
      flex-direction: column;
      align-items: center;
    }
  
    .intro-card {
      width: 80%;
    }
  }
  


/* Sección "web" */
.web-section {
    grid-area: web;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 60px;
    margin-top: 100px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    gap: 60px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 80vh;
  }
  
  .web-section:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
  }
  
  /* Icono y título */
  .web-icon {
    flex: 1;
    text-align: center;
  }
  
  .web-icon img {
    width: 220px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
  }
  
  .web-icon img:hover {
    transform: scale(1.05);
  }
  
  .web-icon h2 {
    font-size: 22px;
    color: #111;
    margin-top: 20px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
  }
  
  /* Texto descriptivo */
  .web-text {
    flex: 2;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-family: 'Inter', sans-serif;
    padding: 0 10px;
  }
  
  .web-text strong {
    color: #007acc;
    font-weight: 600;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .web-section {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
      gap: 30px;
    }
  
    .web-text {
      padding: 0;
    }
  }
/* Responsive */
@media (max-width: 768px) {
  .web-section {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .web-icon {
    margin-bottom: 15px;
  }
}
 
 
 /* Sección "crm" */
.crm-section {
    grid-area: crm;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 60px;
    margin-top: 100px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    gap: 60px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 80vh;
  }
  
  .crm-section:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
  }
  
  .crm-icon {
    flex: 1;
    text-align: center;
  }
  
  .crm-icon img {
    width: 400px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
  }
  
  .crm-icon img:hover {
    transform: scale(1.05);
  }
  
  .crm-icon h2 {
    font-size: 22px;
    color: #111;
    margin-top: 20px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .crm-text {
    flex: 2;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-family: 'Inter', sans-serif;
    padding: 0 10px;
  }
  
  .crm-text strong {
    color: #007acc;
    font-weight: 600;
  }
  
  @media (max-width: 900px) {
    .crm-section {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
      gap: 30px;
    }
  
    .crm-text {
      padding: 0;
    }
  }


  /* Sección "erp-operativo" */
.erp-operativo-section {
    grid-area: erp;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 60px;
    margin-top: 100px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    gap: 60px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 80vh;
  }
  
  .erp-operativo-section:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
  }
  
  .erp-icon {
    flex: 1;
    text-align: center;
  }
  
  .erp-icon img {
    width: 400px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
  }
  
  .erp-icon img:hover {
    transform: scale(1.05);
  }
  
  .erp-icon h2 {
    font-size: 22px;
    color: #111;
    margin-top: 20px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .erp-text {
    flex: 2;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-family: 'Inter', sans-serif;
    padding: 0 10px;
  }
  
  .erp-text strong {
    color: #007acc;
    font-weight: 600;
  }
  
  @media (max-width: 900px) {
    .erp-operativo-section {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
      gap: 30px;
    }
  
    .erp-text {
      padding: 0;
    }
  }



  /* Sección "erp-analitico" */
.erp-analitico-section {
    grid-area: erp-analitico;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 60px;
    margin-top: 100px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    gap: 60px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 80vh;
  }
  
  .erp-analitico-section:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
  }
  
  .erp-icon {
    flex: 1;
    text-align: center;
  }
  
  .erp-icon img {
    width: 400px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
  }
  
  .erp-icon img:hover {
    transform: scale(1.05);
  }
  
  .erp-icon h2 {
    font-size: 22px;
    color: #111;
    margin-top: 20px;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .erp-text {
    flex: 2;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-family: 'Inter', sans-serif;
    padding: 0 10px;
  }
  
  .erp-text strong {
    color: #007acc;
    font-weight: 600;
  }
  
  @media (max-width: 900px) {
    .erp-analitico-section {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
      gap: 30px;
    }
  
    .erp-text {
      padding: 0;
    }
  }


  /* Sección "erp-avanzado" */
.erp-avanzado-section {
  grid-area: erp-avanzado;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 60px;
  margin-top: 100px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  gap: 60px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  min-height: 80vh;
}

.erp-avanzado-section:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.erp-icon {
  flex: 1;
  text-align: center;
}

.erp-icon img {
  width: 400px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.erp-icon img:hover {
  transform: scale(1.05);
}

.erp-icon h2 {
  font-size: 22px;
  color: #111;
  margin-top: 20px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
}

.erp-text {
  flex: 2;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  font-family: 'Inter', sans-serif;
  padding: 0 10px;
}

.erp-text strong {
  color: #007acc;
  font-weight: 600;
}

@media (max-width: 900px) {
  .erp-avanzado-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
  }

  .erp-text {
    padding: 0;
  }
}
 
.main-footer {
    grid-area: footer; /* ← Definimos el área del grid */
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    border-top: 5px solid rgb(255, 81, 0);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .footer-section h4 {
    margin-bottom: 10px;
    color: rgb(255, 81, 0);
  }
  
  .footer-section a {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    margin: 5px 0;
    transition: color 0.3s;
  }
  
  .footer-section a:hover {
    color: #fff;
  }
  
  .whatsapp-btn,
  .call-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
  }
  
  .whatsapp-btn {
    background-color: #25D366;
    color: white;
  }
  
  .call-btn {
    background-color: #0a74da;
    color: white;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    border-top: 1px solid #444;
    padding-top: 15px;
  }
 
 /* Responsive */
 @media (max-width: 900px) {
    
    
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #ffffff;
      position: absolute;
      top: 70px;
      right: 0;
      width: 60%;
      text-align: center;
      padding:2;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    nav {
      flex-direction: column;
      align-items: flex-end;
    }



    .Contenedor .contenido-portada {
        background: rgba(0, 0, 0, 0.5); /* oscurece para mejorar la lectura */
        padding: 2rem;
        border-radius: 12px;
        width: 90%;
        height:30vh;
        margin-top: 200px;
        
      }

      
    .Contenedor .contenido-portada h1 {
        font-size: 25px;
 
  }
  .header {
    grid-area: header;
    background-color: #c0c0c0;
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
     position: fixed;        /* 👈 Fija la barra arriba */
  top: 0;
  left: 0;
  width: 90%;            /* Asegura que ocupe todo el ancho */
  z-index: 1000;          /* Que quede por encima del resto */
  }




}