/* HERO */
.hero-placards {
  position: relative;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-placards .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

.hero-placards h1 {
  position: relative;
  color: white;
  font-size: 80px;
  letter-spacing: 5px;
}
 
/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 55px;
  height: 55px;
  background: rgba(0, 0, 0, 0.6); /* negro transparente */
  border-radius: 50%;
  display: none; /* oculto por defecto */
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); /* ícono blanco */
}

.whatsapp-float:active {
  transform: scale(0.9);
}
  
/* GALERÍA */
.galeria {
  background: white;
  padding: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px; /* 🔥 esto iguala bordes con espacios internos */
}

.grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.grid a:hover img {
  transform: scale(1.05);
}


.titulo-descripcion {
  font-family: 'Questrial', sans-serif;
  font-size: 32px;
  font-weight: 700; /* bien marcado */
  margin-bottom: 25px;
  color: #111;
}

.descripcion-placards {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

.descripcion-placards p {
  font-family: 'Questrial', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 25px;
}




/* DESKTOP */
@media (min-width: 768px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;

    max-width: 1400px; /* controla el ancho total */
    margin: 0 auto; /* centra */
    padding: 0 12px; /* 🔥 mini margen lateral */
  }

  .grid img {
    width: 100%;
    height: 400px; /* podés ajustar esto */
    object-fit: cover;
  }
}


.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


/* SLIDER HERO */
.slider-hero {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;

  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}




.hint-click {display:none}

/* MOBILE */
@media (max-width: 768px) {
  .nav {
    font-size: 35px;
  }

   .hero-placards h1 {
    font-size: 50px;
  }

    .whatsapp-float {
    display: flex;
  }

  .galeria .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔥 2 columnas */
    gap: 6px;
    padding: 6px;
  }

  .galeria .grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    height: auto;
  }

  .grid.preview {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .grid.preview img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
  }

  .descripcion-placards {
    margin: 40px auto;
    padding: 0 16px;
  }

  .descripcion-placards p {
    font-size: 16px;
    line-height: 1.6;
  }

    .titulo-descripcion {
    font-size: 24px;
    margin-bottom: 20px;
  }
}



/* =========================
   MOBILE HINT + EFECTO
========================= */
@media (max-width: 768px) {

  .grid {
    position: relative;
    overflow: hidden;
  }

  /* capa oscura suave */
  .grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  /* TEXTO */
  .hint-click {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    color: white;
    font-size: 16px;
    font-family: 'Questrial', sans-serif;
    letter-spacing: 1px;

    z-index: 3;

    opacity: 1;
    transition: opacity 0.5s ease;
  }

  /* cuando desaparece */
  .grid.hide-hint::after {
    opacity: 0;
  }

  .grid.hide-hint .hint-click {
    opacity: 0;
  }

  
  .contacto-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contacto-info .info-item {
    text-align: center;
  }

}

/* cada imagen como contenedor */
.grid a {
  position: relative;
  display: block;
  overflow: hidden;
}

/* capa oscura individual */
.grid a::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.4);
  opacity: 0;

  transition: opacity 0.3s ease;
  pointer-events: none;
}

.grid a:hover::after {
  opacity: 1;
}


/* =========================
   MOBILE TAP EFFECT (preview)
========================= */

.preview-item {
  position: relative;
  display: block;
  overflow: hidden;
}

/* overlay */
.preview-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* texto */
.preview-item .ver-mas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color: white;
  font-size: 16px;
  letter-spacing: 2px;

  opacity: 0;
  transition: opacity 0.3s ease;

  z-index: 2;
}

/* estado activo (tap) */
.preview-item.active-touch::after {
  opacity: 1;
}

.preview-item.active-touch .ver-mas {
  opacity: 1;
}