/* Tipografias autohospedadas: sin peticiones a Google y sin bloqueo de render.
   Solo los subconjuntos latin y latin-ext, que es lo que usa un sitio en espanol. */

@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fuentes/big-shoulders-display-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fuentes/big-shoulders-display-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fuentes/big-shoulders-display-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fuentes/big-shoulders-display-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fuentes/karla-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fuentes/karla-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fuentes/karla-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fuentes/karla-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fuentes/karla-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fuentes/karla-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fuentes/karla-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fuentes/karla-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================================
   Kintsugi Studio — hoja de estilo unica
   Idea rectora: el kintsugi repara con oro. Las costuras doradas son
   estructura, no adorno: unen secciones, marcan el heroe y separan salones.
   ========================================================================= */

:root {
  /* Paleta tomada del logotipo */
  --tinta:      #1b1020;
  --tinta-2:    #241629;
  --tinta-3:    #2f1c38;
  --ciruela:    #3c2050;
  --ciruela-cl: #7d51a3;
  --magenta:    #b8479b;
  --magenta-cl: #d76fb8;
  --oro:        #c9a063;
  --oro-cl:     #e7cfa1;
  --hueso:      #f2ede7;
  --lila:       #efe9f2;

  --texto:      var(--hueso);
  --texto-2:    #bfaec6;
  --sobre-lila: #2a1733;
  --sobre-lila-2: #614a6b;

  --linea:      color-mix(in srgb, var(--oro) 32%, transparent);
  --linea-suave: color-mix(in srgb, var(--hueso) 14%, transparent);

  --display: 'Big Shoulders Display', 'Arial Narrow', system-ui, sans-serif;
  --texto-f: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --env: 1180px;
  --canal: clamp(1.25rem, 5vw, 3rem);
  --aire: clamp(3.25rem, 6.5vw, 5.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--tinta);
  color: var(--texto);
  font: 400 1.0625rem/1.65 var(--texto-f);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(3.4rem, 11.5vw, 8.5rem); }
h2 { font-size: clamp(2.4rem, 6.5vw, 4.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }

p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.env { width: 100%; max-width: var(--env); margin-inline: auto; padding-inline: var(--canal); }
.lista-limpia { list-style: none; margin: 0; padding: 0; }
.apagado { color: var(--texto-2); }
.solo-lectores {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.salta {
  position: absolute; left: 0; top: -100%; z-index: 200;
  background: var(--oro); color: var(--tinta);
  padding: 0.75rem 1.25rem; font-weight: 700; text-decoration: none;
}
.salta:focus { top: 0; }

:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--oro-cl);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------------- costura */

.costura { line-height: 0; background: var(--tinta); }
.costura svg { width: 100%; height: 22px; }
.costura path {
  fill: none;
  stroke: var(--oro);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
}
.costura--lila { background: var(--lila); }

/* ---------------------------------------------------------------- botones */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font: 700 0.9375rem/1 var(--texto-f);
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn--oro { background: var(--oro); color: #20131f; border-color: var(--oro); }
.btn--oro:hover, .btn--oro:focus-visible { background: var(--oro-cl); border-color: var(--oro-cl); }
.btn--linea { color: var(--hueso); border-color: var(--linea); }
.btn--linea:hover, .btn--linea:focus-visible { border-color: var(--oro); color: var(--oro-cl); }
.btn--oscuro { background: var(--ciruela); color: var(--hueso); border-color: var(--ciruela); }
.btn--oscuro:hover, .btn--oscuro:focus-visible { background: var(--sobre-lila); border-color: var(--sobre-lila); }

.enlace {
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid var(--oro);
  padding-bottom: 2px;
  font-weight: 500;
  transition: color 0.18s, border-color 0.18s;
}
.enlace:hover, .enlace:focus-visible { color: var(--oro-cl); }

/* --------------------------------------------------------------- cabecera */

.cabecera {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--tinta) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linea-suave);
}
.cabecera__int {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%; max-width: var(--env); margin-inline: auto;
  padding: 0.5rem var(--canal);
  transition: padding-block 0.25s ease;
}

.marca { display: flex; align-items: center; text-decoration: none; flex: none; }
.marca img { width: clamp(148px, 15vw, 172px); height: auto; transition: width 0.25s ease; }

.cabecera[data-compacta] .cabecera__int { padding-block: 0.3rem; }
.cabecera[data-compacta] .marca img { width: clamp(106px, 11vw, 120px); }

.nav { display: flex; gap: clamp(0.9rem, 2vw, 1.8rem); margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 0.9375rem; font-weight: 500;
  color: var(--texto); padding: 0.4rem 0; position: relative;
}
.nav__cta { display: none; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--oro); transform: scaleX(0);
  transform-origin: left; transition: transform 0.2s;
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current]::after { transform: scaleX(1); }

.cabecera__cta { padding: 0.7rem 1.3rem; flex: none; }

.hamburguesa {
  display: none; flex: none;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--linea-suave); border-radius: 2px;
}
.hamburguesa span {
  display: block; height: 1.5px; background: var(--hueso);
  transition: transform 0.25s, opacity 0.2s;
}
.hamburguesa span + span { margin-top: 5px; }
.hamburguesa[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburguesa[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburguesa { display: block; }
  .cabecera__cta { display: none; }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--tinta-2);
    border-bottom: 1px solid var(--linea);
    padding: 0.5rem var(--canal) 1.5rem;
    display: none;
  }
  .nav[data-abierto] { display: flex; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--linea-suave); font-size: 1.0625rem; }
  .nav a::after { display: none; }
  .nav__cta { display: flex; margin-top: 1.25rem; border-bottom: 0; font-size: 0.9375rem; }
}

/* ------------------------------------------------------------------ heroe */

.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__aura {
  position: absolute; z-index: -2;
  width: min(120vw, 1100px); aspect-ratio: 1;
  right: -18%; top: -32%;
  background: radial-gradient(circle, var(--ciruela) 0%, color-mix(in srgb, var(--ciruela) 35%, transparent) 45%, transparent 70%);
  pointer-events: none;
}
.hero__lotus {
  position: absolute; z-index: -1;
  right: max(-10vw, -140px); top: 4%;
  width: clamp(280px, 38vw, 560px);
  opacity: 0.1;
  filter: saturate(1.3);
  pointer-events: none;
}

.hero__int { position: relative; display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); }
.hero__texto { padding-left: clamp(1.5rem, 4vw, 3rem); position: relative; }

/* la costura vertical: el tubo que sostiene el titulo */
.hero__barra {
  position: absolute; left: 0; top: -0.5rem; bottom: -0.5rem;
  width: 44px; height: auto; overflow: visible;
}
.hero__barra path {
  fill: none; stroke: var(--oro); stroke-width: 2.5; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hero__barra .rama { stroke-width: 1.4; opacity: 0.75; }

.hero h1 { color: var(--hueso); }
.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(100deg, var(--oro) 8%, var(--oro-cl) 45%, var(--oro) 82%);
  -webkit-background-clip: text; background-clip: text;
}
.hero__sub {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--texto-2);
  max-width: 46ch;
  margin: 1.5rem 0 0;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero__datos {
  display: grid; gap: 0 clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  border-top: 1px solid var(--linea);
  padding-top: 1.5rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}
.hero__datos div { padding-block: 0.35rem; }
.hero__datos dt {
  font-family: var(--display); font-weight: 700; font-size: 1.6rem;
  color: var(--oro-cl); line-height: 1.1;
}
.hero__datos dd { margin: 0.15rem 0 0; font-size: 0.9375rem; color: var(--texto-2); }

/* --------------------------------------------------------------- secciones */

/* --fondo lo usa el marcador de seccion para "romper" la linea dorada. */
.seccion { --fondo: var(--tinta); padding-block: var(--aire); }
.seccion--alterna { --fondo: var(--tinta-2); background: var(--tinta-2); }
.seccion--lila { --fondo: var(--lila); background: var(--lila); color: var(--sobre-lila); }
.seccion--lila h2, .seccion--lila h3 { color: var(--sobre-lila); }
.seccion--lila .apagado { color: var(--sobre-lila-2); }

.enc {
  position: relative;
  display: grid; gap: 1rem;
  padding-top: 2.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
/* Cada seccion abre con una costura dorada que la flor del estudio interrumpe. */
.enc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--linea);
}
.enc::after {
  content: ''; position: absolute; top: -11px; left: 0;
  width: 46px; height: 23px;
  background: var(--fondo) url('/assets/img/flor-64.png') left center / 23px 23px no-repeat;
}
.seccion--lila .enc::after { background-image: url('/assets/img/flor-lila-64.png'); }
.enc h2 { display: flex; align-items: baseline; gap: 0.6rem; }
.enc p { color: var(--texto-2); font-size: 1.0625rem; }
.seccion--lila .enc p { color: var(--sobre-lila-2); }
.seccion--lila .petalo { stroke: var(--ciruela); }

.petalo { width: 0.5em; height: 0.5em; fill: none; stroke: var(--oro); stroke-width: 1.6; flex: none; }

/* ------------------------------------------------------ paneles de clases */

.paneles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--oro);
}
.panel {
  position: relative; display: grid; align-content: end;
  min-height: clamp(420px, 52vw, 560px);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--tinta-2);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.panel__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.55) contrast(1.05);
  transform: scale(1.02);
  transition: filter 0.4s ease, transform 0.6s ease;
}
.panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--tinta) 6%, color-mix(in srgb, var(--tinta) 78%, transparent) 45%, color-mix(in srgb, var(--ciruela) 55%, transparent) 100%);
  transition: opacity 0.4s;
}
.panel:hover .panel__img, .panel:focus-visible .panel__img { filter: grayscale(0) contrast(1); transform: scale(1.06); }
.panel:hover::before, .panel:focus-visible::before { opacity: 0.88; }

.panel h3 { color: var(--hueso); }
.panel__lema { margin: 0.5rem 0 0; color: var(--oro-cl); font-size: 1rem; font-weight: 500; }
.panel__txt { margin: 0.9rem 0 0; font-size: 0.9375rem; color: var(--texto-2); max-width: 34ch; }
.panel__pie {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid var(--linea);
}
.panel__precio { font-family: var(--display); font-size: 1.85rem; font-weight: 700; color: var(--hueso); }
.panel__precio small { font-family: var(--texto-f); font-size: 0.8125rem; font-weight: 400; color: var(--texto-2); }
.panel__mas { font-size: 0.875rem; font-weight: 700; color: var(--oro-cl); border-bottom: 1.5px solid var(--oro); padding-bottom: 2px; }

@media (max-width: 860px) {
  .paneles { grid-template-columns: 1fr; }
  .panel { min-height: 380px; }
}

/* ------------------------------------------------------------- horarios */

.salones { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0 0 2rem; }
.salones li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; }
.punto { width: 0.85rem; height: 0.85rem; border-radius: 50%; flex: none; }
.punto--plum { background: var(--ciruela); }
.punto--magenta { background: var(--magenta); }
.punto--gold { background: var(--oro); }

.bloque + .bloque { margin-top: 3rem; }
.bloque__enc { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1rem; }
.bloque__enc h3 { font-size: 1.7rem; }
.bloque__enc span { font-size: 0.9375rem; color: var(--sobre-lila-2); }

.tabla-env { overflow-x: auto; border: 1px solid rgba(60, 32, 80, 0.16); }
.horario { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.8125rem; }
.horario th, .horario td { border: 1px solid rgba(60, 32, 80, 0.12); padding: 0; }
.horario thead th {
  background: #fff; padding: 0.7rem 0.5rem;
  font: 700 0.75rem/1 var(--texto-f); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sobre-lila);
}
.horario tbody th {
  background: #fff; padding: 0.6rem 0.9rem; white-space: nowrap;
  font-weight: 700; color: var(--sobre-lila); text-align: left;
}
.horario td { background: #fbf9fc; height: 46px; }
.celda { display: flex; height: 100%; min-height: 46px; }
.clase {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 0.4rem 0.35rem; text-align: center; line-height: 1.2;
  color: #fff; font-size: 0.75rem; font-weight: 500;
}
.clase--plum { background: var(--ciruela); }
.clase--magenta { background: var(--magenta); }

/* version movil: un dia por bloque */
.horario-movil { display: none; }
.dia { border-top: 1px solid rgba(60, 32, 80, 0.16); padding: 1rem 0; }
.dia:last-child { border-bottom: 1px solid rgba(60, 32, 80, 0.16); }
.dia h4 {
  margin: 0 0 0.6rem; font: 700 0.75rem/1 var(--texto-f);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sobre-lila-2);
}
.dia ul { display: grid; gap: 0.4rem; }
.dia li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; }
.dia time { font-weight: 700; white-space: nowrap; min-width: 8.5ch; }
.dia .etq {
  padding: 0.15rem 0.55rem; border-radius: 2px; color: #fff;
  font-size: 0.8125rem; font-weight: 500;
}
.dia .etq--plum { background: var(--ciruela); }
.dia .etq--magenta { background: var(--magenta); }
.dia--vacio p { color: var(--sobre-lila-2); font-size: 0.9375rem; }

@media (max-width: 780px) {
  /* En movil la tabla se reemplaza por la lista por dia, que ya junta manana y tarde */
  .bloque { display: none; }
  .horario-movil { display: block; }
}

.nota {
  margin-top: 2rem; padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--oro);
  background: rgba(201, 160, 99, 0.1);
  font-size: 0.9375rem;
}

/* ---------------------------------------------------------------- planes */

.planes { border-top: 1px solid var(--linea-suave); }
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) auto auto;
  align-items: center; gap: clamp(1rem, 3vw, 2rem);
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--linea-suave);
}
.plan__nom { display: grid; gap: 0.2rem; }
.plan__nom b { font-family: var(--display); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.plan__fam { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8125rem; color: var(--texto-2); }
.plan__det { font-size: 0.9375rem; color: var(--texto-2); margin: 0; max-width: 46ch; }
.plan__precio { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: var(--oro-cl); line-height: 1; white-space: nowrap; }
.plan__precio small { font-family: var(--texto-f); font-size: 0.75rem; font-weight: 400; color: var(--texto-2); display: block; letter-spacing: 0.06em; }

@media (max-width: 820px) {
  .plan { grid-template-columns: 1fr auto; row-gap: 0.9rem; align-items: start; }
  .plan__det { grid-column: 1 / -1; }
  .plan .btn { grid-column: 1 / -1; justify-self: start; }
}

/* --------------------------------------------------------------- wellhub */

.wellhub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--linea);
  background: var(--tinta-2);
}
.wellhub h3 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.wellhub > div > p { margin: 0.85rem 0 0; font-size: 0.9375rem; color: var(--texto-2); }
.wellhub .btn { margin-top: 1.4rem; }
.wellhub__planes { display: grid; margin: 0; }
.wellhub__plan {
  display: grid; gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--linea-suave);
}
.wellhub__plan:first-child { border-top: 0; padding-top: 0; }
.wellhub__plan:last-child { padding-bottom: 0; }
.wellhub__plan dt {
  font-family: var(--display); font-size: 1.4rem; font-weight: 700;
  color: var(--oro-cl); line-height: 1;
}
.wellhub__plan dd { margin: 0; font-size: 0.9375rem; color: var(--texto-2); }

.aparte__wellhub {
  margin: 1.4rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--oro);
  font-size: 0.875rem;
  color: var(--texto-2);
}

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

/* ---------------------------------------------------------------- equipo */

.coach {
  display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
.coach + .coach { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--linea-suave); }
.coach__foto { position: relative; }
.coach__foto img { width: 100%; }
.coach__foto::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--linea); transform: translate(10px, 10px); pointer-events: none;
}
.coach__rol { color: var(--oro-cl); font-size: 0.9375rem; font-weight: 700; margin: 0.5rem 0 1.1rem; }
.coach blockquote {
  margin: 1.5rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--oro);
  font-size: 1.125rem; font-style: italic; color: var(--hueso);
}
@media (max-width: 700px) { .coach { grid-template-columns: 1fr; } .coach__foto { max-width: 320px; } }

/* ------------------------------------------------------ tira de comunidad */

/* Mismas costuras doradas que separan los paneles de clase. */
.tira {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--oro);
}
.tira figure { margin: 0; overflow: hidden; }
.tira img {
  width: 100%; height: clamp(260px, 27vw, 360px);
  object-fit: cover;
  filter: saturate(0.92);
}

@media (max-width: 760px) {
  /* En pantalla chica se vuelve un carrusel: mejor una foto grande que tres diminutas. */
  .tira {
    grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-inline: var(--canal);
    background: none;
  }
  .tira figure { scroll-snap-align: center; border: 1px solid var(--linea); }
  .tira img { height: 300px; }
}

/* ----------------------------------------------------------- testimonios */

.testimonios { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 0; }
.testimonio { padding: 0 clamp(1.25rem, 2.5vw, 2rem); border-left: 1px solid var(--linea-suave); }
.testimonio:first-child { padding-left: 0; border-left: 0; }
.testimonio p { font-size: 1.0625rem; color: var(--hueso); }
.testimonio footer { margin-top: 1rem; font-size: 0.875rem; }
.testimonio footer b { display: block; font-weight: 700; }
.testimonio footer span { color: var(--texto-2); }
.comilla { font-family: var(--display); font-size: 3rem; line-height: 0.6; color: var(--oro); display: block; margin-bottom: 0.5rem; }
@media (max-width: 780px) {
  .testimonio { padding: 1.75rem 0; border-left: 0; border-top: 1px solid var(--linea-suave); }
  .testimonio:first-child { padding-top: 0; border-top: 0; }
}

/* --------------------------------------------------------------- ubicacion */

.donde { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.donde__mapa { border: 1px solid var(--linea); aspect-ratio: 4 / 3; }
.donde__mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }
.datos { display: grid; gap: 1.4rem; margin: 2rem 0 0; }
.datos div { display: grid; gap: 0.25rem; }
.datos dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oro); font-weight: 700; }
.datos dd { margin: 0; }
.datos a { text-decoration: none; border-bottom: 1px solid var(--linea); }
.datos a:hover { color: var(--oro-cl); }
@media (max-width: 820px) { .donde { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--linea-suave); max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--linea-suave); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer; list-style: none;
  font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 700;
  line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; margin-left: auto;
  width: 0.9rem; height: 0.9rem; margin-top: 0.35em;
  border-right: 2px solid var(--oro); border-bottom: 2px solid var(--oro);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--oro-cl); }
.faq details p { margin: 0 0 1.4rem; color: var(--texto-2); max-width: 62ch; }

/* --------------------------------------------------------- llamada final */

.cierre {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ciruela); padding-block: var(--aire);
}
.cierre__flor {
  position: absolute; z-index: -1; pointer-events: none;
  right: max(-3vw, -44px); bottom: -14%;
  width: clamp(190px, 27vw, 380px); height: auto;
  opacity: 0.16;
}
.cierre__int { display: grid; gap: 1.5rem; justify-items: start; align-content: center; }
.cierre h2 { max-width: 16ch; }
.cierre p { font-size: 1.125rem; color: color-mix(in srgb, var(--hueso) 82%, transparent); }
.cierre__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* -------------------------------------------------------- paginas de clase */

.encabezado-clase { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.miga { font-size: 0.875rem; color: var(--texto-2); margin-bottom: 1.25rem; }
.miga a { text-decoration: none; border-bottom: 1px solid var(--linea); }
.encabezado-clase h1 { font-size: clamp(2.75rem, 8vw, 6rem); }
.encabezado-clase .lema { color: var(--oro-cl); font-size: clamp(1.125rem, 2.4vw, 1.5rem); margin-top: 1rem; }

.ficha {
  display: flex; flex-wrap: wrap; gap: 0 clamp(1.5rem, 4vw, 3rem);
  border-block: 1px solid var(--linea); padding-block: 1.25rem; margin: 2.5rem 0 0;
}
.ficha div { padding-block: 0.35rem; }
.ficha dt { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-2); }
.ficha dd { margin: 0.2rem 0 0; font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--oro-cl); }

.cuerpo-clase { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cuerpo-clase h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-top: 2.5rem; }
.cuerpo-clase h2:first-child { margin-top: 0; }
.lista-check { display: grid; gap: 0.65rem; margin: 1.25rem 0 0; }
.lista-check li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.75rem; align-items: start; }
.lista-check svg { width: 1.1rem; height: 1.1rem; margin-top: 0.35rem; }
.programas { display: grid; gap: 0.9rem; margin: 1.5rem 0 0; }
.programas li { border-left: 2px solid var(--oro); padding-left: 1rem; }
.programas b { font-family: var(--display); font-size: 1.25rem; font-weight: 700; display: block; }
.programas span { font-size: 0.9375rem; color: var(--texto-2); }
.aparte { position: sticky; top: 5.5rem; border: 1px solid var(--linea); padding: clamp(1.5rem, 3vw, 2rem); background: var(--tinta-2); }
.aparte h2 { font-size: 1.6rem; margin: 0 0 0.75rem; }
.aparte .btn { width: 100%; margin-top: 1.25rem; }
@media (max-width: 860px) { .cuerpo-clase { grid-template-columns: 1fr; } .aparte { position: static; } }

/* ------------------------------------------------------------------ blog */

.post-lista { display: grid; gap: 2rem; }
.post-tarjeta { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; text-decoration: none; }
.post-tarjeta img { width: 100%; }
.post-tarjeta h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.post-tarjeta time { font-size: 0.875rem; color: var(--texto-2); }
.post-tarjeta p { color: var(--texto-2); margin-top: 0.75rem; }
.post-tarjeta:hover h2 { color: var(--oro-cl); }
@media (max-width: 700px) { .post-tarjeta { grid-template-columns: 1fr; } }

.articulo { max-width: 68ch; margin-inline: auto; }
.articulo h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.articulo p { font-size: 1.125rem; }
.articulo__meta { display: flex; gap: 1.5rem; font-size: 0.875rem; color: var(--texto-2); margin-top: 1.25rem; }
.articulo__portada { margin: 2.5rem 0; }
.articulo h3 { font-size: 1.3rem; margin: 2rem 0 0.5rem; color: var(--oro-cl); }
.articulo strong { color: var(--hueso); font-weight: 700; }
.lista-legal { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.7rem; }
.lista-legal li {
  position: relative; padding-left: 1.4rem;
  font-size: 1.0625rem; color: var(--texto-2); max-width: 62ch;
}
.lista-legal li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 0.5rem; height: 1.5px; background: var(--oro);
}
.lista-legal b { color: var(--hueso); }

/* ------------------------------------------------------------------- 404 */

.p404 { padding-block: clamp(5rem, 14vw, 10rem); text-align: left; }
.p404 h1 { font-size: clamp(4rem, 16vw, 11rem); color: var(--oro); }

/* -------------------------------------------------------------------- pie */

.pie { background: var(--tinta-2); padding-top: clamp(3rem, 6vw, 4.5rem); }
.pie__int {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.pie h2 { font-size: 1.1rem; font-family: var(--texto-f); font-weight: 700; letter-spacing: 0.02em; margin-bottom: 0.9rem; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--oro-cl); }
.pie li, .pie address { font-size: 0.9375rem; font-style: normal; line-height: 1.8; }
.pie__marca img { width: clamp(170px, 20vw, 210px); height: auto; }
.pie__lema { margin-top: 1rem; font-size: 0.9375rem; color: var(--texto-2); max-width: 30ch; }
.pie__base {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between;
  border-top: 1px solid var(--linea-suave); padding-block: 1.5rem;
  font-size: 0.8125rem;
}
.pie__base p { margin: 0; }
@media (max-width: 820px) { .pie__int { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pie__int { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- boton flotante */

.wa-flotante {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #0b2b16;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}
.wa-flotante svg { width: 30px; height: 30px; fill: currentColor; }
.wa-flotante:hover { transform: scale(1.06); }

/* --------------------------------------------------------------- animacion */

@media (prefers-reduced-motion: no-preference) {
  .hero__barra path {
    stroke-dasharray: var(--largo, 900);
    stroke-dashoffset: var(--largo, 900);
    animation: coser 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
  }
  .hero__barra .rama { animation-delay: 0.75s; animation-duration: 0.55s; }
  @keyframes coser { to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Ajustes de contraste sobre fondo oscuro -------------------------------- */
.plan__fam .punto--plum,
.pie .punto--plum { background: var(--ciruela-cl); }
/* Los paquetes combinados mezclan los dos salones: medio punto de cada color. */
.punto--combo {
  background: linear-gradient(90deg, var(--ciruela-cl) 0 50%, var(--magenta) 50% 100%);
}
.plan__fam .punto { width: 0.6rem; height: 0.6rem; }

/* La ultima seccion antes de un bloque de color no necesita tanto aire */
.seccion + .cierre { border-top: 0; }
.testimonios { margin-top: 0; }
