/* =========================
   BANNER PRODUCTOS
========================= */

.productos-banner {
  background: linear-gradient(to right, #000000, #004080);
  color: white;
  text-align: center;
  padding: 140px 20px 60px;
}



.productos-banner h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.productos-banner p {
  font-size: 1.25rem;
  color: #cdd2d6;
}

/* =========================
   PRODUCTOS
========================= */
.productos-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px 5%;
  background: #f8f8f8;
}

.producto-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  animation: slideUpFade 1s ease forwards;
  opacity: 0;
  transform: translateY(50px);
}

.producto-img img {
  width: 280px;
  max-width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.producto-img img:hover {
  transform: scale(1.05);
}

.producto-info,
.producto-descripcion {
  flex: 1;
  padding: 0 20px;
}

.producto-info h2 {
  font-size: 2rem;
  color: #003366;
}

.producto-descripcion p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .producto-card {
    flex-direction: column;
    text-align: center;
  }

  .producto-img img {
    width: 90%;
    margin: 20px 0;
  }
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
}

/* MENÚ DESKTOP */
.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: #002c5a;
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover {
  color: #1a5fff;
}

.nav-menu a.active {
  color: #1a5fff;
  font-weight: 700;
}

.nav-menu a.active::after {
  content: '';
  height: 2px;
  width: 100%;
  background: #1a5fff;
  position: absolute;
  bottom: -6px;
  left: 0;
}

/* BOTÓN */
.btn-login {
  background: #307BFF;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.btn-login:hover {
  background: #0056d6;
}

/* =========================
   HAMBURGUESA
========================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: #004080;
  border-radius: 3px;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px,-6px);
}

/* MENÚ MÓVIL */
.menu-mobile {
  display: none;
}

/* =========================
   RESPONSIVE NAV
========================= */
@media (max-width: 768px) {

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-mobile {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .menu-mobile.show {
    display: flex;
  }

  .menu-mobile a {
    padding: 15px;
    text-decoration: none;
    color: #002c5a;
    font-weight: 600;
    border-bottom: 1px solid #eee;
  }

  .menu-mobile a:hover {
    background: #eaf2ff;
    color: #1a5fff;
  }

  .menu-mobile a.active {
    background: linear-gradient(to right, #000000, #004080);
    color: white;
  }
}

/* =========================
   FOOTER + WHATSAPP
========================= */
.footer {
  background: #00294d;
  color: white;
  padding: 40px 20px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 999;
} 
.hero-textual {
  display: none;
}
/* ===== FIX HAMBURGUESA ===== */

/* Desktop: NO mostrar hamburguesa ni menú móvil */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }

  .menu-mobile {
    display: none !important;
  }
}

/* Móvil: mostrar hamburguesa */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
}
.productos-section{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:40px;
max-width:1200px;
margin:auto;
padding:60px 20px;
}

.producto{
text-align:center;
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
transition:transform .3s;
}

.producto:hover{
transform:translateY(-8px);
}

.producto img{
width:100%;
height:200px;
object-fit:cover;
border-radius:18px;
margin-bottom:20px;
transition:transform .3s ease;
}

.producto:hover img{
transform:scale(1.05);
}

.producto h2{
margin-bottom:15px;
color:#002b55;
}

.producto p{
line-height:1.6;
color:#444;
}
