/* Punto Aparte · hoja de estilos
   Colores y tipografías del manual de marca (Plasti Studio, 2026). */

:root {
  --azul: #495EA7;
  --crema: #FBFAE6;
  --naranja: #F08450;
  --amarillo: #EBE56A;
  --lila: #EDDCED;
  --tinta: #1F2240;          /* texto: azul profundo derivado del azul de marca */
  --crema-oscuro: #F2F0D2;   /* variación de la crema para alternar secciones */

  --f-display: 'Jaro', 'Arial Black', Impact, sans-serif;
  --f-texto: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --ancho: 1240px;
  --margen: clamp(1.25rem, 4vw, 3rem);
  --sec: clamp(4rem, 9vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
strong, b { font-weight: 800; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oculto { display: none; }
.saltar { position: absolute; left: 1rem; top: -4rem; background: var(--tinta); color: var(--crema); padding: .6rem 1rem; z-index: 100; }
.saltar:focus { top: 1rem; }

.contenedor { width: min(100% - 2 * var(--margen), var(--ancho)); margin-inline: auto; }

/* ---------- tipografía ---------- */
.titulo-xxl, .titulo-xl, .titulo-lg, .titulo-md, .cierre__titulo, .fila__titulo, .otro__titulo, .vacio__titulo {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: .9;
}
.titulo-xxl { font-size: clamp(3.75rem, 13vw, 11rem); }
.titulo-xl  { font-size: clamp(2.75rem, 7.5vw, 6.25rem); margin-bottom: .35em; }
.titulo-lg  { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: .4em; }
.titulo-md  { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: .4em; }
.texto-grande { font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.4; font-weight: 300; max-width: 34em; }
.prosa { max-width: 38em; }
.prosa h2 { font-family: var(--f-texto); font-weight: 900; font-size: 1.35rem; margin: 2em 0 .5em; }
.prosa ul li { padding-left: 1.4em; position: relative; margin-bottom: .45em; }
.prosa ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: .55em; height: .55em; border-radius: 50%; background: var(--naranja); }
.nota { font-size: 1rem; font-weight: 500; }
.enlace { font-weight: 800; text-decoration: none; border-bottom: 3px solid currentColor; padding-bottom: 1px; }
.enlace:hover { border-bottom-color: var(--naranja); }

/* ---------- botones ---------- */
.acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.boton {
  display: inline-flex; align-items: center; gap: .55em;
  font: 800 1.0625rem/1 var(--f-texto);
  text-decoration: none;
  padding: 1em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--azul);
  background: var(--azul); color: var(--crema);
  transition: background-color .15s, color .15s, border-color .15s;
}
.boton:hover { background: var(--tinta); border-color: var(--tinta); }
.boton--chico { padding: .7em 1.1em; font-size: 1rem; }
.boton--tinta { background: var(--tinta); border-color: var(--tinta); }
.boton--tinta:hover { background: var(--azul); border-color: var(--azul); }
.boton--crema { background: var(--crema); border-color: var(--crema); color: var(--tinta); }
.boton--crema:hover { background: var(--amarillo); border-color: var(--amarillo); }
.boton--linea { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.boton--linea:hover { background: var(--tinta); color: var(--crema); }
.boton--linea-crema { background: transparent; color: var(--crema); border-color: var(--crema); }
.boton--linea-crema:hover { background: var(--crema); color: var(--tinta); }

/* ---------- cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: var(--crema); border-bottom: 2px solid var(--azul); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); margin-inline: auto; }
.cabecera__logo { color: var(--azul); display: block; width: clamp(140px, 16vw, 190px); }
.cabecera__logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { display: flex; gap: 1.25rem; }
.nav ul a { font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--tinta); padding: .3em 0; border-bottom: 3px solid transparent; }
.nav ul a:hover { border-bottom-color: var(--amarillo); }
.nav ul a[aria-current="page"] { border-bottom-color: var(--naranja); }
.cabecera__menu { display: none; }

@media (max-width: 1020px) {
  .cabecera__menu {
    display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: var(--azul); color: var(--crema); cursor: pointer;
  }
  .cabecera__menu-raya, .cabecera__menu-raya::before, .cabecera__menu-raya::after {
    display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
  }
  .cabecera__menu-raya::before, .cabecera__menu-raya::after { content: ''; position: absolute; left: 0; }
  .cabecera__menu-raya::before { top: -6px; }
  .cabecera__menu-raya::after { top: 6px; }
  [aria-expanded="true"] .cabecera__menu-raya { background: transparent; }
  [aria-expanded="true"] .cabecera__menu-raya::before { transform: translateY(6px) rotate(45deg); }
  [aria-expanded="true"] .cabecera__menu-raya::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 66px 0 auto 0; background: var(--azul); color: var(--crema);
    flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: 2rem var(--margen) 2.5rem;
    display: none; max-height: calc(100dvh - 66px); overflow-y: auto;
  }
  .nav.abierta { display: flex; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav ul a { color: var(--crema); font-family: var(--f-display); font-size: 2.4rem; font-weight: 400; line-height: 1.15; }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--amarillo); }
  .nav .boton { background: var(--crema); color: var(--tinta); border-color: var(--crema); }
}

/* ---------- el isotipo como contenedor: foto redonda + llave de cuerda ---------- */
.redondo {
  --c: var(--azul);
  position: relative; margin: 0; width: 100%;
  aspect-ratio: 1.42 / 1;
}
.redondo--naranja { --c: var(--naranja); }
.redondo--amarillo { --c: var(--amarillo); }
.redondo--lila { --c: var(--lila); }
.redondo--crema { --c: var(--crema); }
.redondo__foto {
  position: absolute; right: 0; top: 0; height: 100%; aspect-ratio: 1;
  overflow: hidden; background: var(--c); z-index: 1;
  /* silueta facetada del isotipo de Punto Aparte */
  clip-path: polygon(0.3% 56.8%, 1.7% 66.0%, 9.6% 79.7%, 16.9% 86.6%, 18.2% 87.8%, 19.7% 89.0%, 21.2% 90.1%, 22.7% 91.2%, 24.3% 92.1%, 25.9% 93.0%, 29.6% 95.0%, 31.3% 95.9%, 33.1% 96.7%, 34.8% 97.4%, 36.6% 98.0%, 38.5% 98.5%, 40.3% 98.9%, 40.9% 99.1%, 44.0% 99.6%, 47.0% 99.9%, 50.1% 100.0%, 53.2% 99.9%, 56.2% 99.5%, 59.3% 98.9%, 61.2% 98.4%, 62.6% 98.1%, 64.0% 97.6%, 65.4% 97.2%, 66.7% 96.7%, 68.1% 96.1%, 69.4% 95.5%, 79.5% 90.7%, 90.1% 79.3%, 94.0% 72.8%, 95.3% 70.5%, 96.4% 68.1%, 97.4% 65.6%, 98.2% 63.1%, 98.9% 60.5%, 99.4% 57.9%, 99.8% 55.4%, 100.0% 52.8%, 100.0% 50.3%, 99.9% 47.8%, 99.6% 45.2%, 99.2% 42.7%, 98.6% 39.7%, 98.2% 38.1%, 97.8% 36.5%, 97.3% 34.9%, 96.8% 33.4%, 96.2% 31.9%, 95.6% 30.4%, 91.1% 20.5%, 79.9% 9.3%, 65.6% 2.6%, 55.9% 0.7%, 54.0% 0.4%, 52.0% 0.2%, 50.1% 0.1%, 48.2% 0.2%, 46.3% 0.4%, 44.4% 0.6%, 38.6% 1.7%, 37.3% 1.9%, 36.0% 2.3%, 34.6% 2.7%, 33.3% 3.1%, 32.1% 3.6%, 30.8% 4.2%, 26.1% 6.4%, 24.2% 7.4%, 22.4% 8.5%, 20.6% 9.7%, 19.0% 11.1%, 17.4% 12.5%, 16.0% 14.1%, 12.4% 18.1%, 11.6% 19.1%, 10.8% 20.1%, 10.0% 21.2%, 9.3% 22.3%, 8.7% 23.4%, 8.0% 24.5%, 2.8% 34.9%, 0.0% 46.8%);
}
.redondo__foto img { width: 100%; height: 100%; object-fit: cover; }
.redondo__llave {
  position: absolute; left: 0; top: 50%; height: 62%; color: var(--c);
  transform: translateY(-50%); transform-origin: 100% 50%;
}
.redondo__llave svg { height: 100%; width: auto; display: block; }

/* El único momento animado: al cargar la portada, la llave "da cuerda" */
@media (prefers-reduced-motion: no-preference) {
  .portada__redondo .redondo__llave { animation: cuerda 1.6s cubic-bezier(.45, 0, .2, 1) .35s both; }
  .portada__redondo .redondo__foto { animation: impulso .5s cubic-bezier(.3, 1.6, .5, 1) 1.85s both; }
  .fila__enlace:hover .redondo__llave, .fila__enlace:focus-visible .redondo__llave { animation: cuerda-corta .8s cubic-bezier(.45, 0, .2, 1); }
}
@keyframes cuerda { from { transform: translateY(-50%) perspective(400px) rotateX(0); } to { transform: translateY(-50%) perspective(400px) rotateX(720deg); } }
@keyframes cuerda-corta { from { transform: translateY(-50%) perspective(400px) rotateX(0); } to { transform: translateY(-50%) perspective(400px) rotateX(360deg); } }
@keyframes impulso { from { transform: scale(.94); } to { transform: scale(1); } }

/* ---------- portada ---------- */
.portada { background: var(--azul); color: var(--crema); padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.portada__grilla { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.portada__titulo img { width: 100%; max-width: 760px; }
.portada__lugar { font-weight: 800; font-size: 1.05rem; margin: 0 0 1.5rem; color: var(--amarillo); }
.portada__bajada { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; max-width: 30em; margin-top: 2rem; }
.portada__redondo { max-width: 620px; justify-self: end; }
@media (max-width: 760px) {
  .portada__grilla { grid-template-columns: 1fr; }
  .portada__redondo { order: -1; width: 92%; justify-self: center; }
}

/* franja de personajes tomados de la mano */
.franja {
  height: clamp(88px, 12vw, 150px);
  background: var(--crema) url('/marca/patron-personajes.svg?v=mwskslb7') repeat-x;
  background-size: auto 294%;
  background-position: 0 22.7%;
}
.franja--crema-oscuro { background-color: var(--crema-oscuro); }

/* ---------- secciones ---------- */
.seccion { padding: var(--sec) 0; }
.seccion--compacta { padding: calc(var(--sec) * .6) 0; }
.seccion--crema-oscuro { background: var(--crema-oscuro); }
.seccion--naranja { background: var(--naranja); }
.encabezado { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.encabezado .titulo-xl { margin: 0; }
.encabezado p { margin: 0; font-size: 1.2rem; max-width: 30em; }
@media (max-width: 760px) { .encabezado { grid-template-columns: 1fr; } }
.mas { margin-top: 2.5rem; }

/* idea de marca */
.idea__grilla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.idea__bloque .titulo-xl { color: var(--azul); }
.idea__bloque--2 { padding-top: clamp(0rem, 10vw, 9rem); }
.idea__bloque--2 .titulo-xl { color: var(--tinta); }
@media (max-width: 760px) { .idea__grilla { grid-template-columns: 1fr; } }

.formas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); }
.formas--4 { grid-template-columns: repeat(4, 1fr); }
.formas li { border-top: 4px solid var(--azul); padding-top: 1.1rem; }
.seccion--naranja .formas li { border-top-color: var(--tinta); }
.formas h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1; margin-bottom: .6rem; }
.formas p { margin: 0; }
@media (max-width: 1020px) { .formas--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .formas, .formas--4 { grid-template-columns: 1fr; } }

/* ---------- programas como franjas de color ---------- */
.programas-inicio { padding-bottom: 0; }
.filas { margin-inline: calc(-1 * var(--margen)); }
@media (min-width: 1340px) { .filas { margin-inline: 0; } }
.fila { --fondo: var(--azul); --texto: var(--crema); background: var(--fondo); color: var(--texto); }
.fila--lila { --fondo: var(--lila); --texto: var(--tinta); }
.fila--amarillo { --fondo: var(--amarillo); --texto: var(--tinta); }
.fila--naranja { --fondo: var(--naranja); --texto: var(--tinta); }
.fila__enlace {
  display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1.25fr) minmax(0, 1fr) auto;
  gap: 1.5rem clamp(1.5rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem) var(--margen);
  text-decoration: none; color: inherit;
}
.fila__titulo { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.fila__subtitulo { font-weight: 800; font-size: 1.2rem; margin: .4rem 0 .5rem; }
.fila__disciplina { font-weight: 500; font-size: 1rem; margin-bottom: .5rem; }
.fila__resumen { margin: 0; max-width: 28em; }
.fila__datos { margin: 0; display: grid; gap: .7rem; font-size: 1rem; line-height: 1.4; }
.fila__datos dt { font-weight: 800; }
.fila__datos dd { margin: 0; }
.fila__ir {
  font-weight: 800; white-space: nowrap; padding: .8em 1.2em; border-radius: 999px;
  border: 2px solid currentColor; font-size: 1rem;
}
.fila__enlace:hover .fila__ir, .fila__enlace:focus-visible .fila__ir { background: var(--texto); color: var(--fondo); }
.fila .redondo { --c: var(--crema); }
.fila--azul .redondo { --c: var(--amarillo); }
.sello { display: inline-block; background: var(--tinta); color: var(--crema); font-weight: 800; font-size: .85rem; padding: .25em .7em; border-radius: 999px; vertical-align: middle; }
.sello--grande { font-size: 1rem; margin-top: .5rem; }
@media (max-width: 1020px) {
  .fila__enlace { grid-template-columns: 170px 1fr; }
  .fila__datos { grid-column: 2; }
  .fila__ir { grid-column: 2; justify-self: start; }
}
@media (max-width: 600px) {
  .fila__enlace { grid-template-columns: 1fr; }
  .fila__foto { width: 62%; }
  .fila__datos, .fila__ir { grid-column: 1; }
}

/* ---------- talleres ---------- */
.talleres-inicio { background: var(--amarillo); }
.talleres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.taller { background: var(--crema); display: flex; flex-direction: column; }
.taller__foto { aspect-ratio: 4 / 3; overflow: hidden; }
.taller__foto img { width: 100%; height: 100%; object-fit: cover; }
.taller__texto { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.taller__fecha { font-weight: 800; margin-bottom: .4rem; color: var(--azul); }
.taller__dia { font-family: var(--f-display); font-size: 3rem; line-height: .8; vertical-align: -.1em; margin-right: .1em; }
.taller__disciplina { font-weight: 500; font-size: .95rem; margin-bottom: .2rem; }
.taller__titulo { font-family: var(--f-display); font-size: 2rem; line-height: .95; margin-bottom: .6rem; }
.taller__datos { margin: 0 0 1rem; display: grid; gap: .45rem; font-size: 1rem; }
.taller__datos dt { font-weight: 800; display: inline; }
.taller__datos dt::after { content: ': '; }
.taller__datos dd { display: inline; margin: 0; }
.taller .boton { margin-top: auto; align-self: flex-start; }
.talleres--pasados .taller { background: var(--crema-oscuro); }
.talleres--pasados .taller__foto img { filter: grayscale(.25); }
.taller.pasado { display: none; }

.vacio { background: var(--crema); padding: clamp(1.75rem, 4vw, 3rem); max-width: 52rem; }
.seccion .vacio { background: var(--lila); }
.vacio__titulo { font-size: clamp(1.9rem, 3.4vw, 2.75rem); color: var(--azul); line-height: 1; margin-bottom: .6em; }
.vacio .acciones { margin-top: 1.25rem; }

/* ---------- equipo ---------- */
.equipo-inicio .titulo-xl { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.docentes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); }
.docente .redondo { max-width: 460px; margin-bottom: 1.5rem; }
.docente h3 { font-family: var(--f-display); font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1; }
.docente__rol { font-weight: 800; margin: .3rem 0 .4rem; }
@media (max-width: 760px) { .docentes { grid-template-columns: 1fr; } }

.perfiles { display: grid; gap: clamp(3rem, 6vw, 5rem); margin-bottom: 4rem; }
.perfil { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.perfil:nth-child(even) .redondo { order: 2; }
@media (max-width: 760px) { .perfil { grid-template-columns: 1fr; } .perfil:nth-child(even) .redondo { order: 0; } }
.invitados { display: grid; gap: .6rem; max-width: 46em; }
.invitados li { padding-left: 1.4em; position: relative; }
.invitados li::before { content: ''; position: absolute; left: 0; top: .5em; width: .6em; height: .6em; border-radius: 50%; background: var(--azul); }

.docente-linea { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 600px) { .docente-linea { grid-template-columns: 1fr; } .docente-linea .redondo { width: 220px; } }

/* ---------- galería ---------- */
.galeria-inicio { background: var(--azul); color: var(--crema); }
.mosaico { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 230px); gap: clamp(.5rem, 1vw, .9rem); }
.mosaico li { overflow: hidden; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; }
.mosaico li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaico li:nth-child(4), .mosaico li:nth-child(5) { grid-row: span 2; }
.mosaico--4 li:nth-child(n) { grid-column: auto; grid-row: span 2; }
@media (max-width: 760px) {
  .mosaico { grid-template-columns: repeat(2, 1fr); }
  .mosaico li:nth-child(4), .mosaico li:nth-child(5) { grid-row: auto; }
  .mosaico li:nth-child(7) { grid-column: span 2; }
}

.filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filtro { font: 500 1rem var(--f-texto); padding: .55em 1.1em; border-radius: 999px; border: 2px solid var(--tinta); background: transparent; color: var(--tinta); cursor: pointer; }
.filtro[aria-pressed="true"] { background: var(--tinta); color: var(--crema); }
.galeria { columns: 3 260px; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.galeria li { break-inside: avoid; margin-bottom: clamp(.6rem, 1.2vw, 1rem); }
.galeria li[hidden] { display: none; }
.galeria__boton { display: block; width: 100%; padding: 0; border: 0; background: var(--lila); cursor: zoom-in; }
.galeria__boton img { width: 100%; }
.visor { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 94vh; }
.visor::backdrop { background: rgba(31, 34, 64, .92); }
.visor img { max-height: 84vh; width: auto; margin-inline: auto; }
.visor__desc { color: var(--crema); text-align: center; margin: .8rem 0 0; }
.visor__cerrar { position: fixed; top: 1rem; right: 1rem; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--crema); color: var(--tinta); font-size: 2rem; line-height: 1; cursor: pointer; }

/* ---------- cierre ---------- */
.cierre { background: var(--amarillo); padding: var(--sec) 0; position: relative; overflow: hidden; }
.cierre__grilla { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: start; }
.cierre__titulo { color: var(--azul); font-size: clamp(3.5rem, 10vw, 9rem); }
.cierre__titulo--md { font-size: clamp(3rem, 7vw, 6rem); }
.cierre .acciones { margin-top: 1rem; }
.cierre--lila { background: var(--lila); }
.cierre--naranja { background: var(--naranja); }
.cierre--naranja .cierre__titulo { color: var(--tinta); }
.cierre--azul { background: var(--azul); color: var(--crema); }
.cierre--azul .cierre__titulo { color: var(--crema); }
.cierre--azul .boton--tinta { background: var(--crema); color: var(--tinta); border-color: var(--crema); }
@media (max-width: 760px) { .cierre__grilla { grid-template-columns: 1fr; } }

/* ---------- cabezas de páginas internas ---------- */
.cabeza { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.cabeza .titulo-xxl { margin-bottom: .25em; }
.cabeza--alta { min-height: 62vh; display: flex; align-items: center; }
.cabeza--azul { background: var(--azul); color: var(--crema); }
.cabeza--lila { background: var(--lila); }
.cabeza--amarillo { background: var(--amarillo); }
.cabeza--naranja { background: var(--naranja); }
.cabeza--azul .boton--tinta { background: var(--crema); color: var(--tinta); border-color: var(--crema); }
.cabeza--azul .boton--tinta:hover { background: var(--amarillo); border-color: var(--amarillo); }
.cabeza__grilla { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cabeza__sub { font-family: var(--f-display); font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1; margin-bottom: .8em; }
.cabeza--programa .titulo-xxl { font-size: clamp(3.5rem, 10vw, 8.5rem); }
.migas { font-weight: 500; margin-bottom: 1rem; }
.migas a { text-decoration: none; border-bottom: 2px solid currentColor; }
@media (max-width: 760px) { .cabeza__grilla { grid-template-columns: 1fr; } .cabeza__grilla .redondo { width: 88%; } }

/* ---------- ficha de programa ---------- */
.ficha { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.ficha__datos { margin: 0; display: grid; gap: 0; position: sticky; top: 100px; }
.ficha__datos div { border-top: 2px solid var(--tinta); padding: .9rem 0 1rem; display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; }
.ficha__datos div:last-child { border-bottom: 2px solid var(--tinta); }
.ficha__datos dt { font-weight: 800; }
.ficha__datos dd { margin: 0; line-height: 1.45; }
.ficha__texto > p:first-child { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; }
@media (max-width: 860px) { .ficha { grid-template-columns: 1fr; } .ficha__datos { position: static; } }
@media (max-width: 420px) { .ficha__datos div { grid-template-columns: 1fr; gap: .2rem; } }

.recorrido { counter-reset: paso; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2rem; border-left: 2px solid var(--tinta); }
.recorrido li { counter-increment: paso; padding: 1.4rem 1.5rem 1.6rem; border-right: 2px solid var(--tinta); border-top: 2px solid var(--tinta); border-bottom: 2px solid var(--tinta); margin-bottom: -2px; }
.recorrido li::before { content: counter(paso); font-family: var(--f-display); font-size: 3.25rem; line-height: 1; display: block; color: var(--azul); margin-bottom: .6rem; }
.recorrido h3 { font-weight: 900; font-size: 1.2rem; margin-bottom: .3rem; }
.recorrido p { margin: 0; font-size: 1.05rem; }
.recorrido--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .recorrido, .recorrido--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .recorrido, .recorrido--4 { grid-template-columns: 1fr; } }

.otros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.otro { display: block; padding: 1.5rem 1.6rem 1.7rem; text-decoration: none; background: var(--lila); min-height: 100%; }
.otro--azul { background: var(--azul); color: var(--crema); }
.otro--amarillo { background: var(--amarillo); }
.otro--naranja { background: var(--naranja); }
.otro__titulo { display: block; font-size: 2.25rem; margin-bottom: .4rem; }
.otro:hover .otro__titulo { text-decoration: underline; text-decoration-thickness: 3px; }
@media (max-width: 760px) { .otros { grid-template-columns: 1fr; } }

/* ---------- semana ---------- */
.semana { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 3px solid var(--azul); }
.semana__dia { padding: 1.2rem 1rem 1.4rem 0; border-right: 1px solid rgba(31, 34, 64, .2); padding-left: 1rem; }
.semana__dia:first-child { padding-left: 0; }
.semana__dia:last-child { border-right: 0; }
.semana h3 { font-family: var(--f-display); font-size: 1.75rem; color: var(--azul); margin-bottom: .7rem; }
.semana ul li { margin-bottom: .8rem; line-height: 1.3; font-size: 1rem; }
.semana__hora { display: block; font-weight: 800; }
.semana a { text-decoration: none; border-bottom: 2px solid var(--naranja); }
.semana__extra { font-weight: 500; }
@media (max-width: 1020px) { .semana { grid-template-columns: repeat(3, 1fr); } .semana__dia { border-bottom: 1px solid rgba(31, 34, 64, .2); } .semana__dia:nth-child(3n+1) { padding-left: 0; } .semana__dia:nth-child(3n) { border-right: 0; } }
@media (max-width: 600px) { .semana { grid-template-columns: 1fr; } .semana__dia { border-right: 0; padding-left: 0; } }

/* ---------- nosotros ---------- */
.dos-columnas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 860px) { .dos-columnas { grid-template-columns: 1fr; } }

/* ---------- contacto ---------- */
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contacto__datos .titulo-lg:not(:first-child) { margin-top: 2.5rem; }
.lista-contacto { display: grid; gap: .8rem; font-size: 1.15rem; }
.lista-contacto a { display: inline-flex; gap: .6rem; align-items: center; font-weight: 500; }
.mapa { margin-top: 2.5rem; aspect-ratio: 4 / 3; background: var(--lila); }
.mapa iframe { width: 100%; height: 100%; border: 0; }
.formulario { background: var(--lila); padding: clamp(1.75rem, 4vw, 3rem); }
.formulario label { display: block; font-weight: 800; margin-bottom: .35rem; }
.formulario input, .formulario select, .formulario textarea {
  width: 100%; font: 400 1.05rem var(--f-texto); color: var(--tinta); padding: .85rem 1rem;
  border: 2px solid var(--tinta); border-radius: 0; background: var(--crema);
}
.formulario textarea { resize: vertical; }
@media (max-width: 860px) { .contacto { grid-template-columns: 1fr; } }

/* ---------- pie ---------- */
.pie { background: var(--azul); color: var(--crema); padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.5rem; }
.pie__grilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2.5rem; }
.pie__marca svg { width: 170px; height: auto; color: var(--crema); }
.pie__tagline { width: 260px; margin-top: 2rem; }
.pie__titulo { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: .8rem; color: var(--amarillo); }
.pie p, .pie li { font-size: 1rem; margin-bottom: .45rem; }
.pie__legal { border-top: 1px solid rgba(251, 250, 230, .35); margin-top: 3rem; padding-top: 1.25rem; }
.pie__legal p { font-size: .9rem; margin: 0; }
@media (max-width: 900px) { .pie__grilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pie__grilla { grid-template-columns: 1fr; } }

.wa-flotante {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--naranja); color: var(--tinta);
  box-shadow: 0 0 0 3px var(--crema);
}
.wa-flotante svg { width: 28px; height: 28px; }
@media (min-width: 1021px) { .wa-flotante { display: none; } }

@media print { .cabecera, .wa-flotante, .franja { display: none; } }

/* foto real pendiente: muestra el patrón de marca hasta recibir la imagen */
.taller__foto--pendiente { background: var(--lila) url('/marca/patron-rondas.webp') center / cover no-repeat; }

/* próximos talleres */
.talleres--proximos { margin-bottom: clamp(2rem, 4vw, 3rem); }
.taller__sub { font-weight: 800; color: var(--azul); margin: -.2rem 0 .6rem; }
.taller__acciones { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; }
.taller__acciones .boton { margin-top: 0; }
/* mockup del marco de madera */
.taller__foto--marco { background: var(--crema-oscuro); display: grid; place-items: center; padding: clamp(.9rem, 2.5vw, 1.4rem); }
.marco { display: block; height: 100%; aspect-ratio: 3 / 4; padding: 7%; background: linear-gradient(135deg, #c79a68 0%, #9a6b3f 35%, #c89f73 55%, #87592f 100%); box-shadow: 0 10px 24px rgba(40, 30, 20, .28), inset 0 0 0 2px rgba(255, 255, 255, .18); transform: rotate(-2deg); }
.marco__papel { display: block; height: 100%; background: #fff; padding: 9%; box-shadow: inset 0 0 6px rgba(0, 0, 0, .25); }
.marco__papel img { width: 100%; height: 100%; object-fit: contain; }

.obra-ref { margin: 0 0 1.75rem; max-width: 26rem; }
.obra-ref img { width: 100%; height: auto; display: block; box-shadow: 0 10px 24px rgba(40, 30, 20, .18); }
.obra-ref figcaption { font-size: .95rem; margin-top: .6rem; }
