/* =============================
   RESET GENERAL
============================= */
body{
  margin:0;
  font-family:'Poppins',sans-serif;
  background:#0f0f0f;
  color:white;
}

/* =============================
   HEADER
============================= */
.topbar{
  background:#2c5f5f;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 40px;
  position:relative;
}

.logo img{
  height:45px;
  width:auto;
}

/* NAV */
nav{
  display:flex;
}

nav a{
  color:white;
  margin:0 10px;
  text-decoration:none;
  transition:0.3s;
}

nav a:hover{
  color:#00d1b2;
}

/* MENÚ MÓVIL */
.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
  color:white;
}

/* =============================
   HERO PRODUCTOS
============================= */
.productos-hero{
  height:300px;
  background:linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
             url('../img/prod/img-adn.png') center/cover no-repeat;
}

/* =============================
   CATÁLOGO
============================= */
.catalogo{
  padding:60px 40px;
  background:#0a1f2f;
  text-align:center;
}

/* GRID PRODUCTOS */
.grid-productos{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
  margin-top:40px;
}


/* TARJETAS */
.producto{
    background:#112d3c;
    padding: 15px;
    border-radius:10px;
    position:relative;
    overflow:hidden;
    transition:.3s;
}

.producto:hover{
    transform:translateY(-10px);
    border:1px solid #00d1b2;
}

/* IMÁGENES */
.producto img{
    width:100%;
    border-radius:10px;
    margin-bottom:15px;
}

/* VENTANA EMERGENTE */
.overlay-producto{
    position:absolute;
    left:50%;
    bottom:20px;
    width:80%;
    background:#fff;
    color:#333;
    padding:20px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.3);

    opacity:0;
    transform:translateX(-50%) translateY(30px);
    transition:.4s;

    z-index:10;
}

.overlay-producto h3{
    margin-top:0;
    color:#0a1f2f;
}

.overlay-producto p{
    margin-bottom:0;
    line-height:1.6;
}

/* APARECE AL PASAR EL CURSOR */
.producto:hover .overlay-producto{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}

/* IMÁGENES */
.producto img{
  width:100%;
  border-radius:10px;
  margin-bottom:15px;
}

/* =============================
   BOTONES
============================= */
.btn{
  display:inline-block;
  background:#00d1b2;
  color:#000;
  padding:10px 20px;
  border-radius:6px;
  text-decoration:none;
  transition:0.3s;
}

.btn:hover{
  background:#00a896;
}

/* =============================
   FORMULARIOS
============================= */
form{
  display:flex;
  flex-direction:column;
  gap:15px;
}

input, textarea{
  padding:10px;
  border-radius:5px;
  border:none;
}

/* =============================
   IMÁGENES GENERALES
============================= */
img{
  max-width:100%;
  height:auto;
  border-radius:10px;
}

/* =============================
   FOOTER
============================= */
footer{
  background:#2c5f5f;
  text-align:center;
  padding:20px;
  margin-top:40px;
}

/* =============================
   📱 RESPONSIVE
============================= */
@media(max-width:768px){

  /* NAV */
  nav{
    display:none;
    flex-direction:column;
    background:#2c5f5f;
    position:absolute;
    top:70px;
    right:0;
    width:100%;
    text-align:center;
  }

  nav.active{
    display:flex;
  }

  nav a{
    padding:15px;
  }

  .menu-toggle{
    display:block;
  }

  /* HERO */
  .productos-hero{
    height:200px;
  }

  /* CATÁLOGO */
  .catalogo{
    padding:30px 20px;
  }

  /* GRID */
  .grid-productos{
    gap:20px;
  }
}

button{
  background:#00d1b2;
  border:none;
  padding:10px;
  border-radius:6px;
  cursor:pointer;
  transition:0.3s;
}
.chat-whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    z-index:9999;
}

.chat-btn{
    width:65px;
    height:65px;
    border:none;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    font-size:30px;
    cursor:pointer;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
}

.chat-box{
    width:300px;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.3);
    margin-bottom:15px;
    display:none;
}

.chat-header{
    background:#25D366;
    color:white;
    padding:15px;
    font-weight:bold;
}

.chat-body{
    padding:15px;
}

.chat-body p{
    color:#333;
    margin-bottom:15px;
}

.chat-option{
    display:block;
    text-decoration:none;
    background:#f1f1f1;
    color:#333;
    padding:10px;
    margin-bottom:10px;
    border-radius:8px;
    transition:.3s;
}

.chat-option:hover{
    background:#25D366;
    color:white;
}