body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Header */
header {
  display: flex;
  min-height: 70px;
  background-color: #0f1732;
  color: white;
  justify-content: space-between;
  align-items: center;
  padding: 10px; /* menos padding en general */
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding-right: 10px;
  font-size: 30px;
}

header nav a:hover{
    color: rgb(0, 234, 255);
}

.logo{
    display: flex;
    align-items: center;
}

.logo img {
  height: 50px; /* tamaño por defecto */
  margin-right: 10px;
  max-width: 100%; /* evita que se desborde */
  height: auto; /* que ajuste proporción */
}

.logo2{
    display: flex;
    align-items: center;
}

.logo2 img {
  height: 50px; /* tamaño por defecto */
  margin-right: 10px;
  max-width: 100%; /* evita que se desborde */
  height: auto; /* que ajuste proporción */
}

@media (max-width:700px) {
  header {
    flex-direction: column; /* reduce aún más en móvil */
    align-items: center;
  }
  
  nav{
    display: block;
    margin: 15px 0; /* separación vertical en móvil */
    text-align: center;
  }
  
  .logo img {
    max-height: 40px !important; /* más pequeño en móvil */
  }
}

/* Banner */
.banner {
  background: url('https://promocionalesgraficosdemexico.com.mx/img/img10.jpeg') center/cover no-repeat;
  height: 800px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Fondo oscuro semi transparente */
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-contenido {
  max-width: 600px;
  padding: 20px;
}

.banner_contenido h1 {
  font-size: 70px;
  margin-bottom: 10px;
  font-family:'Open Sans', sans-serif;
  
}

.banner_contenido p {
  font-size: 21px;
  line-height: 1.4;
  font-family:'Open Sans', sans-serif;
}


@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Sobre nosotros */
.sobre-nosotros {
  padding: 40px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.sobre-nosotros h2 {
  margin-bottom: 20px;
}

/* Productos */
.productos {
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.producto-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  background-color: white;
}

.producto-card:hover {
  transform: scale(1.05);
}

.producto-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.producto-card h3 {
  margin: 10px 0;
  padding: 0 10px;
}

/* Formulario de contacto */
.contacto {
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.contacto h2 {
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 30px;
}

.contacto form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contacto input, .contacto textarea {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
}

.contacto button {
  padding: 10px;
  background-color: #1c2851;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contacto button:hover {
  background-color: #32407a;
}

/* Footer */
footer {
  background-color: #0f1732;
  color: white;
  text-align: center;
  padding: 20px;
}

.social-buttons a {
  display: inline-block;
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-size: 30px;
}

.social-buttons a:hover {
  color: #ddd;
}

/* Botón flotante Facebook */
.facebook-float {
  position: fixed;
  bottom: 90px; /* más arriba que WhatsApp para no taparse */
  right: 20px;
  background-color: #3b5998; /* azul Facebook */
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 1000;
  animation: slideIn 1s ease;
}

.facebook-float:hover {
  background-color: #334d84;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 1000;
  animation: slideIn 1s ease;
}

@keyframes slideIn {
  from {transform: translateY(100px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

.whatsapp-float:hover {
  background-color: #1ebe57;
}

.beneficios {
  background-color: #0f1732;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.beneficios h3 {
  font-size: 30px;
  font-weight: normal;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family:'Open Sans', sans-serif;
}

.beneficios h2 {
  font-size: 50px;
  margin-bottom: 20px;
  font-family:'Open Sans', sans-serif;
}

.beneficios p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 25px;
  line-height: 1.3;
  font-family:'Open Sans', sans-serif;
}

.beneficio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 150px;
  max-width: 1500px;
  margin: 0 auto;
}

.beneficio-card i {
  font-size: 40px !important; /* Aumenta el tamaño */
  margin-bottom: 15px; /* Separa el ícono del texto */
  display: block; /* Para que quede arriba del título */
  color: white; /* Ajusta color */
}


.beneficio-cards h3 {
  font-family:'Open Sans', sans-serif;
  font-size: 30px;
  margin-bottom: 10px;
}

.beneficio-cards p { 
  font-size: 20px;
  line-height: 1.4;
  font-family:'Open Sans', sans-serif;
}

.producto-destacado {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: url('https://promocionalesgraficosdemexico.com.mx/img/img3.jpeg') center/cover no-repeat;
  padding: 60px 20px;
  color: white;
  overflow: hidden;
}

.producto-destacado::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Ajusta la opacidad aquí */
  z-index: 1;
}

.producto-destacado .contenido {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.producto-destacado .contenido h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.producto-destacado .contenido p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family:'Open Sans', sans-serif;
}

.boton-Cotiza {
  display: inline-block;
  background-color: #32407a;
  color: white;
  padding: 20px 40px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
}

.boton-Cotiza:hover {
  background-color: #8ea2f0; /* tono más claro al pasar el mouse */
}

.producto-destacado .imagen {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}

.producto-destacado .imagen img {
  max-width: 100%;
  border-radius: 10px;
}

@keyframes carruselScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-30%);
  }
}

.carrusel {
  width: 100%;
  height: 500px; /* Altura mayor para efecto vertical estilizado */
  overflow: hidden;
  position: relative;
  background: #f9f9f9;
}

.carrusel-track {
  display: flex;
  width: calc(200px * 28); /* ancho de imagen + cantidad, ajusta si usas más imágenes */
  animation: carruselScroll 15s linear infinite;
}

.carrusel-item {
  flex: 0 0 auto;
  width: 200px;  /* ancho más estrecho para la forma vertical */
  height: 400px; /* altura mayor para rectángulo vertical */
  margin-right: 20px;
}

.carrusel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.calidad {
  padding: 50px 20px;
  background-color: #0f1732; 
  color: white;
  text-align: center;
}

.calidad h2 {
  font-size: 32px;
  margin-bottom: 40px;
  font-family: 'Open Sans', sans-serif;
}

.servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align:center;
  gap: 220px;
}

.servicio {
  max-width: 400px;
}

.servicio img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.servicio h3 {
  font-size: 25px;
  margin-bottom: 10px;
  font-family: 'Open Sans', sans-serif;
}

.servicio p {
  font-size: 17px;
  line-height: 1.5;
  font-family: 'Open Sans', sans-serif;
}

/* Responsivo */
@media (max-width: 900px) {
  .servicios {
    flex-direction: column;
    align-items: center;
  }
}

html {
  scroll-behavior: smooth;
}

#searchInput {
  max-width: 400px;
}

