/**
 * ==============================================================================
 * EXPLORA RIOJA — NAVEGACIÓN CIRCULAR INTERACTIVA ("Descubre Rioja")
 * Diseño de Alta Fidelidad: Composición Orbital + Panel de Información + Dock
 * ==============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────────────────────────────────────
   1. CONMUTADOR DE VISTAS (View Switcher)
   ───────────────────────────────────────────────────────────────────────────── */
.descubre-view-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(10, 22, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    padding: 5px;
    gap: 6px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 15;
}

.descubre-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 9999px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
    font-family: 'Outfit', sans-serif;
}

.descubre-view-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.descubre-view-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.descubre-view-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.descubre-view-btn.active i {
    transform: scale(1.12);
}

.descubre-view-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.5);
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. CONTENEDORES DE VISTAS
   ───────────────────────────────────────────────────────────────────────────── */
.view-container {
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.view-container.view-hidden {
    display: none !important;
    opacity: 0;
    transform: scale(0.98) translateY(10px);
    pointer-events: none;
}

.view-container.view-active {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: viewFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes viewFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. SECCIÓN CIRCULAR INTERACTIVA "DESCUBRE RIOJA" (Fiel al Diseño)
   ───────────────────────────────────────────────────────────────────────────── */
.descubre-rioja-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    /* Overlay degradado cinematográfico con mayor profundidad */
    background:
        linear-gradient(135deg,
            rgba(5, 15, 10, 0.62) 0%,
            rgba(0, 0, 0, 0.32) 35%,
            rgba(0, 0, 0, 0.30) 65%,
            rgba(4, 10, 7, 0.68) 100%),
        url('/img/rioja_bienvenidos_bg.jpg') center 40% / cover no-repeat;
    /* Borde luminoso sutil con destello en el top */
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    padding: 2.5rem 2.5rem 2rem;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
}

/* Capa de iluminación ambiental y textura de grano cinematográfico (ruido sutil) */
.descubre-rioja-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Textura de ruido analógico sutil para suavizar la nitidez de la foto */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.055'/%3E%3C/svg%3E"),
        /* Foco cálido dorado hacia el atardecer */
        radial-gradient(ellipse at 85% 25%, rgba(255, 175, 50, 0.16) 0%, rgba(255, 130, 0, 0.06) 35%, transparent 65%),
        /* Sutil resplandor esmeralda a la izquierda */
        radial-gradient(ellipse at 10% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 55%),
        /* Degradado vertical para ganar profundidad y legibilidad */
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.20) 0%,
            transparent 30%,
            rgba(0, 0, 0, 0.32) 70%,
            rgba(0, 0, 0, 0.60) 100%),
        /* Oscurecimiento lateral suave para enfocar el contenido */
        linear-gradient(to right,
            rgba(0, 0, 0, 0.30) 0%,
            transparent 18%,
            transparent 82%,
            rgba(0, 0, 0, 0.28) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Capa de shimmer/brillo superior — línea de luz premium */
.descubre-rioja-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(16, 185, 129, 0.4) 20%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 185, 60, 0.35) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 10;
}

/* Grilla principal: Izquierda (Órbita) y Derecha (Información) */
.descubre-main-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    min-height: 580px;
    width: 100%;
}

/* ─────────────────────────────────────────────────────────────────────────────
   4. ESCENARIO ORBITAL (Lado Izquierdo)
   ───────────────────────────────────────────────────────────────────────────── */
.orbital-stage-wrapper {
    position: relative;
    width: 100%;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Resplandor ambiental de la lente central — sutil y elegante */
.orbital-center-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 70%);
    filter: blur(45px);
    pointer-events: none;
    z-index: 2;
    transition: background 0.6s ease;
}

/* Anillos orbitales concéntricos — finos y sofisticados */
.orbital-track-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.orbital-track-ring--main {
    width: 480px;
    height: 480px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.04);
}

.orbital-track-ring--inner {
    width: 390px;
    height: 390px;
    border: 1px dotted rgba(255, 255, 255, 0.12);
}

/* Partículas luminosas en la órbita */
.orbital-particles {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: orbitParticleSpin 120s linear infinite;
}

@keyframes orbitParticleSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.orbital-particle-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.orbital-particle-dot:nth-child(1) { top: 12%; left: 82%; }
.orbital-particle-dot:nth-child(2) { top: 68%; left: 88%; }
.orbital-particle-dot:nth-child(3) { top: 88%; left: 22%; }
.orbital-particle-dot:nth-child(4) { top: 32%; left: 8%; }

/* Pista que gira al seleccionar */
.orbital-nodes-track {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
    transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Nodos satélite de categoría */
.orbital-node-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 90px;
    margin-top: -45px;
    margin-left: -35px;
    pointer-events: auto;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
    transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--node-rotate, 0deg));
    transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8px;
    gap: 7px;
    z-index: 6;
}

.node-disc {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(12, 28, 20, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background 0.35s ease;
}

.node-disc i {
    color: var(--node-color, #10b981);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.35s ease;
}

.node-label {
    position: static;
    font-size: 0.76rem;
    font-weight: 700;
    color: #f8fafc;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 2px 10px rgba(0,0,0,0.8);
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    line-height: 1.2;
    letter-spacing: 0.01em;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2px 9px 3px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    transform: scale(1);
    transform-origin: center top;
}

.orbital-node-item:hover .node-disc {
    transform: scale(1.15);
    background: var(--node-color, #10b981);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 18px var(--node-glow, rgba(16, 185, 129, 0.65));
    border-color: #ffffff;
}

.orbital-node-item:hover .node-disc i {
    color: #ffffff;
}

.orbital-node-item:hover .node-label {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.04);
}

.orbital-node-item.is-active .node-disc {
    transform: scale(1.2);
    background: var(--node-color, #10b981);
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3), 0 0 20px var(--node-glow, rgba(16, 185, 129, 0.7));
}

.orbital-node-item.is-active .node-disc i {
    color: #ffffff;
}

.orbital-node-item.is-active .node-label {
    color: #4ade80;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(74, 222, 128, 0.5);
    transform: scale(1);
}

.orbital-node-item:focus-visible {
    outline: none;
}
.orbital-node-item:focus-visible .node-disc {
    box-shadow: 0 0 0 3px #10b981, 0 0 20px #10b981;
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. LENTE CENTRAL PRINCIPAL (Foto Activa + Badge de Categoría)
   ───────────────────────────────────────────────────────────────────────────── */
.orbital-center-lens {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    z-index: 4;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lens-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2.5px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.75),
        0 0 25px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.6);
    background: #08140c;
}

/* Reflejo cristalino sutil */
.lens-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 60%);
    pointer-events: none;
    z-index: 3;
}

.lens-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.05);
}

.lens-image.is-changing {
    opacity: 0.35;
    transform: scale(1.15);
}

/* Viñeta interior sobre la imagen */
.lens-vignette {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 55%, rgba(0, 0, 0, 0.45) 85%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Badge flotante de icono en la base del círculo */
.lens-center-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--active-badge-color, #10b981);
    border: 2.5px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 16px var(--active-badge-glow, rgba(16, 185, 129, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    z-index: 7;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbital-center-lens:hover {
    transform: scale(1.03);
}

.orbital-center-lens:hover .lens-frame {
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 255, 255, 0.2);
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. PANEL DE INFORMACIÓN DERECHO (Tipografía "Descubre RIOJA" + Detalles)
   ───────────────────────────────────────────────────────────────────────────── */
.descubre-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
    z-index: 3;
}

/* Título de Marca "Descubre RIOJA" */
.brand-title-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.brand-cursive {
    font-family: 'Caveat', cursive;
    font-size: 2.9rem;
    font-weight: 700;
    color: #4ade80;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 14px rgba(74, 222, 128, 0.4);
    transform: rotate(-2.5deg);
    margin-left: 4px;
}

.brand-main-title {
    font-size: clamp(3.8rem, 6vw, 5.5rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 0.95;
    margin: 0;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.95),
        0 6px 20px rgba(0, 0, 0, 0.85),
        0 0 35px rgba(255, 255, 255, 0.12);
}

.brand-leaf-icon {
    color: #4ade80;
    font-size: 0.6em;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(74, 222, 128, 0.7));
    animation: leafSway 4s ease-in-out infinite alternate;
}

@keyframes leafSway {
    0%   { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(12deg) scale(1.08); }
}

/* Párrafo descriptivo general */
.brand-general-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #f1f5f9;
    max-width: 500px;
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.95),
        0 4px 12px rgba(0, 0, 0, 0.75);
}

/* Badge de Categoría con Contador */
.category-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(10, 24, 16, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    align-self: flex-start;
    margin-bottom: 1.25rem;
}

.category-pill-badge i {
    color: #34d399;
    font-size: 0.88rem;
}

.category-counter-text {
    font-size: 0.92rem;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.04em;
}

.category-type-text {
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 10px;
}

/* Título de la Categoría Activa */
.active-category-title {
    font-size: clamp(2.2rem, 3.6vw, 2.9rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.6rem 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Descripción de la Categoría Activa */
.active-category-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 480px;
    margin-bottom: 1.75rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.descubre-info-panel.is-animating .active-category-title,
.descubre-info-panel.is-animating .active-category-desc {
    opacity: 0;
    transform: translateY(8px);
}

/* Botón de Acción Principal (Explorar) */
.active-category-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 32px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.38), 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-self: flex-start;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 2rem;
}

.active-category-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.active-category-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
}

.active-category-btn:hover i {
    transform: translateX(5px);
}

/* Controles de Navegación (Flechas + Teclado) */
.descubre-controls-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.controls-nav-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.orbital-arrow-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10, 24, 16, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.orbital-arrow-btn i {
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.orbital-arrow-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
}

.orbital-arrow-btn.prev:hover i { transform: translateX(-3px); }
.orbital-arrow-btn.next:hover i { transform: translateX(3px); }

.orbital-arrow-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.6);
}

.controls-counter-text {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    user-select: none;
    min-width: 58px;
    text-align: center;
}

.controls-counter-text strong {
    color: #ffffff;
}

/* Sugerencia de Atajos de Teclado */
.keyboard-hint-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(8, 20, 13, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    user-select: none;
}

.kbd-key {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 2px 6px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
}

/* ─────────────────────────────────────────────────────────────────────────────
   7. DOCK INFERIOR DE CATEGORÍAS (Barra de Píldoras Horizontales)
   ───────────────────────────────────────────────────────────────────────────── */
.descubre-bottom-dock {
    position: relative;
    z-index: 4;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-pills-container {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 4px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.4) transparent;
}

@media (min-width: 1200px) {
    .dock-pills-container {
        justify-content: center;
    }
}

.dock-pills-container::-webkit-scrollbar {
    height: 4px;
}

.dock-pills-container::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.4);
    border-radius: 4px;
}

.dock-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: rgba(10, 20, 14, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.dock-pill-item i {
    font-size: 0.92rem;
    color: var(--pill-color, #10b981);
    transition: transform 0.3s ease;
}

.dock-pill-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.dock-pill-item:hover i {
    transform: scale(1.15);
}

.dock-pill-item.is-active {
    color: #ffffff;
    background: rgba(16, 185, 129, 0.28);
    border-color: rgba(52, 211, 153, 0.7);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    font-weight: 700;
}

.dock-pill-item.is-active i {
    color: #34d399;
    transform: scale(1.15);
}

.dock-pill-item:focus-visible {
    box-shadow: 0 0 0 2px #10b981;
}

/* ─────────────────────────────────────────────────────────────────────────────
   8. RESPONSIVE MEDIA QUERIES (Desktop, Laptop, Tablet, Mobile)
   ───────────────────────────────────────────────────────────────────────────── */

/* Laptops / Desktops medianos (menor a 1200px) */
@media (max-width: 1200px) {
    .descubre-rioja-wrapper {
        padding: 2rem 2rem 1.75rem;
    }

    .descubre-main-grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 1.5rem;
    }

    .orbital-stage-wrapper {
        height: 480px;
    }

    .orbital-track-ring--main,
    .orbital-nodes-track,
    .orbital-particles {
        width: 420px;
        height: 420px;
    }

    .orbital-center-lens {
        width: 270px;
        height: 270px;
    }

    .orbital-node-item {
        width: 52px;
        height: 52px;
        margin-top: -26px;
        margin-left: -26px;
    }

    .node-disc {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .node-label {
        font-size: 0.68rem;
        top: 50px;
    }

    .brand-main-title {
        font-size: 4.2rem;
    }
}

/* Tablets (menor a 992px) — Transición a Columna */
@media (max-width: 992px) {
    .descubre-rioja-wrapper {
        padding: 2rem 1.5rem 1.5rem;
        border-radius: 24px;
    }

    .descubre-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .orbital-stage-wrapper {
        height: 440px;
    }

    .descubre-info-panel {
        padding-left: 0;
        align-items: center;
    }

    .brand-title-group {
        align-items: center;
    }

    .category-pill-badge {
        align-self: center;
    }

    .active-category-btn {
        align-self: center;
    }

    .descubre-controls-row {
        justify-content: center;
    }

    .brand-general-desc,
    .active-category-desc {
        max-width: 600px;
    }
}

/* Móviles (menor a 768px) */
@media (max-width: 768px) {
    .descubre-rioja-wrapper {
        padding: 1.5rem 1rem 1.25rem;
        border-radius: 20px;
    }

    .orbital-stage-wrapper {
        height: 360px;
    }

    .orbital-track-ring--main,
    .orbital-nodes-track,
    .orbital-particles {
        width: 320px;
        height: 320px;
    }

    .orbital-center-lens {
        width: 200px;
        height: 200px;
    }

    .orbital-node-item {
        width: 44px;
        height: 44px;
        margin-top: -22px;
        margin-left: -22px;
    }

    .node-disc {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .node-label {
        display: none; /* Ocultar textos en la órbita móvil para evitar saturación */
    }

    .lens-center-badge {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        bottom: -12px;
    }

    .brand-cursive {
        font-size: 2.4rem;
    }

    .brand-main-title {
        font-size: 3.2rem;
    }

    .active-category-title {
        font-size: 1.8rem;
    }

    .active-category-desc {
        font-size: 0.92rem;
    }

    .active-category-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }

    .keyboard-hint-badge {
        display: none;
    }

    .dock-pill-item {
        padding: 7px 13px;
        font-size: 0.8rem;
    }
}

/* Móviles muy pequeños (menor a 400px) */
@media (max-width: 400px) {
    .orbital-stage-wrapper {
        height: 320px;
    }

    .orbital-track-ring--main,
    .orbital-nodes-track,
    .orbital-particles {
        width: 280px;
        height: 280px;
    }

    .orbital-center-lens {
        width: 175px;
        height: 175px;
    }

    .orbital-node-item {
        width: 38px;
        height: 38px;
        margin-top: -19px;
        margin-left: -19px;
    }

    .node-disc {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }
}
