/* Casos de éxito (/casos/): mismo esqueleto y tokens que las páginas legales (legal.css), con su propio contenido. */
.cs-ribbon { background: #B45309; color: #fff; text-align: center; font-size: 14px; padding: 9px 16px; }
.cs-ribbon b { font-weight: 700; }
.cs-wrap { flex: 1; width: 100%; max-width: 920px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) 16px 56px; box-sizing: border-box; }
.cs-wrap > h1, .cs-case h1 { font: 650 clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem)/1.2 var(--font); letter-spacing: -.015em; margin: 0 0 10px; overflow-wrap: anywhere; }
.cs-eyebrow { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 600; margin: 0 0 8px; }
.cs-lead { font-size: 17px; color: var(--ink-2); margin: 0 0 22px; max-width: 62ch; }
.cs-case { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 4vw, 44px); }
.cs-case h2 { font-size: 18px; font-weight: 650; margin: 30px 0 12px; }
.cs-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 22px; }
.cs-who div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); min-width: 0; }
.cs-who dt { font-size: 12px; color: var(--ink-3); margin: 0 0 2px; }
.cs-who dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cs-who a { color: var(--accent); }
.cs-net { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-left: 4px; }
.cs-scene { margin: 0; }
.cs-scene img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 10px; background: #0B1239; }
.cs-scene figcaption { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.cs-scene a { color: var(--accent); }
.cs-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 14px; }
.cs-tile { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.cs-tile dt { font-size: 13px; color: var(--ink-3); margin: 0 0 4px; }
.cs-tile dd { margin: 0; display: grid; gap: 2px; }
.cs-tile b { font: 650 clamp(1.4rem, 1.1rem + 1vw, 1.8rem)/1.15 var(--font); color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cs-tile span { font-size: 12.5px; color: var(--ink-3); }
.cs-source { font-size: 13.5px; color: var(--ink-2); margin: 0 0 18px; }
.cs-quote { margin: 22px 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.cs-quote p { font: italic 400 1.2rem/1.5 var(--serif, var(--font)); color: var(--ink); margin: 0 0 8px; }
.cs-quote footer { font-size: 14px; color: var(--ink-2); }
.cs-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cs-card { display: grid; height: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); color: var(--ink); }
.cs-card:hover { text-decoration: none; border-color: var(--accent); }
.cs-card img { width: 100%; height: 180px; object-fit: cover; display: block; background: #0B1239; }
.cs-card-body { display: grid; gap: 4px; padding: 14px 16px 16px; font-size: 13.5px; color: var(--ink-3); }
.cs-card h2 { font-size: 17px; font-weight: 650; color: var(--ink); margin: 0; }
/* Caso propio (vídeo de la casa con un producto sin marca) y vídeo vertical de YouTube que solo se carga al darle al play. */
.cs-own { font-size: 14.5px; color: var(--ink-2); margin: -6px 0 22px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 10px; background: var(--surface-2); max-width: 70ch; }
.cs-own b { color: var(--ink); }
.cs-scene-v { display: grid; justify-items: center; }
.cs-yt { position: relative; width: min(100%, 360px, calc(78vh * 9 / 16)); border-radius: 14px; overflow: hidden; background: #0B1239; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .7); }
.cs-yt img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border-radius: 0; }
.cs-yt iframe { display: block; width: 100%; height: 100%; border: 0; }
.cs-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-decoration: none; background: linear-gradient(180deg, rgba(11, 18, 57, 0) 45%, rgba(11, 18, 57, .55)); }
.cs-play svg { width: 72px; height: 72px; padding: 18px 16px 18px 20px; box-sizing: border-box; border-radius: 50%; background: rgba(11, 18, 57, .72); border: 2px solid rgba(255, 255, 255, .85); transition: transform .15s ease, background .15s ease; }
.cs-play:hover svg, .cs-play:focus-visible svg { transform: scale(1.06); background: var(--accent); }
.cs-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.cs-scene-v figcaption { text-align: center; max-width: 52ch; }
.cs-yt-note { display: block; font-size: 12px; margin-top: 4px; }
/* Página del caso en dos columnas (19-nov-2026): vídeo vertical fijo a la izquierda y datos a la derecha; barra del
   producto en pantalla, tope por segundo visto y llamadas para marcas y creadores. */
.cs-wrap.cs-wide { max-width: 1120px; }
.cs-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin: 0 0 12px; }
.cs-crumbs a { color: var(--ink-2); }
.cs-crumbs [aria-current] { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.cs-grid { display: grid; gap: 24px; margin-top: 8px; }
.cs-info { min-width: 0; }
.cs-info .cs-own { margin-top: 0; }
.cs-info > h2:first-of-type { margin-top: 6px; }
@media (min-width: 900px) {
  .cs-grid-v { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: start; gap: 36px; }
  .cs-grid-v .cs-media { position: sticky; top: 84px; }
  .cs-grid-v .cs-yt { width: min(100%, 360px, calc((100vh - 200px) * 9 / 16)); }
  .cs-grid-v .cs-metrics { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
.cs-screen { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.cs-screen-bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--fg-mix, #888) 14%, transparent); overflow: hidden; }
.cs-screen-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #22C55E); }
.cs-screen p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.cs-screen b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cs-calc { margin: 30px 0 0; padding: clamp(16px, 3vw, 24px); border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--accent-soft); }
.cs-calc h2 { margin: 0 0 8px !important; }
.cs-calc p { margin: 0 0 8px; font-size: 15.5px; color: var(--ink-2); max-width: 75ch; }
.cs-calc b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cs-calc .cs-calc-note { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.cs-calc a { color: var(--accent); }
.cs-next { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.cs-next h2 { margin-top: 0 !important; }
.cs-next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.cs-next-card { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.cs-next-card:hover, .cs-next-card:focus-visible { text-decoration: none; border-color: var(--accent); transform: translateY(-1px); }
.cs-next-k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; color: var(--accent); }
.cs-next-card b { font-size: 16.5px; font-weight: 650; }
.cs-next-card span:last-child { font-size: 14px; color: var(--ink-2); }
