:root {
  --cream: #f6f1e9;
  --cream-deep: #efe7da;
  --night: #262a3f;
  --night-soft: #3a3f58;
  --gold: #c2a26a;
  --gold-deep: #a9884f;
  --sage: #8c9b8a;
  --accent: #bdb6ef;          /* lavanda lunar (acento tipo Mooves) */
  --accent-deep: #9f96e6;
  --ink: #2b2b2e;
  --muted: #6c6a68;
  --line: rgba(38, 42, 63, 0.12);
  --maxw: 1120px;
  --display: "Michroma", "Jost", sans-serif;
  --body: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; color: var(--night); line-height: 1.15; font-weight: 400; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wordmark {
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.9rem 2.2rem;
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--night); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-light { background: var(--cream); color: var(--night); }
.btn-light:hover { background: #fff; }

.pill {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: var(--night);
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}
.pill:hover { transform: translateY(-2px); background: var(--accent-deep); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.1rem, 4vw, 3rem);
  background: rgba(246, 241, 233, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--night); }
.brand-mark { color: var(--gold-deep); display: inline-flex; }
.brand-name { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.14em; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); font-size: 0.92rem; }
.site-nav a { text-decoration: none; color: var(--night-soft); transition: color 0.2s; }
.site-nav a:hover { color: var(--gold-deep); }
.nav-cta {
  border: 1px solid var(--night);
  border-radius: 999px;
  padding: 0.4rem 1.05rem;
  color: var(--night) !important;
}
.nav-cta:hover { background: var(--night); color: var(--cream) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--night); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 1.3rem;
    padding: 1.8rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: -1;
  }
  .site-nav.open { transform: translateY(0); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,42,63,0.4), rgba(38,42,63,0.62)); }
.hero-content { position: relative; padding: 2rem; color: #fff; }
.hero-eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.92);
}
.hero .wordmark {
  font-size: clamp(3.2rem, 15vw, 9rem);
  color: #fff;
  margin: 0 0 1.8rem;
  text-shadow: 0 6px 40px rgba(38,42,63,0.35);
}
.hero-pills { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ===== Intro ===== */
.intro {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1.2rem, 5vw, 2rem);
  text-align: center;
}
.intro h2 { font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: 1.3rem; }
.intro p { color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.18rem); margin-bottom: 2rem; }

/* ===== Método (carrusel coverflow) ===== */
.method {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 5vw, 2rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.method-top { padding-top: clamp(2.2rem, 6vw, 4rem); }
.page-head { text-align: center; padding: clamp(3rem, 8vw, 5.5rem) clamp(1.2rem, 5vw, 2rem) clamp(1.5rem, 4vw, 2.5rem); }
.inline-link { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--night); }
.hero-eyebrow-dark {
  font-family: var(--display);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1rem;
}
.method-title { font-size: clamp(1.9rem, 5.5vw, 3rem); margin-bottom: 0.7rem; }
.method-sub { color: var(--muted); margin: 0 0 2.4rem; }

.carousel {
  position: relative;
  height: 440px;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1600px;
}
.m-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.m-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 400px;
  margin: -200px 0 0 -140px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: var(--night);
  box-shadow: 0 30px 70px -40px rgba(38, 42, 63, 0.7);
  transition: box-shadow 0.3s ease;   /* el movimiento lo controla el JS cada frame */
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.m-card .m-img { position: absolute; inset: 0; }
.m-card .m-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 0.5s ease; }
/* foto animada (efecto Ken Burns): da sensación de movimiento sin ser vídeo */
.m-card .m-img.kenburns {
  background-image: url('img/instructores.jpg');
  background-size: cover;
  background-position: center 20%;
  transform-origin: center 25%;
  animation: kenburns 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.18) translateY(-2%); }
}
@media (prefers-reduced-motion: reduce) { .m-card .m-img.kenburns { animation: none; } }
.m-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,42,63,0) 40%, rgba(38,42,63,0.78) 100%);
}
.m-tag {
  position: absolute;
  left: 0; right: 0; bottom: 1.4rem;
  z-index: 2;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.m-card.active { box-shadow: 0 40px 90px -36px rgba(38, 42, 63, 0.85); }
.m-card.active::before {
  content: "Ver +";
  position: absolute; z-index: 3; top: 1.1rem; right: 1.1rem;
  font-family: var(--display); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--night); background: var(--accent);
  padding: 0.4rem 0.8rem; border-radius: 999px;
}

/* fotos reales de los espacios de Belune */
.ph-clases, .ph-instructores, .ph-comunidad, .ph-bienestar,
.ph-pilates, .ph-barre, .ph-funcional {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ph-clases       { background-image: url('img/pilates.jpg'); }
.ph-instructores { background-image: url('img/instructores.jpg'); background-position: center 22%; }
.ph-comunidad    { background-image: url('img/comunidad.jpg'); }
.ph-bienestar    { background-image: url('img/espacio.jpg'); }
.ph-pilates      { background-image: url('img/pilates.jpg'); }
.ph-barre        { background-image: url('img/barre.jpg'); }
.ph-funcional    { background-image: url('img/funcional.jpg'); }

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(246, 241, 233, 0.9);
  color: var(--night);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -14px rgba(38, 42, 63, 0.6);
  transition: background 0.2s, transform 0.2s;
}
.car-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.car-prev { left: 4px; }
.car-next { right: 4px; }

.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 2rem; }
.car-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.car-dots button.on { background: var(--gold-deep); transform: scale(1.3); }

@media (max-width: 560px) {
  .carousel { height: 400px; }
  .m-card { width: 230px; height: 330px; margin: -165px 0 0 -115px; }
}

/* ===== Modal método ===== */
.m-modal {
  position: fixed; inset: 0; z-index: 60;
  display: none; align-items: center; justify-content: center;
  padding: 1.2rem;
}
.m-modal.open { display: flex; }
.m-modal-backdrop { position: absolute; inset: 0; background: rgba(38, 42, 63, 0.6); backdrop-filter: blur(4px); }
.m-modal-box {
  position: relative; z-index: 2;
  width: min(880px, 100%);
  max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--cream); border-radius: 22px;
  box-shadow: 0 40px 100px -30px rgba(38, 42, 63, 0.8);
  animation: popin 0.3s ease;
}
@keyframes popin { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: none; } }
.m-modal-img { min-height: 320px; }
.m-modal-video { background: #000; }
.m-modal-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-modal-body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; text-align: left; }
.m-modal-body h3 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.m-modal-body p { color: var(--muted); margin: 0 0 1.8rem; }
.m-modal-body .btn { align-self: flex-start; }
.m-modal-x {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(246, 241, 233, 0.9); color: var(--night);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.m-modal-x:hover { background: #fff; }
@media (max-width: 680px) {
  .m-modal-box { grid-template-columns: 1fr; }
  .m-modal-img { min-height: 180px; }
}

/* ===== Discipline bands ===== */
.bands { display: flex; flex-direction: column; }
.band { position: relative; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; }
.band-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,42,63,0.72) 0%, rgba(38,42,63,0.3) 55%, rgba(38,42,63,0.15) 100%); }
.band-content { position: relative; color: #fff; padding: clamp(2rem, 5vw, 3.5rem); max-width: 540px; }
.band-title { font-size: clamp(2.2rem, 7vw, 4rem); color: #fff; margin-bottom: 0.6rem; }
.band-content p { margin: 0 0 1rem; color: rgba(255,255,255,0.9); }
.more { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 3px; transition: gap 0.2s; }
.more:hover { color: var(--accent); }
.band { background-size: cover; background-position: center; }
.band-pilates   { background-image: url('img/pilates.jpg'); }
.band-barre     { background-image: url('img/sculpt-sala.jpg'); }
.fb-sculpt-sala { background-image: url('img/sculpt-sala.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.band-funcional { background-image: url('img/funcional-sala.jpg'); }
.fb-funcional-sala { background-image: url('img/funcional-sala.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }

/* ===== Feature blocks (text + media) ===== */
.feature-block {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 5vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature-block.fb-reverse .fb-text { order: 2; }
.fb-text h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 1.2rem; }
.fb-text p { color: var(--muted); margin: 0 0 1rem; }
.fb-media {
  position: relative;
  border-radius: 20px;
  min-height: 340px;
  display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: hidden;
}
.ph-label {
  font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); background: rgba(38,42,63,0.35); padding: 0.5rem 0.9rem; margin: 1rem; border-radius: 999px;
}
@media (max-width: 760px) {
  .feature-block { grid-template-columns: 1fr; }
  .feature-block.fb-reverse .fb-text { order: 0; }
}

/* ===== Community band ===== */
.community {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.2rem, 5vw, 2rem);
  text-align: center;
  overflow: hidden;
  background-image: url('img/comunidad.jpg');
  background-size: cover;
  background-position: center;
}
.community-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,42,63,0.55), rgba(38,42,63,0.72)); }
.community-content { position: relative; max-width: 680px; margin: 0 auto; color: #fff; }
.community-content h2 { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: 1.3rem; color: #fff; }
.community-content p { color: rgba(255,255,255,0.92); margin-bottom: 2rem; }

/* ===== Testimonials ===== */
.testimonials { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 5vw, 2rem); text-align: center; }
.section-title { font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2.2rem); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.testimonials-note { color: var(--muted); margin: 0 auto 2.6rem; max-width: 460px; }
.reviews-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  padding: 0.4rem 0.7rem;
  animation: reviews-marquee 44s linear infinite;
  will-change: transform;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes reviews-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reviews-track { animation: none; } }
.review {
  flex: 0 0 auto;
  width: 320px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem;
  text-align: left;
  pointer-events: none;            /* no se puede pulsar ni arrastrar */
  box-shadow: 0 18px 40px -30px rgba(38,42,63,0.5);
}
@media (max-width: 480px) { .review { width: 260px; } }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.8rem; }
.review blockquote { margin: 0 0 1rem; font-size: 1.02rem; color: var(--ink); }
.review figcaption { color: var(--muted); font-size: 0.9rem; }

/* ===== Trial ===== */
.trial { padding: clamp(3.5rem, 9vw, 6rem) clamp(1.2rem, 5vw, 2rem); text-align: center; background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trial-title { font-size: clamp(1.8rem, 6vw, 3.4rem); margin-bottom: 2.2rem; }
.trial-card { max-width: 440px; margin: 0 auto; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 2.4rem 2rem; box-shadow: 0 24px 60px -36px rgba(38,42,63,0.55); }
.trial-card h3 { font-size: 1.7rem; margin-bottom: 1.2rem; }
.trial-card ul { list-style: none; margin: 0 0 1.8rem; padding: 0; text-align: left; }
.trial-card li { padding: 0.55rem 0 0.55rem 1.8rem; position: relative; color: var(--muted); border-bottom: 1px solid var(--line); }
.trial-card li:last-child { border-bottom: 0; }
.trial-card li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-deep); }

/* ===== Schedule ===== */
.schedule { max-width: 680px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.2rem, 5vw, 2rem); text-align: center; }
.schedule-note { color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: var(--night); color: var(--cream); padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 5vw, 2rem) 2.4rem; text-align: center; }
.footer-slogan { font-size: clamp(1.8rem, 7vw, 4rem); color: var(--cream); margin-bottom: 1.4rem; }
.footer-lead { max-width: 620px; margin: 0 auto 2.6rem; color: rgba(246,241,233,0.8); }
.footer-info { margin-bottom: 2.6rem; }
.footer-address { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.14em; color: rgba(246,241,233,0.65); margin: 0 0 0.6rem; }
.footer-contact { margin: 0 0 1rem; }
.footer-contact a { color: var(--gold); text-decoration: none; font-size: 1.1rem; }
.footer-contact a:hover { text-decoration: underline; }
.socials a { color: var(--accent); text-decoration: none; font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.socials a:hover { text-decoration: underline; }

.contact-form { max-width: 520px; margin: 0 auto 2.6rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(246,241,233,0.14); border-radius: 20px; padding: 2rem 1.6rem; }
.form-title { font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.2rem; }
.form-row { display: flex; gap: 0.8rem; margin-bottom: 0.8rem; }
.form-row input { flex: 1; min-width: 0; }
.contact-form input {
  width: 100%;
  background: rgba(246,241,233,0.07);
  border: 1px solid rgba(246,241,233,0.2);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.95rem;
}
.contact-form input::placeholder { color: rgba(246,241,233,0.5); }
.contact-form input:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { margin-top: 0.6rem; }
.form-feedback { min-height: 1.2em; margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--accent); }

.footer-legal { margin: 0; font-size: 0.8rem; color: rgba(246,241,233,0.5); }

@media (max-width: 520px) { .form-row { flex-direction: column; } }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
