/* ============================================
   Lex — Estilo visual
   Limpio, legible, profesional. Sin saturar.
   ============================================ */

:root {
    /* === Paleta Patrimonia Suite === */
    --azul:        #1B3A5C;   /* azul marino principal */
    --azul-claro:  #2C4E6F;   /* azul hover */
    --azul-light:  #E8EEF5;   /* azul muy claro (fondos) */
    --dorado:      #78B400;   /* acento = verde Patrimonio fuerte */
    --dorado-hover:#5e8f00;   /* verde oscurecido para hover */
    --verde:       #78B400;   /* verde Patrimonio */
    --verde-mid:   #92D050;
    --amarillo:    #F8D556;   /* acento amarillo Patrimonia */
    --rojo:        #c53030;
    --gris-fondo:  #FAFBFC;   /* gris fondo Patrimonia */
    --gris-borde:  #cbd5e0;
    --gris-texto:  #4a5568;
    --blanco:      #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--gris-fondo);
    color: #1a202c;
    line-height: 1.65;
}

/* ----- Barra superior ----- */
.topbar {
    background: var(--azul);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    text-decoration: none;
}
.logo-img {
    height: 38px;
    width: 38px;
    border-radius: 8px;
    background: white;
    padding: 2px;
}
.logo-texto {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.logo-sub {
    font-size: 0.75rem;
    color: var(--verde-mid);
    font-weight: 500;
    align-self: flex-end;
    padding-bottom: 0.35rem;
}
.topbar nav a {
    color: #cbd5e0;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.2s;
}
.topbar nav a:hover { color: white; }

/* ----- Contenido principal ----- */
.contenido {
    max-width: 860px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* ----- Hero / Dashboard ----- */
.hero {
    background: white;
    border-radius: 14px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}
.hero h1 { color: var(--azul); margin-bottom: 1.5rem; font-size: 1.6rem; }

.tarjetas-resumen {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.tarjeta-num {
    background: var(--azul);
    color: white;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 160px;
}
.tarjeta-num.secundaria { background: var(--gris-texto); }
.tarjeta-num .numero {
    display: block;
    font-size: 2.4rem;
    font-weight: bold;
}
.tarjeta-num .etiqueta { font-size: 0.85rem; opacity: 0.9; }

/* ----- Botones ----- */
.boton-grande {
    display: inline-block;
    background: var(--dorado);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
}
.boton-grande:hover { background: var(--dorado-hover); transform: translateY(-1px); }

.boton-secundario {
    display: inline-block;
    background: transparent;
    color: var(--azul);
    border: 2px solid var(--azul);
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.8rem;
}
.boton-secundario:hover { background: var(--azul); color: white; }

.sin-pendientes { color: var(--gris-texto); margin-bottom: 1.5rem; }

/* ----- Progreso por módulo ----- */
.progreso h2 { color: var(--azul); margin-bottom: 1.2rem; }
.grid-modulos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.modulo-card {
    background: white;
    border-radius: 10px;
    padding: 1.2rem;
    border: 1px solid var(--gris-borde);
}
.modulo-codigo {
    display: inline-block;
    background: var(--azul);
    color: white;
    font-weight: bold;
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
}
.modulo-nombre {
    font-weight: 600;
    margin: 0.6rem 0;
    font-size: 0.95rem;
    color: #2d3748;
}
.modulo-barra {
    background: var(--gris-borde);
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}
.modulo-progreso { background: var(--verde); height: 100%; transition: width 0.3s; }
.modulo-stats { font-size: 0.8rem; color: var(--gris-texto); }

/* ----- Lista de lecciones ----- */
.subtitulo { color: var(--gris-texto); margin-bottom: 1.5rem; }
.modulo-seccion { margin-bottom: 2rem; }
.modulo-seccion h2 {
    color: var(--azul);
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--dorado);
    margin-bottom: 0.8rem;
}
.lista-lecciones { list-style: none; }
.leccion-item a {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    background: white;
    border: 1px solid var(--gris-borde);
    border-radius: 8px;
    margin-bottom: 0.4rem;
    text-decoration: none;
    color: #2d3748;
    transition: background 0.15s;
}
.leccion-item a:hover { background: #edf2f7; }
.leccion-item.completada a { border-left: 4px solid var(--verde); }
.check { color: var(--verde); font-weight: bold; margin-right: 0.8rem; font-size: 1.1rem; }
.leccion-titulo { font-size: 0.95rem; }

/* ----- Cuerpo de lección ----- */
.leccion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.volver { color: var(--azul); text-decoration: none; font-weight: 500; }
.badge-modulo {
    background: var(--azul);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
}
.leccion-cuerpo {
    background: white;
    padding: 2.5rem;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.leccion-cuerpo h1 { color: var(--azul); font-size: 1.7rem; margin-bottom: 1rem; }
.leccion-cuerpo h2 {
    color: var(--azul);
    margin: 1.8rem 0 0.8rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--gris-borde);
}
.leccion-cuerpo h3 { color: var(--azul-claro); margin: 1.4rem 0 0.6rem; }
.leccion-cuerpo h4 { color: var(--gris-texto); margin: 1rem 0 0.5rem; }
.leccion-cuerpo p { margin-bottom: 1rem; }
.leccion-cuerpo ul, .leccion-cuerpo ol { margin: 0 0 1rem 1.5rem; }
.leccion-cuerpo li { margin-bottom: 0.4rem; }
.leccion-cuerpo blockquote {
    border-left: 4px solid var(--dorado);
    background: var(--azul-light);
    padding: 0.8rem 1.2rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}
.leccion-cuerpo table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}
.leccion-cuerpo th, .leccion-cuerpo td {
    border: 1px solid var(--gris-borde);
    padding: 0.6rem 0.8rem;
    text-align: left;
}
.leccion-cuerpo th { background: var(--azul); color: white; }
.leccion-cuerpo tr:nth-child(even) { background: #f7fafc; }
.leccion-cuerpo code {
    background: #edf2f7;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-family: "Consolas", monospace;
    font-size: 0.9em;
}
.leccion-cuerpo pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.2rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}
.leccion-cuerpo pre code { background: none; color: inherit; }

.leccion-acciones {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ----- Repaso ----- */
.repaso-contenedor { max-width: 720px; margin: 0 auto; }
.repaso-progreso {
    text-align: center;
    color: var(--gris-texto);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.tarjeta-repaso {
    background: white;
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    min-height: 300px;
}
.tipo-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.tipo-badge.quiz { background: #ebf8ff; color: var(--azul-claro); }
.tipo-badge.flash { background: #faf5ff; color: #6b46c1; }
.pregunta { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; color: #1a202c; }
.instruccion { color: var(--gris-texto); font-style: italic; margin-bottom: 1.5rem; }

.opciones { display: flex; flex-direction: column; gap: 0.7rem; }
.opcion {
    text-align: left;
    background: white;
    border: 2px solid var(--gris-borde);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.15s;
}
.opcion:hover:not(:disabled) { border-color: var(--azul-claro); background: #f7fafc; }
.opcion-letra { font-weight: bold; color: var(--azul); margin-right: 0.5rem; }
.opcion.correcta { border-color: var(--verde); background: #f0fff4; }
.opcion.incorrecta { border-color: var(--rojo); background: #fff5f5; }
.opcion:disabled { cursor: default; }

.feedback { margin-top: 1.5rem; }
.feedback.oculto, .respuesta.oculto { display: none; }
.fb-ok { color: var(--verde); font-size: 1.2rem; font-weight: bold; margin-bottom: 0.6rem; }
.fb-mal { color: var(--rojo); font-size: 1.2rem; font-weight: bold; margin-bottom: 0.6rem; }
.explicacion {
    background: var(--azul-light);
    border-left: 4px solid var(--dorado);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.2rem;
    color: var(--gris-texto);
}

.respuesta { margin-top: 1.5rem; }
.respuesta-texto {
    background: #f0fff4;
    border-left: 4px solid var(--verde);
    padding: 1.2rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.califica { font-weight: 600; margin-bottom: 0.8rem; text-align: center; }
.botones-calidad {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}
.cal {
    border: none;
    border-radius: 8px;
    padding: 0.7rem 0.3rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
    transition: transform 0.1s;
}
.cal small { font-weight: normal; font-size: 0.65rem; display: block; }
.cal:hover { transform: translateY(-2px); }
.cal-0 { background: #c53030; }
.cal-1 { background: #dd6b20; }
.cal-2 { background: #d69e2e; }
.cal-3 { background: #38a169; }
.cal-4 { background: #2f855a; }
.cal-5 { background: #276749; }

/* ============================================
   SPRINT 2 — Componentes nuevos
   ============================================ */

/* Modos de estudio (dashboard) */
.modos-estudio { margin: 2rem 0; }
.modos-estudio h2, .interleaving h2 { color: var(--azul); margin-bottom: 1rem; }
.interleaving h2 small { font-weight: normal; font-size: 0.85rem; color: var(--gris-texto); }
.grid-modos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.modo-card {
    background: white;
    border: 1px solid var(--gris-borde);
    border-radius: 12px;
    padding: 1.4rem;
    text-decoration: none;
    color: #2d3748;
    transition: transform 0.12s, box-shadow 0.2s;
    border-top: 4px solid var(--verde);
}
.modo-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.modo-card.modo-inactivo { opacity: 0.55; border-top-color: var(--gris-borde); }
.modo-icono { font-size: 2rem; margin-bottom: 0.5rem; }
.modo-titulo { font-weight: 700; color: var(--azul); font-size: 1.05rem; }
.modo-desc { font-size: 0.85rem; color: var(--gris-texto); margin-top: 0.3rem; }

/* Tags cloud (interleaving) */
.interleaving { margin: 2rem 0; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-pill {
    background: var(--azul-light);
    color: var(--azul);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s;
}
.tag-pill:hover { background: var(--verde); color: white; }
.tag-n {
    background: rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    margin-left: 0.2rem;
}

/* Lista de casos */
.lista-casos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.caso-card {
    background: white;
    border: 1px solid var(--gris-borde);
    border-radius: 12px;
    padding: 1.3rem;
    text-decoration: none;
    color: #2d3748;
    transition: transform 0.12s, box-shadow 0.2s;
    border-left: 4px solid var(--azul);
}
.caso-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.caso-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.dificultad { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 12px; font-weight: 600; }
.dif-1 { background: #c6f6d5; color: #22543d; }
.dif-2 { background: #fefcbf; color: #744210; }
.dif-3 { background: #fed7d7; color: #742a2a; }
.caso-titulo { font-weight: 700; color: var(--azul); margin-bottom: 0.6rem; font-size: 1.05rem; }
.caso-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tag {
    font-size: 0.72rem;
    background: var(--azul-light);
    color: var(--azul-claro);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
}

/* Situación del caso */
.caso-situacion {
    background: white;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}
.caso-situacion h1 { color: var(--azul); font-size: 1.5rem; margin-bottom: 1rem; }
.situacion-texto {
    background: var(--azul-light);
    border-left: 4px solid var(--azul);
    padding: 1.2rem;
    border-radius: 0 8px 8px 0;
    font-size: 1.05rem;
    line-height: 1.7;
}
.instruccion-caso { color: var(--gris-texto); font-style: italic; margin-top: 1rem; }

/* Formulario IRAC */
.formulario-irac {
    background: white;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.campo-irac { margin-bottom: 1.3rem; }
.campo-irac label {
    display: block;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 0.4rem;
}
.campo-irac label small { font-weight: normal; color: var(--gris-texto); }
textarea {
    width: 100%;
    border: 2px solid var(--gris-borde);
    border-radius: 8px;
    padding: 0.8rem;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.15s;
}
textarea:focus { outline: none; border-color: var(--azul-claro); }
textarea:disabled { background: #f7fafc; color: var(--gris-texto); }

/* Respuesta modelo del caso */
.modelo-respuesta {
    background: white;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}
.modelo-respuesta h2 { color: var(--azul); margin-bottom: 1.2rem; }
.bloque-modelo {
    border-left: 4px solid var(--verde);
    background: #f0fff4;
    padding: 0.9rem 1.2rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
}
.bloque-modelo h3 { color: var(--azul); font-size: 1rem; margin-bottom: 0.3rem; }
.bloque-modelo p { margin: 0; }
.bloque-modelo.conclusion { border-left-color: var(--dorado); background: var(--azul-light); }

/* Active Recall: mi respuesta */
.mi-respuesta {
    background: #f7fafc;
    border-left: 4px solid var(--gris-borde);
    padding: 0.9rem 1.2rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
    color: var(--gris-texto);
}

/* Feynman */
.feynman-contenedor { max-width: 720px; margin: 0 auto; }
.feynman-intro { text-align: center; margin-bottom: 1.5rem; }
.feynman-intro h1 { color: var(--azul); margin: 0.8rem 0; }
.feynman-concepto {
    background: var(--azul-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.etiqueta-concepto { font-size: 0.8rem; color: var(--gris-texto); text-transform: uppercase; letter-spacing: 1px; }
.concepto-pregunta { font-size: 1.2rem; font-weight: 600; color: var(--azul); margin-top: 0.4rem; }
.feynman-reto {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.feynman-reto label { display: block; margin-bottom: 0.7rem; }
.feynman-reto textarea { margin-bottom: 1rem; }
.feynman-cierre {
    background: #fffaf0;
    border-left: 4px solid var(--amarillo);
    padding: 1rem 1.2rem;
    border-radius: 0 8px 8px 0;
    margin: 1.2rem 0;
}

/* ============================================
   GENERADOR DE DOCUMENTOS
   ============================================ */
.input-texto {
    width: 100%;
    border: 2px solid var(--gris-borde);
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    font-family: inherit;
    font-size: 1rem;
}
.input-texto:focus { outline: none; border-color: var(--azul-claro); }

.aviso-perfil {
    background: #fffaf0;
    border-left: 4px solid var(--amarillo);
    padding: 1rem 1.2rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
}
.aviso-perfil .boton-secundario { margin-top: 0.6rem; }
.perfil-ok {
    background: #f0fff4;
    border-left: 4px solid var(--verde);
    padding: 0.7rem 1.2rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
}
.perfil-ok a { color: var(--azul); margin-left: 0.5rem; }

.doc-icono { font-size: 1.4rem; }
.doc-desc { font-size: 0.85rem; color: var(--gris-texto); margin-top: 0.4rem; }

.preview-zona {
    background: white;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}
.preview-zona h2 { color: var(--azul); margin-bottom: 1rem; }
.preview-doc {
    background: #fdfdfd;
    border: 1px solid var(--gris-borde);
    border-radius: 8px;
    padding: 2rem;
    font-family: "Calibri", "Segoe UI", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #1a202c;
    max-height: 500px;
    overflow-y: auto;
}
.doc-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}
.nota-doc {
    font-size: 0.82rem;
    color: var(--gris-texto);
    font-style: italic;
    margin-top: 1rem;
}

/* ============================================
   MÉTRICAS DE PROGRESO
   ============================================ */
.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.stat-box {
    background: white;
    border-radius: 12px;
    padding: 1.4rem;
    text-align: center;
    border-top: 4px solid var(--verde);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--azul); }
.stat-lbl { font-size: 0.82rem; color: var(--gris-texto); margin-top: 0.3rem; }

.bloque-progreso {
    background: white;
    border-radius: 12px;
    padding: 1.6rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.bloque-progreso h2 { color: var(--azul); margin-bottom: 1rem; }
.bloque-progreso h2 small { font-weight: normal; font-size: 0.82rem; color: var(--gris-texto); }

/* Barra de dominio */
.barra-dominio {
    display: flex;
    height: 26px;
    border-radius: 13px;
    overflow: hidden;
    background: var(--gris-borde);
}
.seg { height: 100%; }
.seg-dom { background: var(--verde); }
.seg-proc { background: var(--amarillo); }
.seg-nuevo { background: #cbd5e0; }
.leyenda { display: flex; gap: 1.2rem; margin-top: 0.7rem; font-size: 0.85rem; flex-wrap: wrap; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 0.3rem; vertical-align: middle; }
.dot.dom { background: var(--verde); }
.dot.proc { background: var(--amarillo); }
.dot.nuevo { background: #cbd5e0; }

/* Gráfica de barras de actividad */
.grafica-barras {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    height: 140px;
    padding-top: 1rem;
}
.barra-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.barra {
    width: 70%;
    background: var(--azul-claro);
    border-radius: 4px 4px 0 0;
    min-height: 3px;
    transition: height 0.3s;
}
.barra-fecha { font-size: 0.65rem; color: var(--gris-texto); margin-top: 0.3rem; }

/* Mapa de conceptos */
.mapa-conceptos { display: flex; flex-direction: column; gap: 0.5rem; }
.concepto-row { display: flex; align-items: center; gap: 0.8rem; }
.concepto-nombre { width: 150px; font-size: 0.85rem; color: var(--azul); font-weight: 600; flex-shrink: 0; }
.concepto-barra { flex: 1; background: var(--gris-borde); border-radius: 10px; height: 16px; overflow: hidden; }
.concepto-fill { height: 100%; border-radius: 10px; }
.concepto-fill.débil { background: #c53030; }
.concepto-fill.medio { background: var(--amarillo); }
.concepto-fill.fuerte { background: var(--verde); }
.concepto-pct { width: 42px; text-align: right; font-size: 0.82rem; color: var(--gris-texto); font-weight: 600; }

/* ----- Pie ----- */
.pie {
    text-align: center;
    color: #a0aec0;
    padding: 2rem;
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* ----- Responsivo ----- */
@media (max-width: 640px) {
    .tarjetas-resumen { flex-direction: column; align-items: center; }
    .botones-calidad { grid-template-columns: repeat(3, 1fr); }
    .leccion-cuerpo, .tarjeta-repaso, .hero { padding: 1.5rem; }
}
