/* Prego House V1 — first-screen tokens sampled from live Lounge Lizard homepage
   https://www.loungelizard.com/  (hero poster + inlined CSS, Aug 2026)

   Rendered hero poster pixels:
     sky/top     #b4c1f1  #c1c4f8  #90a8e4
     dusk/center #5a3844  #605454  #544848
     neon right  #f40423  #f00507
     street/low  #4b1b0d  #523226  #b69599
   Live CSS chrome (not cookie-banner theme):
     type/overlay  #ffffff + rgba(0,0,0,.50)
     page after    #ffffff  #f1f1f1
     ink           #2e2e2e  #202020  #626161
     play disc/CTA #ff5d4c  (accent only)
     charcoal CTA  #202020
     results rail  #202020  #1a1a1a  #535353
   Type: Nata Sans 900 display + Albert Sans UI — same pairing as LL.
*/

:root {
  scroll-padding-top: 96px;
  --paper: #ffffff;
  --paper-2: #f1f1f1;
  --paper-3: #efefef;
  --ink: #2e2e2e;
  --ink-2: #202020;
  --muted: #626161;
  --mute-2: #919191;
  --line: #e3e1e8;
  --accent: #ff5d4c;
  --accent-ink: #ffffff;
  --accent-soft: #ffa9a0;
  --hero-white: #ffffff;
  --hero-veil: rgba(0, 0, 0, 0.46);
  --hero-sky: #b4c1f1;
  --hero-dusk: #5a3844;
  --hero-neon: #f40423;
  --hero-street: #4b1b0d;
  --rail: #202020;
  --rail-a: #1a1a1a;
  --rail-b: #535353;
  --whatsapp: #25d366;
  --header-h: 80px;
  --wrap: min(92vw, 1280px);
  --display: "Nata Sans", "NataSans", Arial, sans-serif;
  --sans: "Albert Sans", "AlbertSans", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --bounce: linear(0, 0.05 0.9%, 0.205 1.9%, 1.238 6.4%, 1.386 7.6%, 1.424 8.2%, 1.44 8.8%, 1.423 9.7%, 1.36 10.7%, 0.897 15.3%, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html[data-accent="coral"] {
  --accent: #ff5d4c;
  --accent-ink: #ffffff;
  --accent-soft: #ffa9a0;
}
html[data-accent="blanco"] {
  --accent: #f4f1ea;
  --accent-ink: #1a1a1a;
  --accent-soft: #ffffff;
}
html[data-accent="azul"] {
  --accent: #1d4e9e;
  --accent-ink: #ffffff;
  --accent-soft: #7ea2e6;
}
html[data-accent="morado"] {
  --accent: #6b2d8b;
  --accent-ink: #ffffff;
  --accent-soft: #c4a0d8;
}
html[data-accent="marron"] {
  --accent: #6b3e26;
  --accent-ink: #ffffff;
  --accent-soft: #c4a07a;
}
html[data-accent="negro"] {
  --accent: #141414;
  --accent-ink: #ffffff;
  --accent-soft: #6b6b6b;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 800;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--ink-2);
  color: #fff;
  padding: 8px 12px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute-2);
  font-weight: 700;
  margin: 0 0 0.8rem;
}

.lede { color: var(--muted); max-width: 46rem; font-size: 1.05rem; font-weight: 300; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 15px 30px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border-radius: 50px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-charcoal { background: var(--ink-2); color: #fff; }
.btn-charcoal:hover { background: #fff; color: var(--ink-2); }
.btn-coral { background: var(--accent); color: var(--accent-ink); }
.btn-coral:hover { background: var(--ink-2); color: #fff; }
.btn-talk {
  background: var(--accent);
  color: var(--accent-ink);
  min-height: 42px;
  padding: 12px 26px;
  font-size: 1rem;
  flex-shrink: 0;
}
.btn-talk:hover { background: var(--ink-2); }
.btn-ghost-light {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover { background: #fff; color: var(--ink-2); }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25D366; color: #fff; }

.text-link {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}
.text-link:hover { color: var(--accent); }

/* ========== HEADER over the photo (LL .lltw_ transparent) ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  height: var(--header-h);
  background: transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-solid {
  background: #fff;
  box-shadow: 0 4px 30px #0000001a;
  border-radius: 0 0 30px 30px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 30px;
  max-width: 1600px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: filter 0.3s ease;
}
.site-header.is-over-hero:not(.is-solid) .brand img {
  filter: brightness(0) invert(1);
}
.brand-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
}
.site-header.is-solid .brand-word { color: var(--ink-2); }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 6px 10px;
  color: #fff;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--accent); }
.site-header.is-solid .nav a { color: var(--ink-2); }
.site-header.is-solid .nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #efefef;
  border-radius: 50%;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink-2);
  margin: 4px auto;
}

/* ========== HERO: 26/74 split, coral panel LEFT, video RIGHT ========== */
.hero {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  min-height: 800px;
  min-height: 89vh;
  overflow: hidden;
  color: var(--accent-ink);
  background: var(--accent);
}
.hero-panel {
  flex: 0 0 420px;
  width: 420px;
  max-width: 420px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 36px 48px;
  z-index: 2;
  box-sizing: border-box;
}
@media (min-width: 1401px) {
  .hero-panel {
    flex-basis: 520px;
    width: 520px;
    max-width: 520px;
    padding: 32px 44px 56px;
  }
}
.hero-wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 47px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
  margin: 0 0 auto;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.1875rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
  margin: 2.4rem 0 1.1rem;
}
.hero-panel .hero-lead {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--accent-ink);
  margin: 0 0 1.6rem;
  max-width: none;
  animation: none;
}
.hero-cta {
  align-self: flex-start;
  margin-top: auto;
  background: #202020;
  color: #fff;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
}
.hero-cta:hover { background: #fff; color: #202020; }

.hero-media {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 800px;
  overflow: hidden;
  background: #111;
}
.hero-photo,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero-photo { z-index: 0; }
.hero-video {
  z-index: 1;
  background: #111;
  pointer-events: none;
}
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-enclosure {
  display: none !important;
}
.hero-rail,
.hero-grade { display: none !important; }
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: 6%;
  right: 6%;
  bottom: 8%;
  width: auto;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  pointer-events: none;
}
.hero-copy .play-in-word { pointer-events: auto; }

.hero-kicker {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 4.2px;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  max-width: 36ch;
  animation: rise 0.9s var(--ease-out) both;
}

.hero-display { margin: 0; }
.display-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  line-height: 0.86;
}
.display-chunk {
  display: flex;
  align-items: center;
}
.glyph {
  font-family: var(--display);
  font-size: clamp(7rem, 5.2rem + 8vw, 12.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.86;
  animation: rise 1s var(--ease-out) 0.12s both;
}
.glyph-end {
  transform: translateY(-4%);
  animation-delay: 0.28s;
}

.play-in-word {
  width: clamp(4.6rem, 11vw, 10.6rem);
  height: clamp(4.6rem, 11vw, 10.6rem);
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
  margin: 0 0.02em;
  transform: translateY(8%) scale(1.15);
  animation: pop-in 0.9s var(--bounce) 0.2s both;
}
.play-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.play-tri {
  position: absolute;
  left: 54%;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--accent-ink);
  transform: translate(-40%, -50%);
  z-index: 1;
}
.play-in-word:hover .play-disc {
  transform: scale(1.06);
  transition: transform 0.25s var(--ease-out);
}
.play-in-word:hover { animation: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(8%) scale(0.4); }
  to { opacity: 1; transform: translateY(8%) scale(1.15); }
}

.site-header.is-over-hero {
  left: 420px;
  right: 0;
  width: auto;
  background: transparent;
}
@media (min-width: 1401px) {
  .site-header.is-over-hero { left: 520px; }
}
.site-header.is-over-hero:not(.is-solid) .brand { display: none; }
.site-header.is-solid {
  left: 0 !important;
  right: 0;
  width: 100%;
}

@media (max-width: 1200px) {
  .hero {
    flex-direction: column-reverse;
    min-height: 0;
  }
  .hero-panel {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 28px 22px 36px;
  }
  .hero-media { min-height: 70svh; }
  .site-header.is-over-hero { left: 0; }
  .site-header.is-over-hero:not(.is-solid) .brand { display: none; }
}

/* kinetic/marquee removed — second section is .about-band */
[data-rise] {
  opacity: 0;
  transform: translateY(32px);
}
[data-rise].is-in {
  animation: rise 0.95s var(--ease-out) var(--d, 0s) both;
}

/* old full-bleed showband frame removed */
.showband-play {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 165px;
  height: 165px;
  border-radius: 50%;
  border: 16px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.25;
  transition: width 0.8s var(--bounce), height 0.8s var(--bounce), background 0.8s, right 0.8s;
}
.showband-play:hover {
  width: 190px;
  height: 190px;
  background: color-mix(in srgb, var(--accent) 50%, transparent);
  right: 0;
}

/* ========== RESULTS RAIL (LL client-results carousel) ========== */
.results-rail {
  background: var(--rail);
  padding: 40px 0 80px;
  overflow: hidden;
}
.rail-stage {
  width: min(92vw, 1100px);
  margin: 0 auto;
  position: relative;
}
.rail-track {
  display: flex;
  transition: transform 0.7s var(--ease-out);
}
.rail-card {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 18px 18px 8%;
  border-radius: 500px;
  background: linear-gradient(0deg, #1a1a1a 45%, #535353 120%);
  color: #fff;
}
.rail-copy { flex: 1; min-width: 0; }
.rail-name {
  color: var(--accent);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin: 0 0 0.2rem;
  letter-spacing: -0.03em;
}
.rail-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0;
  color: #fff;
}
.rail-label {
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  margin: 0.4rem 0 0;
  color: #fff;
}
.rail-card figure {
  margin: 0;
  width: min(38%, 284px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.rail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rail-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.rail-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #686868;
  padding: 0;
  cursor: pointer;
}
.rail-dots button.is-on { background: var(--accent); }

/* ========== LIGHT PAGE ========== */
.section { padding: 5.5rem 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head h2,
.intro h2,
.stats h2,
.team h2,
.quotes h2,
.gallery-band h2,
.form-intro h2,
.cases h2,
.faq h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  max-width: 16ch;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink-2);
}
.section-head.split,
.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: end;
}
.intro-grid { align-items: start; }
.intro { background: var(--paper); }
.intro p { color: var(--muted); font-size: 1.12rem; font-weight: 300; }

/* Featured work — dark cinematic like LL .llix */
.featured {
  background: var(--rail);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.featured-slider { position: relative; min-height: 58vh; }
.feature-slide {
  display: none;
  width: min(92vw, 1280px);
  margin: 0 auto;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 60px;
  align-items: center;
}
@keyframes feat-slide {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}
.feature-slide.is-on { display: grid; animation: feat-slide 0.35s ease-in-out; }
.feature-copy { color: #fff; }
.feature-kicker {
  color: #919191;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}
.feature-copy h3 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 0.4rem;
}
.feature-cap {
  color: #fff;
  font-weight: 600;
  margin: 0 0 1rem;
}
.feature-copy p { color: #fff; font-weight: 500; }
.feature-slide figure {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 1.7;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.feature-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.feature-slide:hover img { transform: scale(1.04); }
.featured-nav {
  width: min(92vw, 1280px);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.featured-nav button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
.featured-nav button:hover { color: var(--accent); }
.featured-dots { display: flex; gap: 8px; }
.featured-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #686868;
  padding: 0;
  cursor: pointer;
}
.featured-dots button.is-on { background: var(--accent); }

/* Programs accordion on #f1f1f1 like LL services */
.services { background: var(--paper-2); }
.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc {
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
}
.svc-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 26px 40px;
  cursor: pointer;
}
.svc-head h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 700; color: var(--ink); }
.svc-index { color: var(--accent); font-family: var(--display); font-weight: 800; }
.svc-plus {
  width: 18px;
  height: 18px;
  position: relative;
}
.svc-plus::before,
.svc-plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  inset: 50% auto auto 0;
  width: 18px;
  height: 2px;
  transform: translateY(-50%);
}
.svc-plus::after { transform: translateY(-50%) rotate(90deg); transition: transform 0.2s ease, opacity 0.2s ease; }
.svc.is-open .svc-plus::after { opacity: 0; }
.svc-body { display: none; padding: 0 40px 28px; }
.svc.is-open .svc-body { display: block; }
.svc-body img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 16px;
}
.svc-body p { color: var(--muted); }
.svc-body ul { list-style: none; margin: 0 0 1rem; }
.svc-body li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.stats { background: var(--paper); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(4.4rem, 10vw, 7.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--ink-2);
  line-height: 0.85;
  margin: 0 0 0.4rem;
}
.stat-label { color: var(--muted); margin: 0; }

.why { background: var(--paper-2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.why-grid article {
  background: #fff;
  padding: 1.6rem 1.4rem 1.8rem;
  border-radius: 24px;
}
.why-grid h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.why-grid p { color: var(--muted); margin: 0; font-weight: 300; }

.gallery-band { padding-bottom: 2rem; background: var(--paper); }
.shot-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 0.8rem;
  padding: 1.5rem 4vw 0;
}
.shot-row figure { margin: 0; position: relative; overflow: hidden; border-radius: 24px; }
.shot-row img { width: 100%; height: 52vh; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.shot-row figure:hover img { transform: scale(1.04); }
.shot-row figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.cases { background: var(--paper); }
.case-list { list-style: none; }
.case-list li {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1.3fr auto;
  gap: 1rem;
  align-items: end;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.case-list h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.case-tags { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; font-weight: 700; }
.case-list p { color: var(--muted); margin: 0; }
.case-list a { color: var(--ink-2); text-decoration: none; white-space: nowrap; font-weight: 700; }
.case-list a:hover { color: var(--accent); }

.team { background: var(--paper-2); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}
.team-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 1rem;
  border-radius: 24px;
}
.team-grid h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.team-grid p { color: var(--muted); font-weight: 300; }
.team-copy {
  background: #fff;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 24px;
}
.philosophy {
  margin: 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.2;
  max-width: 22ch;
  color: var(--ink-2);
}

.quotes { background: var(--paper); }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.quote {
  margin: 0;
  padding: 1.5rem;
  background: var(--paper-2);
  border-radius: 24px;
}
.quote blockquote {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  line-height: 1.45;
}
.quote figcaption { color: var(--muted); font-size: 0.86rem; }

.form-band { background: #fff; padding-bottom: 8rem; }
.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.form-intro p { color: var(--muted); font-weight: 300; }
.contact-facts { list-style: none; margin-top: 1.5rem; }
.contact-facts li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.6rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-facts span { color: var(--muted); }
.contact-facts a { color: var(--ink-2); font-weight: 600; }

.trial-form {
  background: var(--paper-2);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-radius: 28px;
}
.form-note { color: var(--muted); font-size: 0.85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.trial-form label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  background: #fff;
  border: 1px solid var(--ink-2);
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  color: var(--ink-2);
}
.trial-form input:focus,
.trial-form select:focus,
.trial-form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.trial-form fieldset {
  border: 1px solid var(--line);
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  background: #fff;
}
.trial-form legend { padding: 0 0.3rem; color: var(--muted); font-size: 0.86rem; }
.check { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); margin: 0.35rem 0; }
.check input { width: auto; margin: 0; }
.form-legal { color: var(--muted); font-size: 0.8rem; margin-top: 0.8rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 7rem;
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
.site-footer img { width: 72px; margin-bottom: 0.8rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a { text-decoration: none; font-weight: 600; }
.fine { width: var(--wrap); margin: 2rem auto 0; color: var(--muted); font-size: 0.8rem; }

.sticky-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  gap: 0.5rem;
}

.showreel {
  width: min(96vw, 1100px);
  max-height: 92vh;
  border: 0;
  padding: 0;
  background: #000;
  color: #fff;
}
.showreel::backdrop { background: rgba(0, 0, 0, 0.82); }
.showreel-stage { position: relative; }
.showreel-stage img { width: 100%; height: min(72vh, 720px); object-fit: cover; }
.showreel-cap {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.showreel-close {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
}
.showreel-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem 1rem;
}
.showreel-actions button:not(.btn) {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}


/* ========== FAQ accordion ========== */
.faq { background: var(--paper-3); }
.faq-list {
  margin-top: 2.2rem;
  background: #fff;
  border-radius: 28px;
  overflow: visible;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.4rem 1.8rem;
  cursor: pointer;
}
.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.faq-q .q {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--ink-2);
  line-height: 1.15;
}
.faq-plus {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--accent);
}
.faq-plus::before {
  width: 22px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faq-plus::after {
  width: 2px;
  height: 22px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.faq-item.is-open .faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.15s ease;
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  margin: 0;
  padding: 0 1.8rem 1.45rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 46rem;
  font-size: 1.05rem;
}
.faq-panel-inner a { color: var(--ink-2); font-weight: 600; }

.is-nav-open { overflow: hidden; }

@media (max-width: 1100px) {
  .header-inner { padding: 0 20px; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .is-nav-open .nav {
    display: flex;
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 6vw 1.5rem;
    box-shadow: 0 12px 30px #0000001a;
    gap: 0.1rem;
  }
  .is-nav-open .nav a {
    color: var(--ink-2);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-over-hero:not(.is-solid) .nav-toggle { background: rgba(255, 255, 255, 0.9); }
}

@media (max-width: 1024px) {
  .section-head.split,
  .intro-grid,
  .feature-slide,
  .stats-grid,
  .why-grid,
  .team-grid,
  .quote-grid,
  .form-layout,
  .footer-grid,
  .shot-row,
  .case-list li {
    grid-template-columns: 1fr;
  }
  .feature-slide.is-on { display: flex; flex-direction: column-reverse; gap: 24px; }
  .case-list li { gap: 0.4rem; padding: 1.2rem 0; }
  .shot-row img { height: 38vh; }
  .team-grid img { height: 300px; }
  .rail-card { border-radius: 36px; flex-direction: column-reverse; padding: 20px; text-align: center; }
  .rail-card figure { width: min(70%, 260px); }
  .rail-label { margin-left: auto; margin-right: auto; }
  .showband-play { right: 16px; transform: translateY(-50%); }
  .showband-play:hover { right: 0; }
  .showband-frame { aspect-ratio: 4 / 5; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .hero-copy { padding: calc(var(--header-h) + 18px) 0 56px; }
  .hero-kicker { max-width: none; letter-spacing: 0.14em; }
  .display-cluster { justify-content: flex-start; }
  .glyph { font-size: clamp(4.2rem, 22vw, 6.4rem); }
  .form-row { grid-template-columns: 1fr; }
  .sticky-bar { left: 1rem; right: 1rem; }
  .sticky-bar .btn { flex: 1; }
  .section { padding: 3.6rem 0; }
  .form-band { padding-bottom: 7.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-facts li { grid-template-columns: 1fr; }
  .svc-head { padding: 20px 22px; }
  .svc-body { padding: 0 22px 22px; }
  .btn-talk { display: none; }
}

@media (max-width: 430px) {
  body { font-size: 16px; }
  .brand-word { display: none; }
  .glyph { font-size: 3.6rem; }
  .play-in-word { width: 3.8rem; height: 3.8rem; }
  .play-tri { border-width: 8px 0 8px 14px; }
  .hero { min-height: 89vh; }
  .showband-play { width: 130px; height: 130px; border-width: 12px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo, .play-in-word, .hero-kicker, .glyph, .hero-lead, .hero-actions, .feature-slide.is-on,
  .hero-photo { transform: scale(1); }
  [data-rise] { opacity: 1; transform: none; }
  .faq-panel { transition: none; }
}


/* ========== CUT2: second section white + Q&A chrome + sticky tab ========== */
.about-band {
  background: #ffffff;
  color: #202020;
  padding: 88px 4vw 100px;
}
.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(350px, 390px);
  gap: 48px;
  align-items: center;
}
.showband-frame {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: min(78vh, 720px);
  cursor: pointer;
  background: #111;
}
.showband-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  background: #111;
}
.showband-type {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}
.showband-rotator {
  position: relative;
  height: 1.15em;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
}
.showband-rotator span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s, transform 0.45s;
}
.showband-rotator span.is-on {
  opacity: 1;
  transform: translateY(0);
}
.showband-sub {
  margin: 0.15em 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.showband-play {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 165px;
  height: 165px;
  border-radius: 50%;
  border: 16px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  z-index: 3;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.8s, right 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.showband-play:hover {
  width: 190px;
  height: 190px;
  right: 0;
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}
.about-copy h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #202020;
  margin: 0 0 1rem;
}
.about-copy p {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: #626161;
  margin: 0 0 1.4rem;
  line-height: 1.5;
}
.about-cta { border-radius: 999px; }

.faq {
  background: #f1f1f1 !important;
  padding: 100px 4vw 125px !important;
}
.faq .wrap, .faq .section-head { display: none; }
.faq-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 30%) 1fr;
  gap: 48px;
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: 96px;
}
.faq-aside h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.035em;
  color: #202020;
  margin: 0 0 1.2rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}
.faq-item {
  border: 0 !important;
  background: linear-gradient(#fff, #e1e1e1);
  border-radius: 40px;
  overflow: hidden;
}
.faq-item.is-open { background: #fff; }
.faq .faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 40px !important;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.faq-q .q {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  color: #202020;
  letter-spacing: -0.02em;
}
.faq-arrow {
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s;
  flex: 0 0 12px;
}
.faq-item.is-open .faq-arrow { transform: rotate(225deg); }
.faq-plus { display: none !important; }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.15s ease; }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; padding: 0 40px 26px; }
.faq-panel-inner p {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  color: #202020;
  margin: 0 0 0.7rem;
}
.faq-panel-inner ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.faq-panel-inner li {
  position: relative;
  padding-left: 18px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  color: #202020;
  margin: 0 0 0.35rem;
}
.faq-panel-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.faq-cta {
  display: inline-flex;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
}
.faq-cta:hover { color: #202020; }

.sticky-bar { display: none !important; }
.sticky-tab {
  position: fixed;
  right: 0;
  bottom: 28px;
  z-index: 40;
  width: 310px;
  height: 70px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 500px 0 0 500px;
  box-shadow: -8px 8px 24px rgba(0,0,0,.12);
}
.sticky-tab:hover { background: #202020; color: #fff; }

.site-header.is-over-hero:not(.is-solid) .brand { display: none; }
.site-header.is-over-hero:not(.is-solid) .header-inner { justify-content: flex-end; }
.site-header.is-solid { left: 0 !important; width: 100%; border-radius: 0 0 30px 30px; }
.site-header.is-solid .brand { display: flex; }

.showreel-stage video {
  width: 100%;
  height: min(72vh, 720px);
  object-fit: cover;
  background: #111;
}

@media (max-width: 1100px) {
  .about-grid, .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .showband-play { right: 16px; transform: translateY(-50%); }
  .sticky-tab { width: 220px; height: 56px; font-size: 0.9rem; }
  .wa-float { right: 232px; width: 64px; height: 64px; bottom: 24px; }
}


/* ========== J1 restore: about CTAs, marquee, cases, filo, founder, WA, accents ========== */
.about-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.kinetic-marquee {
  background: #111;
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  border: 0;
}
.kinetic-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.kinetic-track span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0.55em;
  white-space: nowrap;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.featured-bar {
  width: min(92vw, 1280px);
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}
.feat-arrow {
  min-width: 44px;
  min-height: 48px;
  height: 48px;
  padding: 0 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feat-arrow:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.featured-dots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.featured-dots button {
  min-width: 44px;
  min-height: 44px;
  width: auto;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: #3a3a3a;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.featured-dots button.is-on {
  background: var(--accent);
  color: var(--accent-ink);
}
.featured-dots .dot-name { font-weight: 600; font-size: 0.82rem; }
.featured-nav { display: none; }

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.case-card { margin: 0; }
.case-card a { text-decoration: none; color: inherit; display: block; }
.case-card figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
}
.case-card img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.case-card:hover img { transform: scale(1.04); }
.case-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff;
}
.case-card h3 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.35rem;
}
.case-card figcaption p { color: #fff; margin: 0; }
.case-card .case-tags { color: var(--accent); margin-bottom: 0.35rem; }

.filosofia {
  background: #202020;
  color: #fff;
  padding: 0;
}
.filo-grid {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 68vh;
  align-items: stretch;
}
.filosofia h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--accent-ink);
  background: var(--accent);
  max-width: none;
  text-transform: none;
  margin: 0;
  padding: 80px 8vw;
  display: flex;
  align-items: center;
}
.filo-body {
  background: #202020;
  padding: 80px 8vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.filo-body p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  max-width: 34ch;
}

.founder {
  background: #fff;
  padding: 1.8rem 1.8rem 2rem;
  border-radius: 28px;
  margin: 2rem 0 1.2rem;
}
.founder-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.founder img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 20px;
}
.founder h3 { font-size: 2.1rem; margin: 0 0 0.8rem; }
.cv { list-style: none; margin: 0; padding: 0; }
.cv li {
  position: relative;
  padding: 0.62rem 0 0.62rem 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}
.cv li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.team-role {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.6rem;
}
.team-grid { grid-template-columns: 1fr 1fr; }

.otras { background: var(--paper-2); }
.otras h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  max-width: 16ch;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink-2);
  margin: 0 0 0.8rem;
}
.otras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.otras-grid article {
  background: #fff;
  padding: 1.6rem 1.4rem 1.8rem;
  border-radius: 24px;
}
.otras-grid h3 { font-size: 1.45rem; margin-bottom: 0.7rem; }
.otras-grid p { color: var(--muted); margin: 0; font-weight: 300; }

.quote-note { color: var(--muted); max-width: 40rem; margin: 0 0 0.4rem; }

.accent-switch {
  position: fixed;
  left: 18px;
  bottom: 110px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  max-width: 280px;
  gap: 6px;
  background: #fff;
  padding: 6px 8px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.accent-switch button {
  min-width: 44px;
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #202020;
}
.accent-switch button[data-set-accent="coral"] { background: #ff5d4c; color: #fff; }
.accent-switch button[data-set-accent="lima"] { background: #c6ff3a; color: #102000; }
.accent-switch button[data-set-accent="ambar"] { background: #f5a524; color: #1a1200; }
.accent-switch button[data-set-accent="gris"] { background: #6b7280; color: #fff; }
.accent-switch button[data-set-accent="azul"] { background: #3b6cff; color: #fff; }
.accent-switch button[data-set-accent="verde"] { background: #16a34a; color: #fff; }
.accent-switch button[data-set-accent="grafito"] { background: #2a2a2a; color: #fff; }
.accent-switch button[data-set-accent="amarillo"] { background: #ffd400; color: #1a1500; }
.accent-switch button[data-set-accent="vino"] { background: #7a1f3d; color: #fff; }
.accent-switch button[aria-pressed="true"] { border-color: #202020; box-shadow: 0 0 0 2px #fff inset; }

.wa-float {
  position: fixed;
  right: 322px;
  bottom: 31px;
  z-index: 51;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  text-decoration: none;
}
.wa-float svg { width: 34px; height: 34px; display: block; }
.wa-float:hover { transform: scale(1.06); }

@media (max-width: 1024px) {
  .case-grid,
  .filo-grid,
  .founder-grid,
  .otras-grid { grid-template-columns: 1fr; }
  .case-card img { height: 42vh; }
  .founder img { height: 300px; }
  .featured-dots .dot-name { display: none; }
}

@media (max-width: 820px) {
  .accent-switch { left: 12px; bottom: 92px; padding: 5px; }
  .accent-switch button { min-width: 40px; font-size: 0.62rem; padding: 0 8px; }
  .wa-float { right: 232px; width: 64px; height: 64px; bottom: 24px; }
  .feat-nav-label { display: none; }
  .feat-arrow { padding: 0 14px; }
}
@media (max-width: 430px) {
  .sticky-tab { width: 200px; height: 52px; font-size: 0.82rem; }
  .wa-float { right: 16px; bottom: 88px; width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .kinetic-track { animation: none; }
}

.why .section-head h2 { max-width: 22ch; }


/* j5 COMPARADOR: why full-bleed, services swap, footer mega */
.why {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 100px 0 110px;
}
.why .eyebrow { color: var(--accent-ink); opacity: 0.78; }
.why .section-head h2,
.why h2 {
  color: var(--accent-ink) !important;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 98px);
  letter-spacing: -0.045em;
  line-height: 0.9;
  max-width: 14ch;
}
.why-grid {
  margin-top: 2.8rem;
}
.why-grid article {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.why-grid h3 { color: var(--accent-ink); font-size: 1.45rem; }
.why-grid p { color: var(--accent-ink); opacity: 0.88; font-weight: 300; }

.svc-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}
.svc-stage {
  position: sticky;
  top: 96px;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  min-height: 420px;
}
.svc-stage img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
@media (min-width: 901px) {
  .svc-body img { display: none; }
}
@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-stage { display: none; }
}

.site-footer {
  background: #202020;
  color: #fff;
  border-top: 0;
  padding: 5rem 0 8rem;
}
.site-footer a { color: #fff; }
.site-footer p { color: #fff; }
.site-footer .fine { color: rgba(255,255,255,.55); }


/* j8: switcher dots, FAQ no overflow, CV bio */
.accent-switch {
  max-width: 220px;
  gap: 5px;
  padding: 7px 8px;
}
.accent-switch button {
  min-width: 18px;
  width: 18px;
  height: 18px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
}

.cv-bio {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.2rem;
}

.filo-body p + p { margin-top: 1.1rem; }

.faq-layout, .faq-list, .faq-item, .faq-q, .faq-panel { min-width: 0; max-width: 100%; }
.faq-q .q {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem) !important;
  line-height: 1.25;
}
.faq-item { overflow: visible; }
.faq-q { padding: 20px 22px !important; }
.faq-panel-inner { padding: 0 22px 22px !important; }
@media (max-width: 1100px) {
  .faq-layout { grid-template-columns: 1fr !important; }
  .faq-aside { position: static !important; }
}

.filo-body article { margin: 0 0 1.6rem; }
.filo-body article:last-child { margin-bottom: 0; }
.filo-body h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.45rem;
}

.accent-switch button[data-set-accent="blanco"] { background: #f4f1ea; color: #1a1a1a; box-shadow: inset 0 0 0 1px #cfc9bd; }
.accent-switch button[data-set-accent="azul"] { background: #1d4e9e; color: #fff; }
.accent-switch button[data-set-accent="morado"] { background: #6b2d8b; color: #fff; }
.accent-switch button[data-set-accent="marron"] { background: #6b3e26; color: #fff; }
.accent-switch button[data-set-accent="negro"] { background: #141414; color: #fff; }
.accent-switch button[data-set-accent="coral"] { background: #ff5d4c; color: #fff; }
html[data-accent="blanco"] .sticky-tab { box-shadow: -8px 8px 24px rgba(0,0,0,.12), inset 0 0 0 1px #d8d2c6; }
html[data-accent="blanco"] .hero-panel { box-shadow: inset -1px 0 0 #e4dfd4; }


/* j12: selector as a real BJJ belt */
.belt-switch.accent-switch {
  position: fixed;
  left: 20px;
  bottom: 28px;
  z-index: 48;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.belt-knot {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  z-index: 2;
}
.belt-knot::before,
.belt-knot::after {
  content: "";
  position: absolute;
  inset: 4px 2px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 2px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
}
.belt-knot::after {
  inset: 7px 8px 7px 6px;
  transform: rotate(-18deg);
}
.belt-strap {
  width: 168px;
  height: 22px;
  margin-left: -8px;
  border-radius: 2px 0 0 2px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 42%, rgba(0,0,0,.18)),
    var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.belt-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px 0 10px;
  background: #111;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.belt-switch button,
.belt-switch.accent-switch button {
  min-width: 5px !important;
  width: 5px !important;
  height: 14px !important;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 1px !important;
  font-size: 0 !important;
  line-height: 0;
  color: transparent;
  cursor: pointer;
  box-shadow: none !important;
}
.belt-switch button[aria-pressed="true"] {
  height: 18px !important;
  outline: 1px solid #fff;
  outline-offset: 1px;
}
.belt-switch button[data-set-accent="blanco"] { background: #f4f1ea !important; }
.belt-switch button[data-set-accent="azul"] { background: #1d4e9e !important; }
.belt-switch button[data-set-accent="morado"] { background: #6b2d8b !important; }
.belt-switch button[data-set-accent="marron"] { background: #6b3e26 !important; }
.belt-switch button[data-set-accent="negro"] { background: #3a3a3a !important; }
.belt-switch button[data-set-accent="coral"] { background: #ff5d4c !important; }
html[data-accent="blanco"] .belt-strap,
html[data-accent="blanco"] .belt-knot::before,
html[data-accent="blanco"] .belt-knot::after {
  box-shadow: 0 2px 0 rgba(0,0,0,.12), inset 0 0 0 1px #d8d2c6;
}
@media (max-width: 820px) {
  .belt-switch.accent-switch { left: 12px; bottom: 100px; }
  .belt-strap { width: 110px; }
}
@media (max-width: 430px) {
  .belt-switch.accent-switch { left: 12px; bottom: 156px; }
  .belt-strap { width: 72px; }
}


/* j13: hanging mini-belts — replace broken knot widget */
.accent-switch,
.belt-switch { display: none !important; }

.belt-rack {
  position: fixed;
  left: 18px;
  bottom: 28px;
  z-index: 48;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 10px 10px 8px;
}
.mini-belt {
  display: flex;
  align-items: stretch;
  width: 86px;
  height: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateX(0);
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.22));
}
.mini-belt:hover,
.mini-belt[aria-pressed="true"] {
  transform: translateX(10px);
}
.mini-strap {
  flex: 1;
  border-radius: 1px 0 0 1px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), transparent 45%, rgba(0,0,0,.2));
}
.mini-tip {
  width: 16px;
  flex: 0 0 16px;
  background: #111;
  border-radius: 0 1px 1px 0;
  box-shadow: inset 2px 0 0 rgba(255,255,255,.08);
}
.mini-belt[data-set-accent="blanco"] .mini-strap { background-color: #f4f1ea; background-image: linear-gradient(180deg, rgba(255,255,255,.4), transparent 50%, rgba(0,0,0,.08)); }
.mini-belt[data-set-accent="azul"] .mini-strap { background-color: #1d4e9e; }
.mini-belt[data-set-accent="morado"] .mini-strap { background-color: #6b2d8b; }
.mini-belt[data-set-accent="marron"] .mini-strap { background-color: #6b3e26; }
.mini-belt[data-set-accent="negro"] .mini-strap { background-color: #1a1a1a; }
.mini-belt[data-set-accent="coral"] .mini-strap { background-color: #ff5d4c; }
.mini-belt[data-set-accent="negro"] .mini-tip { background: #3a3a3a; }
.mini-belt[aria-pressed="true"] .mini-tip {
  box-shadow: inset 2px 0 0 rgba(255,255,255,.08), inset 0 0 0 1px #fff;
}
@media (max-width: 820px) {
  .belt-rack { left: 10px; bottom: 100px; }
}
@media (max-width: 430px) {
  .belt-rack { left: 8px; bottom: 156px; gap: 6px; }
  .mini-belt { width: 72px; height: 11px; }
}


/* j14: match Juan's LL screenshots — stats / cases / faq / filo */
.stats { background: #fff; padding: 100px 0; }
.stats-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.stats-copy h2 {
  color: #202020 !important;
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 1.6rem;
  margin-top: 0;
}
.stats-grid article:nth-child(4) { grid-column: 1; }
.stat-num {
  color: #202020;
  font-size: clamp(3.6rem, 7vw, 5.6rem);
  line-height: 0.85;
}
.stat-label { color: #8a8a8a; font-size: 0.95rem; font-weight: 400; }

.case-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 2rem !important; }
.case-card figure {
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.case-card img {
  height: 280px !important;
  border-radius: 28px;
  display: block;
}
.case-card figcaption {
  position: static !important;
  inset: auto !important;
  padding: 1rem 0 0 !important;
  background: none !important;
  color: #202020 !important;
}
.case-card h3 { color: #202020 !important; font-size: 1.45rem !important; margin: 0.2rem 0 0.35rem; }
.case-card figcaption p { color: #5a5a5a !important; font-weight: 300; }
.case-card .case-tags { color: #9a9a9a !important; font-weight: 500; letter-spacing: 0.04em; }

.filosofia { padding: 0; }
.filo-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  min-height: 72vh;
  gap: 0 !important;
}
.filosofia h2 {
  text-transform: uppercase;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  padding: 90px 8vw;
}
.filo-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 90px 8vw;
}

/* FAQ: closed = only the pill. Open = tall card. No leaked answer. */
.faq-item {
  overflow: hidden !important;
  border-radius: 999px !important;
  background: linear-gradient(#fff, #ececec) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  min-height: 0;
}
.faq-item.is-open {
  border-radius: 36px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.faq-panel { overflow: hidden !important; }
.faq-item:not(.is-open) .faq-panel { display: none !important; }
.faq .faq-q { padding: 22px 36px !important; align-items: center; }
.faq-q .q {
  font-size: 1.25rem !important;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.faq-panel-inner { padding: 4px 36px 28px !important; }
.faq-cta {
  display: inline-flex !important;
  margin-top: 0.6rem;
  background: var(--accent);
  color: var(--accent-ink) !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem !important;
}

@media (max-width: 1024px) {
  .stats-layout,
  .filo-grid,
  .case-grid { grid-template-columns: 1fr !important; }
  .case-card img { height: 42vh !important; }
}


/* j15 COMPARADOR nits */
.stats-lead {
  color: #202020;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.45;
  max-width: 38ch;
  margin: 0 0 1.4rem;
}
.stats-grid article:nth-child(4) { grid-column: auto; }
.stat-num { font-size: clamp(4.8rem, 9vw, 7.4rem) !important; }

.filo-left {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 90px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.filo-left h2 {
  background: none;
  padding: 0;
  margin: 0 0 2rem;
  color: var(--accent-ink);
}
.filo-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.filo-cols h3,
.filo-right h3 {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.filo-cols p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--accent-ink);
  max-width: none;
}
.filo-right {
  background: #202020;
  color: #fff;
  padding: 90px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.filo-right h3 { color: var(--accent); }
.filo-right p {
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  max-width: 22ch;
  margin: 0 0 1.6rem;
}

.faq-item.is-open { overflow: visible !important; }
.faq-item.is-open .faq-panel { overflow: visible !important; }

@media (max-width: 1024px) {
  .filo-cols { grid-template-columns: 1fr; }
}


/* j16: vertical hanging belt on the left edge */
.belt-rack { display: none !important; }
.belt-rail {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-42%);
  z-index: 45;
  width: 52px;
  pointer-events: none;
}
.belt-svg { width: 52px; height: 300px; display: block; filter: drop-shadow(2px 6px 10px rgba(0,0,0,.28)); }
.belt-fill { fill: var(--accent); }
html[data-accent="blanco"] .belt-fill { stroke: #cfc9bd; stroke-width: 1; }
.belt-degrees {
  position: absolute;
  left: 17px;
  top: 218px;
  width: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: auto;
}
.belt-degrees button {
  width: 18px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 1px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.15);
}
.belt-degrees button[data-set-accent="blanco"] { background: #f4f1ea; }
.belt-degrees button[data-set-accent="azul"] { background: #1d4e9e; }
.belt-degrees button[data-set-accent="morado"] { background: #6b2d8b; }
.belt-degrees button[data-set-accent="marron"] { background: #6b3e26; }
.belt-degrees button[data-set-accent="negro"] { background: #4a4a4a; }
.belt-degrees button[data-set-accent="coral"] { background: #ff5d4c; }
.belt-degrees button[aria-pressed="true"] {
  outline: 1px solid #fff;
  outline-offset: 1px;
  height: 8px;
}
@media (max-width: 820px) {
  .belt-rail { left: 4px; transform: translateY(-30%) scale(.85); transform-origin: left center; }
}
@media (max-width: 430px) {
  .belt-rail { display: none; } /* too tight with WA dock */
}


/* j17: six real belts (not one belt with colored degrees) */
.belt-rail, .belt-rack, .belt-switch { display: none !important; }
.belt-hook {
  position: fixed;
  left: 14px;
  bottom: 28px;
  z-index: 48;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.gi-belt {
  display: flex;
  align-items: center;
  width: 118px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.25));
  transform: translateX(0);
  transition: transform .2s ease;
}
.gi-belt:hover,
.gi-belt[aria-pressed="true"] { transform: translateX(12px); }
.gi-knot {
  position: relative;
  width: 20px;
  height: 18px;
  flex: 0 0 20px;
}
.gi-knot::before,
.gi-knot::after {
  content: "";
  position: absolute;
  left: 1px;
  width: 18px;
  height: 10px;
  border-radius: 3px;
  background: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 rgba(0,0,0,.2);
}
.gi-knot::before { top: 1px; transform: rotate(-22deg); }
.gi-knot::after { bottom: 1px; transform: rotate(22deg); }
.gi-strap {
  flex: 1;
  height: 12px;
  margin-left: -4px;
  border-radius: 1px 0 0 1px;
  background-image: linear-gradient(180deg, rgba(255,255,255,.28), transparent 46%, rgba(0,0,0,.22));
}
.gi-sleeve {
  width: 22px;
  height: 12px;
  flex: 0 0 22px;
  background: #111;
  border-radius: 0 1px 1px 0;
  box-shadow: inset 2px 0 0 rgba(255,255,255,.08);
}
.gi-belt[data-set-accent="blanco"] .gi-knot,
.gi-belt[data-set-accent="blanco"] .gi-strap { background-color: #f3efe6; }
.gi-belt[data-set-accent="azul"] .gi-knot,
.gi-belt[data-set-accent="azul"] .gi-strap { background-color: #1d4e9e; }
.gi-belt[data-set-accent="morado"] .gi-knot,
.gi-belt[data-set-accent="morado"] .gi-strap { background-color: #6b2d8b; }
.gi-belt[data-set-accent="marron"] .gi-knot,
.gi-belt[data-set-accent="marron"] .gi-strap { background-color: #6b3e26; }
.gi-belt[data-set-accent="negro"] .gi-knot,
.gi-belt[data-set-accent="negro"] .gi-strap { background-color: #161616; }
.gi-belt[data-set-accent="coral"] .gi-knot,
.gi-belt[data-set-accent="coral"] .gi-strap { background-color: #ff5d4c; }
.gi-belt[data-set-accent="blanco"] .gi-strap { box-shadow: inset 0 0 0 1px #d8d2c6; }
.gi-belt[data-set-accent="negro"] .gi-sleeve { background: #3a3a3a; }
@media (max-width: 820px) {
  .belt-hook { left: 8px; bottom: 100px; }
  .gi-belt { width: 100px; }
}
@media (max-width: 430px) {
  .belt-hook { bottom: 156px; gap: 7px; }
  .gi-belt { width: 88px; height: 15px; }
}


/* j18: belts stay in the hero; filo 50/50 on screen; FAQ not covered */
.hero-panel { position: relative; }
.belt-hook {
  position: absolute !important;
  left: 28px;
  bottom: 28px;
  right: auto;
  top: auto;
  z-index: 3;
}
.filosofia, .filo-grid {
  min-height: 100vh;
}
.filo-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}
.filo-left, .filo-right { min-height: 100vh; }
.faq { padding-bottom: 200px !important; }

@media (max-width: 820px) {
  .filo-grid { grid-template-columns: 1fr !important; }
  .filo-left, .filo-right, .filosofia, .filo-grid { min-height: 0; }
}


/* j19: WHY breathes — no cut text, CTA under title */
.why {
  overflow: visible !important;
  padding: 88px 0 110px !important;
}
.why-head { display: block; max-width: 22ch; }
.why-head h2,
.why .section-head h2,
.why h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem) !important;
  line-height: 0.98 !important;
  max-width: 18ch !important;
  margin: 0 0 1.4rem !important;
}
.why-head .btn { margin: 0 0 3rem; }
.why-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2.4rem 2rem !important;
  margin-top: 0;
}
.why-grid article {
  background: transparent !important;
  padding: 0 !important;
  overflow: visible !important;
}
.why-grid h3 {
  color: var(--accent-ink);
  font-size: 1.35rem;
  margin: 0 0 0.55rem;
}
.why-grid p {
  color: var(--accent-ink);
  opacity: 0.92;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 0;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr !important; }
}


/* j21: WHY right fills — huge H3, watermark number, nav pinned bottom */
.why {
  background: var(--accent);
  padding: 0 !important;
  overflow: hidden;
}
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  align-items: stretch;
}
.why-left {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 56px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center !important;
  align-items: flex-start;
}
.why-left .eyebrow { color: var(--accent-ink); opacity: .75; }
.why-left h2 {
  color: var(--accent-ink) !important;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem) !important;
  line-height: .95 !important;
  max-width: 12ch !important;
  margin: 0 0 1.6rem !important;
}
.why {
  scroll-margin-top: var(--header-h);
}
.why-right {
  background: #202020;
  color: #fff;
  padding: calc(var(--header-h) + 28px) 5vw 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  overflow: hidden;
}
.why-slide { display: none; }
.why-slide.is-on {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 auto;
  min-height: 0;
  position: static;
  z-index: 1;
  animation: feat-slide 0.35s ease-in-out;
}
.why-shot {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  height: 42vh;
  max-height: 42vh;
  min-height: 0;
  object-fit: cover;
  border-radius: 18px;
  margin-top: 1.1rem;
}
.why-slide p:not(.why-kicker) {
  color: #fff;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 28ch;
  margin: 0;
  opacity: 1;
}
p.why-kicker {
  position: static;
  transform: none;
  z-index: 1;
  font-family: var(--display) !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
  color: var(--accent) !important;
  opacity: 1 !important;
  max-width: none !important;
  margin: 0 0 0.55rem !important;
}
.why-slide h3,
.why-slide p:not(.why-kicker) {
  position: relative;
  z-index: 1;
}
.why-slide h3 {
  font-family: var(--display);
  font-size: clamp(3.6rem, 7vw, 7rem) !important;
  color: #fff;
  margin: 0 0 0.28em;
  letter-spacing: -0.05em;
  line-height: 0.88;
  max-width: 10ch;
}
.why-nav {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  right: auto !important;
  top: auto !important;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 1.1rem 0 0;
  padding: 0;
  flex: 0 0 auto;
}
.why-nav button {
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.why-nav button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.why-dots { display: flex; gap: 8px; }
.why-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #5a5a5a;
}
.why-dots button.is-on { background: var(--accent); width: 26px; border-radius: 999px; }
@media (max-width: 900px) {
  .why-split { grid-template-columns: 1fr; min-height: 0; }
  .why-left, .why-right { padding: 48px 8vw; min-height: 0; }
  .why-shot { height: 28vh; max-height: 28vh; }
  p.why-kicker { font-size: clamp(4.2rem, 22vw, 7rem) !important; }
  .why-slide h3 { font-size: clamp(2.6rem, 11vw, 4rem) !important; }
}


/* j29: titles clear sticky header; nav clears WA dock */
html { scroll-padding-top: 96px; }
#casa,
.why {
  scroll-margin-top: 96px !important;
}
.why-left,
.why-right {
  padding-top: 108px !important;
}
.why-right {
  padding-bottom: 100px !important;
}
.why-slide h3 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem) !important;
}

/* j32: why-nav above the slide, never on the WA row */
.why-nav {
  order: -1;
  margin: 0 0 1rem !important;
  max-width: 260px !important;
  width: max-content;
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
}


/* j33: hero like LL — copy block top of coral, type centered on video, bigger belts */
.hero-wordmark { margin: 0 0 1rem !important; }
.hero-title { margin: 0 0 0.9rem !important; }
.hero-panel .hero-lead { margin: 0 0 1.2rem !important; }
.hero-cta {
  margin-top: 0 !important;
  margin-bottom: auto;
  position: relative;
  z-index: 4;
}
.hero-copy {
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
  padding: 80px 4vw 40px !important;
}
.hero-kicker {
  max-width: 28ch !important;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.16em !important;
}
.hero-display { width: 100%; }
.display-cluster {
  justify-content: center !important;
  flex-wrap: nowrap !important;
}
.glyph {
  font-size: clamp(4.2rem, 8vw, 8.5rem) !important;
}
.play-in-word {
  width: clamp(3.4rem, 7vw, 6.2rem) !important;
  height: clamp(3.4rem, 7vw, 6.2rem) !important;
  transform: translateY(6%) scale(1) !important;
}
.hero-video { background: transparent !important; }
.hero-photo { z-index: 1; }
.hero-veil { background: rgba(0, 0, 0, 0.32) !important; }

.belt-hook {
  position: absolute !important;
  left: 28px !important;
  bottom: 24px !important;
  z-index: 2;
  gap: 12px !important;
}
.gi-belt {
  width: 168px !important;
  height: 28px !important;
}
.gi-knot {
  width: 30px !important;
  height: 28px !important;
  flex-basis: 30px !important;
}
.gi-knot::before,
.gi-knot::after {
  width: 26px;
  height: 14px;
}
.gi-strap { height: 18px !important; }
.gi-sleeve {
  width: 30px !important;
  height: 18px !important;
  flex-basis: 30px !important;
}
.gi-belt[data-set-accent="coral"] .gi-strap,
.gi-belt[data-set-accent="coral"] .gi-knot {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.75), 0 0 0 1px rgba(0,0,0,.25);
}
.gi-belt[data-set-accent="blanco"] .gi-strap {
  box-shadow: inset 0 0 0 1px #cfc8bb;
}


/* j34: see the room — lighter veil */
.hero-media { background-color: #2a2a2a !important; }
.hero-veil { background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.28) 100%) !important; }
.hero-video { opacity: 1 !important; filter: none !important; }


/* j35: no black hero — veil almost off, poster shows */
.hero-media { background-color: #111 !important; }
.hero-veil { background: rgba(0,0,0,.10) !important; }
.hero-photo { z-index: 2 !important; opacity: 1 !important; }
.hero-video { z-index: 3 !important; background: transparent !important; }


/* j36: CRECER complete, play beside, all 6 belts in frame */
.display-cluster {
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.18em;
}
.glyph { font-size: clamp(3.8rem, 7.2vw, 7.6rem) !important; }
.play-in-word {
  width: clamp(3.2rem, 6vw, 5.4rem) !important;
  height: clamp(3.2rem, 6vw, 5.4rem) !important;
  transform: none !important;
  margin: 0 !important;
}
.belt-hook {
  bottom: 52px !important;
}
.gi-belt {
  width: 150px !important;
  height: 24px !important;
}


/* j37: kicker two centered lines, not four */
.hero-kicker {
  max-width: none !important;
  width: auto !important;
  letter-spacing: 0.14em !important;
  text-align: center !important;
  white-space: nowrap;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* j38: P1 recapture — crop, stats align, cream paper, belts readable */
.why-shot {
  height: auto !important;
  max-height: 52vh !important;
  min-height: 200px;
  object-fit: contain !important;
  object-position: center top !important;
  background: #111;
}

.stats,
.cases,
.form-band,
.faq {
  background: #f3eee4 !important;
}
.faq-item {
  background: linear-gradient(#fff8ee, #eadfcf) !important;
}
.faq-item.is-open {
  background: #fff8ee !important;
}

.stats-layout {
  align-items: center !important;
  gap: 48px 40px !important;
}
.stats-copy { min-width: 0; }
.stats-copy h2 {
  max-width: 11ch !important;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem) !important;
}
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 1.6rem 1rem !important;
  min-width: 0;
  padding-right: 0;
}
.stats-grid article { min-width: 0; }
.stats-grid article:nth-child(-n+3) { grid-column: span 2; }
.stats-grid article:nth-child(n+4) { grid-column: span 3; }
.stat-num {
  font-size: clamp(2.4rem, 4.2vw, 4.4rem) !important;
  line-height: 0.92 !important;
  white-space: nowrap;
  overflow: hidden;
}
.stat-num[data-word] {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem) !important;
  letter-spacing: -0.02em;
}

.gi-belt {
  width: 188px !important;
  height: 34px !important;
  position: relative;
}
.gi-knot {
  width: 36px !important;
  height: 34px !important;
  flex-basis: 36px !important;
}
.gi-knot::before,
.gi-knot::after {
  width: 30px;
  height: 16px;
}
.gi-strap { height: 22px !important; }
.gi-sleeve {
  width: 34px !important;
  height: 22px !important;
  flex-basis: 34px !important;
}
.gi-belt::after {
  content: attr(title);
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans, "Albert Sans", sans-serif);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  pointer-events: none;
  line-height: 1;
}
.gi-belt[data-set-accent="blanco"]::after,
.gi-belt[data-set-accent="coral"]::after {
  color: #1a1a1a;
  text-shadow: none;
}
@media (max-width: 820px) {
  .gi-belt { width: 148px !important; height: 28px !important; }
  .gi-belt::after { font-size: 0.55rem; left: 36px; }
}


/* j39: cases cream, custom checks, stats last row 50/50 */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  column-gap: 1.2rem !important;
  row-gap: 1.8rem !important;
}
.stats-grid article:nth-child(1),
.stats-grid article:nth-child(2),
.stats-grid article:nth-child(3) {
  grid-column: span 2 !important;
}
.stats-grid article:nth-child(4),
.stats-grid article:nth-child(5) {
  grid-column: span 3 !important;
}
.stat-num {
  overflow: visible !important;
}

.case-card,
.case-card a,
.case-card figure,
.case-card figcaption {
  background: #f3eee4 !important;
}
.case-card figcaption {
  padding: 1rem 0 0 !important;
}

.check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;
  border: 1.5px solid #c4b8a8;
  border-radius: 4px;
  background: #fff8ee;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.check input[type="checkbox"]::after {
  content: "";
  width: 10px;
  height: 6px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}
.check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.check input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

.form-band form,
.form-card,
form.trial,
.trial-form {
  background: #f3eee4 !important;
}


/* j40: belts only — tighter stack, flat 2D, same size */
.belt-hook {
  gap: 3px !important;
}
.gi-belt,
.gi-belt:hover,
.gi-belt[aria-pressed="true"] {
  width: 132px !important;
  height: 16px !important;
  filter: none !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}
.gi-belt[aria-pressed="true"] {
  outline: 1px solid #fff !important;
  outline-offset: 1px;
}
.gi-knot {
  width: 16px !important;
  height: 16px !important;
  flex-basis: 16px !important;
  border-radius: 1px;
  box-shadow: none !important;
}
.gi-knot::before,
.gi-knot::after {
  display: none !important;
}
.gi-strap {
  height: 16px !important;
  margin-left: 0 !important;
  border-radius: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}
.gi-sleeve {
  width: 14px !important;
  height: 16px !important;
  flex-basis: 14px !important;
  border-radius: 0 !important;
  background: #111 !important;
  box-shadow: none !important;
}
.gi-belt::after {
  left: 22px !important;
  font-size: 0.55rem !important;
  letter-spacing: 0.1em !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}
.gi-belt[data-set-accent="blanco"] .gi-knot,
.gi-belt[data-set-accent="blanco"] .gi-strap {
  background-color: #f4efe6 !important;
  box-shadow: inset 0 0 0 1px #8a8276 !important;
}
.gi-belt[data-set-accent="blanco"]::after {
  color: #1a1a1a !important;
}
.gi-belt[data-set-accent="coral"] {
  width: 132px !important;
}
@media (max-width: 820px) {
  .gi-belt,
  .gi-belt[aria-pressed="true"] { width: 118px !important; height: 14px !important; }
  .gi-knot, .gi-strap, .gi-sleeve { height: 14px !important; }
}


/* j41: hero only — no belts, gray panel, bigger CRECER, coral CTAs */
.belt-hook { display: none !important; }
.hero {
  background: #f1f1f1 !important;
  color: #202020 !important;
  min-height: 640px !important;
  min-height: 72vh !important;
}
.hero-panel {
  background: #f1f1f1 !important;
  color: #202020 !important;
  flex-basis: 360px !important;
  width: 360px !important;
  max-width: 360px !important;
  padding: 36px 32px 40px !important;
  justify-content: center !important;
}
@media (min-width: 1401px) {
  .hero-panel {
    flex-basis: 400px !important;
    width: 400px !important;
    max-width: 400px !important;
  }
}
.hero-wordmark,
.hero-title,
.hero-panel .hero-lead {
  color: #202020 !important;
}
.hero-media {
  min-height: 640px !important;
}
.hero-cta,
.hero-panel .btn,
.hero-panel .hero-cta {
  background: #ff5d4c !important;
  color: #fff !important;
}
.hero-cta:hover {
  background: #202020 !important;
  color: #fff !important;
}
.glyph {
  font-size: clamp(5.2rem, 10.5vw, 11.2rem) !important;
}
.play-in-word {
  width: clamp(4rem, 7vw, 6.2rem) !important;
  height: clamp(4rem, 7vw, 6.2rem) !important;
}


/* j41b: coral fills → light gray sitewide; accent stays on CTAs */
.why,
.why-left,
.filo-left {
  background: #f1f1f1 !important;
  color: #202020 !important;
}
.why .eyebrow,
.why-left .eyebrow,
.why .section-head h2,
.why h2,
.why-left h2,
.why-grid h3,
.why-grid p,
.filo-left,
.filo-left h2,
.filo-left p {
  color: #202020 !important;
  opacity: 1;
}

.why-left .btn,
.filo-left .btn {
  background: #ff5d4c !important;
  color: #fff !important;
}


/* j42: Juan — cream CTAs + gray panels were wrong. Coral back, accent locked */
html, html[data-accent], html[data-accent="blanco"], html[data-accent="azul"],
html[data-accent="morado"], html[data-accent="marron"], html[data-accent="negro"] {
  --accent: #ff5d4c !important;
  --accent-ink: #ffffff !important;
  --accent-soft: #ffa9a0 !important;
}
.hero {
  background: #ff5d4c !important;
  color: #fff !important;
}
.hero-panel {
  background: #ff5d4c !important;
  color: #fff !important;
  flex-basis: 400px !important;
  width: 400px !important;
  max-width: 400px !important;
}
.hero-wordmark,
.hero-title,
.hero-panel .hero-lead {
  color: #fff !important;
}
.why,
.why-left,
.filo-left {
  background: #ff5d4c !important;
  color: #fff !important;
}
.why .eyebrow,
.why-left .eyebrow,
.why .section-head h2,
.why h2,
.why-left h2,
.why-grid h3,
.why-grid p,
.filo-left,
.filo-left h2,
.filo-left p {
  color: #fff !important;
}
.btn-coral,
.hero-cta,
.hero-panel .btn,
.why-left .btn,
.filo-left .btn,
.wa-dock,
a.wa-dock {
  background: #ff5d4c !important;
  color: #fff !important;
}


/* j43: gray back, logo visible, wordmark, casa fill, Olga tight, CV air */
.hero,
.hero-panel {
  background: #f1f1f1 !important;
  color: #202020 !important;
}
.hero-wordmark,
.hero-title,
.hero-panel .hero-lead {
  color: #202020 !important;
}
.hero-wordmark {
  font-size: clamp(2.8rem, 5vw, 4.4rem) !important;
  line-height: 0.9 !important;
  margin: 0 0 0.8rem !important;
}
.why,
.why-left,
.filo-left {
  background: #f1f1f1 !important;
  color: #202020 !important;
}
.why .eyebrow,
.why-left .eyebrow,
.why .section-head h2,
.why h2,
.why-left h2,
.filo-left,
.filo-left h2,
.filo-left p {
  color: #202020 !important;
}
.site-header.is-over-hero:not(.is-solid) .brand img {
  filter: none !important;
}
.site-header.is-over-hero:not(.is-solid) .brand-word {
  color: #111 !important;
}
.why-right {
  justify-content: flex-start !important;
  gap: 0 !important;
}
.why-slide.is-on {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.why-shot {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 240px !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  margin-top: 0.8rem !important;
  background: #111;
}
.team-copy {
  justify-content: flex-start !important;
  gap: 0.35rem !important;
  padding: 1.4rem 1.5rem !important;
}
.team-copy h3 { margin: 0.7rem 0 0.2rem !important; }
.team-copy h3:first-of-type { margin-top: 0 !important; }
.team-copy p { margin: 0 !important; }
.cv-bio { margin: 0 0 1rem !important; }


/* j44: Olga card only wraps its text — no stretch well */
.team-grid { align-items: start !important; }
.team-copy {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
}


/* j45: #casa slider only — full-bleed photo, no pill chrome */
.why-right {
  position: relative !important;
  min-height: 100vh !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.why-slide,
.why-slide.is-on {
  position: absolute !important;
  inset: 0 !important;
  display: none !important;
  flex: none !important;
  padding: calc(var(--header-h) + 36px) 5vw 7rem !important;
  justify-content: flex-start !important;
}
.why-slide.is-on { display: flex !important; flex-direction: column !important; }
.why-shot {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  z-index: 0 !important;
  flex: none !important;
}
.why-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.62) 100%);
  z-index: 1;
  pointer-events: none;
}
.why-slide > * { position: relative; z-index: 2; }
.why-nav {
  position: absolute !important;
  left: 5vw !important;
  bottom: 28px !important;
  top: auto !important;
  margin: 0 !important;
  z-index: 3 !important;
  gap: 10px !important;
}
.why-nav button {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #fff !important;
  font-size: 1.6rem !important;
  line-height: 1 !important;
  padding: 0 4px !important;
}
.why-dots button {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.4) !important;
}
.why-dots button.is-on {
  width: 7px !important;
  background: #fff !important;
  border-radius: 50% !important;
}


/* j47: hero kicker only — match LL size, still two lines */
.hero-kicker {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem) !important;
  letter-spacing: 0.16em !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}


/* j51: stats only — air between H2 and lead */
.stats-copy h2 {
  margin-bottom: 0.85rem !important;
}


/* j52: #casa overlay only — letters readable over the photo */
.why-slide::after {
  background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.58) 42%, rgba(0,0,0,.72) 100%) !important;
}

/* j53: #casa photo only — dim so Linaje letters read (j52 veil did not land) */
.why-shot {
  filter: brightness(0.48) !important;
}

/* j57: #resultados only — 50/50 panel, no capsule, no round photo */
.results-rail {
  background: #111 !important;
  padding: 0 0 56px !important;
}
.rail-stage {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.rail-card {
  min-height: 72vh !important;
  border-radius: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  background: #1a1a1a !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}
.rail-copy {
  flex: 1 1 50% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 8vh 8vw !important;
}
.rail-card figure {
  width: 50% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  height: auto !important;
  min-height: 72vh !important;
  margin: 0 !important;
}
.rail-card img {
  width: 100% !important;
  height: 100% !important;
  min-height: 72vh !important;
  object-fit: cover !important;
  display: block !important;
}
.rail-dots {
  margin-top: 22px !important;
}
@media (max-width: 900px) {
  .rail-card {
    flex-direction: column-reverse !important;
    min-height: 0 !important;
  }
  .rail-card figure,
  .rail-card img {
    width: 100% !important;
    min-height: 42vh !important;
  }
  .rail-copy {
    padding: 2.2rem 1.4rem 2.8rem !important;
    text-align: left !important;
  }
}

/* j59: #resultados only — compact ~300px rail, no full-bleed, no 500px pill */
.results-rail {
  background: #111 !important;
  padding: 36px 0 48px !important;
}
.rail-stage {
  width: min(92vw, 1100px) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}
.rail-card {
  min-height: 0 !important;
  height: 300px !important;
  border-radius: 28px !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
  background: #1a1a1a !important;
  align-items: stretch !important;
}
.rail-copy {
  flex: 1 1 55% !important;
  padding: 28px 36px !important;
  justify-content: center !important;
}
.rail-card figure {
  width: 42% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: 300px !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
}
.rail-card img {
  min-height: 0 !important;
  height: 300px !important;
  object-fit: cover !important;
}
@media (max-width: 900px) {
  .rail-card {
    height: auto !important;
    flex-direction: column-reverse !important;
  }
  .rail-card figure,
  .rail-card img {
    width: 100% !important;
    height: 200px !important;
    min-height: 0 !important;
  }
  .rail-copy { padding: 1.4rem 1.2rem 1.6rem !important; }
}

/* j60: #resultados only — photo carousel, no banner */
.results-rail {
  background: #f1f1f1 !important;
  padding: 28px 0 36px !important;
}
.rail-stage {
  width: min(92vw, 1100px) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}
.rail-card {
  min-height: 0 !important;
  height: auto !important;
  border-radius: 18px !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
  background: #111 !important;
  display: block !important;
}
.rail-copy { display: none !important; }
.rail-card figure {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: 380px !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  margin: 0 !important;
}
.rail-card img {
  min-height: 0 !important;
  height: 380px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  filter: none !important;
}
.rail-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.1rem 1.3rem 1rem;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.rail-dots { margin-top: 16px !important; }
@media (max-width: 900px) {
  .rail-card figure,
  .rail-card img { height: 260px !important; width: 100% !important; min-height: 0 !important; }
}

/* j61: #resultados only — no white margins, shorter photos */
.results-rail {
  background: #111 !important;
  padding: 0 0 20px !important;
}
.rail-stage {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.rail-card {
  border-radius: 0 !important;
}
.rail-card figure,
.rail-card img {
  height: 240px !important;
}
.rail-dots {
  margin-top: 12px !important;
}
@media (max-width: 900px) {
  .rail-card figure,
  .rail-card img { height: 200px !important; }
}

/* j62: #resultados only — small photo strip, many shots */
.results-rail {
  background: #111 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.shot-strip {
  overflow: hidden;
  height: 132px;
}
.shot-strip-track {
  display: flex;
  width: max-content;
  gap: 6px;
  animation: shot-strip 48s linear infinite;
}
.shot-strip-track img {
  height: 132px;
  width: auto;
  display: block;
  object-fit: cover;
  flex: 0 0 auto;
}
@media (prefers-reduced-motion: reduce) {
  .shot-strip-track { animation: none; }
}
@keyframes shot-strip {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.rail-stage, .rail-card, .rail-dots { display: none !important; }

/* j63: #resultados strip only — sit below sticky header */
.results-rail {
  scroll-margin-top: var(--header-h) !important;
  position: relative !important;
  z-index: 0 !important;
}
.shot-strip {
  position: relative;
  z-index: 0;
}

/* v5g: LINAJE — Sri name on the photo, Olga card same height. No subgrid. */
.team-grid {
  align-items: stretch !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr !important;
}
.team-grid > article:first-child {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  position: relative !important;
  grid-row: 1 !important;
  grid-column: 1 !important;
  min-height: 420px !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  padding: 1.4rem 1.5rem !important;
}
.team-grid > article:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 30%, rgba(0,0,0,.72) 100%);
  z-index: 1;
}
.team-grid > article:first-child img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 0 !important;
  z-index: 0 !important;
}
.team-grid > article:first-child .team-role,
.team-grid > article:first-child h3,
.team-grid > article:first-child p {
  position: relative;
  z-index: 2;
  color: #fff !important;
  margin: 0 !important;
}
.team-grid > article:first-child .team-role { margin-bottom: 0.35rem !important; opacity: .85; }
.team-grid > article:first-child h3 { margin-bottom: 0.35rem !important; }
.team-copy {
  grid-row: 1 !important;
  grid-column: 2 !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 420px !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
  }
  .team-grid > article:first-child {
    grid-row: auto !important;
    grid-column: auto !important;
    min-height: 320px !important;
  }
  .team-copy {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 0 !important;
  }
}


/* PH-V5 only: horario kids + adultos. Do not copy back to PH-V1. */
.hours { background: var(--paper); }
.hours h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  max-width: 14ch;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 0.8rem;
}
.hours-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  margin-top: 1.8rem;
}
.hours-card {
  background: var(--paper-2);
  border-radius: 24px;
  padding: 1.6rem 1.7rem 1.8rem;
}
.hours-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--accent);
}
.hours-lead {
  color: var(--muted);
  font-weight: 300;
  margin: 0 0 1.1rem;
}
.hours-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}
.hours-list > div,
.hours-kids > div {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.35rem 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.hours-list dt,
.hours-kids dt {
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}
.hours-list dt { grid-column: 1; }
.hours-list dd { grid-column: 2; }
.hours-list dd,
.hours-kids dd {
  margin: 0;
  font-weight: 300;
  color: var(--ink-2);
}
.hours-t {
  display: inline-block;
  min-width: 12.2em;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
@media (max-width: 1024px) {
  .hours-grid { grid-template-columns: 1fr; }
}

/* v5h: menú siempre legible sin JS; flechas del slider en el flujo, clicables */
.site-header {
  background: #fff !important;
  box-shadow: 0 4px 30px #0000001a !important;
}
.site-header.is-over-hero:not(.is-solid) .brand { display: flex !important; }
.site-header.is-over-hero:not(.is-solid) .header-inner { justify-content: space-between !important; }
.site-header.is-over-hero:not(.is-solid) .brand-word { color: var(--ink-2) !important; }
.site-header.is-over-hero:not(.is-solid) .brand img { filter: none !important; }
.site-header.is-over-hero:not(.is-solid) .nav a { color: var(--ink-2) !important; }
.why-nav {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  margin: 1rem 0 0 !important;
  z-index: 6 !important;
}
.why-nav button { pointer-events: auto !important; cursor: pointer !important; }
.featured-nav { display: flex !important; }
.feat-arrow, .featured-dots button { pointer-events: auto !important; cursor: pointer !important; }

/* v5i: lotus nítido en el menú; hero no se come el header */
.brand img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.hero-copy {
  padding-top: calc(var(--header-h) + 32px) !important;
}
.header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* v5k: flor Lotus Club real; Preguntas cabe a 1280 */
.brand img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.nav {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
}
.nav a {
  flex-shrink: 0;
}
@media (max-width: 1360px) {
  .header-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
    gap: 8px !important;
  }
  .nav a {
    font-size: 13px !important;
    padding: 6px 6px !important;
  }
  .brand-word { font-size: 0.95rem !important; }
  .btn-talk { padding: 10px 18px !important; font-size: 0.92rem !important; }
}

/* v5l: Resultados no pisa PREGO HOUSE */
.brand {
  flex-shrink: 0 !important;
  position: relative;
  z-index: 2;
}
.nav {
  flex: 0 1 auto !important;
  margin-left: 24px !important;
  min-width: max-content;
  overflow: visible;
}
@media (max-width: 1360px) {
  .nav a {
    font-size: 12px !important;
    padding: 6px 4px !important;
  }
}

/* v5m: nav pegado a la derecha, aire tras HOUSE */
.header-inner {
  justify-content: space-between !important;
  gap: 20px !important;
}
.brand { flex-shrink: 0 !important; }
.nav {
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
  margin-left: 40px !important;
  min-width: 0 !important;
}
.btn-talk { flex-shrink: 0 !important; margin-left: 8px; }

/* v5n: barra home = barra al scroll (entera, no solo sobre la foto) */
.site-header.is-over-hero {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  border-radius: 0 0 30px 30px;
}

/* v5o: todo el carrusel #casa — fotos visibles, velo más claro */
.why-shot {
  filter: none !important;
}
.why-slide::after {
  background: linear-gradient(180deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.10) 42%, rgba(0,0,0,.22) 100%) !important;
}

/* v5p: header + hero usable at ~390px. Desktop 1280 untouched. */
@media (max-width: 700px) {
  :root { --header-h: 72px; }

  .header-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 8px !important;
  }
  .brand { flex-shrink: 0 !important; min-width: 0; }
  .brand img {
    width: 32px !important;
    height: 32px !important;
  }
  .brand-word {
    display: inline !important;
    font-size: 0.92rem !important;
    white-space: nowrap;
  }
  .nav-toggle {
    display: block !important;
    flex-shrink: 0;
    margin-left: auto;
  }
  .btn-talk { display: none !important; }

  .nav {
    display: none !important;
    flex: none !important;
    margin-left: 0 !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    overflow: visible;
  }
  .is-nav-open .nav {
    display: flex !important;
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start !important;
    padding: 0.6rem 6vw 1.1rem;
    box-shadow: 0 12px 30px #0000001a;
    gap: 0;
    z-index: 210;
  }
  .is-nav-open .nav a {
    color: var(--ink-2) !important;
    padding: 0.95rem 0 !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    flex-shrink: 1;
  }

  .site-header.is-over-hero {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .hero {
    flex-direction: column-reverse !important;
    min-height: 0 !important;
  }
  .hero-panel {
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: auto !important;
    padding: 22px 18px 28px !important;
    box-sizing: border-box;
  }
  .hero-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 58svh !important;
  }
  .hero-copy {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: calc(var(--header-h) + 12px) 16px 20px !important;
  }
  .display-cluster {
    flex-wrap: wrap !important;
    justify-content: center !important;
    max-width: 100%;
  }
  .glyph {
    font-size: clamp(3.1rem, 16vw, 4.2rem) !important;
  }
  .play-in-word {
    width: 3.4rem !important;
    height: 3.4rem !important;
    transform: translateY(4%) scale(1) !important;
    animation: none;
  }
  .play-tri { border-width: 8px 0 8px 14px; }
  .hero-kicker {
    letter-spacing: 0.12em !important;
    max-width: none !important;
    font-size: 0.72rem;
  }
  .hero-wordmark {
    font-size: clamp(2.1rem, 10vw, 2.7rem) !important;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.15;
  }
  .hero-panel .hero-lead {
    font-size: 1rem;
  }
}

/* v5q: overlay kicker wraps at ~390. Desktop nowrap untouched. */
@media (max-width: 700px) {
  .hero-kicker {
    white-space: normal !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    overflow-wrap: break-word;
  }
}

/* v5t: hero-panel wordmark + título debajo del header (390 y 1280). */
.hero-panel {
  padding-top: calc(var(--header-h) + 16px) !important;
}
@media (max-width: 700px) {
  .hero-panel {
    padding-top: calc(var(--header-h) + 12px) !important;
  }
}

/* v5u: a 390 no amontonar play + WA + RESERVAR sobre la foto. */
@media (max-width: 700px) {
  .sticky-tab { display: none !important; }
  .wa-float {
    right: 16px !important;
    bottom: 16px !important;
    width: 56px !important;
    height: 56px !important;
  }
}

/* v5v: a 390 el WA no pisa VER SHOWREEL (izquierda). Desktop no. */
@media (max-width: 700px) {
  .wa-float {
    left: 16px !important;
    right: auto !important;
  }
}

/* v5w: a 390 sin WA flotante (botón WhatsApp del contenido se queda). */
@media (max-width: 700px) {
  .wa-float { display: none !important; }
}

/* v5x: barra seminarios fuera de la sticky RESERVAR (Siguiente clickable). */
@media (min-width: 701px) {
  .featured-bar {
    padding-right: 340px;
    box-sizing: border-box;
    position: relative;
    z-index: 45;
  }
}

/* ========== PH-V6: Maestros gallery mosaic ========== */
.maestros-galeria {
  background: #f3eee4;
  padding: 4.5rem 0 5rem;
}
.maestros-galeria .section-head h2 {
  max-width: 14ch;
}
.maestros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.maestro-card {
  margin: 0;
}
.maestro-card figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #1a1a1a;
  aspect-ratio: 4 / 5;
}
.maestro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.maestro-card img.maestro-fit-top {
  object-position: center 8%;
}
.maestro-card img.maestro-fit-roger {
  object-position: center 0%;
}
.maestro-card img.maestro-fit-contain {
  object-fit: contain;
  background: #1a1a1a;
}
.maestro-card:hover img {
  transform: scale(1.04);
}
.maestro-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}
.maestro-card h3 {
  margin: 0 0 0.15rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.maestro-card figcaption p {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.maestro-card--soon {
  border-radius: 18px;
  background: #202020;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  border: 1px dashed rgba(255, 93, 76, 0.45);
}
.maestro-soon {
  padding: 1.1rem 0.95rem 1rem;
  color: #fff;
}
.maestro-soon-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.maestro-soon h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.maestro-soon p {
  margin: 0;
  color: #a8a8a8;
  font-size: 0.88rem;
  font-weight: 300;
}

@media (min-width: 720px) {
  .maestros-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
  .maestro-card figure,
  .maestro-card--soon {
    border-radius: 22px;
    aspect-ratio: 3 / 4;
  }
  .maestro-card h3 {
    font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  }
  .maestro-card figcaption {
    padding: 2.4rem 1.15rem 1.1rem;
  }
}

@media (min-width: 1100px) {
  .maestros-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

/* 390-friendly: keep 2-col mosaic, tighter pad */
@media (max-width: 430px) {
  .maestros-galeria {
    padding: 3.2rem 0 3.6rem;
  }
  .maestros-grid {
    gap: 0.65rem;
  }
  .maestro-card figure,
  .maestro-card--soon {
    border-radius: 14px;
  }
  .maestro-card figcaption {
    padding: 1.6rem 0.7rem 0.7rem;
  }
}


/* PH-V6 rolados highlight shorts */
.rolados-band { padding-top: 0; }
.rolados-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.rolado-card h3 {
  margin: 14px 0 4px;
  font-size: 1.15rem;
}
.rolado-card p {
  margin: 0;
  color: var(--muted, #6b6b6b);
  font-size: 0.92rem;
}
.rolado-video {
  width: 100%;
  max-height: 72vh;
  border-radius: 18px;
  background: #111;
  display: block;
  object-fit: cover;
}
@media (max-width: 700px) {
  .rolados-grid { grid-template-columns: 1fr; gap: 22px; }
  .rolado-video { max-height: none; }
}

/* Activity switch — general home */
html[data-activity="barre"] {
  --accent: #e23b6a !important;
  --accent-ink: #202020 !important;
  --accent-soft: #ffb3c7 !important;
}
html[data-activity="danza"] {
  --accent: #6d28d9 !important;
  --accent-ink: #202020 !important;
  --accent-soft: #d4b8ff !important;
}
html[data-activity="muay"] {
  /* seo7: Slava Legacy palette (was #9f1239 / #fda4af) */
  --accent: #c4a000 !important;
  --accent-ink: #20232a !important;
  --accent-soft: #d9b93a !important;
}
html[data-activity="yoga"] {
  --accent: #1f6b56 !important;
  --accent-ink: #202020 !important;
  --accent-soft: #b7e0d2 !important;
}
html[data-activity] .btn-coral,
html[data-activity] .hero-cta,
html[data-activity] .hero-panel .hero-cta,
html[data-activity] .play-disc {
  background: var(--accent) !important;
  color: #fff !important;
}
html[data-activity]:not([data-activity="bjj"]) .is-bjj { display: none !important; }
html[data-activity="bjj"] .nav-act,
html[data-activity="bjj"] .only-activity { display: none !important; }
html[data-activity]:not([data-activity="bjj"]) .nav-bjj { display: none !important; }
html[data-activity]:not([data-activity="bjj"]) .belt-hook { display: none !important; }
html[data-activity]:not([data-activity="bjj"]) .svc-body > p + p { display: none; }

html[data-activity] .hero-panel .hero-wordmark {
  margin: 0 0 0.15rem !important;
  font-size: 1.65rem !important;
}
.act-kicker {
  margin: 0.15rem 0 0.2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #202020 !important;
  opacity: 0.55;
}
.act-switch {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 0.2rem;
}
.act-switch button {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
  padding: 0.18rem 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #202020 !important;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.42;
}
.act-switch button .act-no {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.act-switch button[aria-selected="true"] {
  opacity: 1;
  font-size: 2.05rem;
  color: var(--accent) !important;
}
.act-switch button[data-activity="yoga"][aria-selected="true"] {
  font-size: 1.55rem;
}
.act-switch button:hover { opacity: 0.8; }
.act-switch button[aria-selected="true"]:hover { opacity: 1; }
.hero-panel .hero-title {
  margin: 0.85rem 0 0.65rem;
  font-size: 1.85rem;
}
.hero-panel .hero-lead {
  font-size: 16px;
  margin-bottom: 1.1rem;
}
.glyph.is-swap {
  animation: rise 0.45s var(--ease-out) both;
}
html[data-activity="muay"] .hero-video { filter: contrast(1.08) saturate(0.85); }
/* prep-hugo is portrait 1080×1920 — cover fills landscape hero (crops sides, no black bars) */
html[data-activity="muay"] .hero-video,
html[data-activity="muay"] .hero-photo {
  object-fit: cover !important;
  object-position: center 50% !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  inset: 0 !important;
}
html[data-activity="muay"] .hero-media {
  background-position: center 50% !important;
  background-size: cover !important;
}
html[data-activity="muay"] .hero-photo {
  opacity: 0 !important;
}
html[data-activity="yoga"] .hero-video { filter: saturate(0.8) brightness(1.04); }
html[data-activity="danza"] .hero-video { filter: saturate(1.12) contrast(1.04); }
html[data-activity="barre"] .hero-video { filter: saturate(0.92) sepia(0.08); }

/* Photo rail — activity switch, 1Rebel-style cards */
/* Muay has heroVideo (prep-hugo); keep showband BJJ-only */
html[data-activity]:not([data-activity="bjj"]):not([data-activity="muay"]) .hero-video,
html[data-activity]:not([data-activity="bjj"]) .showband-video {
  display: none !important;
}
.showband-frame {
  background: #111 url("../images/clase-sala.jpg") center/cover no-repeat;
}
html[data-activity] .hero-veil {
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.55) 100%) !important;
}
html[data-activity] .glyph {
  color: #fff !important;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
html[data-activity] .hero-kicker { color: #fff !important; }
html[data-activity] .display-cluster { justify-content: flex-start !important; }
.act-rail button span { font-size: 0.95rem; }
.act-rail button[data-activity="yoga"] span { font-size: 0.72rem; letter-spacing: -0.05em; }
.act-rail {
  position: absolute;
  z-index: 6;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  pointer-events: auto;
}
.hero-copy {
  bottom: 188px;
}
.act-rail button {
  position: relative;
  display: block;
  height: 132px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  opacity: 0.72;
  transform: none;
}
.act-rail button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.act-rail button span {
  position: absolute;
  left: 12px;
  right: 10px;
  bottom: 8px;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: left;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}
.act-rail button[aria-selected="true"] {
  opacity: 1;
  box-shadow: inset 0 0 0 3px #fff;
  transform: none;
}
html[data-activity] .btn-talk,
html[data-activity] .sticky-tab {
  background: var(--accent) !important;
  color: #fff !important;
}
@media (max-width: 900px) {
  .act-rail { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  .act-rail button { height: 78px; border-radius: 10px; }
  .act-rail button span { font-size: 0.72rem; left: 6px; bottom: 6px; }
  .hero-copy { bottom: 104px; }
}
html[data-activity]:not([data-activity="bjj"]) .play-in-word,
html[data-activity]:not([data-activity="bjj"]) .showband-play { display: none !important; }
html[data-activity] .glyph { font-size: clamp(3.2rem, 6.2vw, 6.6rem) !important; }
.act-rail button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}
.act-rail button span {
  z-index: 1;
  font-size: 0.78rem !important;
  line-height: 0.95;
  white-space: normal;
}
.act-rail button[data-activity="yoga"] span,
.act-rail button[data-activity="bjj"] span { font-size: 0.68rem !important; }
.act-rail .act-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.72em;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Activity background — the page, not only the buttons */
html[data-activity="muay"] {
  /* seo7: Slava Legacy dark (was #7f1028 / #f8ecee) */
  --panel: #2b2f38;
  --page: #20232a;
}
html[data-activity="barre"] {
  --panel: #d42a62;
  --page: #fff1f5;
}
html[data-activity="danza"] {
  --panel: #5b21b6;
  --page: #f4eefe;
}
html[data-activity="yoga"] {
  --panel: #1a5c4a;
  --page: #eef6f3;
}
html[data-activity]:not([data-activity="bjj"]) body,
html[data-activity]:not([data-activity="bjj"]) .about-band,
html[data-activity]:not([data-activity="bjj"]) .section,
html[data-activity]:not([data-activity="bjj"]) .faq,
html[data-activity]:not([data-activity="bjj"]) .form-band,
html[data-activity]:not([data-activity="bjj"]) .hours {
  background: var(--page) !important;
}
html[data-activity]:not([data-activity="bjj"]) .hero,
html[data-activity]:not([data-activity="bjj"]) .hero-panel,
html[data-activity]:not([data-activity="bjj"]) .why,
html[data-activity]:not([data-activity="bjj"]) .why-left {
  background: var(--panel) !important;
  color: #fff !important;
}
html[data-activity]:not([data-activity="bjj"]) .hero-wordmark,
html[data-activity]:not([data-activity="bjj"]) .hero-title,
html[data-activity]:not([data-activity="bjj"]) .hero-panel .hero-lead,
html[data-activity]:not([data-activity="bjj"]) .why .eyebrow,
html[data-activity]:not([data-activity="bjj"]) .why h2,
html[data-activity]:not([data-activity="bjj"]) .why-left h2,
html[data-activity]:not([data-activity="bjj"]) .why-left .eyebrow {
  color: #fff !important;
}
html[data-activity]:not([data-activity="bjj"]) .hero-panel .hero-cta {
  background: #fff !important;
  color: #202020 !important;
}

/* Selector: taller cards, the active one lifts off the photo */
.hero,
.hero-media {
  min-height: 86vh !important;
}
.act-rail {
  left: 22px !important;
  right: 22px !important;
  bottom: 20px !important;
  gap: 12px !important;
}
.act-rail button {
  height: 176px !important;
  border-radius: 18px !important;
  opacity: 1 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.act-rail button img {
  object-position: center 28%;
}
.act-rail button[data-activity="barre"] img { object-position: center 18%; }
.act-rail button[data-activity="muay"] img { object-position: center 32%; }
.act-rail button[data-activity="yoga"] img { object-position: center 18%; }
.act-rail button[data-activity="danza"] img { object-position: center 42%; }
.act-rail button::after {
  height: 42% !important;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62)) !important;
}
.act-rail button[aria-selected="true"] {
  opacity: 1 !important;
  transform: translateY(-12px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 4px #fff !important;
  z-index: 2;
}
.act-rail button span {
  font-size: 1.15rem !important;
  line-height: 0.95 !important;
  left: 14px !important;
  right: 12px !important;
  bottom: 14px !important;
}
.act-rail button[data-activity="yoga"] span,
.act-rail button[data-activity="bjj"] span {
  font-size: 0.98rem !important;
}
.act-rail button span.act-sub {
  position: static !important;
  display: block !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 4px !important;
  font-size: 0.72em !important;
  letter-spacing: 0.06em !important;
}
.hero-copy {
  bottom: 228px !important;
}
html[data-activity]:not([data-activity="bjj"]) .hero-panel {
  flex-basis: 480px !important;
  width: 480px !important;
  max-width: 480px !important;
}
html[data-activity]:not([data-activity="bjj"]) .hero-panel .hero-lead {
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}
#about-more {
  margin: 0.9rem 0 0;
  max-width: 42rem;
  font-weight: 300;
  line-height: 1.55;
}
#hours-act .hours-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}
html[data-activity="bjj"] #hours-act {
  display: none !important;
}
@media (max-width: 900px) {
  .act-rail button {
    height: 104px !important;
    transform: none !important;
  }
  .act-rail button span,
  .act-rail button[data-activity="yoga"] span,
  .act-rail button[data-activity="bjj"] span {
    font-size: 0.78rem !important;
  }
  .hero-copy { bottom: 128px !important; }
  html[data-activity]:not([data-activity="bjj"]) .hero-panel {
    flex-basis: auto !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* Activity pages: their own page, not the jiu-jitsu blocks */
html[data-activity]:not([data-activity="bjj"]) .about-band,
html[data-activity]:not([data-activity="bjj"]) .kinetic-marquee,
html[data-activity]:not([data-activity="bjj"]) #programas,
html[data-activity]:not([data-activity="bjj"]) #horarios,
html[data-activity]:not([data-activity="bjj"]) #casa,
html[data-activity]:not([data-activity="bjj"]) .gallery-band,
html[data-activity]:not([data-activity="bjj"]) #equipo,
html[data-activity]:not([data-activity="bjj"]) #testimonios,
html[data-activity]:not([data-activity="bjj"]) #faq {
  display: none !important;
}
#studio[hidden] { display: none !important; }

.studio {
  background: var(--page);
  color: #1c1c1c;
  padding: 4.5rem 0 1rem;
}
.studio-eye {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.studio h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.studio-lead {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  font-size: 1.15rem;
  line-height: 1.5;
}
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
  margin-top: 2.6rem;
}
.studio-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #ddd;
}
.studio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
html[data-activity="barre"] .studio-photo img { object-position: center 18%; }
html[data-activity="muay"] .studio-photo img { object-position: center 40%; }
html[data-activity="yoga"] .studio-photo img { object-position: center 22%; }
html[data-activity="danza"] .studio-photo img { object-position: center 45%; }
.studio-steps {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}
.studio-steps li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.7rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.studio-steps li:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.studio-steps span {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.studio-steps strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.studio-steps p {
  margin: 0;
  line-height: 1.45;
}
.studio-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 3rem;
}
.studio-path {
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
}
.studio-path span {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.studio-path h3 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
.studio-path p {
  margin: 0;
  line-height: 1.45;
}
.studio-week { margin-top: 3.2rem; }
.studio-week h3 {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.studio-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.studio-day {
  background: var(--panel);
  color: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.2rem;
}
.studio-day h4 {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.studio-day p {
  margin: 0 0 0.45rem;
  line-height: 1.35;
}
.studio-day b { font-weight: 700; }
.studio-wait {
  max-width: 36rem;
  margin: 0;
  padding: 1.3rem 1.4rem;
  background: #fff;
  border-radius: 16px;
  font-size: 1.1rem;
  line-height: 1.45;
}
.studio-bring {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.studio-bring span {
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.studio-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2.4rem 0 0;
  padding: 2rem 2rem;
  background: var(--panel);
  color: #fff;
  border-radius: 24px;
}
.studio-close h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 14ch;
}
.studio-close p {
  margin: 0.7rem 0 0;
  max-width: 36rem;
  line-height: 1.45;
}
.studio-close .btn {
  flex: 0 0 auto;
  background: #fff !important;
  color: #202020 !important;
}
@media (max-width: 900px) {
  .studio { padding-top: 2.4rem; }
  .studio-grid,
  .studio-paths,
  .studio-days { grid-template-columns: 1fr; }
  .studio-photo { aspect-ratio: 16 / 11; }
  .studio-close { flex-direction: column; align-items: flex-start; }
}

/* seo3: Instagram links under hero CTA */
.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 1rem 0 0.25rem;
}
.hero-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink, #1a1a1a);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.hero-ig:hover,
.hero-ig:focus-visible {
  opacity: 1;
  color: var(--accent, #ff5d4c);
}
.hero-ig svg {
  flex: 0 0 auto;
}

/* seo4: Slava Legacy partner block (Muay Thai only) */
#st-partner[hidden] { display: none !important; }
.studio-partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 4px solid var(--accent, #ff5d4c);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  max-width: 52rem;
}
.studio-partner-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, #ff5d4c);
}
.studio-partner-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.studio-partner-text {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.45;
}
.studio-partner-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.studio-partner-ig { opacity: 0.9; font-size: 0.9rem; }
.studio-partner-web {
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.72;
}
.studio-partner-web:hover { opacity: 1; color: var(--accent, #ff5d4c); }


/* seo6: Slava Legacy brand (slavalegacygym.com) — scoped to #st-partner + hub Muay card only.
   Slava palette: gold #c4a000 · gold-soft #d9b93a · ink #20232a · ink-soft #2b2f38 · paper #ffffff */
#st-partner.studio-partner {
  --slava-gold: #c4a000;
  --slava-gold-soft: #d9b93a;
  --slava-ink: #20232a;
  --slava-ink-soft: #2b2f38;
  justify-content: flex-start;
  background: linear-gradient(135deg, var(--slava-ink) 0%, var(--slava-ink-soft) 100%);
  color: #fff;
  border: 1px solid rgba(196, 160, 0, 0.35);
  border-left: 4px solid var(--slava-gold);
  box-shadow: 0 18px 40px -24px rgba(32, 35, 42, 0.6);
}
#st-partner .studio-partner-logo {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}
#st-partner .studio-partner-logo img {
  display: block;
  width: 104px;
  height: auto;
}
#st-partner .studio-partner-copy { flex: 1 1 20rem; }
#st-partner .studio-partner-kicker { color: var(--slava-gold-soft); }
#st-partner .studio-partner-name { color: #fff; }
#st-partner .studio-partner-text { color: rgba(255, 255, 255, 0.82); }
#st-partner .studio-partner-ig {
  color: #fff;
  opacity: 0.85;
}
#st-partner .studio-partner-ig:hover,
#st-partner .studio-partner-ig:focus-visible {
  color: var(--slava-gold-soft);
  opacity: 1;
}
#st-partner .studio-partner-web {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--slava-gold);
  color: var(--slava-ink);
  font-weight: 700;
  text-decoration: none;
  opacity: 1;
  transition: background 0.2s ease;
}
#st-partner .studio-partner-web:hover,
#st-partner .studio-partner-web:focus-visible {
  background: var(--slava-gold-soft);
  color: var(--slava-ink);
}
@media (max-width: 640px) {
  #st-partner .studio-partner-logo img { width: 84px; }
}

/* Hub "Bajo el mismo techo" Muay card */
.otras-grid article.otras-slava {
  background: #20232a;
  color: #fff;
  border-top: 4px solid #c4a000;
}
.otras-slava .otras-slava-logo {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 0 0.9rem;
}
.otras-grid .otras-slava h3 { color: #d9b93a; }
.otras-grid .otras-slava p { color: rgba(255, 255, 255, 0.8); }


/* seo7: whole Muay view → Slava Legacy palette (slavalegacygym.com)
   gold #c4a000 · gold-soft #d9b93a · ink #20232a · ink-soft #2b2f38.
   Scoped to html[data-activity="muay"] only; coral / BJJ / other disciplines untouched. */
html[data-activity="muay"] { color-scheme: dark; }
html[data-activity="muay"] body { color: #fff; }

/* Buttons: gold with dark text (white on gold fails contrast) */
html[data-activity="muay"] .btn-coral,
html[data-activity="muay"] .hero-cta,
html[data-activity="muay"]:not([data-activity="bjj"]) .hero-panel .hero-cta,
html[data-activity="muay"] .play-disc,
html[data-activity="muay"] .btn-talk,
html[data-activity="muay"] .sticky-tab,
html[data-activity="muay"] .studio-close .btn {
  background: #c4a000 !important;
  color: #20232a !important;
  border-color: #c4a000 !important;
}
html[data-activity="muay"] .btn-coral:hover,
html[data-activity="muay"] .hero-cta:hover,
html[data-activity="muay"] .btn-talk:hover,
html[data-activity="muay"] .sticky-tab:hover,
html[data-activity="muay"] .studio-close .btn:hover {
  background: #d9b93a !important;
  color: #20232a !important;
}

/* Hero panel */
html[data-activity="muay"]:not([data-activity="bjj"]) .hero,
html[data-activity="muay"]:not([data-activity="bjj"]) .hero-panel { background: #2b2f38 !important; }
html[data-activity="muay"] .hero-panel { box-shadow: inset -3px 0 0 #c4a000; }
html[data-activity="muay"]:not([data-activity="bjj"]) .hero-title { color: #d9b93a !important; }
html[data-activity="muay"]:not([data-activity="bjj"]) .hero-panel .hero-lead { color: rgba(255, 255, 255, 0.86) !important; }
html[data-activity="muay"] .hero-social .hero-ig { color: rgba(255, 255, 255, 0.72); }
html[data-activity="muay"] .hero-social .hero-ig:hover,
html[data-activity="muay"] .hero-social .hero-ig:focus-visible { color: #d9b93a; opacity: 1; }
html[data-activity="muay"] .act-rail button[aria-selected="true"] {
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 4px #c4a000 !important;
}
@media (max-width: 900px) {
  html[data-activity="muay"] .hero-panel { box-shadow: inset 0 -3px 0 #c4a000; }
}

/* Studio (programa, la hora, paths, horario, cierre) */
html[data-activity="muay"] .studio { color: rgba(255, 255, 255, 0.86); }
html[data-activity="muay"] .studio h2,
html[data-activity="muay"] .studio-week h3,
html[data-activity="muay"] .studio-path h3,
html[data-activity="muay"] .studio-steps strong { color: #fff; }
html[data-activity="muay"] .studio-eye,
html[data-activity="muay"] .studio-steps span,
html[data-activity="muay"] .studio-path span { color: #d9b93a; }
html[data-activity="muay"] .studio-steps li { border-top-color: rgba(255, 255, 255, 0.12); }
html[data-activity="muay"] .studio-steps li:last-child { border-bottom-color: rgba(255, 255, 255, 0.12); }
html[data-activity="muay"] .studio-photo { background: #2b2f38; }
html[data-activity="muay"] .studio-path,
html[data-activity="muay"] .studio-wait,
html[data-activity="muay"] .studio-bring span {
  background: #2b2f38;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-activity="muay"] .studio-path { border-top: 3px solid #c4a000; }
html[data-activity="muay"] .studio-day {
  background: #2b2f38;
  border: 1px solid rgba(196, 160, 0, 0.3);
}
html[data-activity="muay"] .studio-day h4 { color: #d9b93a; }
html[data-activity="muay"] .studio-close {
  background: linear-gradient(135deg, #2b2f38 0%, #20232a 100%);
  border: 1px solid rgba(196, 160, 0, 0.35);
  border-left: 4px solid #c4a000;
}
html[data-activity="muay"] .studio-close h2 { color: #d9b93a; }

/* Partner card — harmonize with the dark page */
html[data-activity="muay"] #st-partner.studio-partner {
  background: linear-gradient(135deg, #2b2f38 0%, #262a32 100%);
  box-shadow: none;
}

/* Form band */
html[data-activity="muay"] .form-band { background: #20232a !important; }
html[data-activity="muay"] .form-band .eyebrow { color: #d9b93a !important; }
html[data-activity="muay"] .form-intro h2 { color: #fff !important; }
html[data-activity="muay"] .form-intro p,
html[data-activity="muay"] .contact-facts span,
html[data-activity="muay"] .trial-form label,
html[data-activity="muay"] .trial-form legend,
html[data-activity="muay"] .form-legal { color: rgba(255, 255, 255, 0.66) !important; }
html[data-activity="muay"] .contact-facts li {
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
html[data-activity="muay"] .contact-facts a { color: #fff; text-decoration-color: #c4a000; }
html[data-activity="muay"] .contact-facts a:hover { color: #d9b93a; }
html[data-activity="muay"] .trial-form {
  background: #2b2f38 !important;
  border: 1px solid rgba(196, 160, 0, 0.28);
}
html[data-activity="muay"] .trial-form input,
html[data-activity="muay"] .trial-form select,
html[data-activity="muay"] .trial-form textarea {
  background: #20232a;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
html[data-activity="muay"] .trial-form input::placeholder,
html[data-activity="muay"] .trial-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
html[data-activity="muay"] .trial-form fieldset { background: #20232a; border-color: rgba(255, 255, 255, 0.14); }
html[data-activity="muay"] .check { color: rgba(255, 255, 255, 0.86); }

/* Footer */
html[data-activity="muay"] .site-footer {
  background: #20232a !important;
  border-top: 1px solid rgba(196, 160, 0, 0.3);
}

/* seo8: activity rail — light bar behind selector + keep switcher in view
   Root cause of “only Muay”: .hero/.hero-media min-height:86vh stacked under the
   panel on mobile pushed .act-rail below the first viewport (overflow:hidden),
   so the discipline switcher was off-screen and the page felt stuck on #muay.
   Soft white bar behind the rail site-wide so labels don’t melt into the photo.
   Slava gold/dark Muay palette untouched (still scoped to html[data-activity="muay"]). */
.act-rail {
  box-sizing: border-box;
  padding: 10px 10px 12px !important;
  border-radius: 22px;
  background: #f3f3f1 !important; /* soft light panel — labels no longer melt into hero photo */
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.act-rail button {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16) !important;
}
.act-rail button[aria-selected="true"] {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32), inset 0 0 0 4px #fff !important;
}
html[data-activity="muay"] .act-rail button[aria-selected="true"] {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32), inset 0 0 0 4px #c4a000 !important;
}
.hero-copy {
  bottom: 248px !important;
}

@media (max-width: 900px) {
  /* Hero fills one screen: panel natural height, media takes the rest, rail at fold */
  .hero {
    display: flex !important;
    flex-direction: column-reverse !important;
    min-height: 100svh !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  .hero-panel {
    flex: 0 0 auto !important;
    min-height: auto !important;
  }
  .hero-media {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    position: relative !important;
  }
  .act-rail {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    gap: 6px !important;
    padding: 8px !important;
    border-radius: 16px;
    z-index: 8;
  }
  .act-rail button {
    height: 70px !important;
    border-radius: 12px !important;
    transform: none !important;
  }
  .act-rail button[aria-selected="true"] {
    transform: none !important;
  }
  .act-rail button span,
  .act-rail button[data-activity="yoga"] span,
  .act-rail button[data-activity="bjj"] span {
    font-size: 0.6rem !important;
    left: 5px !important;
    right: 4px !important;
    bottom: 5px !important;
  }
  .hero-copy {
    bottom: 92px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  html[data-activity] .glyph {
    font-size: clamp(2.4rem, 12vw, 3.4rem) !important;
  }
}


/* seo9: activity rail — fit selected lift + hover/press
   Selected card used translateY(-12px) and clipped the white bar top edge.
   Shorter cards + taller top padding so lift stays inside the container.
   Subtle hover scale/lift/shadow and active press; Muay gold ring kept. */
.act-rail {
  overflow: visible !important; /* allow soft shadow; padding absorbs lift */
  padding: 22px 12px 14px !important; /* extra top room for selected lift */
  gap: 10px !important;
}
.act-rail button {
  height: 148px !important; /* was 176px — shorter so selected fits */
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    filter 0.22s ease,
    opacity 0.18s ease !important;
  will-change: transform;
  transform: translateY(0) scale(1);
  transform-origin: center bottom;
}
.act-rail button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28) !important;
  filter: brightness(1.04);
  z-index: 1;
}
.act-rail button:active {
  transform: translateY(-1px) scale(0.985);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
  filter: brightness(0.98);
  transition-duration: 0.1s !important;
}
.act-rail button[aria-selected="true"] {
  transform: translateY(-8px) scale(1.015); /* was -12px; fits in 22px top pad */
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34), inset 0 0 0 4px #fff !important;
  filter: none;
  z-index: 2;
}
.act-rail button[aria-selected="true"]:hover {
  transform: translateY(-9px) scale(1.025);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38), inset 0 0 0 4px #fff !important;
}
.act-rail button[aria-selected="true"]:active {
  transform: translateY(-5px) scale(0.995);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3), inset 0 0 0 4px #fff !important;
  transition-duration: 0.1s !important;
}
/* Muay gold ring stays when selected on Muay view */
html[data-activity="muay"] .act-rail button[aria-selected="true"] {
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34), inset 0 0 0 4px #c4a000 !important;
}
html[data-activity="muay"] .act-rail button[aria-selected="true"]:hover {
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38), inset 0 0 0 4px #c4a000 !important;
}
html[data-activity="muay"] .act-rail button[aria-selected="true"]:active {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3), inset 0 0 0 4px #c4a000 !important;
}
/* Crop yoga rail/hero asset toward faces (studio pilates women) */
.act-rail button[data-activity="yoga"] img { object-position: center 28% !important; }
.hero-copy {
  bottom: 230px !important; /* rail shorter + padding: keep copy clear of bar */
}
@media (max-width: 900px) {
  .act-rail {
    padding: 12px 8px 10px !important; /* a little top room even without lift */
    gap: 6px !important;
  }
  .act-rail button {
    height: 68px !important;
    transform: none !important;
  }
  .act-rail button:hover,
  .act-rail button:active,
  .act-rail button[aria-selected="true"],
  .act-rail button[aria-selected="true"]:hover,
  .act-rail button[aria-selected="true"]:active {
    transform: none !important; /* no lift on tight mobile rail */
  }
  .act-rail button:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
  }
  .act-rail button:active {
    filter: brightness(0.96);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) !important;
  }
  .hero-copy { bottom: 96px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .act-rail button,
  .act-rail button:hover,
  .act-rail button:active,
  .act-rail button[aria-selected="true"],
  .act-rail button[aria-selected="true"]:hover,
  .act-rail button[aria-selected="true"]:active {
    transition: none !important;
    transform: none !important;
  }
}


/* seo11: desktop activity hero image stuck on previous photo (Muay→Barre)
   paintMedia only set .hero-photo src; desktop compositor (esp. WebKit) could
   keep the prior bitmap while text/rail already switched. JS now replaces the
   img node + mirrors url on .hero-media background. CSS: keep video fully out
   of the paint path on non-BJJ and let the media backdrop show through. */
.hero-media {
  background-color: #111;
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
}
html[data-activity]:not([data-activity="bjj"]):not([data-activity="muay"]) .hero-video {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* seo10: hero overlay glyph (ENTRA. / MUAY THAI. / BARRE. / DANZA. / YOGA.)
   Juan: titles looked small and off-center. Root cause: html[data-activity]
   .display-cluster { justify-content:flex-start } (left-aligned under a centered
   kicker) + html[data-activity] .glyph shrunk to 6.2vw (desktop) / 12vw (mobile).
   Fix: centered like the Lounge/PH hero; one size for every activity, scaled to
   the hero-media width (cqi) so the longest label, MUAY THAI., still fits one line. */
.hero-media { container-type: inline-size; }
html[data-activity] .hero-display { width: 100%; text-align: center; }
html[data-activity] .display-cluster {
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
html[data-activity] .glyph {
  font-size: clamp(3.4rem, 9.5vw, 8.6rem) !important; /* fallback: no cqi */
  font-size: clamp(3.4rem, 13.6cqi, 8.6rem) !important;
  text-align: center;
  line-height: 0.9;
  min-width: 0;
}
html[data-activity] .hero-kicker { text-align: center !important; }
@media (max-width: 900px) {
  html[data-activity] .glyph {
    font-size: clamp(2.6rem, 14.8vw, 4.6rem) !important;
    font-size: clamp(2.6rem, 14.8cqi, 4.6rem) !important;
  }
}
@media (max-width: 900px) and (max-height: 700px) {
  /* short phones (SE): keep the glyph clear of the rail */
  html[data-activity] .glyph {
    font-size: clamp(2.4rem, 13cqi, 4rem) !important;
    line-height: 0.86;
  }
}


/* seo12: home internal links to discipline landings (scope: #otras + footer only) */
.otras-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.otras-card-link:hover h3 { color: var(--accent); }
.otras-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}
.otras-slava .otras-more { color: #d9b93a; }
.otras-seo-links a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.otras-seo-links a:hover { color: var(--accent); }


/* seo16: home Muay media strip (activity=muay only) — match landing richness, Slava gold/dark */
#muay-home-media[hidden] { display: none !important; }
html:not([data-activity="muay"]) #muay-home-media { display: none !important; }

html[data-activity="muay"] .home-muay-media {
  display: block;
  padding: 72px 0 88px;
  background: #0f0f0f;
  color: #f6f4f1;
}
html[data-activity="muay"] .home-muay-media .eyebrow { color: #d9b93a; }
html[data-activity="muay"] .home-muay-media h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0.35rem 0 0;
}
html[data-activity="muay"] .home-muay-media-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
  margin-top: 1.75rem;
}
html[data-activity="muay"] .home-muay-card {
  grid-column: span 4;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}
html[data-activity="muay"] .home-muay-card img,
html[data-activity="muay"] .home-muay-card video,
html[data-activity="muay"] .home-muay-video-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  background: #111;
}
html[data-activity="muay"] .home-muay-card--wide {
  grid-column: span 8;
}
html[data-activity="muay"] .home-muay-card--wide img,
html[data-activity="muay"] .home-muay-card--wide video,
html[data-activity="muay"] .home-muay-card--wide .home-muay-video-frame,
html[data-activity="muay"] .home-muay-card--wide .home-muay-play-video {
  aspect-ratio: 16 / 10;
  min-height: 280px;
}
html[data-activity="muay"] .home-muay-card figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.75rem;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.65);
  pointer-events: none;
}
html[data-activity="muay"] .home-muay-video-frame {
  position: relative;
  overflow: hidden;
}
html[data-activity="muay"] .home-muay-play-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html[data-activity="muay"] .home-muay-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  background: rgba(0,0,0,0.28);
  color: #fff;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
html[data-activity="muay"] .home-muay-play-disc {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #d9b93a;
  background: rgba(15,15,15,0.55);
  box-shadow: 0 0 0 1px rgba(217,185,58,0.25);
  position: relative;
}
html[data-activity="muay"] .home-muay-play-disc::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #d9b93a;
}
html[data-activity="muay"] .home-muay-video-frame.is-playing .home-muay-video-play { display: none; }
@media (max-width: 900px) {
  html[data-activity="muay"] .home-muay-card,
  html[data-activity="muay"] .home-muay-card--wide {
    grid-column: span 6;
  }
}
@media (max-width: 560px) {
  html[data-activity="muay"] .home-muay-card,
  html[data-activity="muay"] .home-muay-card--wide {
    grid-column: span 12;
  }
}

/* seo20-muay-cover-force */
html[data-activity="muay"] .hero-media > .hero-video {
  position: absolute !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center 50% !important;
  transform: none !important;
}
html[data-activity="muay"] .hero-media {
  background-size: cover !important;
  background-position: center 50% !important;
}
/* /seo20-muay-cover-force */

/* seo21-barre-hero-raise */
html[data-activity="barre"] .hero-photo,
html[data-activity="barre"] .hero-video {
  object-fit: cover !important;
  object-position: center 42% !important;
  transform: none !important;
}
html[data-activity="barre"] .hero-media {
  background-position: center 42% !important;
  background-size: cover !important;
}
/* /seo21-barre-hero-raise */


/* seo24: Barre home media strip — 3 distinct flyers, not cover */
#barre-home-media[hidden] { display: none !important; }
html:not([data-activity="barre"]) #barre-home-media { display: none !important; }
html[data-activity="barre"] .home-barre-media {
  padding: 48px 0 64px;
  background: #1a1216;
}
html[data-activity="barre"] .home-barre-media .eyebrow { color: #f2a7c2; }
html[data-activity="barre"] .home-barre-media h2 {
  color: #fff;
  max-width: 18ch;
}
html[data-activity="barre"] .home-barre-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1.6rem;
}
html[data-activity="barre"] .home-barre-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  position: relative;
}
html[data-activity="barre"] .home-barre-card img {
  width: 100%;
  height: min(58vh, 560px);
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
html[data-activity="barre"] .home-barre-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: 1rem 1rem 0.85rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
@media (max-width: 900px) {
  html[data-activity="barre"] .home-barre-media-grid {
    grid-template-columns: 1fr;
  }
  html[data-activity="barre"] .home-barre-card img {
    height: 48vh;
  }
}


/* seo31: equipo without Sri photo card — single Olga/Asociación copy card */
.team-grid {
  grid-template-columns: 1fr !important;
  grid-template-rows: auto !important;
  max-width: 640px;
}
.team-grid > article:first-child {
  display: block !important;
  flex-direction: unset !important;
  justify-content: unset !important;
  position: relative !important;
  grid-row: auto !important;
  grid-column: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  border-radius: 24px !important;
  padding: 0 !important;
  background: transparent !important;
}
.team-grid > article:first-child::before {
  display: none !important;
  content: none !important;
}
.team-grid > article:first-child .team-role,
.team-grid > article:first-child h3,
.team-grid > article:first-child p {
  color: inherit !important;
  position: static !important;
}
.team-grid .team-copy {
  grid-row: auto !important;
  grid-column: auto !important;
  min-height: 0 !important;
  max-width: 100%;
  background: #fff;
  padding: 1.6rem 1.5rem !important;
  border-radius: 24px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0.35rem;
}
.team-grid .team-copy .team-role {
  color: var(--accent) !important;
  margin-bottom: 0.35rem !important;
}
.team-grid .team-copy h3 {
  color: var(--ink-2) !important;
  margin: 0.2rem 0 0.35rem !important;
}
.team-grid .team-copy p {
  color: var(--muted) !important;
  margin: 0 0 0.85rem !important;
}

@media (min-width: 901px) {
  .showband-frame {
    aspect-ratio: 16 / 14;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 700px) {
  .showband-frame {
    aspect-ratio: 9 / 14;
    max-height: 70vh;
  }
}
