/* ============================================================
   PRIMAL INSTINCT BCN — static site
   Editorial fitness · dark earth palette · mobile first
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/big-shoulders-display-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/big-shoulders-display-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/big-shoulders-display-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-600-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-700.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg:        #16100c;
  --bg-raised: #1f1710;
  --bg-card:   #251b13;
  --bone:      #ede3d1;
  --bone-dim:  #b3a28d;
  --clay:      #cb5c2e;
  --clay-hot:  #e06a35;
  --moss:      #8b8557;
  --line:      rgba(237, 227, 209, 0.14);
  --line-soft: rgba(237, 227, 209, 0.08);

  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --serif:   'Fraunces', Georgia, serif;
  --body:    'Schibsted Grotesk', 'Helvetica Neue', sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --maxw: 75rem;
}
/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--clay-hot); outline-offset: 3px; }

::selection { background: var(--clay); color: var(--bg); }

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.skip {
  position: absolute; left: -200vw; top: 0;
  background: var(--clay); color: var(--bg);
  padding: 0.6rem 1rem; z-index: 200; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.75rem, 8vw, 5.5rem); font-weight: 900; }
h3 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; }
em.flair {
  font-family: var(--serif);
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--clay-hot);
}
p + p { margin-top: 1em; }
.lead {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.5;
  max-width: 38ch;
  text-wrap: pretty;
}
.dim { color: var(--bone-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 1.6rem 0.95rem;
  border: 1px solid var(--bone);
  color: var(--bone);
  background: transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--clay); border-color: var(--clay); color: #fff6e9; }
.btn--solid:hover { background: var(--clay-hot); border-color: var(--clay-hot); }
.btn--ghost:hover { background: var(--bone); color: var(--bg); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.55rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand span { color: var(--clay-hot); }

.nav-toggle {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: none;
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.site-nav {
  /* absolute respecto al header (el backdrop-filter lo hace containing block);
     altura = viewport menos la altura del header */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100dvh - 100%);
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  display: none;
  padding: 2rem var(--gutter);
  overflow: auto;
}
.nav-open { overflow: hidden; }
.nav-open .site-nav { display: block; }
.site-nav ul { display: grid; gap: 0.25rem; }
.site-nav a {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 2.6rem);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s, padding-left 0.2s;
}
.site-nav a:hover { color: var(--clay-hot); padding-left: 0.5rem; }

@media (min-width: 64em) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
  }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav a {
    font-size: 1.05rem;
    border: none;
    padding: 0;
  }
  .site-nav a:hover { padding-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: calc(var(--section) * 0.8) 0 2.5rem;
  isolation: isolate;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(22, 16, 12, 0.55) 45%, rgba(22, 16, 12, 0.35) 100%);
}
.hero-media img { filter: sepia(0.35) saturate(0.85) contrast(1.05) brightness(0.82); }
.hero-kicker {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--clay-hot);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(4.2rem, 17vw, 11rem);
  font-weight: 900;
  margin-left: -0.04em;
}
.hero h1 .flair { font-size: 0.42em; vertical-align: 0.22em; margin-inline: 0.08em; }
.hero-lead {
  margin-top: 1.4rem;
  max-width: 52ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--bone);
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 2.5rem;
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
  display: none;
}
@media (min-width: 48em) { .hero-scroll { display: block; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--clay);
  color: #1d120a;
  overflow: hidden;
  padding: 0.7rem 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track > span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding-right: 0.8rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--raised { background: var(--bg-raised); border-block: 1px solid var(--line-soft); }

.sec-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.sec-num {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--clay-hot);
  margin-bottom: 1.2rem;
}
.sec-num::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.sec-head .lead { margin-top: 1.4rem; }

/* Two-column blurb */
.cols {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 48em) {
  .cols { grid-template-columns: 1fr 1fr; align-items: center; }
  .cols--rev > :first-child { order: 2; }
}
.cols figure { position: relative; }
.cols figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: sepia(0.25) saturate(0.9) contrast(1.04);
  border: 1px solid var(--line);
}
.cols figure::after {
  content: '';
  position: absolute;
  inset: auto -0.8rem -0.8rem auto;
  width: 55%;
  height: 55%;
  border: 1px solid var(--clay);
  z-index: -1;
}
.cols figcaption {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
}

/* ---------- Class index (01) ---------- */
.class-index { margin-top: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.class-index li {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  display: grid;
  gap: 0.3rem;
  transition: padding-left 0.3s, background 0.3s;
}
.class-index li:hover { padding-left: 1rem; background: var(--bg-raised); }
.class-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 5.5vw, 2.7rem);
  text-transform: uppercase;
  line-height: 1;
}
.class-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--clay-hot);
}
.class-desc { color: var(--bone-dim); max-width: 62ch; font-size: 0.98rem; }
@media (min-width: 64em) {
  .class-index li {
    grid-template-columns: minmax(20rem, 1fr) 1.2fr;
    grid-template-areas: 'name desc' 'tag desc';
    column-gap: 3rem;
    align-items: start;
  }
  .class-name { grid-area: name; }
  .class-tag { grid-area: tag; }
  .class-desc { grid-area: desc; align-self: center; }
}
.class-note {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.class-note p { max-width: 48ch; }

/* ---------- Objetivos (02) ---------- */
.goal-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 48em) { .goal-grid { grid-template-columns: 1fr 1fr; } }
.goal {
  background: var(--bg-raised);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: grid;
  gap: 0.9rem;
  align-content: start;
  transition: background 0.3s;
}
.goal:hover { background: var(--bg-card); }
.goal-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  color: var(--moss);
  line-height: 1;
}
.goal p { color: var(--bone-dim); font-size: 0.98rem; }

.interview {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.interview h3 .flair { font-size: 0.85em; }

/* ---------- Equipo (03) ---------- */
.team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48em) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.coach img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(0.5) sepia(0.2) contrast(1.05);
  transition: filter 0.4s;
}
.coach:hover img { filter: none; }
.coach a { text-decoration: none; display: block; }
.coach figcaption { margin-top: 0.8rem; }
.coach-name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.05;
}
.coach-role {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay-hot);
  font-size: 0.95rem;
}
.coach--you {
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px dashed var(--line);
  aspect-ratio: auto;
  gap: 0.4rem;
  padding: 1rem;
  transition: border-color 0.3s, background 0.3s;
}
.coach--you:hover { border-color: var(--clay); background: var(--bg-raised); }
.coach--you .coach-name { font-size: clamp(2rem, 6vw, 3rem); color: var(--clay-hot); }

.stats {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
@media (min-width: 48em) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 1.6rem 1.2rem; }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4rem);
  color: var(--clay-hot);
  line-height: 1;
}
.stat span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bone-dim); }

/* ---------- Por qué Primal (04) ---------- */
.manifesto {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 2.7rem);
  line-height: 1.25;
  max-width: 26ch;
  margin-block: clamp(3rem, 8vw, 5rem);
}
.manifesto strong { color: var(--clay-hot); font-weight: 600; }

.benefits { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 48em) { .benefits { grid-template-columns: repeat(2, 1fr); } }
.benefit { background: var(--bg); padding: clamp(1.5rem, 4vw, 2.2rem); }
.benefit h4 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--bone);
}
.benefit h4::before { content: '👣 '; font-size: 0.9em; }
.benefit p { color: var(--bone-dim); font-size: 0.98rem; }

/* ---------- Tarifas (05) ---------- */
.price-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.plan {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 1.8rem 1.5rem;
  display: grid;
  gap: 0.4rem;
  justify-items: start;
  align-content: start;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--clay); }
.plan img { width: 4.5rem; height: 4.5rem; object-fit: contain; filter: grayscale(0.3) sepia(0.3); }
.plan-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 0.6rem;
}
.plan-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.2rem);
  color: var(--clay-hot);
  line-height: 1;
}
.plan-price small { font-size: 0.4em; color: var(--bone-dim); font-weight: 700; letter-spacing: 0.08em; }
.plan-sessions { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; font-weight: 700; }
.plan-extra { color: var(--bone-dim); font-size: 0.85rem; }
.plan--featured { background: var(--clay); border-color: var(--clay); color: #1d120a; }
.plan--featured .plan-price { color: #1d120a; }
.plan--featured .plan-price small,
.plan--featured .plan-extra { color: rgba(29, 18, 10, 0.65); }
.plan--featured img { filter: none; }
.plan-flag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
}
.price-notes {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 48em) { .price-notes { grid-template-columns: 1fr 1fr; } }
.price-note {
  border: 1px dashed var(--line);
  padding: 1.3rem 1.5rem;
  font-size: 0.98rem;
  color: var(--bone-dim);
}
.price-note b { color: var(--bone); }
.price-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

/* ---------- Testimonio (06) ---------- */
.quote-wrap {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 48em) {
  .quote-wrap { grid-template-columns: minmax(14rem, 1fr) 2.2fr; align-items: center; }
}
.quote-wrap > img {
  width: min(18rem, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  filter: sepia(0.25) saturate(0.9);
  justify-self: center;
}
blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  line-height: 1.4;
  text-wrap: pretty;
}
blockquote p::before { content: '“'; color: var(--clay-hot); }
blockquote p::after { content: '”'; color: var(--clay-hot); }
blockquote footer {
  margin-top: 1.5rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
blockquote footer span { display: block; font-family: var(--body); font-weight: 400; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--bone-dim); }
.quote-more { margin-top: 2.5rem; }

/* ---------- La sala (07) ---------- */
.gallery {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 40em) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: sepia(0.3) saturate(0.85) brightness(0.9);
  transition: transform 0.5s, filter 0.5s;
}
.gallery figure:hover img { transform: scale(1.04); filter: none; }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(22, 16, 12, 0.92), transparent);
}
.gallery figcaption b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.05;
}
.gallery figcaption span { font-size: 0.85rem; color: var(--bone-dim); }

/* ---------- Contacto / CTA ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(3rem, 10vw, 7rem); }
.cta-final .lead { margin: 1.5rem auto 0; }
.cta-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.legal-fold { margin-top: 4rem; text-align: left; }
.legal-fold summary {
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-dim);
}
.legal-fold p { font-size: 0.82rem; color: var(--bone-dim); margin-top: 1em; max-width: 90ch; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding: var(--section) 0 2rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h4 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
  color: var(--clay-hot);
}
.footer-grid p, .footer-grid li { font-size: 0.95rem; color: var(--bone-dim); }
.footer-grid li { padding-block: 0.15rem; }
.footer-grid a { text-decoration: none; transition: color 0.2s; }
.footer-grid a:hover { color: var(--bone); }
address { font-style: normal; }

.social { display: flex; gap: 0.8rem; margin-top: 0.4rem; }
.social a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.social a:hover { border-color: var(--clay); background: var(--clay); color: #1d120a; }
.social svg { width: 1.2rem; height: 1.2rem; }

.partners {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 2.8rem;
}
.partners img {
  height: 2rem;
  width: auto;
  filter: grayscale(1) brightness(1.6) contrast(0.8);
  opacity: 0.55;
  transition: opacity 0.3s, filter 0.3s;
}
.partners img:hover { opacity: 1; filter: grayscale(0); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--bone-dim);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--bone); }

/* ============================================================
   PÁGINAS INTERIORES
   ============================================================ */

.wrap--narrow { max-width: 46rem; }

/* Cabecera de página */
.page-hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 {
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  font-weight: 900;
  margin-left: -0.04em;
}
.page-hero .lead { margin-top: 1.2rem; color: var(--bone-dim); }

/* Prosa de artículos y legales */
.prose { font-size: 1.05rem; }
.prose p { margin-top: 1.1em; color: var(--bone-dim); }
.prose strong { color: var(--bone); }
.prose em { font-family: var(--serif); }
.prose a { color: var(--clay-hot); text-underline-offset: 3px; }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 2em;
  line-height: 1;
}
.prose h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 900; }
.prose h3 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); font-weight: 800; }
.prose h4 { font-size: 1.25rem; font-weight: 800; }
.prose ul, .prose ol { margin-top: 1.1em; padding-left: 1.2rem; color: var(--bone-dim); }
.prose ul { list-style: none; }
.prose ul > li::before { content: '✦ '; color: var(--clay-hot); }
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.45em; }
.prose img {
  margin-top: 2rem;
  border: 1px solid var(--line);
  filter: sepia(0.15) saturate(0.95);
}
.prose figure { margin-top: 2rem; }
.prose figure img { margin-top: 0; }
.prose figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--bone-dim);
}
.prose blockquote {
  margin-top: 1.5em;
  border-left: 2px solid var(--clay);
  padding-left: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin-top: 2.5rem; }
.prose--legal { font-size: 0.95rem; }

/* Horario */
.schedule { border: 1px solid var(--line); padding: clamp(0.8rem, 2vw, 1.5rem); background: var(--bg-raised); }
.schedule img { width: 100%; }
.schedule-note { margin-top: 0.8rem; font-size: 0.85rem; text-align: right; }
.schedule-note a { color: var(--clay-hot); }

/* Galería masonry */
.masonry { columns: 1; gap: 1rem; }
@media (min-width: 40em) { .masonry { columns: 2; } }
@media (min-width: 64em) { .masonry { columns: 3; } }
.masonry figure {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.masonry img {
  width: 100%;
  filter: sepia(0.25) saturate(0.9) brightness(0.92);
  transition: transform 0.5s, filter 0.5s;
}
.masonry figure:hover img { transform: scale(1.03); filter: none; }
.masonry figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(22, 16, 12, 0.9), transparent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Muro de testimonios */
.testi-wall { columns: 1; gap: 1.2rem; }
@media (min-width: 48em) { .testi-wall { columns: 2; } }
@media (min-width: 75em) { .testi-wall { columns: 3; } }
.testi {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.testi-photo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  filter: sepia(0.25) saturate(0.9);
  margin-bottom: 1.2rem;
}
.testi blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--bone-dim);
}
.testi blockquote p::before, .testi blockquote p::after { content: none; }
.testi blockquote p:first-of-type::before { content: '“'; color: var(--clay-hot); }
.testi blockquote footer { margin-top: 1.1rem; font-size: 1.05rem; }
.testi blockquote footer::before { content: '— '; color: var(--clay-hot); }

/* Blog índice */
.post-grid { display: grid; gap: 1.2rem; }
@media (min-width: 48em) { .post-grid { grid-template-columns: 1fr 1fr; } }
.post-card {
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--clay); }
.post-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: sepia(0.3) saturate(0.85) brightness(0.9);
  transition: filter 0.4s;
}
.post-card:hover > img { filter: none; }
.post-card-body { padding: clamp(1.3rem, 3vw, 1.8rem); display: grid; gap: 0.6rem; }
.post-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bone-dim);
}
.post-meta span { color: var(--clay-hot); }
.post-card h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; }
.post-card .dim { font-size: 0.95rem; }
.post-more {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clay-hot);
  font-size: 1rem;
}

/* Entrenadores (entrenos personales y bios) */
.trainer {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.trainer:first-child { border-top: none; padding-top: 0; }
.trainer figure { max-width: 22rem; }
@media (min-width: 48em) {
  .trainer { grid-template-columns: minmax(14rem, 1fr) 2fr; align-items: start; }
  .trainer:nth-child(even) { grid-template-columns: 2fr minmax(14rem, 1fr); }
  .trainer:nth-child(even) figure { order: 2; }
  .trainer figure { position: sticky; top: 5rem; max-width: none; }
}
.trainer figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  filter: sepia(0.2) saturate(0.92);
}
.trainer h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.trainer-role {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay-hot);
  margin: 0.6rem 0 1rem;
}
.trainer-role a { color: inherit; }
.spec-list { display: grid; gap: 0.7rem; margin-top: 1rem; }
.spec-list li {
  border-left: 2px solid var(--clay);
  padding-left: 1rem;
  color: var(--bone-dim);
  font-size: 0.98rem;
}
.spec-list b { color: var(--bone); }

/* Vídeo responsive */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  margin-bottom: 1.2rem;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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