/* ============================================================
   KJA · Página de videos cortos (videos.html)
   Hero claro + cuadrícula de reels + carrusel interactivo.
   ============================================================ */

/* Navbar sobre hero claro: enlaces en azul, activo en rosa (igual que cursos). */
.nav-desktop-only .nav-links-center li a {
    color: var(--primary-blue);
}

.nav-desktop-only .nav-links-center li a:hover,
.nav-desktop-only .nav-links-center li a.active {
    color: var(--primary-pink);
}

.kv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ───────────── Hero ───────────── */
.kv-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 24px 70px;
    font-family: 'Poppins', sans-serif;
    background:
        radial-gradient(720px 420px at 85% 30%, rgba(241, 0, 117, 0.08) 0%, transparent 65%),
        radial-gradient(640px 380px at 8% 85%, rgba(0, 79, 176, 0.08) 0%, transparent 65%),
        linear-gradient(180deg, #fdf3f8 0%, #f1f5fc 100%);
}

.kv-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.kv-orb--pink {
    width: 120px;
    height: 120px;
    top: 120px;
    left: -40px;
    background: radial-gradient(circle at 32% 30%, #ff8ec4 0%, #f10075 55%, #a3004f 100%);
    box-shadow: 0 24px 48px rgba(241, 0, 117, 0.3), inset -12px -14px 28px rgba(0, 0, 0, 0.18);
    animation: kvFloat 9s ease-in-out infinite;
}

.kv-orb--blue {
    width: 150px;
    height: 150px;
    right: -50px;
    bottom: 40px;
    background: radial-gradient(circle at 32% 30%, #6ba6ff 0%, #004fb0 60%, #002a63 100%);
    box-shadow: 0 26px 52px rgba(0, 79, 176, 0.3), inset -14px -16px 30px rgba(0, 0, 0, 0.2);
    animation: kvFloat 11s ease-in-out infinite reverse;
}

.kv-orb--glass {
    width: 80px;
    height: 80px;
    left: 46%;
    bottom: 30px;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(214, 230, 255, 0.55) 45%, rgba(160, 195, 245, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 36px rgba(0, 47, 112, 0.12);
    animation: kvFloat 8s ease-in-out infinite;
}

@keyframes kvFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.kv-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
}

.kv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f10075;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
}

.kv-eyebrow::before {
    content: '';
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #f10075, #7b3fe4);
}

.kv-title {
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    color: #0a1f44;
    margin: 0 0 18px;
}

.kv-title em {
    display: block;
    color: #f10075;
    font-weight: 400;
}

.kv-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5b6472;
    max-width: 470px;
    margin: 0 0 22px;
}

.kv-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    color: #2a3b58;
    font-size: 0.88rem;
    font-weight: 600;
}

.kv-hero-facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.kv-hero-facts svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #f10075;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kv-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kv-btn-primary,
.kv-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kv-btn-primary {
    background: #f10075;
    color: #fff;
    box-shadow: 0 10px 24px rgba(241, 0, 117, 0.3);
}

.kv-btn-primary svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kv-btn-primary:hover {
    color: #fff;
    background: #d10065;
    box-shadow: 0 14px 30px rgba(241, 0, 117, 0.4);
}

.kv-btn-outline {
    border: 1.5px solid rgba(0, 79, 176, 0.3);
    color: #004fb0;
    background: rgba(255, 255, 255, 0.65);
}

.kv-btn-outline:hover {
    background: #004fb0;
    border-color: #004fb0;
    color: #fff;
}

/* Destacado: los tres videos más recientes apilados como un mini carrusel. */
.kv-featured {
    --fw: 228px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.kv-feature-stack {
    position: relative;
    width: 100%;
    height: calc(var(--fw) * 16 / 9 + 20px);
}

.kv-feature-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--fw);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: none;
    cursor: pointer;
    font: inherit;
    transition: box-shadow 0.3s ease, filter 0.3s ease;
}

.kv-feature-card .kv-cover {
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(10, 31, 68, 0.28);
}

.kv-feature-card--1 {
    z-index: 3;
    margin-left: calc(var(--fw) / -2);
}

.kv-feature-card--2 {
    z-index: 2;
    top: 20px;
    margin-left: calc(var(--fw) * -1.06);
    transform: rotate(-8deg) scale(0.86);
    filter: brightness(0.92) saturate(0.9);
}

.kv-feature-card--3 {
    z-index: 1;
    top: 20px;
    margin-left: calc(var(--fw) * 0.06);
    transform: rotate(8deg) scale(0.86);
    filter: brightness(0.92) saturate(0.9);
}

.kv-feature-card--1:hover .kv-play,
.kv-feature-card--1:focus-visible .kv-play {
    background: #f10075;
    color: #fff;
}

.kv-feature-card:focus-visible {
    outline: 3px solid #004fb0;
    outline-offset: 4px;
}

.kv-feature-label {
    width: min(320px, 92%);
    margin: 0;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(13, 38, 76, 0.14);
    color: #0a1f44;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
}

.kv-feature-label b {
    display: inline-block;
    margin-bottom: 4px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(241, 0, 117, 0.1);
    color: #f10075;
    font-size: 0.66rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.kv-feature-label b {
    margin-right: 6px;
}

/* ───────────── Portadas (compartidas por tarjetas, destacado y carrusel) ───────────── */
.kv-cover {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 18px;
    background: #0a1f44;
    isolation: isolate;
}

.kv-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kv-art {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18% 9% 26%;
    text-align: left;
    background:
        radial-gradient(120% 70% at 100% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 55%),
        linear-gradient(160deg, var(--tone-a) 0%, var(--tone-b) 100%);
    color: #fff;
}

.kv-art-logo {
    position: absolute;
    top: 7%;
    left: 8%;
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 8px;
    background: #fff;
}

.kv-art-logo img {
    width: 42px;
    height: auto;
    display: block;
}

.kv-art-eyebrow {
    margin-bottom: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    opacity: 0.9;
}

.kv-art-title {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.18;
}

.kv-art-ring {
    position: absolute;
    top: 30%;
    right: -18%;
    width: 64%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 0 0 14px rgba(255, 255, 255, 0.07);
}

.kv-platform,
.kv-duration,
.kv-sample {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.kv-platform {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: #0a1f44;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.kv-platform svg {
    width: 16px;
    height: 16px;
}

.kv-duration {
    right: 10px;
    bottom: 10px;
    padding: 5px 8px;
    background: rgba(10, 22, 40, 0.72);
    color: #fff;
}

.kv-sample {
    left: 10px;
    bottom: 10px;
    padding: 5px 9px;
    background: #ffd84d;
    color: #4a3700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.kv-play {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 54px;
    height: 54px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #f10075;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.kv-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    fill: currentColor;
}

/* ───────────── Catálogo ───────────── */
.kv-catalog {
    padding: 70px 0 80px;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #f1f5fc 0%, #ffffff 100%);
}

.kv-catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.kv-catalog-head h2 {
    position: relative;
    margin: 0 0 6px;
    font-size: 2rem;
    font-weight: 800;
    color: #101828;
}

.kv-catalog-head h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f10075, #004fb0);
}

.kv-catalog-head p {
    margin: 0;
    color: #5b6472;
}

.kv-demo-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 9999px;
    background: #fff6d6;
    border: 1px solid #f3d36b;
    color: #6b4f00;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kv-demo-note::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0a800;
}

.kv-demo-note[hidden] {
    display: none;
}

.kv-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kv-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.kv-card .kv-cover {
    box-shadow: 0 14px 30px rgba(13, 38, 76, 0.14);
    transition: box-shadow 0.3s ease, translate 0.3s ease;
}

.kv-card:hover .kv-cover {
    translate: 0 -4px;
    box-shadow: 0 22px 40px rgba(13, 38, 76, 0.2);
}

.kv-card:hover .kv-play,
.kv-card:focus-visible .kv-play {
    background: #f10075;
    color: #fff;
}

.kv-card:focus-visible {
    outline: none;
}

.kv-card:focus-visible .kv-cover {
    outline: 3px solid #004fb0;
    outline-offset: 3px;
}

.kv-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 2px;
}

.kv-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #101828;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.kv-card-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #6b7686;
    font-size: 0.78rem;
    font-weight: 600;
}

.kv-card-meta i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.kv-empty {
    padding: 60px 20px;
    text-align: center;
    color: #5b6472;
}

.kv-empty[hidden] {
    display: none;
}

.kv-empty svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: #f10075;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kv-empty h3 {
    margin: 12px 0 6px;
    color: #101828;
}

.kv-disclaimer {
    max-width: 760px;
    margin: 46px auto 0;
    color: #7a8494;
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
}

.kv-cta h2 em {
    color: #ffd1e6;
}

/* ───────────── Carrusel interactivo ───────────── */
.kv-viewer {
    --kv-h: min(68vh, 620px);
    --kv-w: calc(var(--kv-h) * 9 / 16);
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

.kv-viewer[hidden] {
    display: none;
}

.kv-viewer-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 50% 45%, rgba(0, 79, 176, 0.35) 0%, transparent 70%),
        rgba(6, 14, 30, 0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    animation: kvFade 0.25s ease both;
}

.kv-viewer-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px 0;
}

.kv-counter {
    padding: 7px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.kv-viewer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kv-external {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.kv-external[hidden] {
    display: none;
}

.kv-external:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
}

.kv-external svg,
.kv-close svg,
.kv-nav svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kv-external svg {
    width: 16px;
    height: 16px;
}

.kv-close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.kv-close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.kv-close svg {
    width: 20px;
    height: 20px;
}

.kv-close:focus-visible,
.kv-external:focus-visible,
.kv-nav:focus-visible,
.kv-dot:focus-visible {
    outline: 3px solid #ff7ab8;
    outline-offset: 3px;
}

.kv-stage-wrap {
    position: relative;
    z-index: 1;
    min-height: 0;
}

.kv-stage {
    position: absolute;
    inset: 0;
    perspective: 1400px;
    overflow: hidden;
    touch-action: pan-y;
}

/* Cada tarjeta se ubica según su distancia al centro (--offset la fija el JS). */
.kv-slide {
    --step: calc(var(--kv-w) * 0.82);
    --scale: calc(1 - var(--distance) * 0.15);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: var(--kv-w);
    height: var(--kv-h);
    margin: auto 0 auto calc(var(--kv-w) / -2);
    transform: translateX(calc(var(--offset) * var(--step))) rotateY(calc(var(--offset) * -18deg)) scale(var(--scale));
    transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.24, 1), opacity 0.45s ease, filter 0.45s ease;
    cursor: pointer;
}

.kv-slide.is-near {
    opacity: calc(1 - var(--distance) * 0.25);
    filter: brightness(0.62) saturate(0.85);
}

.kv-slide.is-far {
    opacity: 0;
    pointer-events: none;
}

.kv-slide.is-active {
    cursor: default;
}

.kv-slide-media {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
    background: #000;
}

.kv-slide-media > .kv-cover {
    height: 100%;
    border-radius: 0;
}

.kv-slide-media .kv-art-title {
    font-size: clamp(1.2rem, calc(var(--kv-w) * 0.075), 1.7rem);
}

.kv-slide-media .kv-art-logo img {
    width: 52px;
}

.kv-slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 50px 16px 16px;
    border-radius: 0 0 26px 26px;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 10, 24, 0.85) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kv-slide.is-near .kv-slide-caption {
    opacity: 1;
}

.kv-slide-caption b {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.3;
}

.kv-slide-caption small {
    display: block;
    margin-top: 4px;
    opacity: 0.8;
    font-size: 0.74rem;
}

/* En las vecinas el pie ya muestra el título; en la central manda el reproductor. */
.kv-slide.is-near .kv-play,
.kv-slide.is-near .kv-sample,
.kv-slide.is-near .kv-duration,
.kv-slide.is-near .kv-art-title,
.kv-slide.is-near .kv-art-eyebrow,
.kv-slide.is-active .kv-play {
    opacity: 0;
}

.kv-player {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: #000;
}

.kv-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.kv-player--placeholder {
    display: grid;
    place-items: end center;
    padding: 18px;
    background: linear-gradient(180deg, transparent 45%, rgba(4, 10, 24, 0.82) 100%);
}

.kv-placeholder {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
}

.kv-placeholder b {
    display: block;
    margin-bottom: 4px;
    color: #ffd84d;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Flechas: centradas sin transform para que el efecto al pulsar no las desplace. */
.kv-nav {
    position: absolute;
    z-index: 20;
    top: 0;
    bottom: 0;
    width: 52px;
    height: 52px;
    margin: auto 0;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0a1f44;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.kv-nav:hover {
    background: #f10075;
    color: #fff;
}

.kv-nav[hidden] {
    display: none;
}

.kv-nav svg {
    width: 22px;
    height: 22px;
}

.kv-nav--prev {
    left: max(16px, calc(50% - var(--kv-w) / 2 - 76px));
}

.kv-nav--next {
    right: max(16px, calc(50% - var(--kv-w) / 2 - 76px));
}

.kv-viewer-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: min(760px, calc(100% - 32px));
    margin: 0 auto 22px;
    padding: 12px 18px 12px 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.kv-viewer-thumb {
    position: relative;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.kv-viewer-thumb .kv-art {
    padding: 0;
}

.kv-viewer-thumb .kv-art > * {
    display: none;
}

.kv-viewer-info h2 {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kv-viewer-meta {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.kv-viewer-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    line-height: 1.45;
}

.kv-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kv-dot {
    width: 8px;
    height: 8px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.kv-dot[aria-current="true"] {
    width: 22px;
    background: #ff3d96;
}

@keyframes kvFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ───────────── Responsive ───────────── */
@media (max-width: 1024px) {
    .kv-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .kv-hero {
        padding: 120px 20px 50px;
    }

    /* El orbe rosa quedaría detrás del título en rosa: se pasa al lado derecho. */
    .kv-orb--pink {
        top: 84px;
        left: auto;
        right: -46px;
        width: 96px;
        height: 96px;
    }

    .kv-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    .kv-featured {
        --fw: 210px;
    }
}

@media (max-width: 767px) {
    .kv-hero {
        padding: 104px 18px 44px;
    }

    .kv-featured {
        --fw: min(180px, 44vw);
    }

    .kv-catalog {
        padding: 50px 0 60px;
    }

    .kv-catalog-head h2 {
        font-size: 1.6rem;
    }

    .kv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .kv-card-title {
        font-size: 0.86rem;
    }

    .kv-play {
        width: 44px;
        height: 44px;
    }

    .kv-viewer {
        --kv-h: min(64vh, calc((100vw - 72px) * 16 / 9));
    }

    .kv-viewer-top {
        padding: 12px 14px 0;
    }

    .kv-external span {
        display: none;
    }

    .kv-external {
        width: 44px;
        padding: 0;
        justify-content: center;
    }

    .kv-slide {
        --step: calc(var(--kv-w) * 0.9);
    }

    .kv-nav {
        width: 40px;
        height: 40px;
        min-height: 0;
    }

    .kv-nav--prev { left: 6px; }
    .kv-nav--next { right: 6px; }

    .kv-viewer-bar {
        grid-template-columns: auto minmax(0, 1fr);
        margin-bottom: 14px;
        padding: 10px 14px 10px 10px;
    }

    .kv-viewer-desc {
        display: none;
    }

    .kv-dots {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kv-orb,
    .kv-viewer-backdrop {
        animation: none;
    }

    .kv-slide,
    .kv-card .kv-cover,
    .kv-dot,
    .kv-slide-caption {
        transition: none;
    }
}
