/* ====================================================================
   GORILLA
   Idea: pictogramas de los levantamientos básicos que hacen tres
   repeticiones (dos cuadros, como un folioscopio) al elegirlos. El
   gimnasio te mira la técnica. Verde selva, hueso, plata y discos
   mostaza; letra pesada (Dela Gothic One). Sin sombras: bloques planos.
   ==================================================================== */
:root {
  --selva: #1F3A2E;
  --hoja: #2E5A45;
  --hueso: #EFEBDF;
  --plata: #9DA39F;
  --mostaza: #D8A31A;
  --tinta: #1A2320;
  --gris: #56605B;
  --wa: #25D366;

  --pesada: "Dela Gothic One", "Arial Black", sans-serif;
  --texto: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--texto); background: var(--hueso); color: var(--tinta); line-height: 1.6; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--mostaza); outline-offset: 3px; }

.contenedor { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1rem; }
h1, h2, .marca { font-family: var(--pesada); font-weight: 400; line-height: 1.08; }

/* Cabecera */
.cabecera { background: var(--selva); color: var(--hueso); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.marca { font-size: 1.4rem; text-decoration: none; }
.cabecera-tel { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ====================================================================
   PRESENTACIÓN + TÉCNICA
   ==================================================================== */
.inicio { background: var(--selva); color: var(--hueso); padding: 1.8rem 0 3.4rem; }
.inicio-grilla { display: grid; gap: 2.4rem; align-items: center; }
.inicio h1 { font-size: clamp(2.3rem, 10vw, 4.6rem); max-width: 11ch; }
.bajada { max-width: 42ch; margin: 1rem 0 1.6rem; color: #C9D2CC; font-size: 1.05rem; }
.elegir { font-weight: 600; margin-bottom: 0.6rem; }
.ejercicios { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ejercicio {
  min-height: 48px;
  padding: 0.55rem 1rem;
  background: none;
  border: 2px solid var(--plata);
  border-radius: 6px;
  color: var(--hueso);
  font-weight: 600;
}
.ejercicio:hover { border-color: var(--hueso); }
.ejercicio[aria-pressed="true"] { background: var(--hueso); border-color: var(--hueso); color: var(--selva); }

.tecnica { display: grid; gap: 1.2rem; }
.pictograma {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  background: var(--hoja);
  border-radius: 6px;
  border-bottom: 10px solid var(--tinta);
  fill: none;
  stroke: var(--hueso);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pictograma circle { fill: var(--hueso); stroke: none; }
.pictograma .barra, .pictograma .banco { stroke: var(--plata); stroke-width: 5; }
.pictograma .disco { fill: var(--mostaza); stroke: none; }
.cuadro-b { opacity: 0; }
.animando .cuadro-a { animation: cuadro-a 1.4s steps(1) 3; }
.animando .cuadro-b { animation: cuadro-b 1.4s steps(1) 3; }
@keyframes cuadro-a { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes cuadro-b { 0% { opacity: 0; } 50% { opacity: 1; } }

.tecnica-texto h2 { font-size: 1.6rem; color: var(--mostaza); }
.tecnica-texto p { max-width: 38ch; margin: 0.3rem 0 1.1rem; }
.boton-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0.7rem 1.2rem;
  background: var(--wa);
  color: #0B2915;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}
.boton-wa:hover { background: #1FB855; }

@media (min-width: 860px) {
  .inicio { padding: 3rem 0 4.5rem; }
  .inicio-grilla { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .tecnica { grid-template-columns: 1fr; }
}

/* ====================================================================
   CLASES
   ==================================================================== */
.clases { padding: 3.2rem 0; }
.clases h2 { font-size: clamp(1.8rem, 7vw, 2.8rem); color: var(--selva); }
.clases p { margin: 0.5rem 0 1.2rem; color: var(--gris); }
.clases-lista { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.clases-lista li { font-family: var(--pesada); font-size: clamp(1.6rem, 7vw, 2.6rem); color: var(--selva); }

/* ====================================================================
   UBICACIÓN
   ==================================================================== */
.ubicacion { background: #E3DECF; padding: 3.2rem 0; }
.ubicacion-fila { display: grid; gap: 1.6rem; align-items: center; }
.ubicacion h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: 0.8rem; color: var(--selva); }
.ubicacion p { color: var(--gris); margin-bottom: 0.3rem; }
.ubicacion p a { color: var(--tinta); font-weight: 600; }
.boton-contorno {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--selva);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  color: var(--selva);
}
.boton-contorno:hover { background: var(--selva); color: var(--hueso); }
#mapa-iframe { width: 100%; height: 300px; border: 0; border-radius: 6px; background: var(--hueso); }
@media (min-width: 860px) { .ubicacion-fila { grid-template-columns: 1fr 1.4fr; gap: 3rem; } #mapa-iframe { height: 340px; } }

/* Pie */
.pie { background: var(--selva); color: #B9C4BD; padding: 2rem 0 6rem; font-size: 0.9rem; }
.pie p + p { margin-top: 0.3rem; }
.demo-aviso { font-style: italic; }

/* Botón flotante */
.flotante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--wa);
  color: #0B2915;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.flotante span { display: none; }
@media (min-width: 640px) { .flotante { padding: 0.85rem 1.25rem; } .flotante span { display: inline; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animando .cuadro-a, .animando .cuadro-b { animation: none; }
}
