/* ========================================
   ESCUELA FORTALEZA · escuelafortaleza.com
   Premium · Afro-tropical · Pelourinho
   ======================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --amarillo: #FFD600;
  --rojo: #E63946;
  --verde: #2DC653;
  --azul: #1B98E0;
  --naranja: #FF6B35;
  --rosa: #FF006E;
  --negro: #111111;
  --crema: #FFF8E7;
  --topbar-h: 36px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--negro);
  background: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, .titulo {
  font-family: 'Permanent Marker', cursive;
}

/* ============================================
   TOPBAR (teléfonos)
   ============================================ */
.topbar {
  background: var(--negro);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__item {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.topbar__item:hover {
  color: var(--amarillo);
}

.topbar__item strong {
  color: #fff;
}

.topbar__wa strong {
  color: #25D366;
}

.topbar__sep {
  opacity: 0.3;
}

@media (max-width: 600px) {
  .topbar__inner {
    gap: 6px;
    font-size: 0.68rem;
  }
  .topbar__sep:last-of-type,
  .topbar__item:last-child {
    display: none;
  }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: padding 0.3s, box-shadow 0.4s;
}

.nav__logo {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.6rem;
  color: var(--amarillo);
  letter-spacing: -1px;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo-img {
  height: 32px;
  width: auto;
}

.nav__logo:hover {
  transform: rotate(-3deg) scale(1.05);
}

.nav__links {
  display: none;
  gap: 6px;
}

.nav__link {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav__link--active {
  color: var(--amarillo);
}

.nav__link--cta {
  background: var(--rojo);
  color: #fff;
  font-weight: 700;
  transform: rotate(-1deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.nav__link--cta:hover {
  background: #c1303c;
  color: #fff;
  transform: rotate(0deg) scale(1.04);
}

/* User icon */
.nav__user {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nav__user:hover {
  color: var(--amarillo);
  border-color: var(--amarillo);
  background: rgba(255,214,0,0.1);
}

/* Burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--amarillo);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav__burger--open span:nth-child(2) {
  opacity: 0;
}

.nav__burger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile menu */
.nav__links--mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 100;
  animation: fadeIn 0.3s ease;
}

.nav__links--mobile-open .nav__link {
  font-size: 1.5rem;
  font-family: 'Permanent Marker', cursive;
  color: #fff;
  padding: 14px 24px;
}

.nav__links--mobile-open .nav__link--cta {
  margin-top: 10px;
  font-size: 1.3rem;
  padding: 16px 32px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 20px 30px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.15) 100%),
    linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 60%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(3.2rem, 14vw, 12rem);
  color: var(--amarillo);
  line-height: 0.82;
  transform: rotate(-3deg);
  text-shadow: 5px 5px 0 var(--negro), -2px -2px 0 var(--rojo);
  margin-bottom: 20px;
  letter-spacing: -3px;
}

.hero__frase {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.15rem, 3.5vw, 1.9rem);
  color: rgba(255,255,255,0.95);
  font-weight: 400;
  max-width: 550px;
  line-height: 1.45;
  margin-bottom: 32px;
}

.hero__frase em {
  font-style: normal;
  color: var(--amarillo);
  font-weight: 700;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--rojo);
  color: #fff;
  font-family: 'Permanent Marker', cursive;
  font-size: 1.2rem;
  border-radius: 4px;
  transform: rotate(-1.5deg);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero__cta:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
}

.hero__cta:active {
  transform: translate(3px, 3px) rotate(-1deg);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.4);
}

.hero__cta--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  box-shadow: none;
  transform: rotate(0deg);
}

.hero__cta--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  box-shadow: none;
  transform: scale(1.04);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amarillo), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 30px; }
  50% { opacity: 1; height: 50px; }
}

/* ============================================
   SEPARADOR
   ============================================ */
.separador {
  display: flex;
  height: 10px;
}

.separador span {
  flex: 1;
  transition: flex 0.3s;
}

.separador:hover span:hover {
  flex: 3;
}

/* ============================================
   SECCION: QUIENES SOMOS
   ============================================ */
.nosotros {
  padding: 80px 20px;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(255,214,0,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(230,57,70,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(45,198,83,0.06) 0%, transparent 60%),
    var(--crema);
  position: relative;
  overflow: hidden;
}

.nosotros::before,
.nosotros::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
}

.nosotros::before {
  width: 500px;
  height: 500px;
  background: var(--naranja);
  top: -150px;
  right: -150px;
}

.nosotros::after {
  width: 350px;
  height: 350px;
  background: var(--rosa);
  bottom: -100px;
  left: -100px;
}

.nosotros__intro {
  color: var(--negro);
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 50px;
  text-align: center;
  line-height: 1.75;
  position: relative;
}

.nosotros__inner {
  max-width: 600px;
  margin: 0 auto;
}

.pintadas {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pintada {
  padding: 22px 28px;
  border-radius: 4px;
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(1.15rem, 3.8vw, 1.6rem);
  line-height: 1.3;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.2);
  transform: rotate(var(--rot, -1deg));
  transition: transform 0.25s, box-shadow 0.25s;
}

.pintada:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.pintada:nth-child(1) { background: var(--amarillo); color: var(--negro); --rot: -2.5deg; }
.pintada:nth-child(2) { background: var(--rojo); color: #fff; --rot: 1.5deg; }
.pintada:nth-child(3) { background: var(--verde); color: #fff; --rot: -1deg; }
.pintada:nth-child(4) { background: var(--azul); color: #fff; --rot: 2deg; }

.nosotros__foto {
  margin: 35px auto 0;
  border-radius: 10px;
  overflow: hidden;
  transform: rotate(2deg);
  box-shadow: 8px 8px 0 var(--rojo);
  transition: transform 0.3s, box-shadow 0.3s;
}

.nosotros__foto:hover {
  transform: rotate(0deg) scale(1.01);
  box-shadow: 5px 5px 0 var(--rojo);
}

.nosotros__foto img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 700px;
  margin: 50px auto 0;
}

.stat {
  text-align: center;
  padding: 20px 10px;
  background: var(--negro);
  color: var(--amarillo);
  border-radius: 10px;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.2s;
}

.stat:hover { transform: rotate(0deg) scale(1.06); }
.stat:nth-child(1) { --rot: -1.5deg; }
.stat:nth-child(2) { --rot: 1deg; }
.stat:nth-child(3) { --rot: -0.5deg; }
.stat:nth-child(4) { --rot: 1.5deg; }

.stat__numero {
  font-family: 'Permanent Marker', cursive;
  font-size: 2rem;
}

.stat__texto {
  font-size: 0.75rem;
  color: #fff;
  opacity: 0.7;
  margin-top: 4px;
}

@media (max-width: 500px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   SECCION: SAMBA REGGAE
   ============================================ */
.samba {
  padding: 80px 20px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(0,0,0,0.03) 40px,
      rgba(0,0,0,0.03) 42px
    ),
    var(--amarillo);
  position: relative;
}

.seccion__titulo {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  text-align: center;
  margin-bottom: 16px;
  transform: rotate(-2deg);
}

.seccion__titulo--oscuro { color: var(--negro); text-shadow: 3px 3px 0 rgba(0,0,0,0.08); }
.seccion__titulo--blanco { color: #fff; text-shadow: 3px 3px 0 rgba(0,0,0,0.25); }

.seccion__subtitulo {
  text-align: center;
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.seccion__subtitulo--oscuro { color: rgba(0,0,0,0.65); }
.seccion__subtitulo--claro { color: rgba(255,255,255,0.7); }

.samba__texto {
  max-width: 680px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.75;
  text-align: center;
  color: rgba(0,0,0,0.8);
}

.instrumentos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 550px;
  margin: 0 auto;
}

.instrumento {
  background: var(--negro);
  color: var(--amarillo);
  padding: 24px 16px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.25);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.25s, box-shadow 0.25s;
}

.instrumento:hover {
  transform: rotate(0deg) scale(1.06);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
}

.instrumento:nth-child(1) { --rot: -2deg; }
.instrumento:nth-child(2) { --rot: 1.5deg; }
.instrumento:nth-child(3) { --rot: 1deg; }
.instrumento:nth-child(4) { --rot: -1.5deg; }
.instrumento:nth-child(5) { --rot: 2deg; }
.instrumento:nth-child(6) { --rot: -1deg; }

.instrumento__icono { font-size: 2rem; margin-bottom: 6px; }
.instrumento__nombre { font-family: 'Permanent Marker', cursive; font-size: 1.05rem; margin-bottom: 4px; }
.instrumento__rol { font-size: 0.75rem; opacity: 0.6; color: #fff; }

/* ============================================
   SECCION: EXPERIENCIAS
   ============================================ */
.experiencias {
  padding: 80px 20px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,214,0,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(255,0,110,0.08) 0%, transparent 50%),
    var(--verde);
  position: relative;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}

.galeria__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s, box-shadow 0.3s;
  aspect-ratio: 4 / 3;
}

.galeria__item:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
  z-index: 2;
}

.galeria__item:nth-child(1)  { --rot: -1.5deg; }
.galeria__item:nth-child(2)  { --rot: 1deg; }
.galeria__item:nth-child(3)  { --rot: 0.8deg; }
.galeria__item:nth-child(4)  { --rot: -1deg; }
.galeria__item:nth-child(5)  { --rot: 1.5deg; }
.galeria__item:nth-child(6)  { --rot: -0.8deg; }
.galeria__item:nth-child(7)  { --rot: 1deg; }
.galeria__item:nth-child(8)  { --rot: -1.5deg; }
.galeria__item:nth-child(9)  { --rot: 0.5deg; }

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.galeria__item:hover img {
  transform: scale(1.08);
}

.galeria__tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 12px;
  font-family: 'Permanent Marker', cursive;
  font-size: 0.85rem;
  border-radius: 3px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
}

.galeria__tag--amarillo { background: var(--amarillo); color: var(--negro); }
.galeria__tag--rojo     { background: var(--rojo); color: #fff; }
.galeria__tag--verde    { background: var(--negro); color: var(--verde); }
.galeria__tag--azul     { background: var(--azul); color: #fff; }
.galeria__tag--naranja  { background: var(--naranja); color: var(--negro); }
.galeria__tag--rosa     { background: var(--rosa); color: #fff; }

/* Video */
.experiencias__video {
  max-width: 700px;
  margin: 40px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--negro);
  transform: rotate(-1deg);
  transition: transform 0.3s;
}

.experiencias__video:hover {
  transform: rotate(0deg) scale(1.01);
}

.experiencias__video video {
  width: 100%;
  display: block;
}

/* ============================================
   SECCION: ACTUACIONES
   ============================================ */
.actuaciones {
  padding: 80px 20px;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 25px,
      rgba(0,0,0,0.03) 25px,
      rgba(0,0,0,0.03) 27px
    ),
    var(--rojo);
}

.formatos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.formato {
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.2);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.formato:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.formato:nth-child(1) { background: var(--amarillo); color: var(--negro); --rot: -1.5deg; }
.formato:nth-child(2) { background: var(--crema); color: var(--negro); --rot: 1deg; }
.formato:nth-child(3) { background: var(--negro); color: var(--amarillo); --rot: -0.5deg; }

.formato__icono { font-size: 2.8rem; margin-bottom: 10px; }
.formato__nombre { font-family: 'Permanent Marker', cursive; font-size: 1.5rem; margin-bottom: 8px; }
.formato__desc { font-size: 0.95rem; opacity: 0.8; line-height: 1.5; }

/* Medios / Prueba social */
.actuaciones__medios {
  max-width: 600px;
  margin: 36px auto 0;
  text-align: center;
}

.actuaciones__medios-titulo {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.actuaciones__medios-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  color: #fff;
  font-family: 'Permanent Marker', cursive;
  font-size: 1.1rem;
}

.actuaciones__medios-lista span:nth-child(even) {
  opacity: 0.3;
}

.actuaciones__cta {
  display: block;
  max-width: 600px;
  margin: 30px auto 0;
  padding: 20px;
  text-align: center;
  background: var(--negro);
  color: var(--amarillo);
  font-family: 'Permanent Marker', cursive;
  font-size: 1.3rem;
  border-radius: 6px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.25);
  transform: rotate(-1deg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.actuaciones__cta:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
}

/* ============================================
   SECCION: TESTIMONIOS
   ============================================ */
.testimonios {
  padding: 80px 20px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,214,0,0.08) 0%, transparent 50%),
    var(--crema);
}

.testimonios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
}

.testimonio {
  background: #fff;
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.08);
  border-left: 5px solid var(--amarillo);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonio:hover {
  transform: rotate(0deg) scale(1.01);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
}

.testimonio:nth-child(1) { --rot: -0.5deg; border-color: var(--amarillo); }
.testimonio:nth-child(2) { --rot: 0.5deg; border-color: var(--rojo); }
.testimonio:nth-child(3) { --rot: -0.3deg; border-color: var(--verde); }

.testimonio__estrellas {
  color: var(--amarillo);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonio__texto {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  color: rgba(0,0,0,0.75);
  margin-bottom: 16px;
}

.testimonio__autor strong {
  display: block;
  font-size: 0.95rem;
}

.testimonio__autor span {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============================================
   SECCION: UNETE
   ============================================ */
.unete {
  padding: 80px 20px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,214,0,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255,107,53,0.12) 0%, transparent 50%),
    var(--azul);
  text-align: center;
}

.unete__frase {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: #fff;
  transform: rotate(-2deg);
  margin-bottom: 40px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.sedes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 400px;
  margin: 0 auto 40px;
}

.sede {
  background: var(--crema);
  color: var(--negro);
  padding: 18px 14px;
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.2s;
}

.sede:hover {
  transform: rotate(0deg) scale(1.04);
}

.sede:nth-child(1) { --rot: -2deg; }
.sede:nth-child(2) { --rot: 1.5deg; }

.sede__ciudad {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.sede__detalle {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-bottom: 4px;
}

.sede__horario {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.9;
}

.sede__tel {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: var(--negro);
  color: var(--amarillo);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
}

.unete__btn {
  display: inline-block;
  padding: 22px 48px;
  background: var(--amarillo);
  color: var(--negro);
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  border-radius: 6px;
  box-shadow: 7px 7px 0 rgba(0,0,0,0.25);
  transform: rotate(-1.5deg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.unete__btn:hover {
  transform: rotate(0deg) scale(1.06);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
}

.unete__btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.25);
}

/* ============================================
   SECCION: DONDE APRENDER
   ============================================ */
.donde {
  padding: 70px 20px;
  background: var(--crema);
  text-align: center;
}

.donde__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: 24px;
  justify-content: center;
  max-width: 1100px;
  margin: 30px auto 0;
}

.donde__card {
  display: block;
  background: #fff;
  border: 2px solid var(--negro);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--negro);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
}

.donde__card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--negro);
}

.donde__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.donde__card-body {
  padding: 20px 22px 24px;
}

.donde__card-body h3 {
  font-size: 1.25rem;
  color: var(--negro);
  margin-bottom: 8px;
}

.donde__card-body p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #555;
  margin-bottom: 14px;
}

.donde__card-cta {
  display: inline-block;
  font-family: 'Permanent Marker', cursive;
  font-size: 0.95rem;
  color: var(--rojo);
  transition: color 0.2s;
}

.donde__card:hover .donde__card-cta {
  color: var(--negro);
}

/* Variante oscura */
.donde--oscuro {
  background: var(--negro);
}

.donde--oscuro .donde__card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.1);
}

.donde--oscuro .donde__card:hover {
  box-shadow: 6px 6px 0 rgba(255,255,255,0.15);
}

.donde--oscuro .donde__card-body h3 {
  color: #fff;
}

.donde--oscuro .donde__card-body p {
  color: rgba(255,255,255,0.7);
}

.donde--oscuro .donde__card-cta {
  color: var(--amarillo);
}

.donde--oscuro .donde__card:hover .donde__card-cta {
  color: #fff;
}

/* ============================================
   SECCION: CONTACTO
   ============================================ */
.contacto {
  padding: 80px 20px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,214,0,0.06) 0%, transparent 50%),
    var(--negro);
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto 0;
}

/* Formulario */
.formulario {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 30px 24px;
}

.formulario__tipo {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tipo-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.tipo-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.tipo-btn--active {
  background: var(--amarillo);
  color: var(--negro);
  border-color: var(--amarillo);
}

.formulario__campos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.campo-grupo--full {
  grid-column: 1 / -1;
}

.formulario__campos input,
.formulario__campos select,
.formulario__campos textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.formulario__campos input::placeholder,
.formulario__campos textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.formulario__campos input:focus,
.formulario__campos select:focus,
.formulario__campos textarea:focus {
  outline: none;
  border-color: var(--amarillo);
}

.formulario__campos select {
  appearance: none;
  cursor: pointer;
}

.formulario__campos select option {
  background: var(--negro);
  color: #fff;
}

.campo-grupo--check {
  margin-top: 4px;
}

.campo-grupo--check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  cursor: pointer;
  line-height: 1.4;
}

.campo-grupo--check input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--amarillo);
}

.campo-grupo--check a {
  color: var(--amarillo);
  text-decoration: underline;
}

.formulario__enviar {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 18px;
  background: var(--amarillo);
  color: var(--negro);
  font-family: 'Permanent Marker', cursive;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
  transform: rotate(-0.5deg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.formulario__enviar:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.formulario__enviar:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.formulario__enviar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.formulario__msg {
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 24px;
}

.formulario__msg--ok { color: var(--verde); }
.formulario__msg--error { color: var(--rojo); }

@media (max-width: 500px) {
  .formulario__campos { grid-template-columns: 1fr; }
}

/* Info lateral contacto */
.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacto__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  border-left: 4px solid var(--amarillo);
}

.contacto__card-icon {
  font-size: 1.4rem;
}

.contacto__card strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contacto__card a {
  color: var(--amarillo);
  font-weight: 700;
  font-size: 1rem;
}

.contacto__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  background: #25D366;
  color: #fff;
  font-family: 'Permanent Marker', cursive;
  font-size: 1.1rem;
  border-radius: 10px;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  transform: rotate(-0.5deg);
  margin-top: 4px;
}

.contacto__whatsapp:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.contacto__alumnos {
  margin-top: 10px;
  padding: 20px;
  background: rgba(255,214,0,0.06);
  border: 2px dashed rgba(255,214,0,0.2);
  border-radius: 10px;
  text-align: center;
}

.contacto__alumnos p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.contacto__alumnos-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--amarillo);
  color: var(--negro);
  font-family: 'Permanent Marker', cursive;
  font-size: 1rem;
  border-radius: 4px;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.contacto__alumnos-btn:hover {
  transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--negro);
  color: #fff;
  border-top: 3px solid var(--amarillo);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 50px 20px 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer__logo {
  font-family: 'Permanent Marker', cursive;
  font-size: 2rem;
  color: var(--amarillo);
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 0.82rem;
  opacity: 0.5;
  line-height: 1.5;
}

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

.footer__col h4 {
  font-family: 'Permanent Marker', cursive;
  color: var(--amarillo);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer__col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--amarillo);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  text-align: center;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 12px;
}

.footer__social a {
  color: var(--amarillo);
  font-weight: 700;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.footer__social a:hover { opacity: 0.7; }

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 3s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ============================================
   ANIMACIONES SCROLL
   ============================================ */
.aparece {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.aparece.visible {
  opacity: 1;
  transform: translateY(0);
}

.pintada.aparece.visible { transform: rotate(var(--rot, -1deg)); }
.pintada.aparece:nth-child(2) { transition-delay: 0.1s; }
.pintada.aparece:nth-child(3) { transition-delay: 0.2s; }
.pintada.aparece:nth-child(4) { transition-delay: 0.3s; }

.instrumento.aparece:nth-child(2) { transition-delay: 0.07s; }
.instrumento.aparece:nth-child(3) { transition-delay: 0.14s; }
.instrumento.aparece:nth-child(4) { transition-delay: 0.21s; }
.instrumento.aparece:nth-child(5) { transition-delay: 0.28s; }
.instrumento.aparece:nth-child(6) { transition-delay: 0.35s; }

.galeria__item.aparece:nth-child(2) { transition-delay: 0.06s; }
.galeria__item.aparece:nth-child(3) { transition-delay: 0.12s; }
.galeria__item.aparece:nth-child(4) { transition-delay: 0.18s; }
.galeria__item.aparece:nth-child(5) { transition-delay: 0.24s; }
.galeria__item.aparece:nth-child(6) { transition-delay: 0.30s; }
.galeria__item.aparece:nth-child(7) { transition-delay: 0.36s; }
.galeria__item.aparece:nth-child(8) { transition-delay: 0.42s; }
.galeria__item.aparece:nth-child(9) { transition-delay: 0.48s; }

.formato.aparece:nth-child(2) { transition-delay: 0.1s; }
.formato.aparece:nth-child(3) { transition-delay: 0.2s; }

.testimonio.aparece:nth-child(2) { transition-delay: 0.1s; }
.testimonio.aparece:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   TABLET (768+)
   ============================================ */
@media (min-width: 768px) {
  .nav {
    padding: 16px 30px;
  }

  .nav__links {
    display: flex;
  }

  .nav__burger {
    display: none;
  }

  .hero {
    padding: 80px 50px 90px;
  }

  .nosotros {
    padding: 100px 40px;
  }

  .nosotros__inner {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 950px;
    margin: 0 auto;
  }

  .pintadas {
    flex: 1;
  }

  .nosotros__foto {
    flex: 1;
    margin: 0;
  }

  .nosotros__foto img {
    height: 420px;
  }

  .nosotros__intro {
    max-width: 700px;
    font-size: 1.3rem;
  }

  .samba {
    padding: 100px 40px;
  }

  .instrumentos {
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
  }

  .experiencias {
    padding: 100px 40px;
  }

  .galeria {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    gap: 18px;
  }

  .experiencias__video {
    max-width: 800px;
  }

  .actuaciones {
    padding: 100px 40px;
  }

  .formatos {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
  }

  .testimonios {
    padding: 100px 40px;
  }

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

  .unete {
    padding: 100px 40px;
  }

  .contacto {
    padding: 100px 40px;
  }

  .contacto__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* ============================================
   DESKTOP (1024+)
   ============================================ */
@media (min-width: 1024px) {
  .nav {
    padding: 18px 50px;
  }

  .hero {
    padding: 120px 80px 60px;
  }

  .hero__title {
    font-size: 10rem;
    letter-spacing: -4px;
  }

  .hero__frase {
    font-size: 1.9rem;
    max-width: 600px;
  }

  .hero__cta {
    font-size: 1.4rem;
    padding: 18px 40px;
  }

  .nosotros__inner {
    max-width: 1100px;
    gap: 60px;
  }

  .nosotros__foto img {
    height: 500px;
  }

  .pintada {
    font-size: 1.65rem;
    padding: 26px 34px;
  }

  .samba__texto {
    font-size: 1.2rem;
    max-width: 720px;
  }

  .galeria {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1050px;
  }

  .formatos {
    max-width: 1000px;
  }

  .formato {
    padding: 36px 28px;
  }

  .formato__icono {
    font-size: 3.2rem;
  }
}

/* ============================================
   WIDE (1400+)
   ============================================ */
@media (min-width: 1400px) {
  .hero {
    padding: 140px 140px 80px;
  }

  .hero__title {
    font-size: 12rem;
  }

  .hero__content {
    max-width: 900px;
  }

  .galeria {
    max-width: 1200px;
  }

  .nosotros__inner {
    max-width: 1200px;
  }
}
