/* ============================================
   SEMINARIO COMPLEMENTARIO - Course Portal
   Interactive Learning Experience
   ============================================ */

.page-seminario {
    --accent: var(--orange);
    --accent-glow: var(--orange-glow);
    /* Deep-navy palette — orange accent on cool dark */
    --bg-dark:            #060b18;
    --bg-card:            #0a1124;
    --bg-card-hover:      #0e172e;
    --bg-warm:            #060b18;
    --bg-warm-card:       #0a1124;
    --bg-warm-card-hover: #0e172e;
    padding-top: 64px;
    background: var(--bg-warm);
    background-image:
        radial-gradient(ellipse at 10% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 75%, rgba(0, 100, 220, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(10, 50, 180, 0.04) 0%, transparent 60%);
}

/* Hero Section */
.sem-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.06) 0%, rgba(255, 140, 50, 0.02) 40%, var(--bg-warm) 100%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.08);
}

.sem-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.sem-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2xl);
    align-items: end;
}

.sem-hero .section-label {
    color: var(--orange);
}

.sem-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.sem-hero-desc {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.7;
}

/* Course info badges */
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    padding: 0.3em 0.8em;
    background: rgba(255, 107, 53, 0.06);
    border: 1px solid rgba(255, 107, 53, 0.12);
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.course-meta-item svg {
    width: 12px;
    height: 12px;
    color: var(--orange);
}

/* Course progress tracker */
.sem-progress {
    text-align: right;
}

.progress-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.progress-ring {
    width: 100px;
    height: 100px;
    margin-left: auto;
}

.progress-ring circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
}

.progress-ring .bg {
    stroke: var(--border-subtle);
}

.progress-ring .fill {
    stroke: var(--orange);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1s var(--ease-out);
}

.progress-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    fill: var(--text-primary);
}

/* ============================================
   Sessions Timeline
   ============================================ */
.sessions-section {
    border-bottom: 1px solid var(--border-subtle);
}

.sessions-timeline {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: var(--space-sm) 0 var(--space-lg);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sessions-timeline::-webkit-scrollbar {
    display: none;
}

.session-chip {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-warm-card, var(--bg-card));
    border: 1px solid rgba(255, 107, 53, 0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    min-width: 140px;
    text-align: center;
}

.session-chip:hover {
    border-color: rgba(255, 107, 53, 0.2);
    background: var(--bg-card-hover);
}

.session-chip.active {
    border-color: var(--orange);
    background: rgba(255, 107, 53, 0.08);
}

.session-chip-num {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--orange);
    opacity: 0.5;
}

.session-chip.active .session-chip-num {
    opacity: 1;
}

.session-chip-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}

.session-chip-date {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* ============================================
   Nodos - Learning Blocks
   ============================================ */
.nodos-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255, 107, 53, 0.01) 50%, var(--bg-dark) 100%);
}

.nodos-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.nodos-intro p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Blocks navigation */
.blocks-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.block-tab {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5em 1.2em;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.block-tab:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.block-tab.active {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--orange);
    color: var(--orange);
}

.block-tab svg {
    width: 16px;
    height: 16px;
}

/* Nodo cards */
.nodos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
}

.nodo-card {
    position: relative;
    background: var(--bg-warm-card, var(--bg-card));
    border: 1px solid rgba(255, 107, 53, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
}

.nodo-card:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Nodo top accent */
.nodo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.nodo-card[data-block="fundamentos"]::before { background: var(--cyan); }
.nodo-card[data-block="critico"]::before { background: var(--orange); }
.nodo-card[data-block="experimentacion"]::before { background: var(--purple); }
.nodo-card[data-block="buenas-practicas"]::before { background: var(--green); }

.nodo-card-header {
    padding: var(--space-xl) var(--space-xl) 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
}

.nodo-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.08;
}

.nodo-episode {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3em 0.7em;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.nodo-card-body {
    padding: var(--space-md) var(--space-xl) var(--space-xl);
}

.nodo-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.nodo-purpose {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

/* Readings toggle */
.nodo-readings {
    margin-bottom: var(--space-md);
}

.nodo-readings-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6em 0.8em;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.nodo-readings-toggle:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.nodo-readings-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out);
}

.nodo-readings-toggle.open svg {
    transform: rotate(180deg);
}

.nodo-readings-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.nodo-readings-content.open {
    max-height: 600px;
}

.nodo-readings-inner {
    padding: var(--space-md) var(--space-sm) 0;
}

.reading-author {
    margin-bottom: var(--space-md);
}

.reading-author-name {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reading-author-name .author-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.reading-author-name .dot-selwyn { background: var(--cyan); }
.reading-author-name .dot-mitchell { background: var(--orange); }
.reading-author-name .dot-crawford { background: var(--purple); }

.reading-author p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 10px;
}

/* Activity section */
.nodo-activity {
    background: rgba(255, 107, 53, 0.04);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    padding: var(--space-md);
}

.nodo-activity-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--orange);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nodo-activity-label svg {
    width: 12px;
    height: 12px;
}

.nodo-activity p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Video embed */
.nodo-video {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.12);
    background: #000;
}

.nodo-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* ============================================
   Cross-cutting elements
   ============================================ */
.crosscut-section {
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.02) 0%, var(--bg-dark) 100%);
}

.crosscut-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.crosscut-card {
    background: var(--bg-warm-card, var(--bg-card));
    border: 1px solid rgba(255, 107, 53, 0.06);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all 0.4s var(--ease-out);
}

.crosscut-card:hover {
    border-color: rgba(255, 107, 53, 0.15);
}

.crosscut-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.crosscut-card h3 svg {
    width: 20px;
    height: 20px;
    color: var(--orange);
}

.crosscut-card > p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* Bitacora steps */
.bitacora-steps {
    list-style: none;
    counter-reset: step;
}

.bitacora-step {
    counter-increment: step;
    position: relative;
    padding: var(--space-md) 0 var(--space-md) 2.5rem;
    border-left: 1px solid var(--border-subtle);
    margin-left: 1rem;
}

.bitacora-step::before {
    content: counter(step);
    position: absolute;
    left: -12px;
    top: var(--space-md);
    width: 24px;
    height: 24px;
    background: var(--bg-card);
    border: 1px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--orange);
}

.bitacora-step h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.bitacora-step p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Sem footer */
.sem-footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.sem-footer p {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ============================================
   Orientaciones Generales — Slider
   ============================================ */
.orientaciones-section {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--bg-warm) 0%, rgba(255,107,53,0.015) 50%, var(--bg-warm) 100%);
}

.orientaciones-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.slider-viewport {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,107,53,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.slider-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slider-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
}

.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide:hover .slide-bg {
    transform: scale(1.05);
}

/* Subtle dot grid pattern */
.slide-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle 1px, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
}

/* Large decorative number */
.slide-bg::after {
    position: absolute;
    right: var(--space-2xl);
    top: var(--space-xl);
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 700;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

.slide-orientaciones .slide-bg::after { content: '01'; }
.slide-perspectiva .slide-bg::after { content: '02'; }
.slide-fechas .slide-bg::after { content: '03'; }
.slide-equipo .slide-bg::after { content: '04'; }
.slide-creaciones .slide-bg::after { content: '05'; }
.slide-profes247 .slide-bg::after { content: '06'; }

/* Individual slide backgrounds */
.slide-orientaciones .slide-bg {
    background:
        radial-gradient(ellipse at 80% 25%, rgba(255,107,53,0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 75%, rgba(255,180,50,0.2) 0%, transparent 55%),
        linear-gradient(135deg, #1a0e05 0%, #2d1808 100%);
}

.slide-perspectiva .slide-bg {
    background:
        radial-gradient(ellipse at 75% 20%, rgba(99,102,241,0.3) 0%, transparent 55%),
        radial-gradient(ellipse at 25% 80%, rgba(139,92,246,0.2) 0%, transparent 55%),
        linear-gradient(135deg, #0c0a1a 0%, #1a1040 100%);
}

.slide-fechas .slide-bg {
    background:
        radial-gradient(ellipse at 65% 35%, rgba(20,184,166,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 25% 20%, rgba(6,182,212,0.15) 0%, transparent 55%),
        linear-gradient(135deg, #051a18 0%, #0a2520 100%);
}

.slide-equipo .slide-bg {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(244,63,94,0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 75%, rgba(255,107,53,0.15) 0%, transparent 55%),
        linear-gradient(135deg, #1a0810 0%, #2d1020 100%);
}

.slide-creaciones .slide-bg {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(34,197,94,0.3) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 75%, rgba(0,240,255,0.15) 0%, transparent 55%),
        linear-gradient(135deg, #051a10 0%, #0a2518 100%);
}

.slide-profes247 .slide-bg {
    background:
        radial-gradient(ellipse at 65% 25%, rgba(233,30,144,0.3) 0%, transparent 55%),
        radial-gradient(ellipse at 25% 80%, rgba(139,92,246,0.2) 0%, transparent 55%),
        linear-gradient(135deg, #1a0520 0%, #200a30 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl);
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
}

.slide-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    background: rgba(255,107,53,0.12);
    border: 1px solid rgba(255,107,53,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-icon svg {
    width: 24px;
    height: 24px;
    color: var(--orange);
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.slide-desc {
    font-size: clamp(0.85rem, 1.6vw, 0.95rem);
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--orange);
    letter-spacing: 0.06em;
    padding: 0.5em 1.2em;
    border: 1px solid rgba(255,107,53,0.35);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.slide-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out);
}

.slider-slide:hover .slide-cta {
    background: rgba(255,107,53,0.15);
    border-color: var(--orange);
}

.slider-slide:hover .slide-cta svg {
    transform: translateX(3px);
}

/* Navigation arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(6,11,24,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    z-index: 10;
}

.slider-btn:hover {
    border-color: var(--orange);
    background: rgba(255,107,53,0.12);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

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

/* Indicator dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-lg);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,107,53,0.25);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    padding: 0;
}

.slider-dot.active {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.2);
}

.slider-dot:hover {
    border-color: var(--orange);
}

/* Slider responsive */
@media (max-width: 768px) {
    .orientaciones-slider { padding: 0 var(--space-md); }
    .slider-slide { min-height: 280px; }
    .slide-content { padding: var(--space-xl) var(--space-lg); }
    .slider-btn { width: 36px; height: 36px; }
    .slider-btn svg { width: 16px; height: 16px; }
    .slider-prev { left: 2px; }
    .slider-next { right: 2px; }
}

@media (max-width: 480px) {
    .slider-slide { min-height: 260px; }
    .slide-icon { width: 40px; height: 40px; }
    .slide-icon svg { width: 20px; height: 20px; }
    .slider-btn { display: none; }
}

/* ============================================
   Info Pages (orientaciones, perspectiva, fechas, equipo)
   ============================================ */
.info-section {
    margin-bottom: var(--space-3xl);
}

.info-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.info-section-title::before {
    content: '';
    width: 4px;
    height: 1.2em;
    background: var(--orange);
    border-radius: 2px;
    flex-shrink: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.info-card {
    background: var(--bg-warm-card, var(--bg-card));
    border: 1px solid rgba(255,107,53,0.08);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all 0.4s var(--ease-out);
}

.info-card:hover {
    border-color: rgba(255,107,53,0.15);
    transform: translateY(-2px);
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.info-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Author cards */
.author-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.author-card {
    background: var(--bg-warm-card, var(--bg-card));
    border: 1px solid rgba(255,107,53,0.08);
    border-radius: 16px;
    padding: var(--space-xl) var(--space-2xl);
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.author-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.author-card:hover {
    border-color: rgba(255,107,53,0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
}

.author-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info .author-role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.author-info .author-book {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.8;
    margin-bottom: var(--space-sm);
}

.author-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Timeline for fechas */
.fechas-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin-top: var(--space-xl);
}

.fechas-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--orange), rgba(255,107,53,0.1));
}

.fecha-item {
    position: relative;
    padding: var(--space-md) 0 var(--space-lg) var(--space-xl);
}

.fecha-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: calc(var(--space-md) + 4px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    background: var(--bg-warm, #060b18);
}

.fecha-item.fecha-highlight::before {
    background: var(--orange);
    box-shadow: 0 0 12px rgba(255,107,53,0.4);
}

.fecha-date {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--orange);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.fecha-item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.fecha-item h3 a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 107, 53, 0.25);
    transition: color 0.3s, border-color 0.3s;
}

.fecha-item h3 a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.fecha-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.team-card {
    background: var(--bg-warm-card, var(--bg-card));
    border: 1px solid rgba(255,107,53,0.08);
    border-radius: 16px;
    padding: var(--space-2xl);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.team-card:hover {
    border-color: rgba(255,107,53,0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255,107,53,0.08);
    border: 2px solid rgba(255,107,53,0.2);
    color: var(--orange);
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card .team-role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--orange);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    display: block;
}

.team-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Info page responsive */
@media (max-width: 768px) {
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--space-xl);
    }
}

/* ============================================
   Orientaciones Generales — Enhanced Page
   ============================================ */

/* ── Enhanced Hero ──────────────────────────── */
.capa-hero--enhanced {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 10vw, 7rem) clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4rem);
    margin-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 20px;
}

.capa-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 80%, rgba(255, 180, 50, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 60%),
        linear-gradient(135deg, #0a0e1a 0%, #1a0e05 50%, #0a1124 100%);
}

.capa-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle 1px, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.capa-hero__bg::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.capa-hero__content {
    position: relative;
    z-index: 2;
}

.capa-hero__label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: var(--space-md);
    padding: 0.3em 0.9em;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 100px;
}

.capa-hero--enhanced .capa-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-lg);
}

.capa-hero--enhanced .capa-purpose {
    font-size: 1rem;
    max-width: 650px;
    line-height: 1.8;
}

/* ── Video Cards Section ────────────────────── */
.ori-videos-section {
    margin-bottom: var(--space-3xl);
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.02) 0%, transparent 100%);
}

.ori-videos-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.ori-videos-header .info-section-title {
    justify-content: center;
}

.ori-videos-header .info-section-title::before {
    display: none;
}

.ori-videos-slider {
    max-width: 900px;
    margin: 0 auto;
}

.ori-videos-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.ori-video-card {
    background: var(--bg-warm-card);
    border: 1px solid rgba(255, 107, 53, 0.08);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s var(--ease-out);
    text-align: left;
    color: inherit;
    font-family: inherit;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.ori-video-card:hover {
    border-color: rgba(255, 107, 53, 0.25);
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 107, 53, 0.06);
}

.ori-video-card__thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #000;
}

.ori-video-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
    filter: brightness(0.7);
}

.ori-video-card:hover .ori-video-card__thumb img {
    transform: scale(1.06);
    filter: brightness(0.85);
}

.ori-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.ori-video-card__play svg {
    width: 24px;
    height: 24px;
    color: #fff;
    margin-left: 3px;
}

.ori-video-card:hover .ori-video-card__play {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.45);
}

.ori-video-card__info {
    padding: var(--space-lg) var(--space-xl);
    flex: 1;
    position: relative;
}

.ori-video-card__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    opacity: 0.08;
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    line-height: 1;
}

.ori-video-card__info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.ori-video-card__info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Video slider dots (mobile only) */
.ori-videos-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-lg);
}

.ori-videos-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 107, 53, 0.25);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    padding: 0;
}

.ori-videos-dot.active {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.2);
}

/* ── "Modelo de E-docencia" Enhanced Section ── */
.info-section--modelo {
    position: relative;
    padding: var(--space-2xl);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(168, 85, 247, 0.04) 0%, rgba(0, 240, 255, 0.03) 50%, rgba(255, 107, 53, 0.04) 100%),
        var(--bg-warm-card);
    border: 1px solid rgba(255, 107, 53, 0.08);
    overflow: hidden;
}

.info-section--modelo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--orange), var(--purple));
    opacity: 0.6;
}

.info-section--modelo::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 40%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.info-section__cta-wrap {
    margin-top: var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.info-section__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), #e05a2a);
    padding: 0.8em 1.8em;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.25);
    letter-spacing: 0.02em;
}

.info-section__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff7b4a, var(--orange));
}

.info-section__cta svg {
    flex-shrink: 0;
}

/* ── "Como navegar" Enhanced Section ──────────── */
.info-section--navegar {
    position: relative;
    padding: var(--space-2xl) 0;
    margin-left: calc(-1 * var(--space-xl));
    margin-right: calc(-1 * var(--space-xl));
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
    overflow: hidden;
}

.info-section--navegar__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(34, 197, 94, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 17, 36, 0.8) 0%, rgba(6, 11, 24, 0.95) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-section--navegar__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 1.5px, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
}

.info-section--navegar__content {
    position: relative;
    z-index: 1;
}

/* ── Step Cards ─────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.step-card {
    position: relative;
    background: rgba(10, 17, 36, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: var(--space-xl);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

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

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.step-card__number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-md);
    transition: opacity 0.3s;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Step card color variants */
.step-card--cyan::before { background: var(--cyan); }
.step-card--cyan .step-card__number { color: var(--cyan); opacity: 0.15; }
.step-card--cyan:hover { border-color: rgba(0, 240, 255, 0.2); }
.step-card--cyan:hover .step-card__number { opacity: 0.35; }

.step-card--orange::before { background: var(--orange); }
.step-card--orange .step-card__number { color: var(--orange); opacity: 0.15; }
.step-card--orange:hover { border-color: rgba(255, 107, 53, 0.2); }
.step-card--orange:hover .step-card__number { opacity: 0.35; }

.step-card--purple::before { background: var(--purple); }
.step-card--purple .step-card__number { color: var(--purple); opacity: 0.15; }
.step-card--purple:hover { border-color: rgba(168, 85, 247, 0.2); }
.step-card--purple:hover .step-card__number { opacity: 0.35; }

.step-card--green::before { background: var(--green); }
.step-card--green .step-card__number { color: var(--green); opacity: 0.15; }
.step-card--green:hover { border-color: rgba(34, 197, 94, 0.2); }
.step-card--green:hover .step-card__number { opacity: 0.35; }

/* ── Video Lightbox ─────────────────────────── */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.video-lightbox__container {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 960px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-out);
}

.video-lightbox.active .video-lightbox__container {
    transform: scale(1) translateY(0);
}

.video-lightbox__close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    padding: 0;
}

.video-lightbox__close:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--orange);
    transform: rotate(90deg);
}

.video-lightbox__close svg {
    width: 20px;
    height: 20px;
}

.video-lightbox__player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    background: #000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.video-lightbox__player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

/* ============================================
   Perspectiva Teórica — Enhanced Styles
   ============================================ */

/* ── Hero variant: blue/teal tones ──────────── */
.capa-hero--perspectiva .capa-hero__bg {
    background:
        radial-gradient(ellipse at 75% 20%, rgba(0, 240, 255, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(34, 197, 94, 0.09) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(244, 63, 94, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, #060b18 0%, #081a2c 50%, #0a1124 100%);
}

.capa-hero--perspectiva .capa-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.5;
}

/* ── Hero variant: equipo (rose/orange tones) ── */
.capa-hero--equipo .capa-hero__bg {
    background:
        radial-gradient(ellipse at 70% 25%, rgba(244, 63, 94, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 25% 75%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 60%),
        linear-gradient(135deg, #0a0510 0%, #1a0a15 50%, #0a1124 100%);
}

/* ── Hero variant: fechas (teal/cyan tones) ──── */
.capa-hero--fechas .capa-hero__bg {
    background:
        radial-gradient(ellipse at 75% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 60%),
        linear-gradient(135deg, #060b18 0%, #081a1e 50%, #0a1124 100%);
}

/* ── Author photo avatars ───────────────────── */
.author-avatar--photo {
    padding: 0;
    overflow: hidden;
}

.author-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ── Author video button ────────────────────── */
.author-video-btn {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: var(--space-lg);
    padding: 0;
    border: 1px solid rgba(255, 107, 53, 0.12);
    border-radius: 12px;
    background: rgba(10, 17, 36, 0.6);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
    color: inherit;
    text-align: left;
    width: 100%;
    max-width: 420px;
}

.author-video-btn:hover {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.author-video-btn__thumb {
    position: relative;
    width: 150px;
    min-height: 85px;
    flex-shrink: 0;
    overflow: hidden;
    background: #0a0e1a;
}

.author-video-btn__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-video-btn__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s;
}

.author-video-btn:hover .author-video-btn__play {
    background: rgba(0, 0, 0, 0.2);
}

.author-video-btn__play svg {
    width: 30px;
    height: 30px;
    color: var(--orange);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.author-video-btn__text {
    padding: var(--space-sm) var(--space-md);
}

.author-video-btn__text span {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    display: block;
    margin-bottom: 3px;
}

.author-video-btn__text strong {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    display: block;
}

/* ── Lecturas complementarias section ───────── */
.info-section--lecturas {
    position: relative;
    overflow: hidden;
    background: var(--bg-warm-card, #0a1124);
    border-radius: 20px;
    padding: var(--space-3xl) var(--space-2xl);
}

.info-section--lecturas::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 15%, rgba(168, 85, 247, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 85%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 53, 0.04) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.info-section--lecturas::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--orange), var(--purple));
    opacity: 0.6;
    z-index: 1;
}

.info-section--lecturas > * {
    position: relative;
    z-index: 2;
}

/* ── Lectura cards with color variants ──────── */
.lectura-card {
    background: rgba(10, 17, 36, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.lectura-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.lectura-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.lectura-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.lectura-card .lectura-book {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-primary);
    opacity: 0.75;
    margin-bottom: var(--space-sm);
}

.lectura-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Color variants */
.lectura-card--amber::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.lectura-card--amber { border-color: rgba(245, 158, 11, 0.15); }
.lectura-card--amber:hover { border-color: rgba(245, 158, 11, 0.3); }

.lectura-card--teal::before { background: linear-gradient(90deg, #14b8a6, #5eead4); }
.lectura-card--teal { border-color: rgba(20, 184, 166, 0.15); }
.lectura-card--teal:hover { border-color: rgba(20, 184, 166, 0.3); }

.lectura-card--purple::before { background: linear-gradient(90deg, #a855f7, #c084fc); }
.lectura-card--purple { border-color: rgba(168, 85, 247, 0.15); }
.lectura-card--purple:hover { border-color: rgba(168, 85, 247, 0.3); }

.lectura-card--rose::before { background: linear-gradient(90deg, #f43f5e, #fb7185); }
.lectura-card--rose { border-color: rgba(244, 63, 94, 0.15); }
.lectura-card--rose:hover { border-color: rgba(244, 63, 94, 0.3); }

.lectura-card--cyan::before { background: linear-gradient(90deg, #00f0ff, #67e8f9); }
.lectura-card--cyan { border-color: rgba(0, 240, 255, 0.15); }
.lectura-card--cyan:hover { border-color: rgba(0, 240, 255, 0.3); }

.lectura-card--green::before { background: linear-gradient(90deg, #22c55e, #86efac); }
.lectura-card--green { border-color: rgba(34, 197, 94, 0.15); }
.lectura-card--green:hover { border-color: rgba(34, 197, 94, 0.3); }

.lectura-card--indigo::before { background: linear-gradient(90deg, #6366f1, #a5b4fc); }
.lectura-card--indigo { border-color: rgba(99, 102, 241, 0.15); }
.lectura-card--indigo:hover { border-color: rgba(99, 102, 241, 0.3); }

/* ── Perspectiva Responsive ─────────────────── */
@media (max-width: 768px) {
    .author-video-btn {
        max-width: 100%;
    }
    .author-video-btn__thumb {
        width: 110px;
        min-height: 65px;
    }
    .info-section--lecturas {
        padding: var(--space-xl);
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .author-video-btn {
        flex-direction: column;
    }
    .author-video-btn__thumb {
        width: 100%;
        min-height: 0;
        height: 140px;
    }
    .author-video-btn__text {
        padding: var(--space-sm) var(--space-md) var(--space-md);
    }
}

/* ============================================
   Creaciones — Student Network Page
   ============================================ */
.capa-hero--creaciones .capa-hero__bg {
    background:
        radial-gradient(ellipse at 75% 20%, rgba(34, 197, 94, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, #060b18 0%, #0a1a10 50%, #0a1124 100%);
}

.capa-hero--creaciones .capa-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(34, 197, 94, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.5;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: var(--space-xl) var(--space-lg);
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
}

.network-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 197, 94, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.05) 1px, transparent 1px);
    background-size: 160px 160px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: 0;
}

.network-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s var(--ease-out);
    position: relative;
    z-index: 1;
    padding: var(--space-md);
    border-radius: 16px;
}

.network-node:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(34, 197, 94, 0.06);
}

.network-node__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.08);
    border: 2px solid rgba(34, 197, 94, 0.25);
    color: var(--green);
    margin-bottom: var(--space-sm);
    transition: all 0.4s var(--ease-out);
}

.network-node:hover .network-node__avatar {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.15);
}

.network-node:nth-child(3n+2) .network-node__avatar {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.25);
    color: var(--cyan);
}
.network-node:nth-child(3n+2):hover .network-node__avatar {
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.15);
}

.network-node:nth-child(3n+3) .network-node__avatar {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.25);
    color: var(--purple);
}
.network-node:nth-child(3n+3):hover .network-node__avatar {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.15);
}

.network-node__name {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
    max-width: 120px;
}

@keyframes node-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.1); }
}

.network-node__avatar { animation: node-pulse 4s ease-in-out infinite; }
.network-node:nth-child(3n+2) .network-node__avatar { animation-delay: 1.3s; }
.network-node:nth-child(3n+3) .network-node__avatar { animation-delay: 2.6s; }

/* ── Student Pronto (Empty Canvas) Page ─────── */
.pronto-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-2xl);
    min-height: 300px;
    background: var(--bg-warm-card);
    border: 1px dashed rgba(34, 197, 94, 0.2);
    border-radius: 20px;
}

.pronto-icon {
    width: 100px;
    height: 100px;
    margin-bottom: var(--space-xl);
    opacity: 0.4;
    color: var(--green);
}

.pronto-icon svg { width: 100%; height: 100%; }

.pronto-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.7;
    font-style: italic;
}

/* ============================================
   Profes 24/7 — AI Avatars Page
   Palette: magenta / blue / violet
   ============================================ */
.page-profes247 {
    --accent-profes: #e91e90;
    --blue-profes: #3b82f6;
    --violet-profes: #8b5cf6;
}

.capa-hero--profes247 .capa-hero__bg {
    background:
        radial-gradient(ellipse at 75% 20%, rgba(233, 30, 144, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #0a0518 0%, #1a0a2a 50%, #0a1124 100%);
}

.capa-hero--profes247 .capa-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(233, 30, 144, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.page-profes247 .capa-breadcrumb a { color: #e91e90; }
.page-profes247 .info-section-title::before { background: #e91e90 !important; }

.profes247-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 720px;
}

.profes247-capabilities {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.profes247-capabilities li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: var(--space-sm);
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.profes247-capabilities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e91e90;
    opacity: 0.7;
}

.profes247-iframe-wrap {
    width: 100%;
    max-width: 800px;
    margin: var(--space-xl) auto 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(233, 30, 144, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: #000;
}

.profes247-iframe-wrap iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
}

.profes247-survey-card {
    background: linear-gradient(135deg, rgba(233, 30, 144, 0.06) 0%, rgba(59, 130, 246, 0.04) 100%);
    border: 1px solid rgba(233, 30, 144, 0.15);
    border-radius: 20px;
    padding: var(--space-2xl);
    text-align: center;
}

.profes247-survey-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: #e91e90;
}

.profes247-survey-icon svg { width: 100%; height: 100%; }

.profes247-survey-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.profes247-survey-card h3 mark {
    background: linear-gradient(135deg, rgba(233, 30, 144, 0.2), rgba(139, 92, 246, 0.2));
    color: #f0b0d8;
    padding: 0.1em 0.4em;
    border-radius: 4px;
}

.profes247-survey-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.7em 1.8em;
    background: rgba(233, 30, 144, 0.1);
    border: 1px solid rgba(233, 30, 144, 0.3);
    border-radius: 100px;
    color: #e91e90;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out);
}

.profes247-survey-btn:hover {
    background: rgba(233, 30, 144, 0.18);
    border-color: rgba(233, 30, 144, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233, 30, 144, 0.15);
}

.profes247-thanks-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl);
}

.profes247-thanks-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: #e91e90;
    opacity: 0.7;
}

.profes247-thanks-icon svg { width: 100%; height: 100%; }

.profes247-thanks-card p {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ── Profes247: Joiner Card ────────────────── */
.profes247-joiner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(255, 160, 50, 0.06) 0%, rgba(233, 30, 144, 0.04) 100%);
    border: 1px solid rgba(255, 160, 50, 0.15);
    border-radius: 20px;
}
.profes247-joiner-icon {
    width: 48px;
    height: 48px;
    color: #ffa032;
    opacity: 0.85;
    flex-shrink: 0;
}
.profes247-joiner-icon svg {
    width: 100%;
    height: 100%;
}
.profes247-joiner-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
}
.profes247-joiner-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.7em 1.8em;
    background: rgba(255, 160, 50, 0.1);
    border: 1px solid rgba(255, 160, 50, 0.3);
    border-radius: 100px;
    color: #ffa032;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}
.profes247-joiner-btn:hover {
    background: rgba(255, 160, 50, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 160, 50, 0.15);
}

/* ── Rincón de Joiner ─────────────────────── */
.capa-hero--joiner .capa-hero__bg {
    background:
        radial-gradient(ellipse at 75% 20%, rgba(255, 160, 50, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(251, 191, 36, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(233, 30, 144, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, #0a0e1a 0%, #1a1005 50%, #0a1124 100%);
}
.capa-hero--joiner .capa-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 160, 50, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.joiner-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 720px;
}

.joiner-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.joiner-video-card {
    background: var(--bg-warm-card);
    border: 1px solid rgba(255, 160, 50, 0.08);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s var(--ease-out);
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    font-family: inherit;
    color: inherit;
}
.joiner-video-card:hover {
    border-color: rgba(255, 160, 50, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 160, 50, 0.06);
}

.joiner-video-card__thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #111827;
}
.joiner-video-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: all 0.6s var(--ease-out);
}
.joiner-video-card:hover .joiner-video-card__thumb img {
    transform: scale(1.06);
    filter: brightness(0.85);
}

.joiner-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 160, 50, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(255, 160, 50, 0.3);
    transition: all 0.4s var(--ease-out);
}
.joiner-video-card__play svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}
.joiner-video-card:hover .joiner-video-card__play {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 12px 40px rgba(255, 160, 50, 0.4);
}

.joiner-video-card__info {
    padding: var(--space-lg) var(--space-xl);
    flex: 1;
}
.joiner-video-card__number {
    display: block;
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    opacity: 0.08;
    line-height: 1;
    margin-bottom: var(--space-xs);
}
.joiner-video-card__info h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}
.joiner-video-card__info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── Creaciones / Profes Responsive ─────────── */
@media (max-width: 768px) {
    .network-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: var(--space-lg) var(--space-md);
    }
    .network-node__avatar { width: 60px; height: 60px; font-size: 1.2rem; }
    .profes247-iframe-wrap { border-radius: 12px; }
    .joiner-video-grid { grid-template-columns: 1fr; }
    .profes247-joiner-card { padding: var(--space-xl); }
}

@media (max-width: 480px) {
    .network-grid { grid-template-columns: repeat(3, 1fr); }
    .network-node__avatar { width: 54px; height: 54px; font-size: 1.1rem; }
    .profes247-survey-card { padding: var(--space-xl); }
    .joiner-video-card__play { width: 52px; height: 52px; }
    .joiner-video-card__play svg { width: 20px; height: 20px; }
}

/* ── Orientaciones Responsive ───────────────── */
@media (max-width: 768px) {
    .ori-videos-track {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        display: flex;
        padding-bottom: var(--space-sm);
        scrollbar-width: none;
    }
    .ori-videos-track::-webkit-scrollbar { display: none; }

    .ori-video-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .ori-videos-dots { display: flex; }

    .steps-grid { grid-template-columns: 1fr; }

    .info-section--modelo {
        padding: var(--space-xl);
        border-radius: 14px;
    }

    .info-section--navegar {
        margin-left: calc(-1 * var(--space-md));
        margin-right: calc(-1 * var(--space-md));
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .video-lightbox__container { width: 95vw; }
    .video-lightbox__close { top: -44px; right: 4px; }
}

@media (max-width: 480px) {
    .capa-hero--enhanced {
        padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 3vw, 2rem) clamp(2rem, 4vw, 3rem);
    }

    .ori-video-card { flex: 0 0 92%; }

    .ori-video-card__play { width: 52px; height: 52px; }
    .ori-video-card__play svg { width: 20px; height: 20px; }

    .step-card { padding: var(--space-lg); }
    .step-card__number { font-size: 2.2rem; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .sem-hero-content {
        grid-template-columns: 1fr;
    }

    .sem-progress {
        display: none;
    }

    .nodos-grid {
        grid-template-columns: 1fr;
    }

    .crosscut-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blocks-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .session-chip {
        min-width: 110px;
    }
}

/* ============================================
   RED NEURONAL — Section styles
   ============================================ */
.nn-section {
    padding-bottom: var(--space-3xl);
}

.nn-intro {
    max-width: 760px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.nn-intro strong { color: var(--text-primary); }
.nn-intro em { color: var(--orange); font-style: normal; }

.nn-nav-hint {
    margin-top: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Layer links grid — 2 per row */
.nn-layer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.nn-layer-link {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-card, rgba(10, 17, 36, 0.5));
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.nn-layer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), rgba(255, 107, 53, 0.3));
    opacity: 0;
    transition: opacity 0.3s;
}

/* Active layer card */
.nn-layer-link.nn-active {
    background: rgba(255, 107, 53, 0.06);
    border-color: rgba(255, 107, 53, 0.2);
}

.nn-layer-link.nn-active:hover {
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(255, 107, 53, 0.1), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nn-layer-link.nn-active:hover::before {
    opacity: 1;
}

/* Inactive layer card */
.nn-layer-link.nn-inactive {
    background: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0.05);
    cursor: default;
    opacity: 0.5;
}

.nn-layer-link.nn-inactive .nn-ll-body strong {
    color: var(--text-secondary);
}

.nn-layer-link.nn-inactive:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.08);
}

.nn-layer-link.nn-inactive:hover::before {
    opacity: 0;
}

.nn-ll-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--orange);
    opacity: 0.15;
    flex-shrink: 0;
    transition: opacity 0.3s;
}

.nn-layer-link:hover .nn-ll-num {
    opacity: 0.35;
}

.nn-ll-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.nn-ll-body strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.nn-ll-period {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--orange);
    opacity: 0.8;
}

.nn-ll-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-top: var(--space-xs);
}

.nn-ll-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    margin-top: 0.2em;
    transition: all 0.3s var(--ease-out);
}

.nn-layer-link:hover .nn-ll-arrow {
    color: var(--orange);
    transform: translateX(4px);
}

/* Layer card buttons */
.nn-ll-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    margin-top: var(--space-md);
    padding: 0.5em 1.4em;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: all 0.3s ease;
    align-self: flex-start;
    color: var(--bg-deep);
    background: var(--orange);
    border: 1px solid var(--orange);
}

.nn-ll-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nn-layer-link.nn-active:hover .nn-ll-btn {
    background: #ff8a5c;
    border-color: #ff8a5c;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.nn-layer-link.nn-active:hover .nn-ll-btn svg {
    transform: translateX(3px);
}

/* Inactive button */
.nn-ll-btn.nn-ll-btn-inactive {
    color: var(--text-muted);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
    font-weight: 500;
}

.nn-ll-btn.nn-ll-btn-inactive svg {
    width: 13px;
    height: 13px;
    opacity: 0.6;
    animation: nn-spin-slow 8s linear infinite;
}

@keyframes nn-spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Legend */
.nn-legend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-card, rgba(10, 17, 36, 0.3));
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.nn-legend-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
    max-width: 640px;
}

.nn-legend-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.nn-legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
}

.nn-legend-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.nn-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .nn-layer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nn-layer-link {
        padding: var(--space-lg);
        gap: var(--space-md);
    }
    .nn-ll-num {
        font-size: 2rem;
    }
    .nn-legend {
        gap: var(--space-md);
        padding: var(--space-lg);
    }
}

/* ============================================
   Nodo Card as Link (navigation cards)
   ============================================ */
a.nodo-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

a.nodo-card:hover .nodo-card-cta {
    color: var(--orange);
    gap: var(--space-sm);
}

.nodo-card-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.nodo-card-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out);
}

a.nodo-card:hover .nodo-card-cta svg {
    transform: translateX(4px);
}

/* ============================================
   Nodo Detail Page
   ============================================ */
.nodo-detail-hero {
    padding: clamp(2rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.06) 0%, rgba(255, 140, 50, 0.02) 40%, var(--bg-warm) 100%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.08);
}

.nodo-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.nodo-detail-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nodo-detail-breadcrumb a:hover {
    color: var(--orange);
}

.nodo-detail-breadcrumb .breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.4;
}

.nodo-detail-breadcrumb .breadcrumb-current {
    color: var(--text-secondary);
}

.nodo-detail-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.nodo-detail-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.12;
}

.nodo-detail-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.nodo-detail-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 720px;
}

/* Media embeds section */
.nodo-media-section {
    padding: var(--space-3xl) 0;
}

.nodo-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.nodo-media-card {
    background: var(--bg-warm-card, var(--bg-card));
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.nodo-media-card:hover {
    border-color: rgba(255, 107, 53, 0.15);
}

.nodo-media-card-header {
    padding: var(--space-lg) var(--space-xl) var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nodo-media-card-header svg {
    width: 18px;
    height: 18px;
    color: var(--orange);
    flex-shrink: 0;
}

.nodo-media-card-header h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
}

.nodo-media-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: var(--space-sm) var(--space-xl) var(--space-xl);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
}

.nodo-media-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.nodo-media-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.nodo-media-placeholder svg {
    width: 32px;
    height: 32px;
    opacity: 0.4;
}

/* Activity section */
.nodo-activity-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--bg-warm) 0%, rgba(255, 107, 53, 0.03) 100%);
    border-top: 1px solid var(--border-subtle);
}

.nodo-activity-card {
    background: var(--bg-warm-card, var(--bg-card));
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: var(--space-2xl);
    max-width: 720px;
}

.nodo-activity-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nodo-activity-card h3 svg {
    width: 20px;
    height: 20px;
    color: var(--orange);
}

.nodo-activity-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Back navigation */
.nodo-back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.nodo-back-link:hover {
    color: var(--orange);
}

.nodo-back-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 600px) {
    .nodo-media-grid {
        grid-template-columns: 1fr;
    }

    .nodo-media-embed {
        margin-left: var(--space-md);
        margin-right: var(--space-md);
    }

    .nodo-media-card-header {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
}
