/* ══════════════════════════════════════════════════════
   PRONATURA NOROESTE - STUDENT PORTAL THEME (SaaS Premium)
   Unificado y Optimizado para Dashboard, Cursos y Lecciones
   ══════════════════════════════════════════════════════ */

:root {
    /* Paleta Institucional - Verde Pronatura Premium (Accesible WCAG AA) */
    --pno-green:       #2a5c3f; /* Verde Bosque oficial */
    --pno-green-dark:  #163323;
    --pno-green-mid:   #3d7d57;
    --pno-green-light: rgba(42, 92, 63, 0.08);
    --pno-ocean:       #0ea5e9;
    --pno-ocean-light: rgba(14, 165, 233, 0.08);
    --pno-dorado:      #d97706; /* Dorado accesible */
    --pno-tierra:      #8b6914;

    /* Configuración UI Base */
    --bg:              #f4f7f5; /* Fondo orgánico suave */
    --bg-rgb:          244, 247, 245;
    --surface:         #ffffff;
    --surface-rgb:     255, 255, 255;
    --ink:             #0f1712; /* Negro bosque */
    --ink-soft:        #435248; /* Slate forest */
    --ink-faint:       #c1cfc6; /* Gris verdoso suave */
    --border:          #e1e9e4;
    --footer-bg:       #e1e9e4;
    --radius:          20px;
    --radius-sm:       12px;
    --navbar-h:        88px;

    /* Sombreados y Efectos */
    --shadow-sm:       0 2px 8px rgba(42,92,63,0.04);
    --shadow-md:       0 8px 24px rgba(42,92,63,0.08);
    --shadow-lg:       0 20px 48px rgba(42,92,63,0.14);
    --glow-green:      0 0 24px rgba(42,92,63,0.35);
    --glow-ocean:      0 0 24px rgba(14,165,233,0.35);
}

/* Modo Oscuro Premium */
[data-theme="dark"], [data-bs-theme="dark"] {
    --bg:              #080c0a; /* Súper oscuro premium orgánico */
    --bg-rgb:          8, 12, 10;
    --surface:         #111613; /* Gray green 900 */
    --surface-rgb:     17, 22, 19;
    --ink:             #f1f5f3;
    --ink-soft:        #99a8a0;
    --ink-faint:       #2d3a33;
    --border:          #1f2823;
    --footer-bg:       #050806;
    --pno-green-light: rgba(82, 183, 136, 0.12); /* Verde brillante suave para contraste oscuro */
    --pno-green:       #52b788; /* Verde brillante en modo oscuro para contraste */
    --pno-sand:        #121614;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--navbar-h);
    transition: background 0.3s ease, color 0.3s ease;
}

/* Custom Micro-animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

@keyframes streak-burn {
    0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px #f59e0b); }
    50% { transform: scale(1.12) rotate(4deg); filter: drop-shadow(0 0 12px #ef4444); }
    100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px #f59e0b); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.anim-float { animation: float 3s ease-in-out infinite; }
.anim-pulse-glow { animation: pulse-glow 2s infinite; }
.anim-streak { animation: streak-burn 1.5s ease-in-out infinite; display: inline-block; }

/* ── NAVBAR ──────────────────────────────────── */
.pno-navbar {
    background: rgba(var(--surface-rgb), 0.8) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: var(--navbar-h);
}

/* ── COMPONENTES COMUNES (TARJETAS) ───────────── */
.pno-card, .db-card, .student-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.pno-card::after, .db-card::after, .student-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pno-green), var(--pno-ocean));
    opacity: 0;
    transition: opacity 0.28s ease;
    border-radius: var(--radius) var(--radius) 0 0;
}

.pno-card:hover, .db-card:hover, .student-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15,23,42,0.09);
    border-color: rgba(16,185,129,0.15);
}

.pno-card:hover::after, .db-card:hover::after, .student-card:hover::after {
    opacity: 1;
}

.db-card-head {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(var(--bg-rgb), 0.5);
}

.db-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.db-card-title i {
    color: var(--pno-green);
    font-size: 17px;
    filter: drop-shadow(0 2px 6px rgba(16,185,129,0.2));
}

.link-verde {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pno-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.15s ease, color 0.15s ease;
}

.link-verde:hover {
    gap: 7px;
    color: var(--pno-green-mid);
}

/* ── BOTONES ─────────────────────────────────── */
.btn-pno {
    background: linear-gradient(135deg, var(--pno-green), var(--pno-green-mid));
    color: white !important;
    border-radius: 100px;
    border: none;
    font-weight: 700;
    padding: 12px 26px;
    font-size: 13.5px;
    box-shadow: 0 4px 12px rgba(16,185,129,0.2);
    transition: all 0.25s ease;
}

.btn-pno:hover {
    background: linear-gradient(135deg, var(--pno-green-mid), var(--pno-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--pno-green-mid);
    font-weight: 700;
    font-size: 13.5px;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    color: var(--pno-green);
}

/* ── HERO GENERAL / BANNERS ──────────────────── */
.db-hero, .curso-hero, .hero-mis-cursos, .consultas-hero, .explorar-hero {
    background: linear-gradient(135deg, #040d08 0%, #0a2e18 40%, #061d2c 80%, #030d1a 100%);
    background-size: 300% 300%;
    animation: gradientMove 16s ease infinite;
    padding: 52px 0 128px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Orbs de luz ambiente */
.db-hero::before, .curso-hero::before, .hero-mis-cursos::before, .consultas-hero::before, .explorar-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 10% 30%, rgba(16,185,129,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 85% 60%, rgba(14,165,233,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 300px 200px at 50% 90%, rgba(245,158,11,0.07) 0%, transparent 70%);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.05); }
}

/* Ondulación inferior */
.db-hero::after, .curso-hero::after, .hero-mis-cursos::after, .consultas-hero::after, .explorar-hero::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 88px;
    background: var(--bg);
    clip-path: ellipse(58% 100% at 50% 100%);
}

.db-hero .container, .curso-hero .container, .hero-mis-cursos .container, .consultas-hero .container, .explorar-hero .container {
    position: relative;
    z-index: 2;
}

/* Buscador en Hero */
.hero-search {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 100px;
    padding: 8px 8px 8px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    width: 100%;
}

.hero-search:focus-within {
    border-color: rgba(255,255,255,0.5);
}

.hero-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}

.hero-search input::placeholder {
    color: rgba(255,255,255,0.45);
}

.hero-search button {
    background: #fff;
    color: var(--pno-green);
    border: none;
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.hero-search button:hover {
    background: var(--pno-green-light);
}

/* ── HERO PREMIUM CLASSES ────────────────────── */
.hero-title-premium {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    margin: 0 0 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-chip-premium {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 100px;
    padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: #fff;
    display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.hero-chip-premium:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

.hero-search-premium {
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px; padding: 6px 6px 6px 20px; display: flex; align-items: center; gap: 10px; min-width: 280px;
    transition: all 0.3s;
}
.hero-search-premium:focus-within { background: rgba(255, 255, 255, 0.25); box-shadow: 0 0 0 4px rgba(255,255,255,0.2), 0 10px 30px rgba(0,0,0,0.15); transform: scale(1.02); border-color: rgba(255,255,255,0.5); }
.hero-search-premium input {
    border: none; outline: none; background: transparent; font-family: 'DM Sans', sans-serif;
    font-size: 14.5px; color: #fff; width: 100%; font-weight: 500;
}
.hero-search-premium input::placeholder { color: rgba(255,255,255,0.7); }
.hero-search-premium button {
    background: #fff; color: var(--pno-green); border: none; border-radius: 100px; padding: 8px 20px; font-weight: 800; font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.hero-search-premium button:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255,255,255,0.3); }

/* ── LAYOUT DE CONTENEDORES CON NEGATIVE MARGIN ── */
.db-wrapper, .content-wrapper, .mc-wrapper {
    margin-top: -64px;
    position: relative;
    z-index: 10;
    padding: 16px 0 80px;
}

/* ── GRID PRINCIPAL DEL DASHBOARD ──────────────── */
.db-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

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

.db-sidebar {
    position: sticky;
    top: calc(var(--navbar-h) + 12px);
}

/* ── STATS ROW (DASHBOARD) ────────────────────── */
.stats-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.bento-3 { grid-column: span 3; }
.bento-4 { grid-column: span 4; }
.bento-6 { grid-column: span 6; }

@media (max-width: 1024px) {
    .bento-3, .bento-4 { grid-column: span 6; }
}
@media (max-width: 640px) {
    .bento-3, .bento-4, .bento-6 { grid-column: span 12; }
}

/* ── STAT CARDS — Premium Glass Bento ──────────── */
.stat-card {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 24px;
    padding: 6px;
    box-shadow:
        0 4px 24px -4px rgba(15,23,42,0.08),
        0 1px 3px rgba(15,23,42,0.04),
        inset 0 1px 0 rgba(255,255,255,1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(16,185,129,0.04) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.stat-card:hover::before { opacity: 1; }

.stat-inner {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 24px 20px;
    flex: 1;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.025);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Accent line on top of inner */
.stat-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pno-green), var(--pno-ocean));
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 18px 18px 0 0;
}

.stat-card:hover .stat-inner::before { opacity: 1; }

.stat-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow:
        0 16px 40px -8px rgba(15,23,42,0.12),
        0 4px 12px rgba(15,23,42,0.06),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: rgba(16,185,129,0.2);
}

.stat-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
    transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(8deg);
}

.stat-val {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-lbl {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
}

/* ── CURSO ACTIVO DESTACADO ────────────────────── */
.curso-activo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.curso-activo-card:hover {
    box-shadow: var(--shadow-lg);
}

/* ── MINI LISTADOS (DASHBOARD) ─────────────────── */
.mini-course {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.22s ease;
    border-left: 3px solid transparent;
}

.mini-course:last-child {
    border-bottom: none;
}

.mini-course:hover {
    background: rgba(16,185,129,0.05);
    border-left-color: var(--pno-green);
    padding-left: 22px;
}

.mini-course-img {
    width: 58px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--pno-green-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.22s ease;
}

.mini-course:hover .mini-course-img {
    transform: scale(1.04);
}

.mini-course-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.mini-course:hover .mini-course-title {
    color: var(--pno-green-mid);
}

.mini-pb {
    height: 5px;
    background: var(--border);
    border-radius: 100px;
    overflow: hidden;
}

.mini-pf {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--pno-green), var(--pno-ocean));
    transition: width 0.8s cubic-bezier(0.25,0.8,0.25,1);
}

.mini-pf.done {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* ── WIDGETS DE GAMIFICACIÓN ───────────────────── */

/* Logros en Sidebar */
.logro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 18px;
}

.logro-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 14px;
    cursor: default;
    background: var(--bg);
    border: 1px solid transparent;
    transition: all 0.25s ease;
    position: relative;
}

.logro-item:hover {
    background: var(--surface);
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.logro-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(1);
    opacity: 0.35;
    background: var(--surface);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

.logro-item:hover .logro-icon {
    transform: scale(1.15) rotate(5deg);
}

.logro-item-unlocked {
    filter: grayscale(0) !important;
    opacity: 1 !important;
    box-shadow: 0 4px 10px rgba(16,185,129,0.15) !important;
}

.logro-lbl {
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    color: var(--ink-soft);
}

.logro-check {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    box-shadow: var(--glow-green);
    border: 2px solid var(--surface);
}

/* Próximo Logro */
.next-logro {
    background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(14,165,233,0.06));
    border: 1px dashed rgba(16,185,129,0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 18px 18px;
}

/* Racha Banner */
.racha-banner {
    background: linear-gradient(135deg, #ff6b2b 0%, #e53e3e 100%);
    border-radius: var(--radius);
    padding: 16px 22px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    box-shadow: 0 10px 28px rgba(239,68,68,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.12);
    position: relative;
    overflow: hidden;
}

.racha-banner::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    pointer-events: none;
}

/* Anillo SVG de progreso */
.ring-wrap, .progress-ring-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

.ring-wrap svg, .progress-ring-wrap svg {
    transform: rotate(-90deg);
    display: block;
    width: 100%;
    height: 100%;
}

.ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.ring-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    animation: fillRing 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fillRing {
    from {
        stroke-dashoffset: 300;
    }
}

.ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-pct {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.ring-sub {
    font-size: 9px;
    color: var(--ink-soft);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 1px;
}

.mini-stat {
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(248,250,252,0.6));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.mini-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mini-stat-val {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.mini-stat-lbl {
    font-size: 9.5px;
    color: var(--ink-soft);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 3px;
}

/* ── ACTIVIDAD RECIENTE ────────────────────────── */
.act-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border);
}

.act-item:last-child {
    border-bottom: none;
}

.act-dot {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── RECOMENDADOS ──────────────────────────────── */
/* ── RECOMENDADOS ──────────────────────────────── */
.rec-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    border-left: 0px solid transparent;
}

.rec-item:last-child {
    border-bottom: none;
}

.rec-item:hover {
    background: var(--pno-green-light);
    border-left: 4px solid var(--pno-green);
    padding-left: 24px;
}

.rec-img {
    width: 60px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--pno-green-light);
    box-shadow: var(--shadow-sm);
}

/* ── CERTIFICADOS & QUICK LINKS ────────────────── */
.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

.cert-item:last-child {
    border-bottom: none;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.22s ease;
    border: 1px solid transparent;
}

.quick-link:hover {
    background: rgba(16,185,129,0.06);
    border-color: rgba(16,185,129,0.18);
    transform: translateX(4px);
    color: var(--pno-green-mid);
    box-shadow: 0 2px 10px rgba(16,185,129,0.1);
}

.quick-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.22s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.quick-link:hover .quick-icon {
    transform: scale(1.12) rotate(5deg);
}

/* ── TEMARIO DEL CURSO (VER_CURSO.PHP) ────────── */
.curso-imagen {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    display: block;
}

.desc-text {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.8;
}

.desc-text p {
    margin-bottom: 12px;
}

/* Módulo temario */
.modulo-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: var(--pno-green-light);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
}

.modulo-header:hover {
    background: rgba(16, 185, 129, 0.12);
}

.modulo-num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--pno-green), var(--pno-green-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(16,185,129,0.2);
}

.modulo-title {
    font-family: 'Syne', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    flex: 1;
    margin: 0;
}

.modulo-count {
    font-size: 11px;
    color: var(--pno-green-mid);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px 12px;
    font-weight: 700;
}

.modulo-chevron {
    color: var(--pno-green);
    transition: transform 0.2s ease;
    font-size: 13px;
}

.modulo-chevron.open {
    transform: rotate(180deg);
}

.leccion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
}

.leccion-item:last-child {
    border-bottom: none;
}

.leccion-item:hover {
    background: #f6fcf8;
    color: var(--pno-green);
}

.leccion-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: var(--bg);
}

.leccion-title {
    flex: 1;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
}

.examen-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    background: #FFFBEB;
    text-decoration: none;
    color: var(--pno-tierra, #8B6914);
    border-top: 1px solid #FDE68A;
    transition: background 0.15s ease;
}

.examen-item:hover {
    background: #FEF3C7;
}

.examen-item.disabled {
    opacity: 0.45;
    pointer-events: none;
    background: var(--bg);
    border-top-color: var(--border);
    color: var(--ink-faint);
}

.sidebar-sticky {
    position: sticky;
    top: calc(var(--navbar-h) + 16px);
}

@media (max-width: 991px) {
    .sidebar-sticky {
        position: static;
        margin-top: 16px;
    }
}

.sidebar-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.sidebar-stat:last-of-type {
    border-bottom: none;
}

.sidebar-stat i {
    color: var(--pno-green);
    font-size: 15px;
    width: 18px;
}

.sidebar-stat-val {
    font-weight: 700;
    color: var(--ink);
    margin-left: auto;
}

.mini-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-progress-bar {
    width: 80px;
    height: 4px;
    background: var(--border);
    border-radius: 100px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pno-green), var(--pno-ocean));
    border-radius: 100px;
}

/* --- Botones y Progreso de Lecciones --- */
.btn-empezar {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--pno-green), var(--pno-green-mid));
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 13px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-empezar:hover {
    background: linear-gradient(135deg, var(--pno-green-mid), var(--pno-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16,185,129,0.25);
    color: #fff;
}

.btn-certificado {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #b59410, #8a710d);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 13px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-certificado:hover {
    background: linear-gradient(135deg, #d4af37, #b59410);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(181,148,16,0.25);
    color: #fff;
}

.btn-outline-pno {
    display: block;
    width: 100%;
    text-align: center;
    border: 2px solid var(--border);
    color: var(--pno-green);
    font-weight: 600;
    font-size: 13px;
    padding: 11px;
    border-radius: 100px;
    text-decoration: none;
    margin-top: 8px;
    background: transparent;
    transition: all 0.18s ease;
    cursor: pointer;
}

.btn-outline-pno:hover {
    border-color: var(--pno-green);
    background: var(--pno-green-light);
    color: var(--pno-green);
}

.reading-progress-bar {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
    z-index: 999;
}

.reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pno-green), var(--pno-ocean));
    width: 0%;
    transition: width 0.1s linear;
}

.lesson-topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    position: sticky;
    top: var(--navbar-h);
    z-index: 100;
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
}

.topbar-btn:hover {
    background: var(--bg-hover);
    color: var(--ink);
    border-color: var(--border-hover);
}

.lesson-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

@media (max-width: 991px) {
    .lesson-layout {
        grid-template-columns: 1fr;
    }
    .lesson-sidebar {
        order: -1;
    }
}

.video-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--pno-green-dark);
    margin-bottom: 20px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.reading-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.reading-header {
    padding: 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--pno-green-dark) 0%, var(--pno-green) 60%, #2a6b52 100%);
    position: relative;
    overflow: hidden;
}

.reading-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.reading-header-inner {
    padding: 24px 32px 26px;
    position: relative;
    z-index: 1;
}

.modulo-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.lesson-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.4px;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

.reading-body {
    padding: 28px 32px 32px;
}

.contenido-leccion {
    font-size: 16px;
    line-height: 1.85;
    color: #2D3748;
    max-width: 680px;
}

.contenido-leccion p {
    margin-bottom: 1.4rem;
}

.contenido-leccion h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2.2rem 0 1rem;
}

.contenido-leccion h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2rem 0 0.75rem;
    border-left: 3px solid var(--pno-green);
    padding-left: 12px;
}

.contenido-leccion ul,
.contenido-leccion ol {
    margin-left: 1.4rem;
    margin-bottom: 1.4rem;
}

.contenido-leccion li {
    margin-bottom: 0.5rem;
}

.contenido-leccion img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.8rem auto;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.contenido-leccion blockquote {
    border-left: 4px solid var(--pno-green);
    padding: 12px 20px;
    background: var(--pno-green-light);
    border-radius: 0 10px 10px 0;
    margin: 1.6rem 0;
    color: var(--pno-green-dark);
    font-style: italic;
}

.contenido-leccion a {
    color: var(--pno-green);
}

.lesson-nav-bottom {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.nav-lesson-info {
    flex: 1;
    min-width: 0;
}

.nav-lesson-label {
    font-size: 11px;
    color: var(--ink-faint);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.nav-lesson-name {
    font-size: 13px;
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-nav-lesson {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.18s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-nav-prev {
    background: var(--bg);
    color: var(--ink-soft);
    border: 1px solid var(--border);
}

.btn-nav-prev:hover {
    background: var(--pno-green-light);
    color: var(--pno-green);
    border-color: var(--pno-green);
}

.btn-nav-next {
    background: linear-gradient(135deg, var(--pno-green), #3D7A57);
    color: #fff;
    border: none;
}

.btn-nav-next:hover {
    background: linear-gradient(135deg, var(--pno-green-dark), var(--pno-green));
    transform: translateX(2px);
    box-shadow: 0 6px 18px rgba(42,92,63,0.28);
    color: #fff;
}

/* Comentarios en Lecciones */
.comments-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.comment-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pno-green), var(--pno-ocean));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.reply-item {
    background: var(--pno-green-light);
    border: 1px solid rgba(42,92,63,0.15);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-top: 10px;
    margin-left: 20px;
}

.comment-textarea {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    padding: 12px 16px;
    color: var(--ink);
    width: 100%;
    resize: vertical;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--pno-green);
    box-shadow: 0 0 0 3px rgba(42,92,63,0.1);
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    position: sticky;
    top: calc(var(--navbar-h) + 56px);
}

.btn-completar {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--pno-green), #3D7A57);
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    padding: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.btn-completar:hover {
    background: linear-gradient(135deg, var(--pno-green-dark), var(--pno-green));
    box-shadow: 0 8px 24px rgba(42,92,63,0.3);
}

.btn-siguiente-sidebar {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--pno-green), #3D7A57);
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-siguiente-sidebar:hover {
    background: linear-gradient(135deg, var(--pno-green-dark), var(--pno-green));
    box-shadow: 0 6px 20px rgba(42,92,63,0.28);
}

.completado-badge {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-bottom: 1px solid #bbf7d0;
    padding: 18px;
    text-align: center;
}

.motivacional {
    padding: 16px 18px;
    background: var(--pno-green-light);
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--pno-green);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.next-lesson-preview {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.next-lesson-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.next-lesson-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

/* ── SECCIÓN DE CURSOS (MIS_CURSOS.PHP) ────────── */
.hero-mis-cursos {
    padding: 36px 0 108px;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.stat-pill strong {
    color: #fff;
}

.filter-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.filtro-tabs {
    display: flex;
    gap: 4px;
}

.ftab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.15s ease;
    color: var(--ink-soft);
    background: var(--bg);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.ftab.active {
    background: var(--pno-green-light);
    color: var(--pno-green);
    border-color: rgba(42,92,63,0.25);
}

.ftab:hover:not(.active) {
    background: #f1f5f2;
    color: var(--ink);
}

.ftab-count {
    font-size: 10px;
    font-weight: 700;
    background: rgba(42,92,63,0.12);
    color: var(--pno-green);
    padding: 1px 7px;
    border-radius: 100px;
}

.ftab.active .ftab-count {
    background: var(--pno-green);
    color: #fff;
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 7px 16px;
    transition: border-color 0.15s, box-shadow 0.15s;
    flex: 1;
    min-width: 180px;
}

.search-wrap:focus-within {
    border-color: var(--pno-green);
    box-shadow: 0 0 0 3px rgba(42,92,63,0.08);
}

.search-wrap input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    width: 100%;
}

.search-wrap input::placeholder {
    color: var(--ink-faint);
}

/* Cuadrícula de Cursos */
.mc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.mc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
}

.mc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(42,92,63,0.12);
}

.mc-img {
    height: 165px;
    overflow: hidden;
    position: relative;
    background: var(--pno-green-light);
    flex-shrink: 0;
}

.mc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mc-card:hover .mc-img img {
    transform: scale(1.05);
}

.mc-overlay-done {
    position: absolute;
    inset: 0;
    background: rgba(26,61,42,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.mc-badge-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    color: var(--pno-green);
    font-size: 10.5px;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 100px;
}

.mc-badge-cert {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(181,148,16,0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 100px;
}

.mc-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mc-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mc-instructor {
    font-size: 12px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.mc-progress-row {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-bottom: 5px;
}

.mc-progress-bar {
    height: 5px;
    background: var(--bg);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 14px;
}

.mc-progress-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--pno-green), #3D7A57);
    transition: width 1s ease;
}

.mc-progress-fill.done {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.mc-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: auto;
}

.mc-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--ink-soft);
}

.mc-meta-item i {
    color: var(--pno-green);
    font-size: 12px;
}

.btn-continuar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--pno-green), #3D7A57);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-continuar:hover {
    background: linear-gradient(135deg, var(--pno-green-dark), var(--pno-green));
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(42,92,63,0.25);
    color: #fff;
}

.btn-revisar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px;
    background: var(--surface);
    color: var(--pno-green);
    text-decoration: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--border);
    transition: all 0.18s ease;
}

.btn-revisar:hover {
    border-color: var(--pno-green);
    background: var(--pno-green-light);
    color: var(--pno-green);
}

.btn-cert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #b59410, #8a710d);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    margin-bottom: 8px;
    transition: all 0.18s ease;
}

.btn-cert:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(181,148,16,0.28);
    color: #fff;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    grid-column: 1 / -1;
}

.cert-banner {
    background: linear-gradient(135deg, #78500a, #b59410);
    border-radius: var(--radius);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(181,148,16,0.2);
}

.orden-select {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 7px 14px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.15s ease;
    appearance: none;
    padding-right: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23A8BDB0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.orden-select:focus {
    outline: none;
    border-color: var(--pno-green);
}

/* ── ANIMACIONES DE CARGA ────────────────────── */
.anim {
    animation: fadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.anim-1 { animation-delay: 0.04s; }
.anim-2 { animation-delay: 0.12s; }
.anim-3 { animation-delay: 0.20s; }
.anim-4 { animation-delay: 0.28s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── PULSOS Y MICRO-INTERACCIONES ────────────── */
.pulse-notif {
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0%  { box-shadow: 0 0 0 0 rgba(220,53,69,0.7); }
    70% { box-shadow: 0 0 0 6px rgba(220,53,69,0); }
    100%{ box-shadow: 0 0 0 0 rgba(220,53,69,0); }
}

.pulse-warning-dot {
    background: #ffc107;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    position: absolute;
    top: -2px;
    left: -2px;
    animation: pulse-yellow 2s infinite;
}

@keyframes pulse-yellow {
    0%  { box-shadow: 0 0 0 0 rgba(255,193,7,0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255,193,7,0); }
    100%{ box-shadow: 0 0 0 0 rgba(255,193,7,0); }
}

/* ── FOOTER ESTUDIANTE (PREMIUM) ──────────────── */
.pno-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border);
    color: var(--ink-soft);
    padding: 72px 0 36px;
    margin-top: 64px;
    position: relative;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* Patrón decorativo translúcido animado */
.pno-footer-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 12% 80%, var(--pno-green-light) 0%, transparent 45%),
        radial-gradient(circle at 88% 20%, var(--pno-ocean-light) 0%, transparent 45%);
    transition: all 0.3s ease;
    animation: footerGlow 15s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.08) translate(1%, 1%);
    }
}

.pno-footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.04));
}

.pno-footer-logo:hover {
    transform: scale(1.04) rotate(-1deg);
}

.pno-footer-slogan {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.8;
    font-style: italic;
    max-width: 290px;
    margin: 16px 0 0;
}

.pno-footer-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.pno-footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--pno-green), var(--pno-ocean));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.pno-footer-column:hover .pno-footer-heading::after {
    width: 38px;
}

.pno-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.pno-footer-link {
    color: var(--ink-soft);
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pno-footer-link i {
    font-size: 13px;
    color: var(--ink-soft);
    opacity: 0.7;
    transition: all 0.25s ease;
}

.pno-footer-link:hover {
    color: var(--pno-green);
    transform: translateX(4px);
}

.pno-footer-link:hover i {
    color: var(--pno-green);
    opacity: 1;
    transform: scale(1.1);
}

.pno-footer-social-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pno-footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-size: 16px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-sm);
}

.pno-footer-social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--pno-green), var(--pno-ocean));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.pno-footer-social-btn i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.pno-footer-social-btn:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(16,185,129,0.22);
    color: #ffffff;
}

.pno-footer-social-btn:hover::before {
    opacity: 1;
}

.pno-footer-social-btn:hover i {
    color: #ffffff;
}

.pno-footer-mission {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0;
}

.pno-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
    margin: 40px 0 24px;
}

.pno-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.pno-footer-copy {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0;
    font-weight: 500;
}

.pno-footer-badge {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding: 6px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.pno-footer-badge:hover {
    background: var(--pno-green-light);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--pno-green);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.pno-footer-badge i {
    color: var(--pno-green);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.pno-footer-badge:hover i {
    transform: rotate(12deg);
}

/* ── SECCIÓN DE CONSULTAS (MIS_CONSULTAS.PHP) ── */
.consultas-wrapper {
    margin-top: -52px;
    position: relative;
    z-index: 10;
    padding: 16px 0 64px;
}

.chat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    animation: fadeUp 0.45s ease both;
}

.chat-card:hover {
    box-shadow: var(--shadow-lg);
}

.chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: var(--pno-green-light);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.chat-head-info {
    flex: 1;
    min-width: 0;
}

.chat-curso-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--pno-green);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-leccion-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-finalizar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.btn-finalizar:hover {
    background: #fee2e2;
    color: #dc3545;
    border-color: #fca5a5;
}

.chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    background: var(--bg);
}

.chat-body::-webkit-scrollbar {
    width: 4px;
}

.chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 100px;
}

.bubble-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.bubble-wrap.mine {
    flex-direction: row-reverse;
}

.bubble-wrap.theirs {
    flex-direction: row;
}

.bubble-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.bubble-avatar.mine {
    background: linear-gradient(135deg, var(--pno-green), var(--pno-ocean));
    color: #fff;
}

.bubble-avatar.theirs {
    background: linear-gradient(135deg, #c2800a, #8a5f0a);
    color: #fff;
}

.bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    position: relative;
}

.bubble.mine {
    background: var(--pno-green);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.bubble.theirs {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.bubble.nuevo {
    border: 2px solid #22c55e;
}

.bubble-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.bubble-name {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}

.bubble-name.theirs-name {
    color: var(--ink-soft);
}

.bubble-badge-instructor {
    font-size: 9px;
    font-weight: 700;
    background: #c2800a;
    color: #fff;
    border-radius: 100px;
    padding: 1px 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bubble-nuevo-badge {
    font-size: 9px;
    font-weight: 700;
    background: #22c55e;
    color: #fff;
    border-radius: 100px;
    padding: 1px 8px;
    letter-spacing: 0.5px;
}

.bubble-time {
    font-size: 10px;
    opacity: 0.55;
    display: block;
    margin-top: 5px;
    text-align: right;
}

.bubble.theirs .bubble-time {
    text-align: left;
}

.chat-reply {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.reply-textarea {
    flex: 1;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 13.5px;
    padding: 10px 14px;
    color: var(--ink);
    resize: none;
    font-family: 'DM Sans', sans-serif;
    min-height: 40px;
    max-height: 100px;
    transition: border-color 0.15s, box-shadow 0.15s;
    line-height: 1.4;
}

.reply-textarea:focus {
    outline: none;
    border-color: var(--pno-green);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.btn-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pno-green), var(--pno-green-mid));
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.18s;
}

.btn-send:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(16,185,129,0.35);
}

.empty-consultas {
    text-align: center;
    padding: 64px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* ── CATÁLOGO DE CURSOS (EXPLORAR.PHP) ────────── */
.explorar-wrapper {
    margin-top: -52px;
    position: relative;
    z-index: 10;
    padding-bottom: 64px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

.cat-strip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    animation: fadeUp 0.4s ease both;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.15s;
    border: 1.5px solid var(--border);
    color: var(--ink-soft);
    background: var(--bg);
    white-space: nowrap;
}

.cat-pill.active {
    background: var(--pno-green-light);
    color: var(--pno-green);
    border-color: rgba(16,185,129,0.25);
}

.cat-pill:hover:not(.active) {
    border-color: var(--pno-green);
    color: var(--pno-green);
    background: var(--pno-green-light);
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.toolbar-left {
    font-size: 13px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-nuevos {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 100px;
    padding: 7px 14px;
    text-decoration: none;
    transition: all 0.15s;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
}

.cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s, box-shadow 0.22s;
    animation: fadeUp 0.45s ease both;
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cat-card-img {
    height: 170px;
    overflow: hidden;
    position: relative;
    background: var(--pno-green-light);
    flex-shrink: 0;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.cat-card:hover .cat-card-img img {
    transform: scale(1.05);
}

.badge-gratis {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(181,148,16,0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 100px;
    letter-spacing: 0.4px;
}

.badge-inscrito {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(16,185,129,0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-cat {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    color: var(--pno-green);
    font-size: 10.5px;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 100px;
}

.cat-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-desc {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
    margin-bottom: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.cat-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--ink-soft);
}

.cat-meta-item i {
    color: var(--pno-green);
    font-size: 12px;
}

.btn-ver {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 16px;
    background: var(--surface);
    color: var(--pno-green);
    text-decoration: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--border);
    transition: all 0.18s;
}

.btn-ver:hover {
    background: var(--pno-green);
    color: #fff;
    border-color: var(--pno-green);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16,185,129,0.22);
}

.btn-continuar-cat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--pno-green), var(--pno-green-mid));
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    transition: all 0.18s;
}

.btn-continuar-cat:hover {
    background: linear-gradient(135deg, var(--pno-green-mid), var(--pno-green));
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16,185,129,0.25);
    color: #fff;
}

/* Botón principal de inscripción rápida */
.btn-inscribirse-cat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--pno-green), var(--pno-green-mid));
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.18s;
}

.btn-inscribirse-cat:hover {
    background: linear-gradient(135deg, var(--pno-green-mid), var(--pno-green));
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16,185,129,0.28);
    color: #fff;
}

/* btn-ver en modo compacto (junto a otro botón) */
.btn-ver {
    flex-shrink: 0;
    white-space: nowrap;
}

.todos-inscritos-banner {
    background: linear-gradient(135deg, var(--pno-green-light), rgba(16,185,129,0.15));
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    animation: fadeUp 0.4s ease both;
}

/* ── FLAME ICON ANIMATION ─────────────────────── */
.flame-icon {
    display: inline-block;
    animation: flamePulse 1.5s infinite alternate ease-in-out;
}

@keyframes flamePulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.4));
    }
    100% {
        transform: scale(1.15) rotate(2deg);
        filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.8));
    }
}

/* Saving indicator pulse */
@keyframes notePulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}
.note-pulse {
    animation: notePulse 0.8s infinite alternate ease-in-out;
}

/* ── ACCESIBILIDAD WCAG 2.1 ────────────────────────────────────────── */
*:focus-visible {
    outline: 3px solid #f59e0b !important; /* Dorado Pronatura */
    outline-offset: 2px !important;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: #10b981; /* Verde Pronatura */
    color: #ffffff !important;
    padding: 10px 20px;
    z-index: 99999;
    transition: top 0.2s ease;
    font-weight: bold;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.skip-link:focus {
    top: 0;
    outline: none !important;
}



