/* Importa una fuente moderna de Google Fonts para un look profesional */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Variables CSS para una gestión de colores y tipografías más fácil */
:root {
  /* Colores */
  --primary-color: #548C2F; /* Verde más oscuro y natural, como color principal */
  --secondary-color: #6c757d; /* Gris para elementos secundarios */
  --accent-color: #4CAF50; /* Verde más brillante para acentos, como checkmarks */
  --text-color-dark: #212529; /* Texto oscuro */
  --text-color-light: #495057; /* Texto más claro */
  --background-light: #f8f9fa; /* Fondo muy claro */
  --border-color: #e9ecef; /* Color de borde suave */
  --white: #ffffff;
  --black: #000000;

  /* Fuentes */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;

  /* Sombras */
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Estilos Globales y Reset Básico */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background-color: var(--white);
  color: var(--text-color-light);
  line-height: 1.7; /* Mayor interlineado para mejor legibilidad */
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased; /* Suavizado de fuentes para Chrome/Safari */
  -moz-osx-font-smoothing: grayscale; /* Suavizado de fuentes para Firefox */
}
    
/* Reset básico de márgenes y paddings para todos los elementos */
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--text-color-dark);
  line-height: 1.2;
  margin-bottom: 0.5em; /* Espaciado inferior consistente */
}

p {
  margin-bottom: 1em; /* Espaciado inferior consistente */
}

/* Contenedor principal para centrar el contenido y aplicar padding horizontal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px; /* Padding horizontal aumentado */
}

/* Header */
.header {
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px; /* Padding más generoso */
  box-shadow: var(--shadow-light); /* Sombra suave */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo {
  height: 100px; /* Tamaño del logo un poco más grande */
  width: auto;
}

.nav a {
  margin: 0 18px; /* Mayor espacio entre elementos de navegación */
  text-decoration: none;
  color: var(--text-color-dark); /* Color de texto más neutral */
  font-weight: 600; /* Fuente más audaz */
  font-size: 1.02em;
  transition: color 0.3s ease, transform 0.2s ease; /* Transición suave */
  position: relative; /* Para el efecto de subrayado */
}

.nav a::after { /* Efecto de subrayado al pasar el ratón */
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--primary-color);
  transform: translateY(-2px); /* Pequeño movimiento hacia arriba */
}

.nav a:hover::after {
  width: 100%;
}

/* Hero Section */
    
.hero {
      background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('https://images.pexels.com/photos/442150/pexels-photo-442150.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260')
        center/cover no-repeat;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 20px;
    }

	.hero h1 {
	  font-size: 2.8em;
	  font-weight: 700;
	  margin-bottom: 20px;
	  color: var(--white); /* ← Esto fuerza el texto a blanco */
	}


    #typed-text {
      color: #A3E635;
    }

    .cursor {
      display: inline-block;
      background-color: #A3E635;
      width: 2px;
      margin-left: 5px;
      animation: blink 0.8s infinite;
    }

    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0; }
    }

    .hero p {
      font-size: 1.2em;
      font-weight: 300;
      max-width: 700px;
      margin: 0 auto 30px;
      color: var(--white);
    }

    .hero-buttons a {
      text-decoration: none;
      color: white;
      background-color: #548C2F;
      padding: 12px 28px;
      border-radius: 30px;
      margin: 10px;
      font-weight: 600;
      transition: background-color 0.3s ease;
    }

    .hero-buttons a:hover {
      background-color: #3d6e24;
    }
    
/* Secciones Generales */
section {
  padding-top: 120px;
  padding-bottom: 180px;
  position: relative;
}

section:nth-of-type(even) {
  background-color: var(--background-light); /* Fondo suave para secciones alternas */
}

.section-title {
  text-align: center;
  font-size: 3em; /* Títulos de sección más grandes */
  margin-bottom: 20px;
  color: var(--text-color-dark);
  font-weight: 700;
}

.section-description {
  text-align: center;
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 60px auto; /* Mayor espacio debajo de la descripción */
  color: var(--text-color-light);
  font-weight: 300;
}

/* Sección "Sobre Nosotros" */
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 70px; /* Espacio aumentado */
}

.about-text {
  flex: 2;
  min-width: 320px;
  font-size: 1.15em;
  color: var(--text-color-light);
  text-align: justify;
}

.about-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-medium); /* Sombra más definida */
}

/* Sección de Servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
  justify-content: center; /* ⬅️ centra el grid en horizontal */
}

.service-card {
  border: 1px solid var(--border-color); /* Borde suave */
  border-radius: 15px; /* Bordes más redondeados */
  padding: 40px;
  background-color: var(--white);
  box-shadow: var(--shadow-light); /* Sombra sutil */
  text-align: left;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.service-card:hover {
  transform: translateY(-10px); /* Movimiento al pasar el ratón */
  box-shadow: var(--shadow-medium); /* Sombra más intensa al pasar el ratón */
}

.service-card h3 {
  color: var(--primary-color); /* Usando el nuevo primary-color */
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.8em; /* Título de tarjeta más grande */
  font-weight: 600;
}

.service-card p {
  font-size: 1.05em;
  color: var(--text-color-light);
}

/* Sección Netcint Insights (Soluciones) */
.solution-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; /* Alineación superior */
  gap: 70px;
  margin-top: 30px;
}

.solution-text {
  flex: 2;
  min-width: 320px;
  text-align: justify;
}

.solution-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.solution-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

.solution-text h4 {
  color: var(--text-color-dark);
  font-size: 1.4em;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 600;
}

.solution-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-text ul li {
  margin-bottom: 15px;
  font-size: 1.1em;
  display: flex;
  align-items: flex-start;
  color: var(--text-color-light);
}

.solution-text ul li::before {
  content: '✔';
  color: var(--accent-color); /* Usando el nuevo accent-color (verde más brillante) */
  margin-right: 12px;
  font-weight: bold;
  font-size: 1.3em;
  line-height: 1;
  flex-shrink: 0; /* Evita que el checkmark se encoja */
}

/* Secciones Productos y Clientes */
.products-grid,
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Aumentamos el minmax para más horizontalidad */
  gap: 5px; /* Mayor espacio entre logos */
  justify-items: center;
  align-items: center;
  margin-top: 60px;
}

.logo-item {
  display: flex; /* Para centrar la imagen dentro del div */
  justify-content: center;
  align-items: center;
  height: 100px; /* Altura fija para la caja del logo */
}

.logo-item img {
  max-width: 120px; /* Aumentamos el tamaño máximo de la imagen si es necesario */
  max-height: 80px; /* Altura máxima para evitar que se desborden */
  height: auto;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.4s ease-in-out;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1); /* Efecto de zoom sutil */
}

/* Sección Contacto */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  text-align: center;
  font-size: 1.15em;
  color: var(--text-color-light);
  background-color: var(--background-light); /* Fondo suave para la información de contacto */
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
}

.contact-info strong {
  color: var(--text-color-dark);
}

.contact-form {
  flex: 1.8; /* El formulario ocupa más espacio */
  min-width: 320px;
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-medium); /* Sombra más prominente para el formulario */
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px; /* Más padding en campos */
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
  border-radius: 8px; /* Bordes más redondeados */
  font-size: 1.05em;
  color: var(--text-color-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color); /* Usando el nuevo primary-color para el enfoque */
  box-shadow: 0 0 0 3px rgba(84, 140, 47, 0.2); /* Sombra de enfoque con el nuevo color */
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: var(--primary-color); /* Usando el nuevo primary-color */
  color: var(--white);
  padding: 16px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(84, 140, 47, 0.3); /* Sombra de botón con el nuevo color */
}

.contact-form button:hover {
  background-color: #437025; /* Un tono un poco más oscuro para hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(84, 140, 47, 0.5);
}

/* Footer */
.footer {
  background-color: var(--text-color-dark); /* Color de fondo oscuro */
  color: #c9d6de; /* Texto claro suave */
  text-align: center;
  padding: 50px 25px;
  font-size: 0.95em;
}

/* Media Queries para Responsividad */
@media (max-width: 1200px) {
  .header {
    padding: 15px 30px;
  }
  .container {
    padding: 0 20px;
  }
  .hero h1 {
    font-size: 3em;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 120px 20px;
  }
  .hero-content {
    padding: 40px;
  }
  .hero h1 {
    font-size: 2.6em;
  }
  .hero p {
    font-size: 1.2em;
  }
  .section-title {
    font-size: 2.5em;
  }
  .section-description {
    font-size: 1.05em;
    margin-bottom: 40px;
  }
  .about-content,
  .solution-content {
    flex-direction: column;
    gap: 40px;
  }
  .about-text,
  .solution-text {
    min-width: unset;
    width: 100%;
  }
  .about-image,
  .solution-image {
    min-width: unset;
    width: 100%;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .service-card {
    padding: 30px;
  }
  .service-card h3 {
    font-size: 1.6em;
  }
  .products-grid,
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Volvemos a un valor menor para tablets */
    gap: 30px;
  }
  .logo-item img {
    max-width: 120px;
  }
  .contact-content {
    flex-direction: column;
    gap: 40px;
  }
  .contact-info,
  .contact-form {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 15px 20px;
  }
  .header .logo {
    margin-bottom: 15px;
  }
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav a {
    margin: 5px 10px;
    font-size: 0.95em;
  }
  .nav a::after { /* Oculta el subrayado en móviles si hay muchas opciones */
    display: none;
  }
  .hero {
    padding: 80px 20px;
    min-height: 500px;
  }
  .hero-content {
    padding: 30px;
  }
  .hero h1 {
    font-size: 2.2em;
  }
  .hero p {
    font-size: 1em;
  }
  .hero-buttons .btn {
    display: block;
    margin: 15px auto;
  }
  section {
    padding: 70px 0;
  }
  .section-title {
    font-size: 2em;
  }
  .section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .services-grid {
    grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
  }
  .service-card {
    padding: 25px;
  }
  .service-card h3 {
    font-size: 1.4em;
  }
  .products-grid, .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Valor aún menor para móviles */
    gap: 20px;
  }
  .logo-item img {
    max-width: 90px;
  }
  .contact-form {
    padding: 30px;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 12px 15px;
  }
  .contact-form button {
    padding: 14px 25px;
  }
}

@media (max-width: 480px) {
  .header .logo {
    height: 55px;
  }
  .nav a {
    margin: 5px 8px;
    font-size: 0.9em;
  }
  .hero {
    padding: 60px 15px;
    min-height: 400px;
  }
  .hero-content {
    padding: 20px;
  }
  .hero h1 {
    font-size: 1.8em;
  }
  .hero p {
    font-size: 0.9em;
  }
  .section-title {
    font-size: 1.6em;
  }
  .section-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }
  
  #typed-text {
  color: #ffffff;
  font-weight: 700;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  width: 1px;
  background-color: #fff;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
 

}