/* ═══════════════════════════════════════════════════════
   apinceladas — Design 3: Fusión BD
   Luminoso Artístico + Acuarela Orgánico
   ═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --cream-1: #fefae0;
  --cream-2: #f8f4ef;
  --cream-3: #ede4d8;
  --orange: #e85d2f;
  --orange-soft: rgba(232, 93, 47, 0.12);
  --blue: #3f7499;
  --blue-soft: rgba(63, 116, 153, 0.12);
  --earth: #8a7a6a;
  --earth-soft: rgba(138, 122, 106, 0.10);
  --gold: #ffd402;
  --gold-dark: #c4a200;
  --white: #ffffff;
  --text: #3b3226;
  --text-light: #6b5e50;
  --radius: 8px;
  --radius-pill: 50px;
  --shadow-card: 0 2px 16px rgba(138,122,106,0.10);
  --shadow-hover: 0 6px 28px rgba(138,122,106,0.16);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--cream-1);
  -webkit-font-smoothing: antialiased;
  text-align: justify;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: #d14e23;
  border-color: #d14e23;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232,93,47,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--earth);
}
.btn-outline:hover {
  background: var(--earth);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Brush Divider ── */
.brush-divider {
  width: clamp(160px, 40vw, 320px);
  height: 6px;
  margin: 1.5rem auto;
  border-radius: 3px;
  background: linear-gradient(90deg, #e85d2f, #f59e0b, #ffd402, #22c55e, #3f7499, #6366f1, #a855f7);
  opacity: 0.8;
  position: relative;
}
.brush-divider::before,
.brush-divider::after {
  content: '';
  position: absolute;
  top: -2px;
  height: 10px;
  border-radius: 5px;
  background: inherit;
  opacity: 0.3;
}
.brush-divider::before { left: 10%; width: 30%; transform: rotate(-1deg); }
.brush-divider::after  { right: 10%; width: 25%; transform: rotate(1.5deg); }

/* ── Section Labels ── */
.section-label {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--earth);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* ── Watercolor Blobs ── */
.watercolor-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 400px; height: 400px;
  background: rgba(232,93,47,0.08);
  top: -80px; right: -120px;
}
.blob-2 {
  width: 300px; height: 300px;
  background: rgba(63,116,153,0.07);
  bottom: -60px; left: -100px;
}
.blob-3 {
  width: 250px; height: 250px;
  background: rgba(255,212,2,0.06);
  top: 40%; left: 50%;
  transform: translateX(-50%);
}
.blob-4 {
  width: 350px; height: 350px;
  background: rgba(232,93,47,0.06);
  top: -100px; left: -80px;
}
.blob-5 {
  width: 280px; height: 280px;
  background: rgba(63,116,153,0.06);
  bottom: -60px; right: -100px;
}

/* ═══════════════ NAVIGATION ═══════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(254,250,224,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(138,122,106,0.12);
  transition: box-shadow 0.3s;
  text-align: center;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(138,122,106,0.12);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
}
.nav-left {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(37,211,102,0.3);
}
.btn-whatsapp svg {
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }
.nav-phone-mobile { display: none; }

.nav-right {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-cta { padding: 0.5rem 1.3rem; font-size: 0.85rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; }
.hamburger span {
  display: block;
  width: 100%; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream-1) 0%, var(--cream-2) 60%, var(--cream-3) 100%);
  padding: calc(var(--nav-h) + 1rem) 1.5rem 2rem;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-logo {
  max-width: clamp(260px, 40vw, 460px);
  height: auto;
  margin: 0 auto 0.4rem;
  display: block;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
/* ── Hero Carousel ── */
.hero-carousel {
  width: 100%;
  max-width: 800px;
  margin: 1rem auto 1.5rem;
  position: relative;
}
.carousel-track {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(138,122,106,0.15);
  box-shadow: var(--shadow-card);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide.active {
  opacity: 1;
}
.carousel-img {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--cream-2);
}
.carousel-text {
  position: absolute;
  bottom: 1.2rem;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  color: var(--text);
  background: linear-gradient(transparent, rgba(248,244,239,0.9) 30%);
  padding: 2rem 1rem 0.5rem;
}
.carousel-main {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.1;
}
.carousel-sub {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--orange);
  margin-top: 0.3rem;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--earth-soft);
  border: 1.5px solid var(--earth);
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.2);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════ SECTIONS ═══════════════ */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.sobre { background: var(--cream-2); }
.servicios { background: linear-gradient(180deg, var(--cream-2), var(--cream-1)); }
.clases { background: var(--cream-2); }
.horarios { background: linear-gradient(180deg, var(--cream-1), var(--cream-2)); }
.galeria { background: var(--cream-3); }
.contacto { background: linear-gradient(180deg, var(--cream-2), var(--cream-3)); }

/* ── Sobre Nosotros ── */
.sobre-text {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: justify;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-light);
  line-height: 1.8;
}
/* ── Sobre Carousel ── */
.sobre-carousel {
  max-width: 360px;
  margin: 0 auto 2rem;
  position: relative;
}
.sobre-carousel-track {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(138,122,106,0.15);
  box-shadow: var(--shadow-card);
}
.sobre-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.sobre-slide.active {
  opacity: 1;
}
.sobre-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sobre-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(138,122,106,0.2);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.sobre-arrow:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.sobre-prev { left: -5px; }
.sobre-next { right: -5px; }
.sobre-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.sobre-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--earth-soft);
  border: 1.5px solid var(--earth);
  cursor: pointer;
  transition: all 0.3s;
}
.sobre-dot.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.2);
}

/* ── Servicios ── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.service-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(138,122,106,0.18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-img-wrap {
  height: 180px;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-img-wrap img { transform: scale(1.06); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -26px auto 0;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(138,122,106,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  padding: 0.8rem 1rem 0.3rem;
  color: var(--text);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  text-align: center;
  padding: 0 1rem 1.2rem;
  line-height: 1.6;
}

/* ── Clases ── */
.clases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.clase-block {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(138,122,106,0.15);
  border-radius: var(--radius);
  overflow: hidden;
}
.clase-hero-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.clase-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clase-hero-img h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  padding: 2rem 1.5rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  margin: 0;
}
.clase-block p {
  padding: 1.2rem 1.5rem 1.5rem;
}
.clase-block p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.tecnicas {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  padding-top: 1rem;
}
.tecnicas h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.tecnicas p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.tecnicas-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.tecnicas-tags span {
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(232,93,47,0.18);
}

/* ── Horarios ── */
.horarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.table-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(138,122,106,0.18);
  box-shadow: var(--shadow-card);
  background: rgba(255,255,255,0.7);
}
.table-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 1.2rem;
  text-align: center;
  border-bottom: 1px solid rgba(138,122,106,0.12);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.schedule-table td {
  padding: 0.75rem 1.2rem;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(138,122,106,0.1);
  text-align: left;
}
.schedule-table td:first-child {
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.schedule-table td:last-child {
  text-align: right;
}
.time-slot {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin: 0.15rem 0.2rem;
  letter-spacing: 0.02em;
}
.time-slot.muted {
  background: var(--earth-soft);
  color: var(--earth);
  font-weight: 500;
  font-style: italic;
}
.schedule-table tbody tr:nth-child(even) {
  background: rgba(138,122,106,0.04);
}
.schedule-table tbody tr:hover {
  background: var(--orange-soft);
}
.horarios-cta {
  text-align: center;
}

/* ── Galería Heading Override ── */
.galeria-label {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--orange);
  text-transform: none;
  letter-spacing: normal;
}
.galeria-subtitle {
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-light);
}

/* ── Galería Toggle ── */
.galeria-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.galeria-btn {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  border: 1.5px solid rgba(138,122,106,0.25);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.galeria-btn.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.galeria-btn:hover:not(.active) {
  border-color: var(--orange);
  color: var(--orange);
}
.galeria-view { display: none; }
.galeria-view.active { display: block; }

/* ── Galería Masonry ── */
.masonry {
  columns: 3;
  column-gap: 8px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.masonry-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 1;
  position: relative;
}
.masonry-item img {
  width: 100%;
  display: block;
}

/* ── Galería Carrusel ── */
.galeria-carrusel {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0;
}
.carousel-row {
  overflow: hidden;
  margin-bottom: 8px;
}
.carousel-strip {
  display: flex;
  gap: 8px;
  width: max-content;
}
.carousel-row-1 .carousel-strip {
  animation: scrollLeft 50s linear infinite;
}
.carousel-row-2 .carousel-strip {
  animation: scrollRight 55s linear infinite;
}
.galeria-carrusel:hover .carousel-strip {
  animation-play-state: paused;
}
.carousel-strip img {
  height: 280px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── Contacto ── */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  justify-content: space-between;
}
.contacto-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.contacto-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.contacto-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.contacto-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.contacto-item a {
  color: var(--orange);
  transition: opacity 0.2s;
}
.contacto-item a:hover { opacity: 0.8; }
.horario-mini {
  border-collapse: collapse;
  text-align: left;
  margin-top: 0.3rem;
}
.horario-mini td {
  padding: 0.2rem 0.6rem 0.2rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  vertical-align: middle;
}
.horario-mini td:first-child {
  font-weight: 500;
  min-width: 80px;
}
.contacto-social-block {
  padding: 1.5rem;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(138,122,106,0.15);
  border-radius: var(--radius);
  text-align: center;
  margin-top: auto;
}
.social-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.social-icons-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
}
.contacto-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(138,122,106,0.18);
  box-shadow: var(--shadow-card);
  display: flex;
}
.contacto-map iframe {
  flex: 1;
  min-height: 520px;
}

/* ── Footer ── */
.footer {
  background: var(--cream-3);
  border-top: 1px solid rgba(138,122,106,0.15);
  padding: 1.5rem 0;
  text-align: center;
}
.footer p {
  font-size: 0.85rem;
  color: var(--earth);
}

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(232,93,47,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: #d14e23;
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(232,93,47,0.4);
}

/* ═══════════════ ANIMATIONS ═══════════════ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.anim-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════ RESPONSIVE ═══════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .masonry {
    columns: 2;
  }
  .carousel-strip img { height: 220px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-container {
    justify-content: space-between !important;
  }
  .nav-left {
    position: static !important;
    order: -1;
  }
  .nav-right {
    position: static !important;
    order: 1;
  }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .btn-whatsapp span { display: none; }
  .btn-whatsapp { padding: 0.5rem; border-radius: 50%; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(254,250,224,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0 2rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid rgba(138,122,106,0.15);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1rem;
  }
  .nav-links a::after { display: none; }
  .nav-phone-mobile {
    display: list-item !important;
    margin-top: 0.5rem;
  }
  .nav-phone-mobile a {
    color: var(--orange) !important;
    font-weight: 600;
  }

  .hero-logo { max-width: 260px; }
  .hero-title { font-size: 1.3rem; }
  .carousel-track { height: 300px; }

  .nav-container { justify-content: flex-end; }
  .nav-right { position: static; }

  .sobre-grid { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }
  .clases-grid { grid-template-columns: 1fr; }
  .horarios-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }

  .masonry { columns: 1; }
  .carousel-strip img { height: 180px; }

  .service-img-wrap { height: 200px; }

  .contacto-map iframe { height: 280px; }
}

/* Small mobile */
@media (max-width: 400px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
}
