/* ================= BASE ================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #fff;
  text-align: center;
}

img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.logo img {
  width: 60%;
}

/* ================= HEADER ================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #111;
}

.hamburger {
  display: none;
  flex-direction: column;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #111;
  margin: 4px;
}

/* ================= HERO (SIN CARRUSEL) ================= */

.hero {
  height: 70vh;
  min-height: 400px;
}

.hero-bg {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Overlay */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(0,0,0,0.35);*/
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 2;
  /*background: rgba(0,0,0,0.4);*/
  padding: 20px;
  border-radius: 10px;
  color: #000;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;

  max-width: 700px;
}

.hero-content h1 {
  font-size: 42px;
}

/* Botones */
.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.buttons button {
  padding: 14px 26px;
  font-size: 15px;
  background: #444;
  color: #fff;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

/* ================= PROMOCIONES (CARRUSEL) ================= */

.promociones {
  padding: 80px 20px;
  background-color: rgb(219 219 217 / 10%);
}

.promociones .carousel {
  position: relative;
  max-width: 1000px;
  height: 400px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

.promociones .slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.promociones .slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Overlay */
.promociones .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0,0,0,0.2); */
}

/* Flechas SOLO promociones */
.promociones .prev,
.promociones .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.promociones .prev { left: 10px; }
.promociones .next { right: 10px; }

/* ================= SECCIONES ================= */

.gold-section,
.productos {
  padding: 80px 20px;
  justify-items: center;
}

.gold-section {
  background: rgb(207, 170, 55);
  color: #fff;
}

.productos {
  background-color: rgb(207, 170, 55);
  color: #fff;
}

.gold-gallery {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.gold-gallery img {
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.productos-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* TARJETAS */

.card-producto,
.card-terapia,
.card-terapia-uno {
  width: 250px;
  margin: 0 auto;
}

.card-terapia {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-terapia img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.card-terapia img:hover {
  transform: scale(1.05);
}

.card-terapia p {
  margin-top: 10px;
  font-size: 14px;
}


@media (max-width: 768px) {
  .card-terapia-uno {
      /* display: flex; */
      flex-direction: column;
      /* align-items: center; */
  }
}

/* ================= CONTACTO ================= */

.contacto {
  background: rgb(207, 170, 55);
  padding: 80px 20px;
}

.contacto-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

.contacto-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacto-form input,
.contacto-form textarea {
  padding: 12px;
  border: none;
}

.contacto-form button {
  background: #000;
  color: #fff;
  padding: 12px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .nav {
    position: fixed;
    right: -100%;
    top: 0;
    width: 70%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 20px;
  }

  .nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: 60vh;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .buttons button {
    padding: 10px 12px;
    font-size: 13px;
  }

  .gold-gallery,
  .contacto-container {
    grid-template-columns: 1fr;
  }

  .card-producto,
  .card-terapia {
    width: 90%;
  }
}

@media (max-width: 480px) {

  .hero {
    height: 55vh;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .buttons button {
    width: 100%;
  }
}

/* EXTRA */
section.terapias-section,
.huerto {
  justify-items: center;
}


.videosyoutube {
  background-color: rgb(219 219 218 / 47%);
  padding: 6%;
  margin-top: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; 
  aspect-ratio: 16 / 9; 
  margin: 1%;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 10px; 
}

@media (max-width: 768px) {

  .videosyoutube {
    width: 100%;
    overflow: hidden;
    flex-direction: column;
  }

  .video-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .video-wrapper iframe {
    width: 100%;
    height: 100%;
  }

}

section.terminos-condiciones-section {
    justify-items: center;
    margin: 5%;
}

.terminosycondiciones {
    color: #000;
    text-decoration: none;
}

.terminosycondiciones:hover {
    color: #454242;
    text-decoration: none;
}

p.terminosprivacidadtexto {
    text-align: justify;
    width: 90%;
    justify-items: center;
}

.buttons a {
  color: #fff;
  text-decoration:none;
}