/* ==========================================================================
   Clicknaranja · Portfolio YOUPLANET — Redes sociales & content strategy
   Todo está encapsulado bajo .cnf-yp y usa el prefijo cnf-
   para no chocar con los estilos de Webflow (clicknaranja.webflow.css).
   Mismo sistema que Filmin, DeAPlaneta y ABC (diseño a 1400 px).
   ========================================================================== */

/* ==========================================================================
   AISLAMIENTO (bloque para insertar en cualquier HTML)
   - Todo cuelga de .cnf-yp y usa el prefijo cnf- (clases, animaciones y variables).
   - Fuentes propias con nombres únicos (no pisan ni dependen de las de la web).
   - Reinicio local: neutraliza los estilos de etiqueta de la web anfitriona
     (márgenes, rellenos, tamaños, transiciones…) solo dentro del bloque.
   ========================================================================== */
@font-face { font-family: "cnf-yp Big Shoulders"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/big-shoulders-display-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "cnf-yp Big Shoulders"; font-weight: 400 600; font-style: normal; font-display: swap; src: url("fonts/big-shoulders-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "cnf-yp Big Shoulders"; font-weight: 700 900; font-style: normal; font-display: swap; src: url("fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "cnf-yp Merriweather"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/merriweather-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "cnf-yp Merriweather"; font-weight: 400 500; font-style: normal; font-display: swap; src: url("fonts/merriweather-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "cnf-yp Merriweather"; font-weight: 600 900; font-style: normal; font-display: swap; src: url("fonts/merriweather-latin-700-normal.woff2") format("woff2"); }

.cnf-yp :where(div, section, article, header, footer, figure, span, b, i, em, strong, time, a, p, h1, h2, h3, h4, ul, ol, li, img, video, svg, button) {
  margin: 0; padding: 0; border: 0; float: none; clear: none;
  min-width: 0; min-height: 0; max-height: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; text-indent: 0; text-decoration: none; text-shadow: none;
  box-shadow: none; outline: 0; border-radius: 0; transition: none; animation: none; filter: none;
  vertical-align: baseline; list-style: none; background-color: transparent;
}
.cnf-yp { font-size: 16px; font-style: normal; letter-spacing: normal; word-spacing: normal; text-transform: none; text-indent: 0; text-shadow: none; }
/* las secciones a sangre (100vw) no deben crear scroll lateral en la página */
body:has(.cnf-yp) { overflow-x: clip; }

.cnf-yp {
  --cnf-ink: #212121;
  --cnf-text: #212121; /* trabajo-negro del sistema (antes #333) */
  --cnf-orange: #ff7043;
  --cnf-line: #e0e0e0;
  --cnf-teal: #43b1cc;          /* azul YouPlanet (cabecera y resultados del PSD) */
  --cnf-yellow: #ffc61a;        /* amarillo Marsupilami */
  --cnf-amber: #f29100;
  --cnf-display: "cnf-yp Big Shoulders", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --cnf-serif: "cnf-yp Merriweather", Merriweather, Georgia, serif;
  --cnf-u: calc(min(100vw, 1400px) / 1400); /* JS lo recalcula con el ancho real */
  position: relative;
  width: 100%;
  color: var(--cnf-text);
  font-family: var(--cnf-serif);
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* --- Reset local (gana a las reglas de elemento de Webflow) ------------ */
.cnf-yp *, .cnf-yp *::before, .cnf-yp *::after { box-sizing: border-box; }
.cnf-yp h2, .cnf-yp h3, .cnf-yp p, .cnf-yp figure, .cnf-yp ul, .cnf-yp li {
  margin: 0; padding: 0; position: static; z-index: auto;
  font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit;
  letter-spacing: normal; text-transform: none;
}
.cnf-yp ul { list-style: none; }
.cnf-yp li { display: block; }
.cnf-yp img, .cnf-yp video { display: block; max-width: none; border: 0; position: static; vertical-align: top; }
.cnf-yp a { color: inherit; text-decoration: none; background: none; }
.cnf-yp svg { display: block; }

/* =========================================================================
   COLLAGES — coordenadas de diseño 1400 px
   ========================================================================= */
.cnf-yp .cnf-collage {
  position: relative; width: 100%; max-width: 1400px;
  height: calc(var(--ch, 2000) * var(--cnf-u));
  margin: 0 auto;
}
.cnf-yp .cnf-it {
  position: absolute;
  left: calc(var(--x) * var(--cnf-u));
  top: calc(var(--y) * var(--cnf-u));
  z-index: var(--z, 2);
}
.cnf-yp .cnf-it[data-cnf-speed] { will-change: transform; }   /* (opt) capa propia solo para lo que se mueve */
.cnf-yp .cnf-text {
  width: calc(var(--tw, 543) * var(--cnf-u));
  font-family: var(--cnf-serif); font-weight: 300;
  font-size: calc(28.5 * var(--cnf-u)); line-height: 1.53; letter-spacing: -0.01em;
  text-align: center; color: var(--cnf-text);
}
.cnf-yp .cnf-text p + p { margin-top: 1.53em; }

/* Elementos 3D (como en los otros casos): parallax + giro suave */
.cnf-yp .cnf-prop { width: calc(var(--pw) * var(--cnf-u)); pointer-events: none; }
.cnf-yp .cnf-prop img { width: 100%; height: auto; }

/* =========================================================================
   1 · RESULTADOS — las cifras son notificaciones de Instagram: saltan,
   cuentan hacia arriba y sueltan iconitos que flotan
   ========================================================================= */
.cnf-yp .cnf-restitle, .cnf-yp .cnf-title {   /* titulares, como en ABC */
  left: 0; width: 100%; text-align: center;
  font-family: var(--cnf-display); font-weight: 300; text-transform: uppercase;
  font-size: calc(137 * var(--cnf-u)); line-height: 0.98; letter-spacing: -0.018em; color: var(--cnf-text);
}
.cnf-yp .cnf-noti { width: calc(310 * var(--cnf-u)); text-align: center; }
.cnf-yp .cnf-noti__pill {
  position: relative; display: inline-flex; align-items: center; gap: calc(14 * var(--cnf-u));
  padding: calc(18 * var(--cnf-u)) calc(34 * var(--cnf-u));
  border-radius: calc(26 * var(--cnf-u));
  background: #ff3040; color: #fff;
  box-shadow: 0 calc(24 * var(--cnf-u)) calc(40 * var(--cnf-u)) calc(-16 * var(--cnf-u)) rgba(255, 48, 64, 0.65);
  transform: scale(0); transform-origin: 50% 120%;
}
.cnf-yp .cnf-noti__pill::after {           /* piquito de la notificación */
  content: ""; position: absolute; left: 50%; bottom: calc(-12 * var(--cnf-u));
  width: calc(26 * var(--cnf-u)); height: calc(26 * var(--cnf-u)); margin-left: calc(-13 * var(--cnf-u));
  background: #ff3040; transform: rotate(45deg); border-radius: 3px;
}
.cnf-yp .cnf-noti.is-on .cnf-noti__pill { animation: cnf-yp-notipop 1.2s cubic-bezier(.2, 1.5, .4, 1) var(--dl, 0s) both; }
@keyframes cnf-yp-notipop { 0% { transform: scale(0) rotate(-8deg); } 60% { transform: scale(1.08) rotate(2deg); } 100% { transform: scale(1) rotate(0); } }
.cnf-yp .cnf-noti__ic { width: calc(54 * var(--cnf-u)); height: calc(54 * var(--cnf-u)); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.cnf-yp .cnf-noti__n {
  font-family: var(--cnf-display); font-weight: 700; text-transform: uppercase;
  font-size: calc(96 * var(--cnf-u)); line-height: 0.9; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.cnf-yp .cnf-noti__l {
  margin-top: calc(30 * var(--cnf-u)) !important; font-family: var(--cnf-display); font-weight: 600;
  font-size: calc(22 * var(--cnf-u)); letter-spacing: 0.24em; text-transform: uppercase; color: var(--cnf-text);
}
.cnf-yp .cnf-noti__fl { position: absolute; left: 0; right: 0; bottom: 60%; height: calc(260 * var(--cnf-u)); pointer-events: none; }
.cnf-yp .cnf-noti__fl i { position: absolute; left: var(--l); bottom: 0; width: calc(30 * var(--cnf-u)); opacity: 0; }
.cnf-yp .cnf-noti__fl svg { width: 100%; height: auto; fill: #ff3040; stroke: #ff3040; stroke-width: 1.2; }
.cnf-yp .cnf-noti.is-on .cnf-noti__fl i { animation: cnf-yp-float 3.5s ease-out var(--d) infinite; }
@keyframes cnf-yp-float {
  0% { transform: translate(0, 0) scale(0.4); opacity: 0; }
  15% { opacity: 0.9; }
  100% { transform: translate(calc(30 * var(--cnf-u)), calc(-220 * var(--cnf-u))) scale(1) rotate(14deg); opacity: 0; }
}

/* =========================================================================
   2 · POSTS — tarjetas de Instagram con parallax por columnas; el corazón
   se enciende cuando el post llega a la pantalla
   ========================================================================= */
.cnf-yp .cnf-igcol { display: flex; flex-direction: column; gap: calc(54 * var(--cnf-u)); }
.cnf-yp .cnf-ig { width: calc(412 * var(--cnf-u)); perspective: calc(1600 * var(--cnf-u)); }
.cnf-yp .cnf-ig__flip { position: relative; transform-style: preserve-3d; will-change: transform; }
.cnf-yp .cnf-ig__face, .cnf-yp .cnf-ig__back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cnf-yp .cnf-ig__back {                  /* el dorso de la carta: YouPlanet */
  position: absolute; inset: 0; transform: rotateY(180deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(26 * var(--cnf-u));
  border-radius: calc(16 * var(--cnf-u)); background: var(--cnf-teal); color: #fff;
  box-shadow: 0 calc(26 * var(--cnf-u)) calc(44 * var(--cnf-u)) calc(-18 * var(--cnf-u)) rgba(0, 0, 0, 0.35);
}
.cnf-yp .cnf-ig__back span { font-family: var(--cnf-display); font-weight: 700; text-transform: uppercase; font-size: calc(96 * var(--cnf-u)); line-height: 0.8; letter-spacing: -0.02em; }
.cnf-yp .cnf-ig__back i { font-style: normal; font-family: var(--cnf-display); font-weight: 600; font-size: calc(18 * var(--cnf-u)); letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.85; }
.cnf-yp .cnf-ig__face {
  position: relative;
  padding: calc(16 * var(--cnf-u)) calc(18 * var(--cnf-u)) calc(18 * var(--cnf-u));
  border-radius: calc(16 * var(--cnf-u));
  background: #eeeeee;
  box-shadow: 0 calc(26 * var(--cnf-u)) calc(44 * var(--cnf-u)) calc(-18 * var(--cnf-u)) rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.cnf-yp .cnf-ig__top, .cnf-yp .cnf-ig__bar { display: flex; align-items: center; gap: calc(12 * var(--cnf-u)); color: #262626; }
.cnf-yp .cnf-ig__top { margin-bottom: calc(12 * var(--cnf-u)); }
.cnf-yp .cnf-ig__brand { flex: 1; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 600; font-size: calc(19 * var(--cnf-u)); letter-spacing: -0.01em; }
.cnf-yp .cnf-ig svg { width: calc(22 * var(--cnf-u)); height: calc(22 * var(--cnf-u)); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cnf-yp .cnf-ig__img { position: relative; overflow: hidden; border-radius: calc(10 * var(--cnf-u)); aspect-ratio: 4 / 5; background: #ddd; }
.cnf-yp .cnf-ig__img img { width: 100%; height: 100%; object-fit: cover; }
.cnf-yp .cnf-ig__track { display: flex; width: 100%; height: 100%; will-change: transform; }
.cnf-yp .cnf-ig__track img { flex: 0 0 100%; }
.cnf-yp .cnf-ig__count { position: absolute; right: 4%; top: 3.5%; z-index: 2; padding: 0.25em 0.6em; border-radius: 99px; background: rgba(0, 0, 0, 0.55); color: #fff; font: 600 max(10px, calc(13 * var(--cnf-u))) / 1.2 "Segoe UI", system-ui, sans-serif; }
.cnf-yp .cnf-ig__dots i { transition: background 0.25s; }
.cnf-yp .cnf-ig__dots i.is-on { background: #3897f0; }
.cnf-yp .cnf-ig__dots { display: flex; justify-content: center; gap: 4px; margin: calc(10 * var(--cnf-u)) 0 calc(6 * var(--cnf-u)); }
.cnf-yp .cnf-ig__dots i { width: 5px; height: 5px; border-radius: 50%; background: #b8b8b8; }
.cnf-yp .cnf-ig:not([data-cnf-car]) .cnf-ig__dots i:first-child { background: #3897f0; }
.cnf-yp .cnf-ig__save { margin-left: auto; }
.cnf-yp .cnf-ig__heart { position: relative; color: #262626; }
.cnf-yp .cnf-ig__heart svg { transition: transform 0.35s cubic-bezier(.3, 1.8, .5, 1), fill 0.2s, color 0.2s; }
.cnf-yp .cnf-ig.is-liked .cnf-ig__heart { color: #ed4956; }
.cnf-yp .cnf-ig.is-liked .cnf-ig__heart svg { fill: #ed4956; transform: scale(1.18); }
.cnf-yp .cnf-ig__pop {               /* corazón grande sobre la imagen (doble toque) */
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none;
  fill: #fff; stroke: none; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}
.cnf-yp .cnf-ig.is-liked .cnf-ig__pop { animation: cnf-yp-pop 0.9s cubic-bezier(.2, 1.4, .4, 1) 1 both; }
@keyframes cnf-yp-pop {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  25% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.95; }
  45% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.95; }
  75% { transform: translate(-50%, -50%) scale(1); opacity: 0.95; }
  100% { transform: translate(-50%, -54%) scale(1); opacity: 0; }
}

/* =========================================================================
   Escenas fijas (comunes) — por JS, sin position:sticky
   ========================================================================= */
.cnf-yp .cnf-stage { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; overflow: hidden; background: #fff; }
.cnf-yp .cnf-stage.is-fixed { position: fixed; left: var(--cnf-col-l, 0px); width: var(--cnf-col-w, 100%); } /* sistema: fija en la columna (lo pone el JS) */
.cnf-yp .cnf-stage.is-after { top: auto; bottom: 0; }
.cnf-yp .cnf-pin { position: relative; width: 100%; left: 0; margin-left: 0; /* sistema: dentro de la columna de la ficha (antes 100vw a sangre) */ height: 400vh; }

/* =========================================================================
   3 · LA LANDING — el portátil entra con parallax entre hojas de selva y
   dentro se recorre la web de Marsupilami (con la cuenta atrás en marcha)
   ========================================================================= */
.cnf-yp .cnf-web .cnf-stage { background: #ffffff; }   /* sin fondo: el blanco de la web */
/* las hojas no se cortan al entrar y salir la escena: solo se recorta en horizontal
   (para no crear scroll lateral); en vertical pueden salirse del bloque */
.cnf-yp .cnf-web .cnf-stage { overflow-x: clip; overflow-y: visible; background: transparent; z-index: 0; }
.cnf-yp .cnf-web { background: #ffffff; }
.cnf-yp .cnf-laptop {
  --lw: min(78vw, 118vh);                 /* ancho del portátil (1400 × 845) */
  position: absolute; left: 50%; top: 52%; z-index: 3;
  width: var(--lw); aspect-ratio: 1400 / 845;
  transform: translate(-50%, -50%) perspective(2400px) translate3d(0, var(--ly, 0px), 0) scale(var(--ls, 1)) rotateX(var(--lr, 0deg)) rotateY(var(--lry, 0deg));
  transform-origin: 50% 90%;
}
.cnf-yp .cnf-laptop__body { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
/* sombra de contacto bajo el portátil (antes era una imagen que parecía un segundo portátil) */
.cnf-yp .cnf-laptop__shadow {
  position: absolute; left: 1%; width: 98%; top: 92%; height: 10%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0) 72%);
}
.cnf-yp .cnf-laptop__screen {            /* pantalla: 169,43 → 1250,719 sobre 1400 × 845 */
  position: absolute; z-index: 2; overflow: hidden; background: #fff;
  left: 12.07%; top: 5.09%; width: 77.21%; height: 80%;
  border-radius: 0.4% / 0.6%;
}
.cnf-yp .cnf-laptop__page { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.cnf-yp .cnf-laptop__page > img { width: 100%; height: auto; }
/* las hojas de encima de la web van en una capa del tamaño de la pantalla pero SIN recorte:
   pueden salirse por el marco del portátil y se desvanecen al alejarse (no se nota máscara) */
.cnf-yp .cnf-laptop__over { position: absolute; z-index: 4; left: 12.07%; top: 5.09%; width: 77.21%; height: 80%; pointer-events: none; }
.cnf-yp .cnf-laptop__layer { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; }
.cnf-yp .cnf-pl { position: absolute; will-change: transform; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25)); }
.cnf-yp .cnf-pl img { width: 100%; height: auto; }
.cnf-yp .cnf-laptop__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 38%);
}
.cnf-yp .cnf-trl {                       /* hueco del tráiler en la landing: 129,1149 → 1009,1647 sobre 1440 × 5908 */
  position: absolute; left: 8.958%; top: 19.448%; width: 61.111%; height: 8.429%; overflow: hidden; pointer-events: none;
}
/* el vídeo aparece encima de la miniatura de la landing solo cuando ya ha cargado */
.cnf-yp .cnf-trl video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.cnf-yp .cnf-cd { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.cnf-yp .cnf-cd b {                        /* dígitos de la cuenta atrás, sobre los huecos de la landing */
  position: absolute; top: 12.93%; height: 1.39%; width: 7.08%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cnf-display); font-weight: 700; color: #111; line-height: 1;
  font-size: calc(var(--lw) * 0.772 * 0.052); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.cnf-yp .cnf-cd b:nth-child(1) { left: 28.06%; }
.cnf-yp .cnf-cd b:nth-child(2) { left: 40.07%; }
.cnf-yp .cnf-cd b:nth-child(3) { left: 52.01%; }
.cnf-yp .cnf-cd b:nth-child(4) { left: 64.03%; }
.cnf-yp .cnf-cursor {                      /* el ratón que hace scroll en la web */
  position: absolute; z-index: 4; left: 58%; top: 46%; width: calc(var(--lw) * 0.018); pointer-events: none;
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
.cnf-yp .cnf-leaf { position: absolute; z-index: var(--z, 1); pointer-events: none; width: var(--lf, 14vw); will-change: transform; }
.cnf-yp .cnf-leaf img { width: 100%; height: auto; }
.cnf-yp .cnf-leaf--blur { }   /* (v15) el desenfoque va ya en la imagen (hoja-N-blur.webp): sin filter en vivo */
.cnf-yp .cnf-tail { position: absolute; z-index: 4; left: 4vw; top: -6vh; width: min(9vw, 15vh); pointer-events: none; transform-origin: 50% 0; will-change: transform; }
.cnf-yp .cnf-tail img { width: 100%; height: auto; }
.cnf-yp .cnf-web__logo { position: absolute; z-index: 4; left: 50%; top: 5vh; width: min(30vw, 46vh); transform: translate(-50%, var(--gy, 0px)); opacity: var(--go, 1); pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18)); }
.cnf-yp .cnf-web__logo img { width: 100%; height: auto; }

/* =========================================================================
   4 · INFLUENCERS — muro de Reels inclinado en perspectiva (como el cierre de
   Filmin, en verde selva); columnas en sentido contrario al bajar
   ========================================================================= */
.cnf-yp .cnf-reels {
  position: relative; width: 100%; left: 0; margin-left: 0; /* sistema: dentro de la columna de la ficha (antes 100vw a sangre) */ height: 135vh; overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #1d4a2c 0%, #0e2416 70%, #08160d 100%);
}
.cnf-yp .cnf-wall {
  position: absolute; left: 50%; top: 50%; width: 150vw; height: 300vh;
  transform: translate(-50%, -50%) perspective(1700px) rotateX(22deg) rotateZ(9deg);
  display: flex; justify-content: center; gap: 2vw;
}
.cnf-yp .cnf-wall__col { flex: 0 0 15vw; display: flex; flex-direction: column; gap: 2vw; will-change: transform; }
.cnf-yp .cnf-wall__col { justify-content: center; }
.cnf-yp .cnf-wall__col:nth-child(even) { margin-top: -30vh; }
.cnf-yp .cnf-reel {
  position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 1vw; background: #111;
  box-shadow: 0 2.4vw 3.6vw -1.6vw rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.cnf-yp .cnf-reel video { width: 100%; height: 100%; object-fit: cover; }
.cnf-yp .cnf-reel__ui { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 72%, rgba(0,0,0,0.5) 100%); }
.cnf-yp .cnf-reel__ui > svg { position: absolute; left: 8%; top: 5%; width: 13%; height: auto; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }
.cnf-yp .cnf-reel__ui i {
  position: absolute; left: 8%; bottom: 5%; display: flex; align-items: center; gap: 0.4em;
  font-style: normal; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 600; font-size: max(10px, 0.95vw); color: #fff;
}
.cnf-yp .cnf-reel__ui i svg { width: 1.3em; height: 1.3em; fill: #ff3040; stroke: none; }
.cnf-yp .cnf-reels__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(8, 22, 13, 0) 45%, rgba(8, 22, 13, 0.75) 100%); }
.cnf-yp .cnf-reels .cnf-leaf { position: absolute; }

/* =========================================================================
   2 · CALENDARIO — escena fija horizontal: los posts cuelgan de su fecha y los
   estrenos son sellos que golpean al llegar la línea
   ========================================================================= */
.cnf-yp .cnf-cal .cnf-stage { background: transparent; }   /* transparente: la escena se monta sobre el margen vacío de los bloques vecinos (sin huecos; lo calcula el JS) */
.cnf-yp .cnf-cal__track { position: absolute; left: 0; top: 0; height: 100%; width: 1px; will-change: transform; }
.cnf-yp .cnf-cal__line { position: absolute; left: 0; top: 52%; height: 3px; margin-top: -1.5px; background: #e4e4e4; }
.cnf-yp .cnf-cal__fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--cnf-ink); }
.cnf-yp .cnf-cal__mes {
  position: absolute; top: 52%; transform: translate3d(0, -50%, 0); white-space: nowrap; pointer-events: none;
  font-family: var(--cnf-display); font-weight: 600; text-transform: uppercase; line-height: 0.8;
  font-size: 24vh; letter-spacing: -0.02em; color: rgba(67, 177, 204, 0.12);
}
.cnf-yp .cnf-cal__post { position: absolute; top: 52%; width: var(--cw); margin-left: calc(var(--cw) / -2); z-index: 2; }
.cnf-yp .cnf-cal__post.is-up { transform: translateY(calc(-100% - 5vh)); }
.cnf-yp .cnf-cal__post.is-down { transform: translateY(5vh); }
.cnf-yp .cnf-cal__card {
  display: block; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translateY(var(--from, 40px)) scale(0.82) rotate(var(--rt, 0deg));
  transition: opacity 0.45s, transform 0.7s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.cnf-yp .cnf-cal__post.is-up .cnf-cal__card { --from: -40px; }
.cnf-yp .cnf-cal__post.is-on .cnf-cal__card { opacity: 1; transform: rotate(var(--rt, 0deg)); }
.cnf-yp .cnf-cal__card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.cnf-yp .cnf-cal__stem { position: absolute; left: 50%; width: 2px; height: 5vh; margin-left: -1px; background: var(--cnf-ink); transform-origin: 50% 100%; transform: scaleY(0); transition: transform 0.4s; }
.cnf-yp .cnf-cal__post.is-up .cnf-cal__stem { top: 100%; }
.cnf-yp .cnf-cal__post.is-down .cnf-cal__stem { bottom: 100%; transform-origin: 50% 0; }
.cnf-yp .cnf-cal__post.is-on .cnf-cal__stem { transform: none; }
.cnf-yp .cnf-cal__date {
  position: absolute; left: 50%; z-index: 2; transform: translateX(-50%); white-space: nowrap;
  padding: 0.35em 0.8em; border-radius: 99px; background: var(--cnf-ink); color: #fff;
  font-family: var(--cnf-display); font-weight: 600; font-size: max(12px, 1.9vh); letter-spacing: 0.08em; line-height: 1;
  opacity: 0; transition: opacity 0.4s 0.15s;
}
.cnf-yp .cnf-cal__post.is-on .cnf-cal__date { opacity: 1; }
.cnf-yp .cnf-cal__post.is-up .cnf-cal__date { top: -1.1em; }
.cnf-yp .cnf-cal__post.is-down .cnf-cal__date { bottom: -1.1em; }
.cnf-yp .cnf-cal__rel { position: absolute; top: 52%; z-index: 5; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.cnf-yp .cnf-cal__rel span {
  display: block; padding: 0.55em 1em 0.5em; border-radius: 14px; background: var(--rc, var(--cnf-yellow)); color: var(--cnf-ink);
  font-family: var(--cnf-display); text-transform: uppercase; line-height: 0.95; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); transform: rotate(-6deg) scale(0.9); transition: transform 0.5s cubic-bezier(0.2, 1.8, 0.4, 1);
}
.cnf-yp .cnf-cal__rel strong { display: block; font-weight: 700; font-size: max(18px, 3.2vh); }
.cnf-yp .cnf-cal__rel em { display: block; font-style: normal; font-weight: 600; font-size: max(12px, 1.9vh); letter-spacing: 0.06em; }
.cnf-yp .cnf-cal__rel.is-hit span { transform: rotate(-6deg) scale(1.12); }
.cnf-yp .cnf-cal__now {
  position: absolute; left: 50%; top: 52%; z-index: 4; transform: translate(-50%, -50%); pointer-events: none;
  padding: 0.4em 0.75em; border-radius: 99px; background: var(--cnf-orange); color: #fff; white-space: nowrap;
  font-family: var(--cnf-display); font-weight: 700; font-size: max(13px, 2vh); letter-spacing: 0.1em; line-height: 1;
}

/* =========================================================================
   5 · CREAMOS DEBATE — comentarios reales que aparecen "escribiendo…"
   ========================================================================= */
.cnf-yp .cnf-cm {
  width: calc(420 * var(--cnf-u)); padding: calc(24 * var(--cnf-u)) calc(26 * var(--cnf-u)) calc(26 * var(--cnf-u));
  background: #fff; border-radius: calc(22 * var(--cnf-u)); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #0f1419; text-align: left;
  opacity: 0; transform: translateY(50px) scale(0.85);
}
.cnf-yp .cnf-cm.is-on { animation: cnf-yp-cmpop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) var(--dl, 0s) both; }
@keyframes cnf-yp-cmpop { from { opacity: 0; transform: translateY(50px) scale(0.85); } to { opacity: 1; transform: none; } }
.cnf-yp .cnf-cm header { display: flex; align-items: center; gap: 0.55em; font-size: calc(19 * var(--cnf-u)); }
.cnf-yp .cnf-cm__av {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 2.6em; height: 2.6em; border-radius: 50%;
  background: var(--av); color: #fff; font-weight: 700; font-size: 0.9em;
}
.cnf-yp .cnf-cm header b { font-weight: 700; }
.cnf-yp .cnf-cm header time { color: #536471; }
.cnf-yp .cnf-cm__b { position: relative; margin-top: 0.7em; min-height: 1.6em; font-size: calc(21 * var(--cnf-u)); line-height: 1.45; }
.cnf-yp .cnf-cm__b p { opacity: 0; transition: opacity 0.4s; }
.cnf-yp .cnf-cm.is-on .cnf-cm__b p { opacity: 1; transition-delay: calc(var(--dl, 0s) + 1.3s); }
.cnf-yp .cnf-cm__dots { position: absolute; left: 0; top: 0.35em; display: flex; gap: 0.3em; transition: opacity 0.2s; }
.cnf-yp .cnf-cm.is-on .cnf-cm__dots { opacity: 0; transition-delay: calc(var(--dl, 0s) + 1.2s); }
.cnf-yp .cnf-cm__dots i { width: 0.45em; height: 0.45em; border-radius: 50%; background: #9aa6b0; animation: cnf-yp-dot 0.9s infinite; }
.cnf-yp .cnf-cm__dots i:nth-child(2) { animation-delay: 0.15s; }
.cnf-yp .cnf-cm__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cnf-yp-dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-0.3em); opacity: 1; } }

/* =========================================================================
   MÁS COSITAS
   ========================================================================= */
.cnf-yp .cnf-mas {
  position: relative; width: 100%; left: 0; margin-left: 0; /* sistema: dentro de la columna de la ficha (antes 100vw a sangre) */
  padding: calc(40 * var(--cnf-u)) 20px calc(120 * var(--cnf-u));
  background: #fff; border-top: 1px solid var(--cnf-line); text-align: center;
}
.cnf-yp .cnf-mas__title {
  font-family: var(--cnf-display); font-weight: 300;
  font-size: calc(137 * var(--cnf-u)); line-height: 0.98; letter-spacing: -0.018em;
  text-transform: uppercase; color: var(--cnf-text);
}
.cnf-yp .cnf-mas__text {
  max-width: calc(560 * var(--cnf-u)); margin: calc(110 * var(--cnf-u)) auto 0;
  font-family: var(--cnf-serif); font-weight: 300; font-size: calc(22 * var(--cnf-u)); line-height: 1.53; color: var(--cnf-text);
}
.cnf-yp .cnf-mas__cta {
  margin: calc(50 * var(--cnf-u)) auto 0;
  font-family: var(--cnf-serif); font-weight: 700; font-size: calc(22 * var(--cnf-u)); line-height: 1.5; color: var(--cnf-text);
}
.cnf-yp .cnf-link { position: relative; display: inline-block; border-bottom: 2px solid var(--cnf-orange); transition: color 0.3s; }
.cnf-yp .cnf-link:hover { color: var(--cnf-orange); }

/* =========================================================================
   MÓVIL
   ========================================================================= */
@media screen and (max-width: 899px) {
  .cnf-yp .cnf-collage {
    height: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
    gap: 22px 12px; padding: 40px 16px 60px;
  }
  .cnf-yp .cnf-it { position: relative; left: auto; top: auto; }
  .cnf-yp .cnf-text { width: 100%; max-width: 520px; margin: 10px auto; font-size: 18px; }
  .cnf-yp .cnf-prop { width: 30%; max-width: 140px; }
  .cnf-yp .cnf-restitle, .cnf-yp .cnf-title { width: 100%; font-size: clamp(46px, 12vw, 96px); }
  .cnf-yp .cnf-cm { width: 100%; max-width: 420px; padding: 18px 20px 20px; border-radius: 18px; }
  .cnf-yp .cnf-cm header { font-size: 15px; }
  .cnf-yp .cnf-cm__b { font-size: 16px; }
  .cnf-yp .cnf-debate > .cnf-it { width: 100%; display: flex; justify-content: center; }
  .cnf-yp .cnf-debate > .cnf-text { display: block; }
  .cnf-yp .cnf-cal__mes { font-size: 18vh; }
  .cnf-yp .cnf-noti { width: 100%; margin: 26px 0 4px; }
  .cnf-yp .cnf-noti__pill { gap: 10px; padding: 12px 24px; border-radius: 18px; }
  .cnf-yp .cnf-noti__pill::after { width: 18px; height: 18px; margin-left: -9px; bottom: -8px; }
  .cnf-yp .cnf-noti__ic { width: 36px; height: 36px; }
  .cnf-yp .cnf-noti__n { font-size: 60px; }
  .cnf-yp .cnf-noti__l { margin-top: 18px !important; font-size: 14px; }
  .cnf-yp .cnf-noti__fl { height: 140px; }
  .cnf-yp .cnf-noti__fl i { width: 20px; }
  .cnf-yp .cnf-ig__back span { font-size: 44px; }
  .cnf-yp .cnf-ig__back i { font-size: 10px; }
  .cnf-yp .cnf-igcol { display: contents; }
  .cnf-yp .cnf-ig { width: calc(50% - 6px); }
  .cnf-yp .cnf-ig__face, .cnf-yp .cnf-ig__back { padding: 8px 8px 10px; border-radius: 10px; }
  .cnf-yp .cnf-ig__top { margin-bottom: 7px; gap: 6px; }
  .cnf-yp .cnf-ig__brand { font-size: 12px; }
  .cnf-yp .cnf-ig svg { width: 14px; height: 14px; }
  .cnf-yp .cnf-ig__bar { gap: 7px; }
  .cnf-yp .cnf-ig__img { border-radius: 6px; }
  .cnf-yp .cnf-laptop { --lw: 112vw; top: 50%; }
  .cnf-yp .cnf-web__logo { width: 64vw; top: 9vh; }
  .cnf-yp .cnf-tail { width: 18vw; left: 2vw; }
  .cnf-yp .cnf-reels { height: 115vh; }
  .cnf-yp .cnf-wall { width: 230vw; height: 260vh; gap: 3.4vw; }
  .cnf-yp .cnf-wall__col { flex-basis: 34vw; gap: 3.4vw; }
  .cnf-yp .cnf-reel { border-radius: 2.4vw; }
  .cnf-yp .cnf-reel__ui i { font-size: 10px; }
  .cnf-yp .cnf-mas { padding: 50px 20px 80px; }
  .cnf-yp .cnf-mas__title { font-size: clamp(52px, 13vw, 96px); }
  .cnf-yp .cnf-mas__text, .cnf-yp .cnf-mas__cta { max-width: 420px; font-size: 17px; }
  .cnf-yp .cnf-mas__text { margin-top: 40px; }
  .cnf-yp .cnf-mas__cta { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .cnf-yp .cnf-ig.is-liked .cnf-ig__pop { animation: none; }
  .cnf-yp .cnf-noti.is-on .cnf-noti__fl i { animation: none; }
  .cnf-yp .cnf-noti__pill { transform: none; }
  .cnf-yp .cnf-noti.is-on .cnf-noti__pill { animation: none; }
  .cnf-yp .cnf-cm, .cnf-yp .cnf-cm.is-on { animation: none; opacity: 1; transform: none; }
  .cnf-yp .cnf-cm__b p { opacity: 1; } .cnf-yp .cnf-cm__dots { display: none; }
}

/* Sistema de diseño (8-nov-2026): texto corrido con la escala de .introduction, igual en todas las fichas
   (1.2rem; 1.6rem desde 1440; 1.25rem hasta 991; 1.125rem hasta 767). Antes escalaba con el ancho del collage. */
.cnf-yp .cnf-text, .cnf-yp .cnf-mas__text, .cnf-yp .cnf-mas__cta { font-size: 1.2rem; line-height: 1.5; }
@media (min-width: 1440px) { .cnf-yp .cnf-text, .cnf-yp .cnf-mas__text, .cnf-yp .cnf-mas__cta { font-size: 1.6rem; } }
@media (max-width: 991px) { .cnf-yp .cnf-text, .cnf-yp .cnf-mas__text, .cnf-yp .cnf-mas__cta { font-size: 1.25rem; } }
@media (max-width: 767px) { .cnf-yp .cnf-text, .cnf-yp .cnf-mas__text, .cnf-yp .cnf-mas__cta { font-size: 1.125rem; } }

/* (9-nov-2026) La cola grande: girada 18° sobre su punta de arriba (5 % / 1,3 % de la imagen) y movida a la izquierda
   lo justo para que esa punta quede fuera de la escena (recortada por .cnf-stage): no se ve dónde empieza. El balanceo
   del JS (rotate en .cnf-tail) va encima de este giro. --cnf-tl = el left de .cnf-tail. */
.cnf-yp .cnf-tail { --cnf-tl: 4vw; }
.cnf-yp .cnf-tail img { transform-origin: 5% 1.3%; transform: translateX(calc(-1 * var(--cnf-tl) - 5% - 28px)) rotate(-18deg); }
@media screen and (max-width: 899px) { .cnf-yp .cnf-tail { --cnf-tl: 2vw; } }
