/* ==========================================================================
   Macarena Olávarri · páginas interiores (Acerca de mí, Mis cursos, Contacto)
   Van encima de main.css: comparten fuentes, paleta, logo, barra y menú.
   Misma regla que home: un solo degradado por página, sin bloques de color;
   cada página tiene su propio recorrido de la paleta.
   ========================================================================== */

html.pagina { background: linear-gradient(var(--p0) 50%, var(--p4) 50%); background-color: var(--p0); }
.pagina--acerca   { --p0: #F8D5E6; --p1: #F4D2EA; --p2: #DFD0EC; --p3: #CFE3EE; --p4: #FFE6B0; }
.pagina--cursos   { --p0: #FFE6B0; --p1: #FDD9C4; --p2: #F8C4DC; --p3: #EFC9E6; --p4: #F8D5E6; }
.pagina--contacto { --p0: #CFE5F4; --p1: #DCE3F4; --p2: #F2D6E8; --p3: #F8D5E6; --p4: #FFE3A1; }

.pagina .lienzo {
  min-height: 100vh;
  background-image:
    url("../img/grano.png"),
    linear-gradient(180deg, var(--p0) 0%, var(--p1) 22%, var(--p2) 48%, var(--p3) 74%, var(--p4) 100%);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* La página en la que estás, marcada en la barra y en el menú */
.barra__nav a[aria-current="page"]:not(.barra__cursos) { text-decoration: underline wavy; }
.barra__nav .barra__cursos[aria-current="page"] { background: var(--accion); color: var(--accion-tinta); border-color: var(--accion); }
.menu nav a[aria-current="page"] { text-decoration: underline wavy 3px; text-underline-offset: 10px; }

/* ==========================================================================
   Piezas comunes
   ========================================================================== */
.etiqueta {
  display: flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--f-pixel); font-size: 12px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
}
.etiqueta__punto { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.etiqueta--rec .etiqueta__punto { background: #FF4747; animation: parpadeo 1.1s steps(1) infinite; }

.titular {
  margin: 0; color: var(--tinta);
  font-weight: 900; font-size: clamp(64px, 12vw, 210px);
  line-height: .86; letter-spacing: -.045em;
}
.titular__l { display: block; }
.titular__l > span { display: inline-block; }
.titular__fino { font-weight: 100; letter-spacing: -.02em; }
.titular__lleno { letter-spacing: -.05em; }

/* Aparecer: translate (no transform) para no pelear con los movimientos de JS */
html.js .revela { opacity: 0; translate: 0 28px; transition: opacity .9s ease, translate 1.1s var(--salida); }
html.js .revela.is-visible { opacity: 1; translate: 0 0; }
html.js .titular__l.revela:nth-child(2) { transition-delay: .1s; }

/* Garabato a mano alrededor de una palabra (el mismo trazo del "fun" de home),
   en el color de acento */
.garabato {
  position: absolute; left: -9%; top: -10%; width: 118%; height: 122%;
  overflow: visible; pointer-events: none;
  fill: none; stroke: var(--acento); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
}
.garabato path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
html.js .garabato.is-visible path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.45, .1, .2, 1) .6s; }
html:not(.js) .garabato path { stroke-dashoffset: 0; }

/* Botones: negros con letra blanca, y en vino al pasar el cursor (--hover;
   lo pidió Maca el 15 oct). Ver --accion y --hover en main.css */
.boton {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 16px 28px 17px; border-radius: 999px;
  border: 2px solid var(--accion); background: var(--accion); color: var(--accion-tinta);
  font-family: var(--f-display); font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .45);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--salida), scale .45s var(--muelle);
}
.boton:hover { background: var(--hover); border-color: var(--hover); color: var(--hover-tinta); }
.boton:active { scale: .97; }
.boton--grande { font-size: clamp(18px, 1.5vw, 22px); padding: 20px 34px 21px; }
.boton--hueco { background: transparent; color: var(--tinta); border-color: var(--tinta); box-shadow: none; }
.boton--hueco:hover { background: var(--accion); color: var(--accion-tinta); border-color: var(--accion); }
.boton--gigante {
  font-weight: 900; font-size: clamp(26px, 3.4vw, 54px); letter-spacing: -.03em;
  padding: .55em 1.1em .62em;
}
/* El imán: el botón se deja jalar un poco por el cursor (main: paginas.js) */
.iman { transform: translate(var(--mx, 0px), var(--my, 0px)); }


/* Foto como polaroid pegada en la página */
.polaroid {
  margin: 0; padding: 12px 12px 0;
  background: #FFFBF3;
  box-shadow: 0 34px 54px -30px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .08);
  rotate: var(--r, 0deg);
}
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--plata); }
.polaroid figcaption {
  padding: 13px 2px 15px; color: var(--tinta);
  font-family: var(--f-pixel); font-size: 11px; line-height: 1.5;
}

/* Dogica solo trae las vocales acentuadas y la ñ en minúscula: en un texto en
   mayúsculas salen chiquitas ("EDICIóN"). paginas.js pone ahí la letra sin
   acento y el acento se dibuja aquí, en pixeles de la fuente (1/8 de em) */
.tilde { position: relative; display: inline-block; }
.tilde::after {
  content: ""; position: absolute; left: calc(50% - .0625em); top: -.25em;
  width: .125em; height: .125em; background: currentColor;
  box-shadow: .125em -.125em 0 currentColor;
}
.tilde--n::after { left: calc(50% - .25em); box-shadow: .125em -.125em 0 currentColor, .25em 0 0 currentColor, .375em -.125em 0 currentColor; }

/* Palabras que se encienden con el scroll */
html.js [data-palabras] .p { opacity: .2; transition: opacity .35s ease; }
html.js [data-palabras] .p.on { opacity: 1; }

/* ==========================================================================
   Final de cada página: a dónde seguir, la banda que corre y el pie
   ========================================================================== */
.siguiente { padding: 8vh var(--margen) 4vh; display: grid; }
.siguiente__a {
  display: flex; align-items: baseline; gap: .25em;
  padding: .22em 0 .16em; border-top: 2px solid var(--tinta);
  font-weight: 900; font-size: clamp(48px, 8.6vw, 150px); line-height: 1; letter-spacing: -.045em;
  text-decoration: none;
}
.siguiente__a--2 { justify-content: flex-end; border-bottom: 2px solid var(--tinta); }
.siguiente__tipo {
  align-self: center; margin-right: .6em;
  font-family: var(--f-pixel); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.siguiente__flecha { display: inline-block; font-weight: 300; transition: translate .5s var(--muelle); }
.siguiente__a:hover .siguiente__flecha { translate: .25em 0; }
.siguiente__a:hover { text-decoration: underline wavy; text-decoration-thickness: .04em; text-underline-offset: .12em; }

.despedida { padding-top: 7vh; }
/* Igual que la cinta de home: rosa, texto negro y en Dogica (lo pidió Maca) */
.banda {
  margin: 0 -6vw; padding: 22px 0 20px;
  background: var(--acento); color: var(--acento-tinta);
  rotate: -2deg; overflow: hidden;
}
.banda__pista { display: flex; width: max-content; animation: marquesina 34s linear infinite; }
.banda__pista span { white-space: nowrap; font-family: var(--f-pixel); font-weight: 700; font-size: clamp(15px, 1.8vw, 28px); line-height: 1; }
.banda__pista em { font-style: normal; font-weight: 400; }
.banda__pista i { font-style: normal; color: var(--tinta); margin: 0 .4em; }
@keyframes marquesina { to { transform: translateX(-50%); } }
.despedida__pie {
  display: flex; align-items: center; gap: 22px;
  padding: 44px var(--margen) 30px;
  font-family: var(--f-pixel); font-size: 12px; line-height: 1;
}
.despedida__pie a { text-decoration: none; }
.despedida__pie a:hover { text-decoration: underline wavy; text-underline-offset: 5px; }
.despedida__pie p { margin: 0 0 0 auto; }

/* ==========================================================================
   Acerca de mí
   ========================================================================== */
.a-portada {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4vw;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--alto-barra) + 4vh) var(--margen) 6vh;
}
.a-portada__bio {
  margin: 34px 0 0; max-width: 17em;
  font-weight: 300; font-size: clamp(24px, 2.6vw, 42px); line-height: 1.1; letter-spacing: -.015em;
}
.a-portada__bio em { font-style: normal; font-weight: 900; }
/* "tu guía para crear contenido creativo y original" en el naranja del
   círculo (Maca, 15 oct). "Macarena" volvió a negro (22 oct) */
.a-portada__bio { color: var(--acento); }
.hud { list-style: none; display: flex; flex-wrap: wrap; margin: 44px 0 0; padding: 0; }
.hud li { display: grid; gap: 8px; padding: 0 clamp(18px, 2.4vw, 38px); border-left: 2px solid rgba(0, 0, 0, .25); }
.hud li:first-child { padding-left: 0; border-left: 0; }
.hud b { font-weight: 900; font-size: clamp(36px, 4.2vw, 68px); line-height: .9; letter-spacing: -.04em; }
.hud li > span { font-family: var(--f-pixel); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

.a-portada__foto { position: relative; margin: 0; justify-self: center; }
/* Su foto de portada como sticker (recortada con todo y silla) */
.a-portada__sticker {
  position: relative; z-index: 1;
  height: min(80vh, 780px); width: auto;
  rotate: 3deg;
  animation: flota 8s ease-in-out infinite;
}
html.js .a-portada__sticker { opacity: 0; translate: 0 14vh; rotate: -9deg; transition: opacity .8s ease .2s, translate 1.4s var(--salida) .2s, rotate 1.6s var(--muelle) .2s; }
html.js.is-cargado .a-portada__sticker { opacity: 1; translate: 0 0; rotate: 3deg; }
@keyframes flota { 50% { transform: translateY(-12px); } }
/* El círculo alrededor de ella: en el acento y no en rosa (lo pidió Maca) */
.garabato--foto { left: -34%; top: 10%; width: 168%; height: 84%; z-index: 0; stroke: var(--acento); stroke-width: 5; }

.a-hago { padding: 8vh var(--margen) 14vh; text-align: center; }
.a-hago .etiqueta { justify-content: center; }
.stickers {
  list-style: none; margin: 30px auto 0; padding: 0; max-width: 1240px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 20px;
}
.stickers__slot { display: block; }
html.js .stickers__slot { opacity: 0; translate: 0 -60px; rotate: -14deg; transition: opacity .4s ease, translate 1s var(--muelle), rotate 1.1s var(--muelle); }
html.js .stickers.is-visible .stickers__slot { opacity: 1; translate: 0 0; rotate: 0deg; }
.stickers.is-visible .stickers__slot:nth-child(2) { transition-delay: .07s; }
.stickers.is-visible .stickers__slot:nth-child(3) { transition-delay: .14s; }
.stickers.is-visible .stickers__slot:nth-child(4) { transition-delay: .21s; }
.stickers.is-visible .stickers__slot:nth-child(5) { transition-delay: .28s; }
.stickers.is-visible .stickers__slot:nth-child(6) { transition-delay: .35s; }
.stickers.is-visible .stickers__slot:nth-child(7) { transition-delay: .42s; }
.sticker {
  position: relative;
  display: inline-flex; align-items: center; gap: .3em;
  padding: .36em .8em .44em; border-radius: 999px;
  background: var(--fondo, transparent); color: var(--tinta);
  font-weight: 900; font-size: clamp(24px, 3.4vw, 56px); line-height: 1; letter-spacing: -.035em;
  rotate: var(--r);
  transform: translate(var(--dx, 0px), var(--dy, 0px));
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .5);
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
  transition: scale .45s var(--muelle), box-shadow .3s ease;
}
.sticker img { width: .85em; height: auto; pointer-events: none; }
.sticker--hueco { box-shadow: none; border: 2.5px solid var(--tinta); }
/* El rosa clarito con la letra en vino (en negro se veía apagado) */
.sticker--rosa { color: var(--tono-1); }
.sticker:hover { scale: 1.06; }
.sticker.is-arrastrando { cursor: grabbing; scale: 1.1; z-index: 5; box-shadow: 0 34px 44px -20px rgba(0, 0, 0, .55); }
.a-hago__pista { margin: 30px 0 0; font-family: var(--f-pixel); font-size: 11px; opacity: .6; }

.a-ted {
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 5vw;
  padding: 10vh var(--margen) 20vh;
}
.a-ted__titulo {
  margin: 0; font-weight: 900; font-size: clamp(44px, 5.8vw, 104px);
  line-height: .92; letter-spacing: -.045em;
}
.a-ted__mejor { position: relative; display: inline-block; white-space: nowrap; }
.a-ted__evento { margin: 32px 0 0; font-family: var(--f-pixel); font-size: 11px; line-height: 1.6; }
.a-ted__medios { position: relative; }
/* "Escucha aquí:", justo arriba de la tele (lo pidió Maca, 26 oct) */
.a-ted__escucha { margin: 0 0 16px; font-family: var(--f-pixel); font-size: 12px; line-height: 1; letter-spacing: .04em; }
.tele { display: block; text-decoration: none; }
.tele__pantalla {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 28px;
  border: 12px solid var(--tinta);
  box-shadow: 0 44px 80px -40px rgba(0, 0, 0, .7);
  transition: rotate .6s var(--muelle), scale .6s var(--muelle);
}
.tele:hover .tele__pantalla { rotate: -1.2deg; scale: 1.015; }
.tele__pantalla img { width: 100%; height: 100%; object-fit: cover; }
.tele__rayas {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px);
}
.tele .visor__esq--1 { left: 16px; top: 16px; }
.tele .visor__esq--2 { right: 16px; top: 16px; }
.tele .visor__esq--3 { left: 16px; bottom: 16px; }
.tele .visor__esq--4 { right: 16px; bottom: 16px; }
.tele__rec, .tele__dur {
  position: absolute; top: 28px; display: flex; align-items: center; gap: 9px;
  color: #fff; font-family: var(--f-pixel); font-size: 13px; line-height: 1;
}
.tele__rec { left: 30px; }
.tele__dur { right: 30px; }
.tele__play {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5);
  transition: scale .5s var(--muelle);
}
.tele__play::after {
  content: ""; position: absolute; left: 37px; top: 30px;
  border-left: 26px solid var(--tinta); border-top: 16px solid transparent; border-bottom: 16px solid transparent;
}
.tele:hover .tele__play { scale: 1.14; }
.tele__pie { display: block; margin-top: 16px; text-align: right; font-family: var(--f-pixel); font-size: 12px; }
.tele:hover .tele__pie { text-decoration: underline wavy; text-underline-offset: 5px; }
.polaroid--ted {
  position: absolute; z-index: 2; width: 36%; left: -12%; bottom: -34%;
}
html.js .polaroid--ted.revela { transition-delay: .25s; }

.a-campanas { padding: 4vh var(--margen) 10vh; }
.a-campanas__titulo {
  margin: 0; max-width: 14em;
  font-weight: 900; font-size: clamp(40px, 6.2vw, 110px); line-height: .95; letter-spacing: -.045em;
}
.mesa {
  display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 3vw, 48px);
  margin-top: 9vh;
}
.polaroid--mesa { width: min(27vw, 360px); position: relative; }
.polaroid--mesa:nth-child(2) { margin-top: 70px; }
.polaroid--mesa img { aspect-ratio: 3 / 4; }
.polaroid--mesa figcaption { font-family: var(--f-display); font-size: 15px; line-height: 1.3; }
.polaroid--mesa figcaption b { display: block; margin-bottom: 5px; font-family: var(--f-pixel); font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
/* Se reparten como cartas: salen apiladas al centro y se abren */
html.js .mesa .polaroid--mesa {
  opacity: 0; translate: calc((1 - var(--i)) * 104%) 90px; rotate: calc(var(--r) * -3);
  transition: opacity .5s ease, translate 1.2s var(--salida), rotate 1.3s var(--muelle), scale .5s var(--muelle);
}
html.js .mesa.is-visible .polaroid--mesa { opacity: 1; translate: 0 0; rotate: var(--r); transition-delay: calc(var(--i) * .12s); }
html.js .mesa.is-visible .polaroid--mesa:hover { rotate: 0deg; scale: 1.05; z-index: 2; transition-delay: 0s; }

/* Collabs (26 oct): cada una con su texto y botón de un lado y sus fotos
   del otro, como polaroids encimadas; la segunda va al revés. El perfume
   lleva dos desde el 29 oct (Maca quitó la tercera): van más grandes */
.a-collabs { padding: 6vh var(--margen) 8vh; }
.collab-ficha {
  display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 5vw;
  padding: 6vh 0 8vh;
}
.collab-ficha + .collab-ficha { border-top: 2px solid var(--tinta); }
.collab-ficha--vuelta .collab-ficha__txt { order: 2; }
.collab-ficha__tipo { margin: 0 0 16px; font-family: var(--f-pixel); font-size: 12px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.collab-ficha__titulo { margin: 0; font-weight: 900; font-size: clamp(38px, 4.6vw, 80px); line-height: .95; letter-spacing: -.045em; }
.collab-ficha__nota { margin: 22px 0 30px; max-width: 26em; font-weight: 300; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.25; }
.collab-ficha__fotos { display: flex; justify-content: center; align-items: flex-start; padding: 30px 0; }
.polaroid--collab { position: relative; width: 36%; padding-bottom: 34px; }
.polaroid--collab + .polaroid--collab { margin-left: -5%; }
.polaroid--collab:nth-child(2) { margin-top: 48px; z-index: 1; }
.polaroid--collab img { aspect-ratio: 3 / 4; }
.collab-ficha__fotos:has(> .polaroid--collab:nth-child(2):last-child) .polaroid--collab { width: 44%; }
html.js .collab-ficha__fotos .polaroid--collab {
  opacity: 0; translate: 0 70px; rotate: calc(var(--r) * -2);
  transition: opacity .5s ease, translate 1.1s var(--salida), rotate 1.2s var(--muelle), scale .5s var(--muelle);
}
html.js .collab-ficha__fotos.is-visible .polaroid--collab { opacity: 1; translate: 0 0; rotate: var(--r); transition-delay: calc(var(--i) * .12s); }
html.js .collab-ficha__fotos.is-visible .polaroid--collab:hover { rotate: 0deg; scale: 1.06; z-index: 2; transition-delay: 0s; }

/* ==========================================================================
   Mis cursos
   ========================================================================== */
.c-portada {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--alto-barra) + 8vh) var(--margen) 10vh;
  display: flex; flex-direction: column; justify-content: center;
}
.c-portada__cursos { position: relative; }
.c-portada__sub { margin: 30px 0 0; font-weight: 300; font-size: clamp(22px, 2.4vw, 38px); letter-spacing: -.015em; }
.c-portada__acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
html.js .c-portada__acciones.revela { transition-delay: .25s; }
.c-portada > .etiqueta, .c-portada > .titular, .c-portada__sub, .c-portada__acciones { position: relative; z-index: 1; }
/* el círculo de "cursos", en vino (Maca, 22 oct) */
.c-portada__cursos .garabato { left: -3%; width: 106%; stroke: var(--tono-1); }
.disco-grande {
  position: absolute; z-index: 0; right: -14vw; top: 50%;
  width: min(62vw, 88vh); aspect-ratio: 1; margin-top: calc(min(62vw, 88vh) / -2);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 50px 90px -50px rgba(0, 0, 0, .55);
  -webkit-mask: radial-gradient(circle, transparent 0 6%, #000 6.4%);
          mask: radial-gradient(circle, transparent 0 6%, #000 6.4%);
  animation: girar 14s linear infinite;
}
/* El CD de espejo (Maca mandó la foto de uno real, 15 oct): plateado, con
   anillos finos, el aro de plástico del centro y reflejos de arcoíris en
   dos franjas opuestas. Los reflejos son la luz: no giran con el disco
   (::before da la vuelta al revés), así se ve como un disco de verdad. Lo
   usan el disco grande y los de las portadas */
.disco-grande, .cd__disco {
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,.28) 0 1px, transparent 1px 3px),
    radial-gradient(circle, transparent 0 22%, rgba(90,90,100,.35) 22.4% 23%, rgba(255,255,255,.8) 23.6% 30%, rgba(120,120,130,.35) 30.4% 31%, transparent 31.6% 97%, rgba(0,0,0,.18) 98.6%),
    #E9EAEE;
}
.disco-grande::before, .cd__disco::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from -18deg,
    rgba(255,255,255,0) 0deg, rgba(255,255,255,.9) 10deg,
    #FFB3DE 22deg, #FFE38A 34deg, #9DF2D2 46deg, #8CCBFF 58deg, #C3A8FF 70deg,
    rgba(255,255,255,.7) 84deg, rgba(200,203,212,.5) 110deg, rgba(255,255,255,0) 140deg,
    rgba(160,164,175,.35) 160deg, rgba(255,255,255,.9) 190deg,
    #FFB3DE 202deg, #FFE38A 214deg, #9DF2D2 226deg, #8CCBFF 238deg, #C3A8FF 250deg,
    rgba(255,255,255,.7) 264deg, rgba(200,203,212,.5) 290deg, rgba(255,255,255,0) 320deg,
    rgba(160,164,175,.35) 340deg, rgba(255,255,255,0) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 0 30%, rgba(0,0,0,.35) 31%, #000 60%, rgba(0,0,0,.85) 97%, transparent 98%);
          mask: radial-gradient(circle, transparent 0 30%, rgba(0,0,0,.35) 31%, #000 60%, rgba(0,0,0,.85) 97%, transparent 98%);
}
.disco-grande::before { animation: girar 14s linear infinite reverse; }
.cd.is-elegido .cd__disco::before { animation: girar 6s linear infinite reverse; }
html.js .disco-grande { translate: 30vw 0; rotate: 90deg; transition: translate 1.8s var(--salida) .2s, rotate 1.8s var(--salida) .2s; }
html.js.is-cargado .disco-grande { translate: 0 0; rotate: 0deg; }
.c-portada .sello {
  position: absolute; right: 38vw; top: 22vh; z-index: 2;
  width: clamp(150px, 16vw, 250px); aspect-ratio: 1;
}
.sello svg { position: relative; width: 100%; height: 100%; overflow: visible; animation: girar 20s linear infinite; }
/* El sello en degradado tornasol, como el disco del primer demo (lo pidió
   Maca, 15 oct): el degradado va en la caja, quieto, y el texto gira encima */
.sello::before {
  content: ""; position: absolute; inset: 1%; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.85), transparent 46%),
    conic-gradient(from 30deg, #ECE8F6, #F7D2E6, #CFE6F3, #FDF0C6, #D8D0F1, #F4CDE0, #CDE9EA, #ECE8F6);
}
.sello__fondo { fill: none; stroke: var(--tinta); stroke-width: 2; }
.sello__txt { fill: var(--tinta); font-family: var(--f-pixel); font-size: 12px; }
.sello img { position: absolute; left: 27%; top: 34%; width: 46%; }
html.js .sello { scale: 0; transition: scale 1.2s var(--muelle) .6s; }
html.js.is-cargado .sello { scale: 1; }
@keyframes girar { to { rotate: 360deg; } }

.c-discos { padding: 8vh var(--margen) 14vh; }
.repisa {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(40px, 10.5vw, 190px);
  padding: 7vh 9vw 9vh 0;
}
.cd {
  --w: clamp(200px, 21vw, 320px);
  position: relative; flex: none; width: var(--w);
  animation: flota-cd 6.5s ease-in-out infinite; animation-delay: calc(var(--f) * -2.1s);
}
@keyframes flota-cd {
  0%, 100% { transform: translateY(0) rotate(-1.4deg); }
  50%      { transform: translateY(-14px) rotate(1.4deg); }
}
.cd__caja { position: relative; display: block; width: 100%; aspect-ratio: 1; text-align: left; }
.cd__disco {
  position: absolute; left: 3%; top: 3%; width: 94%; height: 94%; z-index: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,.22) 0 1px, transparent 1px 4px),
    conic-gradient(from 30deg, #EFEFEF, #D8DAE0, #F7F7F7, #D5D5D7, #ECEDF1, #D2D2D4, #F4F4F4, #EFEFEF);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22), 0 22px 40px -24px rgba(0, 0, 0, .55);
  -webkit-mask: radial-gradient(circle, transparent 0 6.5%, #000 7%);
          mask: radial-gradient(circle, transparent 0 6.5%, #000 7%);
  transition: translate 1s var(--salida);
}
.cd__etiqueta {
  position: absolute; inset: 29%; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .15);
}
.cd__etiqueta img { width: 74%; height: auto; }
.cd__portada {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 9%; border-radius: 12px; overflow: hidden;
  background: url("../img/grano.png"), var(--tapa);
  background-size: 180px 180px, auto;
  color: var(--tinta);
  box-shadow: 0 34px 54px -28px rgba(0, 0, 0, .65), inset 10px 0 0 rgba(0, 0, 0, .07), inset 0 0 0 1px rgba(255, 255, 255, .3);
  transition: rotate .7s var(--muelle), scale .7s var(--muelle);
}
/* el brillo del estuche de plástico */
.cd__portada::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.38) 0 14%, transparent 30% 62%, rgba(255,255,255,.14) 74%, transparent 86%);
}
.cd__vol { position: relative; font-family: var(--f-pixel); font-size: 10px; line-height: 1.4; text-transform: uppercase; letter-spacing: .05em; }
.cd__titulo { position: relative; font-weight: 900; font-size: calc(var(--w) * .19); line-height: .86; letter-spacing: -.05em; }
.cd__titulo > span { display: block; }
.cd__fino { font-weight: 100; letter-spacing: -.02em; }
.cd__titulo--hueco { color: transparent; -webkit-text-stroke: 1.5px var(--tinta); font-size: calc(var(--w) * .145); hyphens: manual; }
/* Vino: letra blanca; rosa: letra y contorno en vino */
.cd--vino .cd__portada { color: var(--tono-1-tinta); }
.cd--rosa .cd__portada { color: var(--tono-1); }
.cd--rosa .cd__titulo--hueco { -webkit-text-stroke-color: var(--tono-1); }
/* "Masterclass Keyframes": más chico y encima de su etiqueta de ¡Nuevo! */
.cd__titulo--largo { font-size: calc(var(--w) * .135); margin-bottom: 13%; }
/* La portada en el color de acento: la letra blanca o negra según se lea (opciones.js) */
.cd--acento .cd__portada { color: var(--acento-tinta); }
.cd--acento .cd__titulo--hueco { -webkit-text-stroke-color: var(--acento-tinta); }
.cd__nuevo {
  position: absolute; right: 7%; bottom: 9%;
  padding: 7px 10px 6px; border-radius: 999px; rotate: -8deg;
  background: #fff; color: var(--tinta);
  font-family: var(--f-pixel); font-size: 9px; text-transform: uppercase;
}
.cd__sellado {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, transparent 38%, rgba(255,255,255,.5) 46%, transparent 54%);
  background-size: 260% 100%; animation: sellado 5s ease-in-out infinite;
}
@keyframes sellado { 0% { background-position: 110% 0; } 60%, 100% { background-position: -40% 0; } }

.cd:hover .cd__disco, .cd.is-elegido .cd__disco { translate: 48% 0; }
.cd--pronto:hover .cd__disco, .cd--pronto.is-elegido .cd__disco { translate: 20% 0; }
.cd.is-elegido .cd__disco { animation: girar 6s linear infinite; }
.cd:hover .cd__portada { rotate: -3deg; scale: 1.03; }
.cd.is-elegido .cd__portada { rotate: -2deg; }
.cd__caja::after {
  content: "▶ Sonando"; position: absolute; left: 0; bottom: -40px;
  font-family: var(--f-pixel); font-size: 11px; color: var(--tinta);
  opacity: 0; translate: 0 6px; transition: opacity .3s ease, translate .4s var(--salida);
}
.cd.is-elegido .cd__caja::after { opacity: 1; translate: 0 0; }
.cd--pronto .cd__caja::after { content: "Próximamente"; }

.contra {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; align-items: start;
  max-width: 1240px; margin: 3vh auto 0; padding-top: 34px;
  border-top: 2px solid var(--tinta);
}
.contra[hidden] { display: none; }
.contra__tipo { margin: 0; font-family: var(--f-pixel); font-size: 11px; line-height: 1.6; text-transform: uppercase; }
.contra__titulo { margin: .3em 0 .55em; font-weight: 900; font-size: clamp(40px, 5vw, 86px); line-height: .9; letter-spacing: -.045em; }
.contra__nota { margin: 0; align-self: center; font-weight: 300; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.12; }
/* La de la masterclass es más larga: varios párrafos, un poco más chica */
div.contra__nota { font-size: clamp(20px, 1.9vw, 30px); line-height: 1.2; }
div.contra__nota p { margin: 0 0 .6em; }
div.contra__nota p:last-child { margin-bottom: 0; }
html.js .contra.is-entrando .contra__cabeza { animation: pista .6s var(--salida) both; }
@keyframes pista { from { opacity: 0; translate: 0 16px; } }

/* "Dale play a un disco": solo mientras no hay ninguno elegido */
.repisa__elige {
  margin: -3vh 0 0; text-align: center;
  font-family: var(--f-pixel); font-size: 11px; color: var(--tinta);
  transition: opacity .3s ease, visibility .3s;
}
.repisa__elige span { display: inline-block; animation: senala 1.4s ease-in-out infinite; }
@keyframes senala { 50% { translate: 0 -5px; } }
.c-discos.is-eligio .repisa__elige { opacity: 0; visibility: hidden; }
html:not(.js) .repisa__elige { display: none; }

/* El Arte de Editar por dentro: se despliega al elegir su CD (paginas.js).
   Maca se asoma por detrás de la ventana, como detrás de su compu en la foto:
   la ventana le tapa los codos (en la foto uno lo tapa la compu) */
.contra--editor { display: block; max-width: 1180px; padding-top: 0; border-top: 0; }
html:not(.js) .contra--editor[hidden] { display: block; }
.editor {
  --mw: min(28vw, 40vh, 440px);    /* ancho del sticker */
  --mh: calc(var(--mw) * 1.0886);  /* su alto (1400×1524) */
  --asoma: .75;                    /* lo que queda de ella arriba de la ventana */
  position: relative;
}
.editor__cabeza {
  position: absolute; right: 0; top: 0; z-index: 2;
  height: calc(var(--mh) * var(--asoma) - 3vh);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; text-align: right;
}
.editor__cabeza .contra__titulo { margin: .12em 0 0; font-size: clamp(44px, 6.4vw, 110px); line-height: .86; }
.editor__escena { position: relative; padding-top: calc(var(--mh) * var(--asoma)); }
.editor__maca {
  position: absolute; left: 2%; top: 0; z-index: 0;
  width: var(--mw); height: auto;
  pointer-events: none;
  animation: flota 8s ease-in-out infinite;
}
.editor__ventana {
  position: relative; z-index: 1; overflow: hidden;
  border: 2.5px solid var(--tinta); border-radius: 22px;
  background: #FFFBF3; color: var(--tinta);
  box-shadow: 0 44px 80px -40px rgba(0, 0, 0, .6);
}
/* Al desplegarse: la ventana se desenrolla, ella se asoma y llegan los clips */
html.js .contra--editor.is-entrando .editor__ventana { animation: desenrollar .75s var(--salida) backwards; }
html.js .contra--editor.is-entrando .editor__maca { animation: asomarse 1.2s var(--muelle) .5s backwards, flota 8s ease-in-out 1.7s infinite; }
html.js .contra--editor.is-entrando .editor__cabeza > * { animation: pista .6s var(--salida) .25s backwards; }
html.js .contra--editor.is-entrando .editor__cabeza > :nth-child(2) { animation-delay: .35s; }
html.js .contra--editor.is-entrando .clip { animation: pista .5s var(--salida) backwards; animation-delay: calc(.45s + var(--k, 0) * 45ms); }
@keyframes desenrollar { from { clip-path: inset(0 0 100% 0 round 22px); } to { clip-path: inset(0 0 0 0 round 22px); } }
@keyframes asomarse { from { translate: 0 calc(var(--mh) * var(--asoma)); opacity: 0; } 25% { opacity: 1; } }

.editor__barra {
  display: flex; align-items: center; gap: 16px;
  height: 54px; padding: 0 10px 0 18px;
  border-bottom: 2px solid var(--tinta);
}
.editor__luces { display: flex; gap: 7px; }
.editor__luces i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--tinta); background: #fff; }
.editor__proyecto { flex: 1; text-align: center; font-family: var(--f-pixel); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.editor__exportar {
  padding: 10px 18px 11px; border-radius: 999px;
  background: var(--accion); color: var(--accion-tinta); text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1;
  transition: background-color .25s ease, color .25s ease, scale .45s var(--muelle);
}
.editor__exportar::after { content: " ↗"; }
.editor__exportar:hover { background: var(--hover); color: var(--hover-tinta); scale: 1.05; }

/* El monitor va al centro, justo arriba del cabezal */
.editor__cuerpo {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 3vw; align-items: end;
  height: clamp(180px, 24vh, 280px); padding: 20px 32px;
}
.editor__info { max-width: 21em; }
/* Dogica en mayúsculas pone el acento a un lado ("MO'DULO"): aquí va en minúsculas */
.editor__n { margin: 0 0 12px; font-family: var(--f-pixel); font-size: 11px; }
.editor__t { margin: 0; font-weight: 700; font-size: clamp(22px, 2.5vw, 40px); line-height: 1; letter-spacing: -.03em; }
.editor__info.is-cambio > * { animation: pista .55s var(--salida) backwards; }
.editor__info.is-cambio .editor__t { animation-delay: .05s; }

/* El monitor: vertical, como un video para redes. Sin foto sale una claqueta
   del color del clip con su número; con foto (data-foto), la foto */
.editor__monitor {
  --c: #E6E6E4;
  position: relative; height: 100%; aspect-ratio: 9 / 16; overflow: hidden;
  container-type: inline-size;
  border: 2px solid var(--tinta); border-radius: 12px;
  background: url("../img/grano.png") 0 0 / 180px 180px, var(--c);
  transition: background-color .45s ease;
}
.editor__claqueta {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9cqi;
}
/* la letra y el isotipo van como la letra del clip (paginas.js pone --c-tinta):
   blancos sobre los colores obscuros */
.editor__num { font-weight: 900; font-size: 46cqi; line-height: .8; letter-spacing: -.05em; color: var(--c-tinta, var(--tinta)); }
.editor__num.is-palabra { font-size: 27cqi; }
.editor__num.is-cambio { animation: subtitulo .5s var(--muelle) backwards; }
.editor__iso { width: 34%; animation: respira 7s ease-in-out infinite; }
.editor__monitor.es-obscuro .editor__iso { filter: brightness(0) invert(1); }
.editor__fotos, .editor__foto { position: absolute; inset: 0; }
.editor__foto { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.editor__foto.is-actual { opacity: 1; animation: acercar 7s linear both; }
@keyframes acercar { to { scale: 1.1; } }
/* sombra arriba y abajo para que se lean el contador y el subtítulo */
.editor__monitor.con-foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .4), transparent 20% 55%, rgba(0, 0, 0, .55));
}
.editor__rec {
  position: absolute; z-index: 1; left: 9px; top: 9px; display: flex; align-items: center; gap: 6px;
  color: var(--c-tinta, var(--tinta)); font-family: var(--f-pixel); font-size: 9px;
}
.editor__monitor.con-foto .editor__rec { color: #fff; }
.editor__rec .visor__punto { width: 7px; height: 7px; }
/* el subtítulo, como los de CapCut: letra gorda con contorno */
.editor__subtitulo {
  position: absolute; z-index: 1; left: 6%; right: 6%; bottom: 12%;
  text-align: center; color: #fff;
  font-weight: 900; font-size: 12cqi; line-height: 1; letter-spacing: -.02em;
  -webkit-text-stroke: 5px var(--tinta); paint-order: stroke fill;
}
.editor__subtitulo.is-cambio { animation: subtitulo .5s var(--muelle) backwards; }
@keyframes subtitulo { from { scale: .4; opacity: 0; } }

/* Reproducir / pausar, al centro como en CapCut */
.editor__controles {
  display: flex; justify-content: center; align-items: center; height: 52px;
  border-top: 1.5px dashed rgba(0, 0, 0, .3);
}
.editor__play {
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  background: var(--tinta); transition: scale .45s var(--muelle);
}
.editor__play:hover { scale: 1.1; }
.editor__play::before, .editor__play::after {
  content: ""; position: absolute; top: 12px; height: 14px; background: #fff;
}
.editor__play::before { left: 14px; width: 12px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.editor__play::after { display: none; }
.editor__play[aria-pressed="true"]::before { left: 12px; width: 5px; clip-path: none; border-radius: 1px; }
.editor__play[aria-pressed="true"]::after { display: block; left: 21px; width: 5px; border-radius: 1px; }

/* La línea de tiempo: el cabezal no se mueve, los clips pasan por debajo.
   Se arrastra de lado; de arriba abajo sigue bajando la página */
.editor__linea {
  position: relative; overflow: hidden;
  padding: 0 0 16px;
  border-top: 2px solid var(--tinta);
  background: #F1F1F0;
  touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none;
}
.editor__linea.is-arrastrando { cursor: grabbing; }
html:not(.js) .editor__linea { overflow-x: auto; }
.editor__pistas { position: relative; width: max-content; will-change: transform; }
.editor__regla {
  display: block; height: 26px; margin-bottom: 12px;
  background:
    repeating-linear-gradient(90deg, var(--tinta) 0 1.5px, transparent 1.5px 60px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .45) 0 1px, transparent 1px 12px) 0 0 / 100% 7px no-repeat;
  border-bottom: 1.5px dashed rgba(0, 0, 0, .3);
}
.editor__pista { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.editor__pista li { flex: none; }
.clip {
  --u: clamp(96px, 9vw, 150px);
  position: relative; display: flex; align-items: center;
  width: calc(var(--d) * var(--u)); height: 50px; padding: 0 12px; overflow: hidden;
  border-radius: 9px; border: 1.5px solid rgba(0, 0, 0, .55);
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(0, 0, 0, .12) 38px 40px),
    var(--c);
  font-family: var(--f-pixel); font-size: 10px; line-height: 1.2; white-space: nowrap; text-align: left;
  transition: box-shadow .3s ease, translate .4s var(--muelle);
}
.clip:hover { translate: 0 -2px; }
.clip:focus-visible { outline-offset: 2px; }
.clip--bonus { --c: var(--acento); color: var(--acento-tinta); border-color: rgba(0, 0, 0, .5); }
/* con foto: la foto repetida como los cuadros de un video, y el nombre en etiqueta */
.clip--foto {
  background-size: auto 100%; background-repeat: repeat-x; background-position: 0 50%;
  box-shadow: inset 0 0 0 100vmax color-mix(in srgb, var(--c) 30%, transparent);
}
.clip--foto .clip__txt { padding: 4px 7px 3px; border-radius: 6px; background: rgba(255, 251, 243, .92); color: var(--tinta); }
/* el clip bajo el cabezal: seleccionado, con sus asas */
.clip.is-actual { box-shadow: 0 0 0 3px var(--tinta); translate: 0 -3px; }
.clip--foto.is-actual { box-shadow: 0 0 0 3px var(--tinta), inset 0 0 0 100vmax color-mix(in srgb, var(--c) 30%, transparent); }
.clip.is-actual::before, .clip.is-actual::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 7px; background: var(--tinta);
}
.clip.is-actual::before { left: 0; }
.clip.is-actual::after { right: 0; }
.editor__onda { display: block; height: 34px; margin-top: 8px; overflow: visible; }
.editor__onda path { fill: none; stroke: var(--acento); stroke-width: 3; stroke-linecap: round; }
.editor__cabezal {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2.5px; margin-left: -1.25px;
  background: var(--tinta); pointer-events: none;
}
.editor__cabezal::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 16px; height: 18px; margin-left: -8px;
  background: var(--tinta); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
}

.c-mensaje { padding: 12vh var(--margen) 14vh; max-width: 1400px; }
.c-mensaje__txt {
  margin: 0 0 .7em; max-width: 21em;
  font-weight: 400; font-size: clamp(28px, 3.8vw, 64px); line-height: 1.08; letter-spacing: -.025em;
}
.c-mensaje__txt + .c-mensaje__txt { margin-left: 10vw; }
.c-mensaje__remate {
  margin: 8vh 0 7vh; font-weight: 900; font-size: clamp(60px, 10vw, 180px);
  line-height: .9; letter-spacing: -.05em;
}

.c-lanza { position: relative; padding: 12vh var(--margen) 14vh; text-align: center; }
.c-lanza .etiqueta { justify-content: center; }
.c-lanza__titulo {
  margin: 0 auto; max-width: 15em;
  font-weight: 900; font-size: clamp(34px, 5vw, 86px); line-height: .96; letter-spacing: -.04em;
}
.aviso {
  display: flex; gap: 6px; max-width: 660px; margin: 6vh auto 0;
  padding: 6px; border: 2px solid var(--tinta); border-radius: 999px;
}
.aviso__campo {
  flex: 1; min-width: 0; padding: 0 22px;
  border: 0; background: transparent; outline: none;
  font-family: var(--f-display); font-size: 20px; color: var(--tinta);
}
.aviso__campo::placeholder { color: var(--tinta); opacity: .45; }
.aviso:focus-within { outline: 2px dashed var(--tinta); outline-offset: 5px; }
.aviso__boton { box-shadow: none; }

.c-faq { max-width: 1000px; margin: 0 auto; padding: 4vh var(--margen) 10vh; }
.pregunta { border-top: 2px solid var(--tinta); }
.pregunta:last-of-type { border-bottom: 2px solid var(--tinta); }
.pregunta summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 64px 24px 0;
  font-weight: 900; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.08; letter-spacing: -.025em;
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -54%;
  font-weight: 300; font-size: 1.4em; transition: rotate .45s var(--muelle);
}
.pregunta[open] summary::after { rotate: 45deg; }
.pregunta p, .pregunta ol { margin: 0 0 14px; max-width: 44em; font-size: 18px; line-height: 1.55; }
.pregunta ol { padding-left: 1.4em; }
.pregunta > :last-child { margin-bottom: 28px; }
.pregunta a { text-decoration: underline; text-underline-offset: 4px; }
.pregunta a:hover { text-decoration-style: wavy; }

/* ==========================================================================
   Contacto
   ========================================================================== */
.k-portada {
  position: relative;
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 5vw;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--alto-barra) + 5vh) var(--margen) 8vh;
}
.k-portada__txt { position: relative; z-index: 2; }
.k-hora { margin-left: 14px; opacity: .65; }
/* "¿Hablamos?" del color del marco de la foto: vino (lo pidió Maca, 15 oct) */
.k-titular { font-size: clamp(70px, 11.5vw, 210px); color: var(--tono-1); }
.lineas { list-style: none; margin: 6vh 0 0; padding: 0; }
.linea {
  display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 18px;
  padding: 18px 0; border-top: 2px solid var(--tinta);
}
.linea:last-child { border-bottom: 2px solid var(--tinta); }
.linea__tipo { font-family: var(--f-pixel); font-size: 11px; text-transform: uppercase; }
.linea__dato {
  font-weight: 900; font-size: clamp(26px, 3.3vw, 58px); line-height: 1; letter-spacing: -.035em;
  text-decoration: none; overflow-wrap: anywhere;
}
.linea__dato:hover { text-decoration: underline wavy; text-decoration-thickness: .05em; text-underline-offset: .14em; }
.linea__accion {
  padding: 10px 14px 9px; border: 1.5px solid var(--tinta); border-radius: 999px;
  font-family: var(--f-pixel); font-size: 11px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}
.linea__accion:hover { background: var(--accion); color: var(--accion-tinta); border-color: var(--accion); }
/* Collabs: dos contactos (nombre, teléfono y su WhatsApp) en la misma línea */
.linea__collabs { grid-column: 2 / -1; display: grid; gap: 14px; }
.collab { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px 18px; }
.collab__nombre { font-weight: 900; font-size: clamp(22px, 2.4vw, 40px); line-height: 1; letter-spacing: -.03em; }
.collab__tel { font-family: var(--f-pixel); font-size: 12px; line-height: 1; text-decoration: none; white-space: nowrap; }
.collab__tel:hover { text-decoration: underline wavy; text-underline-offset: 5px; }
.linea__redes { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.linea__redes a { font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); text-decoration: none; }
.linea__redes a:hover { text-decoration: underline wavy; text-underline-offset: 6px; }
html.js .linea.revela:nth-child(2) { transition-delay: .08s; }
html.js .linea.revela:nth-child(3) { transition-delay: .16s; }

.k-foto { position: relative; z-index: 1; margin: 0; justify-self: center; width: min(30vw, 440px); }
/* suena: cada tanto el teléfono tiembla */
.polaroid--tel.is-visible { animation: timbre 5s ease-in-out 1.6s infinite; }
@keyframes timbre {
  0%, 78%, 100% { transform: rotate(0deg); }
  80% { transform: rotate(2.5deg); }  82% { transform: rotate(-2.5deg); }
  84% { transform: rotate(2deg); }    86% { transform: rotate(-2deg); }
  88% { transform: rotate(1deg); }    90% { transform: rotate(0deg); }
}
/* El marco de la foto en vino, con su pie en blanco */
.polaroid--tel { background: var(--tono-1); }
.polaroid--tel figcaption { font-size: 13px; color: var(--tono-1-tinta); }

/* El cable rizado del teléfono, dibujado (paginas.js arma la espiral). De
   color, en el naranja (Maca lo quiere de color) */
.cable {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  overflow: visible; pointer-events: none;
  fill: none; stroke: var(--acento); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.cable path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.cable.is-visible path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.45, .05, .25, 1) .5s; }

.k-brief { max-width: 1160px; margin: 0 auto; padding: 8vh var(--margen) 12vh; }
.brief__temas { display: flex; flex-wrap: wrap; gap: 12px 12px; margin: 0; padding: 0; border: 0; }
.tema { position: relative; cursor: pointer; }
.tema input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tema span {
  display: inline-block; padding: .5em 1em .56em;
  border: 2px solid var(--tinta); border-radius: 999px;
  font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); line-height: 1;
  rotate: var(--r);
  transition: background-color .25s ease, color .25s ease, scale .45s var(--muelle), rotate .45s var(--muelle);
}
.tema:hover span { scale: 1.05; }
.tema input:checked + span { background: var(--accion); color: var(--accion-tinta); border-color: var(--accion); scale: 1.06; rotate: 0deg; }
.tema input:focus-visible + span { outline: 2px dashed var(--tinta); outline-offset: 4px; }
.brief__campos { position: relative; display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; margin: 6vh 0 5vh; }
/* Nombre y correo a la izquierda; el mensaje a la derecha, del alto de los dos */
.campo--largo { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.campo--largo textarea { flex: 1; }
.brief__miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.campo { display: block; }
.campo__nombre { display: block; margin-bottom: 10px; font-family: var(--f-pixel); font-size: 11px; text-transform: uppercase; }
.campo input, .campo textarea {
  display: block; width: 100%; padding: 8px 0;
  border: 0; border-bottom: 2px solid var(--tinta); border-radius: 0;
  background: transparent; outline: none; resize: vertical;
  font-family: var(--f-display); font-size: 22px; line-height: 1.3; color: var(--tinta);
}
.campo input:focus, .campo textarea:focus { border-bottom-style: dashed; }
.brief__nota { margin: 16px 0 0; font-family: var(--f-pixel); font-size: 11px; opacity: .65; }
.brief__nota a { text-decoration: underline; text-underline-offset: 3px; }
.brief.is-enviando button[type="submit"] { opacity: .6; cursor: progress; }
.brief[hidden], .brief__listo[hidden] { display: none; }
.brief__listo { padding: 4vh 0 2vh; }
.brief__listo-t { margin: 0; outline: none; font-weight: 900; font-size: clamp(34px, 5vw, 76px); line-height: .96; letter-spacing: -.04em; }
.brief__listo-sub { margin: 18px 0 30px; font-size: 20px; line-height: 1.4; }
.brief__listo-correo { font-weight: 700; overflow-wrap: anywhere; }

/* "Aviso de privacidad" bajo los "Avisarme" */
.aviso__privacidad { margin: 12px 0 0; text-align: center; font-family: var(--f-pixel); font-size: 10px; opacity: .6; }
.aviso__privacidad a { text-decoration: underline; text-underline-offset: 3px; }

.aviso-copiado {
  position: fixed; left: 50%; bottom: 26px; z-index: 90; margin: 0;
  padding: 12px 18px 11px; border-radius: 999px;
  background: var(--accion); color: var(--accion-tinta);
  font-family: var(--f-pixel); font-size: 12px; line-height: 1;
  translate: -50% 20px; opacity: 0; pointer-events: none;
  transition: opacity .3s ease, translate .5s var(--muelle);
}
.aviso-copiado.is-visible { opacity: 1; translate: -50% 0; }

/* ==========================================================================
   Su nota de voz del curso (Mis cursos y la landing, 22 oct): como las de
   WhatsApp, con lo que dice abajo, frase por frase (paginas.js)
   ========================================================================== */
.vn { margin: 0; max-width: 460px; }
.vn .etiqueta { margin-bottom: 14px; }
.vn__burbuja {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 14px;
  padding: 12px 14px 9px 12px;
  background: #fff; border: 1.5px solid var(--tinta); border-radius: 26px 26px 26px 6px;
  box-shadow: 0 26px 44px -28px rgba(0, 0, 0, .5);
}
.vn__play {
  grid-row: 1 / 3; position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accion); transition: scale .45s var(--muelle);
}
.vn__play:hover { scale: 1.08; }
.vn__play::before, .vn__play::after { content: ""; position: absolute; top: 15px; height: 16px; background: var(--accion-tinta); }
.vn__play::before { left: 18px; width: 13px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.vn__play::after { display: none; }
.vn__play[aria-pressed="true"]::before { left: 15px; width: 5px; clip-path: none; border-radius: 1px; }
.vn__play[aria-pressed="true"]::after { display: block; left: 26px; width: 5px; border-radius: 1px; }
/* la onda es la de su audio; lo que ya se oyó va en el acento, con el punto que avanza */
.vn__onda { position: relative; display: flex; align-items: center; gap: 2px; height: 32px; margin-top: 4px; cursor: pointer; }
.vn__onda i { flex: 1; min-width: 2px; height: calc(var(--h) * 100%); border-radius: 2px; background: color-mix(in srgb, var(--tinta) 26%, transparent); }
.vn__onda i.is-oida { background: var(--acento); }
.vn__onda::after {
  content: ""; position: absolute; top: 50%; left: calc(var(--avance, 0) * 100%);
  width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--acento);
}
.vn__tiempo { grid-column: 2; font-family: var(--f-pixel); font-size: 10px; line-height: 1.4; opacity: .6; }
/* su foto con el micrófono; mientras suena, en su lugar va la velocidad */
.vn__foto { grid-column: 3; grid-row: 1 / 3; position: relative; width: 46px; height: 46px; }
.vn__foto img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.vn__mic { position: absolute; left: -5px; bottom: -3px; width: 19px; height: 19px; fill: var(--acento); }
.vn__vel {
  grid-column: 3; grid-row: 1 / 3; width: 46px; height: 28px; border-radius: 14px;
  background: color-mix(in srgb, var(--tinta) 10%, transparent); color: var(--tinta);
  font-family: var(--f-pixel); font-size: 11px; line-height: 1;
}
.vn:not(.is-sonando) .vn__vel, .vn.is-sonando .vn__foto { display: none; }
.vn__sub { min-height: 2.5em; margin: 16px 6px 0; font-size: clamp(18px, 1.45vw, 23px); line-height: 1.25; }
.vn__sub b { font-weight: 700; }
.vn__sub.es-aviso { font-family: var(--f-pixel); font-size: 12px; line-height: 1.5; opacity: .6; }
.vn__sub.is-cambio { animation: pista .45s var(--salida) backwards; }

/* En Mis cursos va junto al texto de la ficha del Vol. 1 */
.contra__lado { display: grid; gap: 34px; align-self: center; }

/* ==========================================================================
   Aviso de privacidad (privacidad.html, 29 oct): solo texto, en una columna
   ========================================================================== */
.pv { max-width: 860px; margin: 0 auto; padding: calc(var(--alto-barra) + 8vh) var(--margen) 12vh; }
.pv__titulo { font-size: clamp(54px, 8.5vw, 132px); }
.pv__fecha { margin: 34px 0 6vh; font-family: var(--f-pixel); font-size: 11px; opacity: .65; }
.pv__intro { margin: 0 0 4vh; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.45; }
.pv h2 {
  margin: 6vh 0 16px; padding-top: 22px; border-top: 2px solid var(--tinta);
  font-weight: 900; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.025em;
}
/* :where para que no le ganen a la etiqueta, la fecha y la intro */
:where(.pv) p, :where(.pv) li { font-size: 18px; line-height: 1.55; }
:where(.pv) p { margin: 0 0 14px; }
.pv ul { margin: 0 0 14px; padding-left: 1.3em; }
.pv li { margin-bottom: 6px; }
.pv a { text-decoration: underline; text-underline-offset: 4px; }
.pv a:hover { text-decoration-style: wavy; }
.pv .pv__fin { margin-top: 6vh; padding-top: 22px; border-top: 2px solid var(--tinta); font-family: var(--f-pixel); font-size: 12px; }
.despedida__pie a[aria-current="page"] { text-decoration: underline wavy; text-underline-offset: 5px; }

/* ==========================================================================
   Teléfono
   ========================================================================== */
@media (max-width: 760px) {
  .titular { font-size: 19vw; }
  .despedida__pie { flex-wrap: wrap; justify-content: center; gap: 10px 20px; font-size: 10px; }
  .despedida__pie p { margin: 0; flex-basis: 100%; text-align: center; }
  .siguiente__a { font-size: 13vw; }
  .siguiente__tipo { display: none; }

  .a-portada { grid-template-columns: 1fr; gap: 6vh; padding-top: calc(var(--alto-barra) + 6vh); }
  .a-portada__sticker { height: min(70vh, 150vw); }
  .hud li { padding: 0 14px; }
  .hud b { font-size: clamp(26px, 7.6vw, 34px); } /* las tres en un renglón */
  .sticker { font-size: 7.4vw; }
  .a-ted { grid-template-columns: 1fr; gap: 7vh; padding-bottom: 16vh; }
  .polaroid--ted { width: 40%; left: auto; right: -2%; bottom: -30%; }
  .tele__pantalla { border-width: 8px; border-radius: 20px; }
  .tele__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .tele__play::after { left: 26px; top: 20px; border-left-width: 18px; border-top-width: 12px; border-bottom-width: 12px; }
  .tele__rec, .tele__dur { top: 20px; font-size: 10px; }
  .tele__rec { left: 22px; } .tele__dur { right: 22px; }
  .tele .visor__esq { width: 16px; height: 16px; }
  .tele .visor__punto { width: 8px; height: 8px; }
  .mesa { flex-direction: column; align-items: center; gap: 0; }
  .polaroid--mesa { width: 68vw; }
  .polaroid--mesa:nth-child(1) { align-self: flex-start; }
  .polaroid--mesa:nth-child(2) { margin-top: 5vw; align-self: flex-end; }
  .polaroid--mesa:nth-child(3) { margin-top: 5vw; }
  html.js .mesa .polaroid--mesa { translate: 0 60px; }
  .collab-ficha { grid-template-columns: 1fr; gap: 4vh; }
  .collab-ficha--vuelta .collab-ficha__txt { order: 0; }
  .collab-ficha__fotos { padding: 0 0 20px; }
  .polaroid--collab { width: 37%; padding: 7px 7px 22px; }
  .polaroid--collab:nth-child(2) { margin-top: 28px; }
  .collab-ficha__fotos:has(> .polaroid--collab:nth-child(2):last-child) .polaroid--collab { width: 46%; }

  .c-portada { justify-content: flex-start; padding-top: calc(var(--alto-barra) + 12vh); }
  /* El sello va arriba a la derecha, junto a "Mis": fuera del disco (encima
     lo tapaba: Maca, 26 oct) y lejos de los botones (pegado abajo, en
     pantallas bajitas se subía encima de "Nuevos lanzamientos": Maca, 30 oct) */
  .c-portada .sello { top: calc(var(--alto-barra) + 12vh + 18px); bottom: auto; left: auto; right: var(--margen); width: 104px; }
  .disco-grande { width: 96vw; margin-top: -48vw; top: auto; bottom: -30vw; right: -44vw; opacity: .9; }
      .repisa {
    justify-content: flex-start; gap: 20vw;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--margen) * -1); padding: 6vh 26vw 9vh 12vw;
  }
  .repisa::-webkit-scrollbar { display: none; }
  .cd { --w: 62vw; scroll-snap-align: center; }
  .cd:hover .cd__disco, .cd.is-elegido .cd__disco { translate: 28% 0; }
  .cd--pronto:hover .cd__disco, .cd--pronto.is-elegido .cd__disco { translate: 14% 0; }
  .contra { grid-template-columns: 1fr; gap: 26px; }
  .c-mensaje__txt + .c-mensaje__txt { margin-left: 0; }
  .aviso { flex-direction: column; border-radius: 30px; padding: 8px; }
  .aviso__campo { padding: 16px 16px; text-align: center; }
  .editor { --mw: min(72vw, 40vh); }
  /* el título va arriba de Maca: junto a sus pies no cabe */
  .editor__cabeza { position: static; height: auto; align-items: flex-start; text-align: left; margin-bottom: 1vh; }
  .editor__cabeza .contra__titulo { font-size: 12vw; }
  .editor__maca { left: 3%; }
  .editor__barra { height: 46px; padding: 0 7px 0 12px; }
  .editor__proyecto { display: none; }
  .editor__luces { flex: 1; }
  .editor__luces i { width: 10px; height: 10px; }
  .editor__exportar { font-size: 13px; padding: 9px 14px 10px; }
  .editor__cuerpo { grid-template-columns: 1fr auto; height: clamp(160px, 23vh, 210px); gap: 14px; padding: 14px 12px 14px 16px; }
  .editor__t { font-size: min(6.4vw, 28px); }
  .editor__subtitulo { -webkit-text-stroke-width: 4px; }
  .editor__controles { height: 46px; }
  .clip { --u: 74px; height: 44px; padding: 0 9px; font-size: 9px; }

  /* La foto va antes de los datos (lo pidió Eddy: sola al final se veía
     rara), a la derecha y ladeada, con el título debajo. El cable baja del
     auricular por la derecha hasta el botón del correo, como en la compu */
  .k-portada { grid-template-columns: 1fr; gap: 0; padding-top: calc(var(--alto-barra) + 3vh); }
  .k-portada__txt { display: contents; }
  .k-portada .etiqueta { order: 1; }
  .k-foto { order: 2; width: 58vw; justify-self: end; margin: 6px 7vw 0 0; }
  .k-titular { order: 3; position: relative; z-index: 2; margin-top: 4vh; }
  .lineas { order: 4; position: relative; z-index: 2; }
  /* con la foto reordenada, el cable se pintaría debajo de ella: va encima,
     como en la compu (sale del auricular) */
  .cable { z-index: 3; }
  /* el dato ocupa todo el ancho; el botón sube junto a la etiqueta */
  .linea { grid-template-columns: 1fr auto; grid-template-areas: "tipo accion" "dato dato"; gap: 12px 14px; }
  .linea__tipo { grid-area: tipo; }
  .linea__accion { grid-area: accion; }
  .linea__dato, .linea__redes, .linea__collabs { grid-area: dato; }
  .collab { grid-template-columns: 1fr auto; }
  .collab__tel { grid-row: 2; }
  .linea__dato { font-size: min(7.4vw, 34px); overflow-wrap: normal; }
  .brief__campos { grid-template-columns: 1fr; }
  .campo--largo { grid-column: auto; grid-row: auto; }
}

/* ==========================================================================
   Menos movimiento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .a-portada__sticker, .cd, .cd.is-elegido .cd__disco, .sello svg, .banda__pista, .disco-grande,
  .disco-grande::before, .cd.is-elegido .cd__disco::before,
  .polaroid--tel.is-visible, .cd__sellado, .editor__maca, .editor__iso, .repisa__elige span,
  .editor__foto.is-actual, .vn__sub.is-cambio { animation: none; }
  html.js .contra--editor.is-entrando .editor__maca, html.js .contra--editor.is-entrando .editor__ventana,
  html.js .contra--editor.is-entrando .editor__cabeza > *, html.js .contra--editor.is-entrando .clip { animation: none; }
}
