    body { overflow-x: hidden; }

    .kanban-page-header {
        background: url('../img/banners/banner-kanban.webp') center center no-repeat;
        background-size: cover;
    }

    .kanban-logo         { max-width: 400px; }
    .kanban-section-title { font-size: 3rem; }
    .mw-800              { max-width: 800px; }
    .mw-750              { max-width: 750px; }

    .icon-cyan   { color: #1ddeb6; }
    .icon-purple { color: #7c3aed; }
    .icon-steel  { color: #3f6781; }
    .icon-amber  { color: #f59e0b; }
    .icon-violet { color: #a855f7; }
    .icon-red    { color: #ef4444; }
    .icon-green  { color: #10b981; }
    .icon-teal   { color: #0891b2; }
    .icon-gray   { color: #9ca3af; }

    .post-it-pin {
        position: relative;
        padding-top: 15px;
        text-align: center;
    }

    .post-it-pin::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 14px;
        height: 14px;
        background-color: #e74c3c;
        border-radius: 50%;
        box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.3), 2px 2px 4px rgba(0, 0, 0, 0.3);
        z-index: 2;
    }

    .post-it-pin::after {
        content: '';
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 3px;
        height: 8px;
        background-color: #bdc3c7;
        z-index: 1;
        box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }

    .text-cyan {
        color: #1ddeb6;
    }

    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    }

    .monitor-wrapper {
        position: relative;
        max-width: 1100px;
        margin: 0 auto;
        padding: 2rem;
    }

    .monitor-frame {
        border: 15px solid #333;
        border-radius: 15px 15px 0 0;
        border-bottom: 30px solid #222;
        background: #000;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .monitor-stand {
        width: 150px;
        height: 40px;
        background: #444;
        margin: 0 auto;
        clip-path: polygon(20% 0, 80% 0, 100% 100%, 0% 100%);
    }

    .post-it {
        position: absolute;
        bottom: 40px;
        right: -8px;
        background-color: #ffd700;
        color: #000;
        padding: 15px;
        width: 160px;
        min-height: 50px;
        box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.3);
        transform: rotate(-4deg);
        z-index: 10;
        font-family: 'Comic Sans MS', cursive, sans-serif;
        transition: all 0.3s ease;
    }


    .smart-card {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-left: 4px solid;
        border-radius: 12px;
        padding: 1.25rem 1.5rem;
        cursor: pointer;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

    .smart-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        transform: translateY(-4px);
    }

    .smart-card.active {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

    .smart-card p {
        font-size: 0.9rem;
        color: #6b7280;
        margin: 0;
        line-height: 1.6;
    }

    .smart-preview-sticky {
        position: sticky;
        top: 100px;
    }

    .smart-preview-panel {
        background: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .smart-preview-panel--auto img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        inset: unset !important;
        object-fit: unset !important;
    }

    #smart-cards-panel {
        aspect-ratio: 4/3;
        height: auto;
    }

    .smart-preview-panel img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: none;
    }

    .smart-preview-panel img.active {
        display: block;
    }

    .smart-card[data-target="prioridad"]      { border-left-color: #ef4444; }
    .smart-card[data-target="prioridad"] h5   { color: #ef4444; }
    .smart-card[data-target="fechas"]         { border-left-color: #f59e0b; }
    .smart-card[data-target="fechas"] h5      { color: #f59e0b; }
    .smart-card[data-target="checklist"]      { border-left-color: #06b6d4; }
    .smart-card[data-target="checklist"] h5   { color: #06b6d4; }
    .smart-card[data-target="etiquetas"]      { border-left-color: #7c3aed; }
    .smart-card[data-target="etiquetas"] h5   { color: #7c3aed; }
    .smart-card[data-target="archivos"]       { border-left-color: #10b981; }
    .smart-card[data-target="archivos"] h5    { color: #10b981; }
    .smart-card[data-target="completada"]     { border-left-color: #9ca3af; }
    .smart-card[data-target="completada"] h5  { color: #9ca3af; }

    .img-content {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .iphone-mockup {
        position: relative;
        width: 220px;
    }

    .iphone-overlay {
        width: 100%;
        display: block;
        position: relative;
        z-index: 2;
        pointer-events: none;
    }

    .iphone-screen-area {
        position: absolute;
        z-index: 1;
        top: 4%;
        left: 4%;
        width: 92%;
        height: 92%;
        overflow: hidden;
    }

    .iphone-screen-content {
        width: 100%;
        height: 100%;
    }

    .iphone-landscape-inner .iphone-screen-content {
        position: absolute;
        width: 214%;
        height: 47%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
    }

    .iphone-landscape-outer {
        width: 430px;
        height: 220px;
    }

    .iphone-landscape-inner {
        position: absolute;
        transform: rotate(90deg);
        transform-origin: center center;
    }

    /* ── Mobile Auto-Rotate Scene ── */

    #mobileShowcase {
        overflow: hidden;
        transition: padding 0.5s ease;
    }

    #mobileShowcase.is-landscape {
        padding: 1rem 0 !important;
    }

    .mobile-phone-stage {
        margin-top: 2rem;
        margin-bottom: 0;
        transition: margin 0.5s ease;
    }

    #mobileShowcase.is-landscape .mobile-phone-stage {
        margin-top: -90px;
        margin-bottom: -90px;
    }

    .mobile-phone-rotator {
        transform: rotate(0deg) scale(1.1);
        transform-origin: center center;
        will-change: transform;
        transition: transform 0.9s cubic-bezier(0.45, 0, 0.35, 1);
    }

    .iphone-mockup--scene {
        width: 260px;
    }

    .gif-tablero {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .gif-timeline {
        position: absolute;
        width: 197%;
        height: 47%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-view-badge {
        margin-top: 2rem;
        min-height: 2.5rem;
        transition: margin-top 0.5s ease;
    }

    #mobileShowcase.is-landscape .mobile-view-badge {
        margin-top: 1.25rem;
    }

    #mobileViewBadge {
        transition: opacity 0.3s ease;
    }

    @media (max-width: 768px) {
        .iphone-mockup--scene { width: 200px; }
        #mobileShowcase.is-landscape .mobile-phone-stage {
            margin-top: -60px;
            margin-bottom: -60px;
        }
        .monitor-wrapper { padding: 1rem; }
    }

    @media (max-width: 480px) {
        .iphone-mockup--scene { width: 200px; }
        #mobileShowcase.is-landscape .mobile-phone-stage {
            margin-top: -30px;
            margin-bottom: -30px;
        }
        .monitor-wrapper { padding: 0.5rem; }
    }
