
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #e6f2ff, #ffffff);
  color: #023047;
}

.header {
  background-color: #0077b6;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  border-bottom: 5px solid #023e8a;
}

.header h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
}

.header p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  max-width: 800px;
  margin: auto;
}

.marcas-section,
.proveedores-section {
  padding: 3rem 1rem;
  text-align: center;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2rem;
  color: #0077b6;
}

.marcas-grid,
.proveedores-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.marca-card,
.proveedor-card {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  flex: 1 1 120px;
  max-width: 180px;
  min-width: 100px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.marca-card:hover,
.proveedor-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.marca-card img,
.proveedor-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.proveedor-card.texto {
  width: 100%;
  max-width: 400px;
  padding: 1.5rem;
  font-size: 1rem;
  background-color: #e0f7ff;
  box-sizing: border-box;
}

.footer {
  background-color: #023e8a;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: 0.95rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #003049, #006494);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu li {
  margin-left: 20px;
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ffd60a;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #ffffff;
}

#menu-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .marca-card,
  .proveedor-card {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    background: #003049;
    width: 100%;
    display: none;
    flex-direction: column;
  }

  .menu ul {
    flex-direction: column;
    width: 100%;
  }

  .menu li {
    margin: 15px 0;
    text-align: center;
  }

  #menu-toggle:checked + .hamburger + .menu {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .marca-card,
  .proveedor-card {
    height: 130px;
  }
}

@media (max-width: 480px) {
  .marca-card,
  .proveedor-card {
    height: 100px;
  }

  .proveedor-card.texto {
    font-size: 0.9rem;
  }

  .menu li {
    margin: 10px 0;
  }
}
