/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  background: #f4f6f8;
  color: #111;
  overflow-x: hidden;
}

/* HEADER */
.promo-bar {
background: #0056ff;
color: white;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
gap: 35px;
font-size: 13px;
font-weight: 500;
letter-spacing: 0.5px;

}
.promo-bar span{
  display: block;
}

.top-header {
  background: linear-gradient(90deg, #0033a0, #0056ff);
  color: white;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 90px;
}

/* NAV */
.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex:1;
    gap:20px;
}

.nav-menu{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    row-gap:10px;
    flex:1;
    max-width:calc(100% - 220px);
}

.nav-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  transition: 0.3s;

}

.nav-menu a:hover {
  color: #ffd500;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ffd500;
  transition: 0.3s;
}

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

/* SEARCH */
.search{
    width:220px;
    height:42px;
    padding:0 18px;
    border:none;
    border-radius:25px;
    background:white;
    font-size:14px;
    outline:none;
    box-sizing:border-box;
}
.search::placeholder{
    color:#888;
}

/* WHATSAPP */



/* HERO */
.hero {
  position: relative;
  height: 650px;
  background-image: url("fondo3.JPG");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 16px;
}

/* PRODUCTS */
.products{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 320px));
    gap:30px;
    padding:50px 40px;
    max-width:1200px;
    margin:0 auto;
    justify-content:center;
    align-items:start;
}

  .product-card {
    width:100%;
    max-width:320px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    display:flex;
    flex-direction:column;
    text-decoration: none;
    color: inherit;
}
    .product-card h3,
    .product-card p,
    .product-card strong{
  color: 111;
  text-decoration: none;
    }
    .whatsapp-btn{
    width:100%;
    background:#25D366;
    color:white;
    border:none;
    padding:14px;
    border-radius:10px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    margin-top:12px;
    }
.product-description{
  font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-top: 15px;
    text-align: justify;
    max-width: 95%;
}

.product-image{
    width:100%;
    height:260px;
    object-fit:contain;
    object-position: center;
    background:#f4f6f8;
    display:block;
    padding:18px;
    box-sizing:border-box;
}

.product-info{
    padding:25px;
    text-align:center;
}

.product-card h3{
    margin:0 0 8px;
    font-size:16px;
}

.product-card p{
    color:#666;
    margin:0 0 14px;
    font-size:13px;
}

.product-card strong{
    display:block;
    font-size:16px;
    margin-bottom:18px;
}

.product-card a{
    display:block;
    background:#25d366;
    color:white;
    text-decoration:none;
    padding:13px;
    border-radius:10px;
    font-weight:bold;
    font-size:13px;
}
.storage{
    display:inline-block;
    background: #f2f4f8;
    color: #333;
    font-size:15px;
    font-weight:600;
    padding: 8px 14px;
    border-radius: 999px;
    margin :8px 0 18px;   
}

.menu-toggle{
    display:none;
    position:absolute;
    top:28px;
    right:18px;
    z-index:10001;
    color:white;
    font-size:34px;
    background:none;
    border:none;
    cursor:pointer;
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

@media (max-width:768px){

    .promo-bar{
        display:none !important;
    }

    .top-header{
        position:relative;
        flex-wrap:nowrap;
        justify-content:space-between;
        align-items:center;
        padding:14px 16px;
        height:92px;
    }
    .logo{
        width: 125px;
        overflow: hidden;
    }

    .logo img{
        height: 62px !important;
        width:auto;
        transform: scale(1.25);
        transform-origin:left center;
    }

    /* botón hamburguesa */
    .menu-toggle{
        display:block;
        position:absolute;
        top:28px;
        right:18px;
        z-index:10001;
        color:white;
        font-size:34px;
        background:none;
        border:none;
        cursor:pointer;
    }

    .nav-container{
        flex:1;
        display:flex;
        justify-content:center;
        align-items:center;
        margin:0;
    }

    /* menú lateral */
    .nav-menu{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        position:fixed;
        top:0;
        left:-100%;
        width:78%;
        height:100vh;

        gap:0;
        padding:85px 28px 30px;

        background:rgba(0,45,180,0.98);

        border-radius:0 22px 22px 0;

        transition:left 0.35s ease;
        z-index:9999;
    }

    .nav-menu.active{
        left:0;
    }

    .nav-menu a{
        width:100%;
        text-align:left;
        font-size:15px;
        padding:13px 0;
        border-bottom:1px solid rgba(255,255,255,0.18);
    }

    .nav-menu a:last-child{
        border-bottom:none;
    }

    .search{
        width:70%;
        max-width:360px;
        height:45px;
        font-size:16px;
        margin:0 auto;
        display:block;
    }

    .hero{
        height:480px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:15px;
    }

    .products{
        padding:24px;
    }
}


@media (max-width:480px){

    .logo img{
        height:px !important;
    }

    .menu-toggle{
        font-size:30px;
        top:24px;
        right:15px;
    }

    .nav-menu{
        width:85%;
        padding:75px 22px 25px;
    }

    .nav-menu a{
        font-size:14px;
        padding:12px 0;
    }

    .search{
        width:65%;
        height:42px;
        font-size:14px;
    }

    .hero{
        height:400px;
    }

    .hero h1{
        font-size:28px;
    }

    .hero p{
        font-size:14px;
    }
}