/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
  background-color: #000;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  padding: 20px;
}

/* =========================
   HEADER
========================= */
.contenedor {
  text-align: center;
  margin-bottom: 30px;
}

.logo-index {
  width: 100%;
  max-width: 400px;
}

.logo-inicio {
  width: 100%;
  max-width: 700px;
}

.logos {
  width: 66%;
  max-width: 266px;
}

/* =========================
   TITULOS
========================= */
h1 {
  color: #f1b91b;
  font-size: clamp(30px, 6vw, 60px);
  text-align: center;
  margin-bottom: 40px;
}

h2 {
  color: #f1b91b;
  font-size: clamp(30px, 6vw, 60px);
  text-align: center;
  margin-bottom: 20px;
}

/* =========================
   CARD
========================= */
.card {
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 30px 25px;
  border: 4px solid #f1b91b;
  border-radius: 30px;
  background-color: #000;
}

/* =========================
   PRESENTACION
========================= */
.presentacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* =========================
   PARRAFOS
========================= */
p {
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 300;
  line-height: 1.6;
}

.cierre {
  font-weight: 800;
  margin-top: 10px;
}

.cierre2 {
  color: #f1b91b;	
  font-weight: 800;
  margin-top: 10px;
}

/* =========================
   BOTON PRINCIPAL
========================= */
.btn-entrar {
  margin-top: 25px;
  padding: 10px 35px;
  background: linear-gradient(135deg, #d8ad38, #fad223);
  color: #080807;
  border: 4px solid rgba(241, 185, 27);
  border-radius: 40px;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-entrar:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #5cb429, #08d83c);
}

/* =========================
   ACORDEON
========================= */
.acordeon {
  width: 100%;
  margin-top: 25px;
  text-align: center;
}

.acordeon input {
  display: none;
}

.titulo-acordeon {
  display: block;
  padding: 10px;
  border: 4px solid #E7B83D;
  border-radius: 30px;
  background: linear-gradient(135deg, #DFB130, #daab13);
  color: #080807;
  font-weight: 800;
  font-size: 25px;
  cursor: pointer;
  transition: 0.3s ease;
}

.titulo-acordeon:hover {
  background: #000;
  color: #DFB130;
}

.contenido-acordeon {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.acordeon input:checked ~ .contenido-acordeon {
  max-height: 1000px;
}

/* =========================
   BOTONES INTERNOS (LIMPIO)
========================= */
.btn-sub {
  padding: 10px 20px;
  width: 60%;
  align-self: center;
  text-align: center;

  border: 3px solid #E7B83D;
  border-radius: 30px;

  color: #DFB130;
  text-decoration: none;
  font-weight: 700;

  background: rgba(223, 177, 48, 0.08);
  transition: 0.3s ease;
}

.btn-sub:hover {
  background: linear-gradient(135deg, #dfb030bd, #daac13c0);
  color: #080807;
}

.btn-sub:active {
  transform: scale(0.95);
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  margin-top: 50px;
  opacity: 0.6;
  font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 600px) {

  body {
    padding: 15px;
  }

  .card {
    padding: 20px 15px;
    border-radius: 20px;
  }

  .btn-sub {
    width: 80%;
  }
}

/* =========================
   BOTON VOLVER
========================= */
.btn-volver {
  margin-top: 30px;
  padding: 20px 50px;

  border: 3px solid #555;
  border-radius: 30px;

  color: #ccc;
  text-decoration: none;
  font-weight: 700;

  background: transparent;
  transition: 0.3s ease;
}

.btn-volver:hover {
  background: #333;
  color: #fff;
}

/* =========================
   SUBTITULOS
========================= */
.subtitulo {
  text-align: center;
  color: #DFB130;
  margin-bottom: 30px;
  font-size: 24px;
  letter-spacing: 2px;
}

/* =========================
   GRID SOBRES
========================= */
.grid-sobres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* =========================
   ITEM SOBRE
========================= */
.sobre-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   IMAGEN SOBRE
========================= */
.sobre-item img {
  width: 450px;
  height: 281px;
  object-fit: cover;
  border: 3px solid #E7B83D;
}

/* =========================
   INFO DEBAJO
========================= */
.info-sobre {
  width: 450px;
  padding: 15px;
  background: #111;
  border: 2px solid #E7B83D;
  border-top: none;
  font-size: 14px;
}

.info-sobre p {
  margin-bottom: 6px;
}

.info-sobre strong {
  text-decoration: underline;
  text-decoration-color: #E7B83D; /* dorado */
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 700;
}

/* =========================
   ESTADO LUZ
========================= */
.estado {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 6px;
}

.disponible {
  background: #00ff4c;
  box-shadow: 0 0 8px #00ff4c;
}

.no-disponible {
  background: red;
  box-shadow: 0 0 8px red;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 600px) {

  .grid-sobres {
    grid-template-columns: 1fr;
    justify-items: center; /* 🔥 centra los sobres */
  }

  .sobre-item {
    width: 100%;
    max-width: 420px; /* límite real del sobre */
  }

  .sobre-item img,
  .info-sobre {
    width: 100%;
    height: auto;
  }

}

/* ============================= */
/* DELIMITACION DE SECCIONES */
/* ============================= */

.seccion-coleccion {
  margin-top: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid rgba(231, 184, 61, 0.3);
}

.seccion-busqueda {
  margin-top: 60px;
  padding-top: 40px;
  background: rgba(231, 184, 61, 0.04);
}

/* TITULOS DIFERENCIADOS */

.seccion-coleccion .subtitulo {
  color: #E7B83D;
  letter-spacing: 3px;
}

.seccion-busqueda .subtitulo {
  color: #999;
  letter-spacing: 3px;
}

/* Línea decorativa debajo del título */
.subtitulo {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  font-size: 30px;
  letter-spacing: 2px;
}

.subtitulo::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #E7B83D;
  margin-top: 8px;
}

/* SECCION WHATSAPP SOBRE FOOTER */

.contacto-wsp {
  display: flex;
  justify-content: center;
  margin: 60px 0 20px 0;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
}

.btn-colaborar {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  padding: 20px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.btn-colaborar:hover {
  transform: scale(1.05);
}

.botones-contacto {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.btn {
  width: 170px;
  height: 80px;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, filter 0.2s;
}

.btn img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.btn span {
  font-size: 18px;
  font-weight: 600;
}

/* Colores oficiales */
.btn.email {
  background: #D44638;
}

.btn.whatsapp {
  background: #25D366;
}

.btn.mercadopago {
  background: #009EE3;
}

.btn.paypal {
  background: #003087;
}

/* Hover */
.btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* FONDO CON BLUR */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  animation: fadeIn 0.5s ease;
}

/* POPUP */
.popup {
  background: linear-gradient(135deg, #1e1e1e, #2c2c2c);
  color: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 350px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);

  animation: zoomIn 0.4s ease;
}

.popup h1 {
  font-size: 50px;
  margin-bottom: 15px;
}

.gratis {
  color: #00ff88;
  font-weight: bold;
  font-size: 23px;
  margin-bottom: 10px;
}

.desc {
  font-size: 20px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.banderas {
  text-align: center;
  margin-bottom: 10px;
}

.banderas img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* BOTÓN */
.botones-descarga {
  display: flex;
  flex-direction: column;
  gap: 12px; /* separación real entre botones */
  margin-top: 15px;
}

.btn-descargar {
  display: block;              /* hace que ocupen todo el ancho */
  width: 100%;                /* mismo tamaño para ambos */
  text-align: center;
  padding: 12px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  box-sizing: border-box;     /* evita que padding rompa el ancho */
  font-weight: 600;
}

.btn-descargar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ff88;
}

/* CERRAR */
.cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
  opacity: 0.7;
}

.cerrar:hover {
  opacity: 1;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}