*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  line-height:1.6;
  color:#2f2419;
  background:#f8f6f1;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.contenedor{
  width:90%;
  max-width:1100px;
  margin:0 auto;
}

/* Para que el menú no tape las secciones al hacer clic */
section[id],
.hero[id]{
  scroll-margin-top:110px;
}

/* MENU */
.menu{
  background:#ffffff;
  border-bottom:1px solid #e5e0d8;
  position:sticky;
  top:0;
  z-index:1000;
}

.menu-contenido{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
}

.logo a{
  font-size:1.2rem;
  font-weight:bold;
  color:#2f2419;
}

.nav-links{
  list-style:none;
  display:flex;
  gap:24px;
}

.nav-links a{
  font-weight:600;
  color:#2f2419;
  transition:color 0.3s ease;
}

.nav-links a:hover{
  color:#8a5a2b;
}

/* HERO */
.hero{
  background:#ece7df;
  padding:80px 0 60px 0;
  text-align:center;
}

.hero h1{
  font-size:3rem;
  margin-bottom:10px;
  color:#2f2419;
}

.hero p{
  font-size:1.15rem;
  color:#555;
  max-width:800px;
  margin:0 auto 20px auto;
}

/* BOTONES */
.boton{
  display:inline-block;
  background:#8a5a2b;
  color:#ffffff;
  padding:12px 20px;
  border-radius:8px;
  font-weight:700;
  margin-top:20px;
  transition:background 0.3s ease, transform 0.3s ease;
}

.boton:hover{
  background:#6f4620;
  transform:translateY(-2px);
}

.boton-volver{
  display:inline-block;
  background:#ffffff;
  color:#3b2d1f;
  padding:10px 16px;
  border-radius:8px;
  border:1px solid #d9d1c7;
  font-weight:600;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  transition:background 0.3s ease, transform 0.3s ease;
}

.boton-volver:hover{
  background:#f3eee7;
  transform:translateY(-2px);
}

.boton-whatsapp{
  background:#25D366;
  font-size:1.1rem;
  padding:14px 26px;
  margin-top:25px;
}

.boton-whatsapp:hover{
  background:#1ebe5d;
}

.boton-mapa{
  display:inline-block;
  margin-top:15px;
  background:#2f2419;
  color:#ffffff;
  padding:12px 22px;
  border-radius:8px;
  font-weight:600;
  transition:all 0.3s ease;
}

.boton-mapa:hover{
  background:#1e1711;
  transform:translateY(-2px);
}

.volver-wrap{
  margin:25px auto 0 auto;
  text-align:center;
}

/* SECCIONES */
section{
  padding:60px 0;
}

h2{
  font-size:2.2rem;
  margin-bottom:20px;
  color:#2f2419;
}

/* HORARIOS */
.horarios{
  background:#f8f6f1;
}

.horarios p{
  color:#555;
  max-width:800px;
  margin:0 0 10px 0;
}

.nota-horarios{
  margin-top:18px;
  font-weight:600;
  color:#3b2d1f;
}

/* PRECIOS */
.precios{
  background:#ffffff;
}

.tabla-precios{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:20px;
}

.precio-card{
  background:#f8f6f1;
  border:1px solid #e5e0d8;
  border-radius:12px;
  padding:24px;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
  transition:all 0.3s ease;
}

.precio-card:hover{
  transform:translateY(-4px);
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.precio-card h3{
  font-size:1.3rem;
  margin-bottom:10px;
  color:#2f2419;
}

.precio-cantidad{
  font-size:1.8rem;
  font-weight:700;
  color:#8a5a2b;
}

.nota-precios{
  margin-top:25px;
  font-weight:600;
  color:#3b2d1f;
}
.texto-precios{
  max-width:700px;
  margin-bottom:25px;
  color:#555;
}
/* CURSO / TALLER */
.curso{
  background:#f8f6f1;
}

.curso h2,
.destacados h2{
  margin-bottom:12px;
}

.texto-curso{
  max-width:820px;
  margin-bottom:30px;
  color:#555;
}

.curso-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

/* GALERÍAS */
height:90vh;

/* CONTACTO */
.contacto{
  background:#ffffff;
  text-align:center;
  padding:80px 0;
}

.contacto h2{
  margin-bottom:15px;
}

.texto-contacto{
  max-width:700px;
  margin:10px auto 12px auto;
  color:#555;
  font-size:1.05rem;
}

.datos-contacto{
  margin-top:20px;
  margin-bottom:10px;
  font-size:1.05rem;
  color:#3b2d1f;
}

.datos-contacto p{
  margin:5px 0;
}

.mapa{
  margin-top:20px;
  text-align:center;
}

/* VISOR */
.visor{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.visor img{
  max-width:90%;
  max-height:80%;
  border-radius:8px;
}

.cerrar{
  position:absolute;
  top:20px;
  right:30px;
  font-size:34px;
  color:white;
  cursor:pointer;
}

.flecha{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:44px;
  color:white;
  cursor:pointer;
  padding:10px;
  user-select:none;
}

.izquierda{
  left:20px;
}

.derecha{
  right:20px;
}

/* RESPONSIVE */
@media (max-width:900px){
  .hero h1{
    font-size:2.3rem;
  }

  .galeria-grid,
  .curso-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:700px){
  .menu-contenido{
    flex-direction:column;
    gap:14px;
  }

  .nav-links{
    gap:16px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero{
    padding:60px 0 45px 0;
  }

  .hero h1{
    font-size:1.9rem;
  }

  h2{
    font-size:1.8rem;
  }

  .foto img{
    height:230px;
  }

  .tabla-precios,
  .curso-grid,
  .galeria-grid{
    grid-template-columns:1fr;
  }

  .flecha{
    font-size:34px;
  }

  .cerrar{
    font-size:28px;
    right:20px;
  }
}
/* PORTADA CON IMAGEN */
.hero-portada{
  position:relative;
  height:90vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  background:url("/images/portada-taller.jpg") center/cover no-repeat;
  color:white;
}

.overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.65);
}

.hero-portada .hero-contenido{
  position:relative;
  z-index:2;
  max-width:800px;
}

.hero-portada h1{
  font-size:3rem;
  margin-bottom:15px;
  color:white;
}

.hero-portada p{
  font-size:1.2rem;
  margin-bottom:20px;
  color:#ddd;
}
.hero-portada .boton{
  font-size:1.1rem;
  padding:14px 28px;
}
/* ===== GALERIA NUEVA (FORZADA) ===== */

.galeria-grid,
.curso-grid{
  display:grid !important;
  gap:24px;
}

.galeria-grid{
  grid-template-columns:repeat(2, 1fr);
}

.curso-grid{
  grid-template-columns:repeat(3, 1fr);
}

.foto{
  background:#ffffff !important;
  border-radius:16px !important;
  box-shadow:0 6px 20px rgba(0,0,0,0.08) !important;
  overflow:hidden !important;
  transition:all 0.3s ease;
}

.foto:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

.foto img{
  width:100% !important;
  height:280px !important;
  object-fit:cover !important;
  display:block;
  transition:transform 0.4s ease;
}

.foto:hover img{
  transform:scale(1.05);
}

.texto-foto{
  padding:16px;
  font-size:16px;
  font-weight:600;
  color:#2f2419;
  text-align:center;
}

/* RESPONSIVE */
@media (max-width:900px){
  .galeria-grid,
  .curso-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:700px){
  .galeria-grid,
  .curso-grid{
    grid-template-columns:1fr;
  }
}