/* ----------- BASE ----------- */
body {
  font-family: 'Lato', Arial, sans-serif;
  background: #faf7f4;
  color: #222;
  margin: 0;
  padding: 0;
}

/* ----------- HEADER Y LOGO ----------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 4vw;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0;
}

.logo img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* Pantallas grandes */
@media (min-width: 1280px) {
  .logo img {
    height: 80px;
    max-width: 220px;
  }
}

/* Tablets y medianos */
@media (max-width: 1279px) {
  .logo img {
    height: 60px;
    max-width: 160px;
  }
}

/* Móviles */
@media (max-width: 600px) {
  .logo {
    height: 50px;
  }

  .logo img {
    height: 40px;
    max-width: 120px;
  }
}

/* ----------- NAV ----------- */
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #000000;
  font-weight: 700;
  transition: color 0.3s;
}

nav a:hover {
  color: #8a744b;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #816e4a;
  cursor: pointer;
}

/* ----------- HERO ----------- */
.hero {
  background: url('img/LB-PORTADA_2953 copia.jpg') center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #222;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #222;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #bfa16a;
}

.cta-btn {
  background: #bfa16a;
  color: #fff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 2px 8px rgba(191, 161, 106, 0.1);
}

.cta-btn:hover {
  background: #a88a4a;
  transform: translateY(-2px) scale(1.03);
}

/* ----------- COLECCIÓN ----------- */
.coleccion {
  padding: 4rem 4vw;
  background: #fff;
}

.coleccion h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 2rem;
  text-align: center;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.producto {
  background: #faf7f4;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(191, 161, 106, 0.06);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.producto img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.3s;
  object-fit: cover;
  max-width: 350px;
  height: auto;
}

.producto:hover {
  box-shadow: 0 6px 24px rgba(191, 161, 106, 0.12);
  transform: translateY(-4px) scale(1.02);
}

.producto img:hover {
  transform: scale(1.04);
}

.producto h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.btn {
  background: none;
  border: 1px solid #bfa16a;
  color: #bfa16a;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  margin-top: 0.5rem;
  display: inline-block;
}

.btn:hover {
  background: #bfa16a;
  color: #fff;
}

/* ----------- MODAL ----------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  animation: modal-fade-in 0.4s;
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-contenido {
  background: #fff;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 24px;
  max-width: 700px;
  width: 90vw;
  margin: auto;
  position: relative;
  text-align: center;
  box-shadow: 0 12px 40px rgba(191, 161, 106, 0.22), 0 2px 12px rgba(0, 0, 0, 0.10);
  transform: skew(-8deg, -2deg) scale(0.97);
  animation: modal-pop 0.3s;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

@keyframes modal-pop {
  from {
    transform: skew(-8deg, -2deg) scale(0.8);
    opacity: 0;
  }

  to {
    transform: skew(-8deg, -2deg) scale(0.97);
    opacity: 1;
  }
}

.cerrar {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2.2rem;
  color: #bfa16a;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  z-index: 10;
}

.cerrar:hover {
  color: #a88a4a;
  transform: scale(1.2) rotate(10deg);
}

/* Fondo oscuro para imagen ampliada */
#fondo-ampliado {
  display: none;
  position: fixed;
  z-index: 2000;
  /* Menor que la imagen ampliada */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  /* Menos opaco para que la imagen ampliada se vea clara */
  pointer-events: auto;
}

/* Galería de imágenes del modal */
.modal-fotos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  flex: 1 1 50%;
  transform: skew(8deg, 2deg);
  margin-bottom: 1rem;
}

.modal-fotos img {
  width: 120px;
  max-width: 18vw;
  min-width: 80px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(191, 161, 106, 0.10);
  transition: transform 0.3s, box-shadow 0.3s, z-index 0.3s;
  cursor: pointer;
  aspect-ratio: 3/4;
  z-index: 1;
}

/* Imagen agrandada */
.modal-fotos img.ampliada {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80vw;
  max-width: 500px;
  min-width: 200px;
  height: auto;
  max-height: 90vh;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(191, 161, 106, 0.22), 0 2px 12px rgba(0, 0, 0, 0.20);
  z-index: 3001;
  /* Mayor que el fondo oscuro */
  background: #fff;
  /* Fondo blanco para que no se oscurezca */
  border-radius: 20px;
  cursor: zoom-out;
  filter: none !important;
  /* Quita cualquier filtro heredado */
  opacity: 1 !important;
  /* Quita cualquier opacidad heredada */
  pointer-events: auto;
}

.modal-fotos img.ampliada,
.modal-fotos img.ampliada * {
  filter: none !important;
  opacity: 1 !important;
  background: #fff !important;
}

.modal-fotos img:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(191, 161, 106, 0.18);
}

.modal-fotos img.ampliada:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(191, 161, 106, 0.22), 0 2px 12px rgba(0, 0, 0, 0.20);
}


.modal-info {
  flex: 1 1 50%;
  text-align: left;
  transform: skew(8deg, 2deg);
}

#modalNombre {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #bfa16a;
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
}

#modalDescripcion {
  font-size: 1.1rem;
  color: #444;
  margin-top: 1rem;
  line-height: 1.6;
}

/* ----------- DESCRIPCIÓN ----------- */
.descripcion {
  padding: 4rem 4vw;
  background: #faf7f4;
  text-align: center;
}

.descripcion blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #222;
  border-left: 4px solid #bfa16a;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.7;
}

/* ----------- TESTIMONIOS ----------- */
.testimonios {
  padding: 4rem 4vw;
  background: #fff;
}

.testimonios h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #222;
  text-align: center;
  margin-bottom: 2rem;
}

.testimonios-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonio {
  background: #faf7f4;
  border-radius: 12px;
  padding: 2rem;
  max-width: 340px;
  box-shadow: 0 2px 8px rgba(191, 161, 106, 0.08);
  text-align: center;
}

.estrellas {
  color: #bfa16a;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.testimonio cite {
  display: block;
  margin-top: 1rem;
  color: #888;
  font-style: normal;
}

/* ----------- FOOTER ----------- */
footer {
  background: #222;
  color: #fff;
  padding: 3rem 4vw 2rem 4vw;
  text-align: center;
}

.footer-redes a img {
  width: 32px;
  margin: 0 0.5rem;
  filter: grayscale(1) brightness(1.5);
  transition: filter 0.3s;
}

.footer-redes a img:hover {
  filter: none;
}

.boletin {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.boletin input[type="email"] {
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  width: 220px;
}

.boletin button {
  background: #bfa16a;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.boletin button:hover {
  background: #a88a4a;
}

.footer-links {
  margin: 1.5rem 0;
}

.footer-links a {
  color: #bfa16a;
  margin: 0 1rem;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 900px) {
  .galeria {
    grid-template-columns: 1fr 1fr;
  }

  .testimonios-lista {
    flex-direction: column;
    align-items: center;
  }

  .modal-contenido {
    flex-direction: column;
    gap: 1.2rem;
    max-width: 98vw;
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    transform: none;
    animation: none;
  }

  .modal-fotos,
  .modal-info {
    transform: none;
    text-align: center;
  }

  .modal-fotos img {
    width: 90vw;
    max-width: 350px;
  }
}

/* ...código existente... */

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 4vw;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 1rem 0;
    display: none;
  }

  nav.open ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .galeria {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .descripcion blockquote {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .modal {
    align-items: flex-start;
    overflow-y: auto;
    padding: 0;
  }

  .modal-contenido {
    flex-direction: column;
    gap: 0.7rem;
    max-width: 100vw;
    width: 100vw;
    min-height: 100vh;
    padding: 0.7rem 0.2rem 1rem 0.2rem;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    align-items: stretch;
  }

  .modal-fotos {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    margin-bottom: 1rem;
    align-items: center;
  }

  .modal-fotos img,
  .modal-fotos img.ampliada {
    width: 98vw !important;
    max-width: 98vw !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 14px !important;
    object-fit: contain !important;
    box-shadow: 0 2px 12px rgba(191, 161, 106, 0.10) !important;
    cursor: default !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 1 !important;
    background: #fff !important;
    filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin: 0 auto;
    display: block;
  }

  #fondo-ampliado {
    display: none !important;
  }
}

/* ----------- FIN ----------- */

/* ----------- FIN ----------- */
/* Agrega esto a tu styles.css */
.contactanos-oficial {
  background: #fff8f2;
  padding: 3rem 0 2.5rem 0;
  text-align: center;
  border-top: 2px solid #e7dac6;
  border-bottom: 2px solid #e7dac6;
  margin: 3rem 0 2rem 0;
}

.contactanos-contenido h2 {
  font-family: 'Playfair Display', serif;
  color: #bfa16a;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.contactanos-contenido p {
  color: #4d3b2a;
  font-size: 1.15rem;
  margin-bottom: 2rem;
  font-family: 'Lato', sans-serif;
}

.contactanos-redes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.contactanos-redes a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.25rem;
  color: #bfa16a;
  background: #fff;
  border-radius: 30px;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(191,161,106,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.contactanos-redes a:hover {
  background: #f6e9d7;
  color: #a88a4a;
  box-shadow: 0 4px 18px rgba(191,161,106,0.13);
}

.contactanos-redes i {
  font-size: 1.5em;
  margin-right: 0.3em;
}

/* Responsive */
@media (max-width: 600px) {
  .contactanos-oficial {
    padding: 2rem 0 1.5rem 0;
    margin: 2rem 0 1rem 0;
  }
  .contactanos-redes {
    flex-direction: column;
    gap: 1.2rem;
  }
}