 
 
 * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Segoe UI', Roboto, Arial, sans-serif; color: #333; 
  background-color: #f7f7f7;}



    header {
      background: #111;
      color: #fff;
      padding: 20px 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    header nav a {
      color: #fff;
      margin: 0 12px;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
    }
    header nav a:hover { color: #ff6600; }

    section {
      min-height: 100vh;
      padding: 100px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    h1, h2 { margin-bottom: 20px; }
    h2 { font-size: 2rem; }
    h2::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: #2017cb;
      margin: 10px auto 0;
      border-radius: 2px;
    }

    /* Hero */
    .hero {
      background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                  url('img/fondo.jpg') center/cover no-repeat;
      color: #fff;
    }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.3rem; margin-bottom: 20px; }
    .hero a {
      padding: 14px 28px;
      background: #ff6600;
      color: #fff;
      text-decoration: none;
      border-radius: 30px;
      font-weight: bold;
      transition: background 0.3s, transform 0.3s;
    }
    .hero a:hover { background: #6000e6; transform: scale(1.05); }

    .grid-4, .productos {
      display: grid;
      gap: 30px;
      width: 100%;
      max-width: 1100px;
    }
    .grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .productos { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

    .card, .producto {
      background: #fff;
      padding: 25px;
      border-radius: 15px;
      box-shadow: 0 8px 18px rgba(0,0,0,0.08);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .card:hover, .producto:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    }

    #empresa { background: #f7f7f7; }
    #valores { background: #f7f7f7; }
    #productos { background: #f7f7f7; }
    #clientes { background: #f7f7f7; }
    #contacto { background: #f7f7f7; }

    footer {
      background: #111;
      color: #fff;
      padding: 20px;
      text-align: center;
    }
	.clientes-carousel .item {
  text-align: center;
  padding: 10px;
}
.clientes-carousel .item img {
  max-width: 250px;
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto;
}
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.producto-contenido {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.producto img {
  width: 100px;
  object-fit: contain;
}

.texto-producto h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.texto-producto p {
  font-size: 1rem;
  line-height: 1.6;
}

.botones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.botones a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: #4f46e5;
  color: #fff;
  border-radius: 5px; /* ligeramente redondeado */
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.botones a i {
  font-size: 1rem;
}

.botones a:hover {
  background: none;
  border: 2px solid #4f46e5; /* borde azul */
  color: #4f46e5;
  transform: scale(1.05);
}



.admin-gges-layout {
  display: grid;
  grid-template-columns: 1fr 300px 1fr; /* izq | imagen | der */
  grid-template-rows: auto auto;
  gap: 1rem 1rem; /* menos ancho entre tarjetas */
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.admin-gges-layout .center-img {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: center;
}

.admin-gges-layout .center-img img {
  max-width: 350px;
  height: auto;
}

.admin-gges-layout .text-block {
  background: #fff;
  padding: 1rem; /* un poco menos que antes */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  width: 90%; /* más estrechas */
  max-width: 310px; /* limita el ancho */
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.admin-gges-layout .text-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
a img:hover {
    transform: scale(1.05);
  }

  /* Hover en los botones */
  a span:hover {
    background: none;
  
  border: 2px solid #4f46e5; /* borde azul */
  color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79,70,229,0.4);
  }


  
.btn-descarga {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  background: #ffffff; 
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-descarga:hover {
  background: #00c362; 
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.btn-descarga i {
  font-size: 1.2rem;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: #333;
  font-size: 17px; /* antes estaba implícito, ahora más grande */
  line-height: 1.8; /* mejora la legibilidad */
}


.btn-modern:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255,102,0,0.4);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  text-align: left;
}



.section-header p {
  flex: 1;
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

/* Botones */
.botones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.botones a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}



.botones a:first-child:hover {
  background: #1242c9;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

/* Botones secundarios */
.botones a:not(:first-child) {
  color: #2563eb;
  background: #fff;
}

.botones a:not(:first-child):hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}
.section-header p {
  flex: 2; 
  font-size: 1.1rem;
  color: #555; 
  margin: 0;
  text-align: center; 
}
.section-header h2 {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
}
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center; 
  max-width: 1100px;       
  margin: 0 auto;          
}
#contacto h2 {
  font-size: 2rem;
  font-weight: 700;
}

#contacto .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  font-size: 17px; /* más legible */
  line-height: 1.7;
  color: #444;
}

#contacto .info-grid strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: #222;
}

#contacto .info-grid a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.3s;
}

#contacto .info-grid a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

#contacto i {
  margin-right: 6px;
  font-size: 1.1rem;
}
.hero-section {
  position: relative;
  background: url('/php-html-workspace/img/bg.jpg') center/cover no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Overlay degradado */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 1;
}

/* Contenido centrado */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
}

/* Logo */
.hero-logo {
  width: 380px;
  max-width: 80%;
  margin-bottom: 20px;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5));
}

/* Texto */
.hero-content h2 {
  font-size: 2.2rem;
  font-weight: 400;
  margin: 0;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.6);
}
/* Imagen antes del footer */
.pre-footer {
  background: url('/php-html-workspace/img/bg.jpg') center/cover no-repeat;
  height: 350px;        /* más alta que la versión estrecha */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 15px 0 0; /* opcional: bordes redondeados arriba */
  margin-top: 2rem;
}

.pre-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  border-radius: 15px 15px 0 0;
  pointer-events: none; /* <-- agrega esto */
}

.pre-footer-text {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

.pre-footer-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

/* Footer más fino */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 12px 5px;
  font-size: 0.9rem;
}