/* =====================================================================
   componentesHTML2026.css
   Estilos agrupados de las demos en componentesHTML2026/
   Cada bloque indica el archivo fuente y el HTML de demo.
   ===================================================================== */


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-alertas.css
   COMPONENTE / DEMO: componente-alertas.html
   --------------------------------------------------------------------- */

/*
 * componente-alertas.css
 * Alertas y notificaciones para alumnos y padres
 */

.alertas-demo-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alerta {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.alerta-icono {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.alerta-contenido {
    flex: 1;
}

.alerta-titulo {
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.alerta-texto {
    margin: 0;
    font-size: 0.95rem;
}

.alerta-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.alerta-link:hover {
    text-decoration: none;
}

.alerta-cerrar {
    flex-shrink: 0;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.alerta-cerrar:hover {
    background: rgba(0, 0, 0, 0.1);
}

.alerta-cerrar:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.alerta-info {
    background: rgba(136, 156, 129, 0.15);
    border-left-color: var(--color-accent-green);
    color: var(--color-dark);
}

.alerta-info .alerta-icono {
    color: var(--color-accent-green);
}

.alerta-success {
    background: rgba(136, 176, 75, 0.15);
    border-left-color: var(--color-accent-primary);
    color: var(--color-dark);
}

.alerta-success .alerta-icono {
    color: var(--color-accent-primary);
}

.alerta-warning {
    background: rgba(255, 193, 7, 0.2);
    border-left-color: #d4a000;
    color: #5c4a00;
}

.alerta-warning .alerta-icono {
    color: #d4a000;
}

.alerta-error {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #721c24;
}

.alerta-error .alerta-icono {
    color: #dc3545;
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-acordeon.css
   COMPONENTE / DEMO: componente-acordeon.html
   --------------------------------------------------------------------- */

/*
 * componente-acordeon.css
 * 14 variantes de acordeón:
 *   1. Features + preview (acordeon04)
 *   2. Coral card (acordeon05)
 *   3. FAQ clásico (acordeon01)
 *   4. Badge icono (acordeon02)
 *   5. Botón verde (acordeon03)
 *   6–14. Minimal, Card, Borde-accent, Soft, Glass, Compact, Smooth, Fade, Multi
 */


/* =================================================================
   VARIANTE 1 — Features + preview (acordeon04)
   Circle icon, uppercase label, text + browser mockup on expand.
   ================================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.acc4-wrapper {
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.acc4-accordion {
    width: 100%;
}

.acc4-item {
    border-top: 1px solid #e0e0e0;
}

.acc4-item:last-child {
    border-bottom: 1px solid #e0e0e0;
}

.acc4-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.acc4-trigger:focus-visible {
    outline: 2px solid #9e9e9e;
    outline-offset: 2px;
}

.acc4-icon-circle {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border: 1.5px solid #c0c0c0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.acc4-trigger[aria-expanded='true'] .acc4-icon-circle {
    border-color: #999;
    color: #888;
}

.acc4-svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

.acc4-label {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #bbb;
    transition: color 0.25s ease;
}

.acc4-trigger[aria-expanded='true'] .acc4-label {
    color: #333;
}

.acc4-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    overflow: hidden;
}

.acc4-trigger[aria-expanded='true'] + .acc4-panel {
    grid-template-rows: minmax(0, 1fr);
}

.acc4-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.acc4-content {
    display: flex;
    gap: 2rem;
    padding: 0 0 1.5rem 3.75rem;
}

.acc4-text {
    flex: 1;
    min-width: 0;
}

.acc4-text p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #777;
}

.acc4-link {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #333;
    text-decoration: none;
    border-bottom: 1.5px solid #333;
    padding-bottom: 0.15em;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.acc4-link:hover {
    color: #666;
    border-color: #666;
}

.acc4-link:focus-visible {
    outline: 2px solid #999;
    outline-offset: 3px;
}

.acc4-preview {
    flex-shrink: 0;
    width: 45%;
    max-width: 20rem;
}

.acc4-browser {
    border-radius: 0.375rem;
    overflow: hidden;
    background: #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.acc4-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.625rem;
    background: #d6d6d6;
}

.acc4-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #bbb;
}

.acc4-browser-body {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.acc4-preview-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =================================================================
   VARIANTE 2 — Coral card (acordeon05)
   Card azul-gris, barra coral superior, separadores punteados,
   chevron triangular, tipografía light.
   ================================================================= */

.acc5-wrapper {
    max-width: 34rem;
    margin: 0 auto;
    background: #eaf0f4;
    border-radius: 0.25rem;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.acc5-top-bar {
    height: 0.375rem;
    background: #f06d6d;
}

.acc5-title {
    margin: 0;
    padding: 2.25rem 2rem 1.75rem;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.35;
    text-transform: uppercase;
    color: #f06d6d;
    letter-spacing: 0.04em;
}

.acc5-accordion {
    padding: 0 2rem 2rem;
}

.acc5-item {
    border-top: 2px dotted #cdd6dd;
}

.acc5-item:last-child {
    border-bottom: 2px dotted #cdd6dd;
}

.acc5-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 0;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.acc5-trigger:focus-visible {
    outline: 2px solid #f06d6d;
    outline-offset: 2px;
}

.acc5-label {
    flex: 1;
    font-size: 1.1875rem;
    font-weight: 300;
    color: #f06d6d;
    line-height: 1.4;
}

.acc5-chevron {
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 0.375rem solid transparent;
    border-right: 0.375rem solid transparent;
    border-top: 0.4375rem solid #f06d6d;
    transition: transform 0.25s ease;
}

.acc5-trigger[aria-expanded='true'] .acc5-chevron {
    transform: rotate(180deg);
}

.acc5-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
}

.acc5-trigger[aria-expanded='true'] + .acc5-panel {
    grid-template-rows: minmax(0, 1fr);
}

.acc5-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.acc5-panel-inner p {
    margin: 0;
    padding: 0.25rem 0 1.25rem;
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    color: #5a6a75;
}


/* =================================================================
   VARIANTE 3 — FAQ clásico (acordeon01)
   Ítems gris azulado, activo #D27961, icono +/− circular,
   animación grid 0fr/1fr.
   ================================================================= */

.faq-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b4759;
    margin: 0 0 1.75rem;
    letter-spacing: -0.02em;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #d1d5db;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    margin: 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #708090;
    transition: color 0.25s ease, border-color 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.faq-trigger:hover {
    color: #5a6a7a;
}

.faq-trigger:focus-visible {
    outline: 2px solid #D27961;
    outline-offset: 2px;
}

.faq-trigger[aria-expanded='true'] {
    color: #D27961;
    border-bottom-color: #D27961;
}

.faq-question {
    flex: 1;
    line-height: 1.45;
}

.faq-icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.faq-icon::before {
    content: '+';
    display: block;
    margin-top: -1px;
}

.faq-trigger[aria-expanded='true'] .faq-icon::before {
    content: '−';
    font-size: 1.05rem;
}

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-height: 0;
}

.faq-trigger[aria-expanded='true'] + .faq-panel {
    grid-template-rows: minmax(0, 1fr);
}

.faq-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.faq-panel-inner p {
    margin: 0;
    padding: 1.55rem 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6b7280;
}

.faq-panel-inner p + p {
    padding-top: 0.5rem;
}


/* =================================================================
   VARIANTE 4 — Badge icono (acordeon02)
   Card blanca con badge teal izquierdo, chevron derecho,
   animación grid 0fr/1fr.
   ================================================================= */

.acc2-wrapper {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 1.25rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.acc2-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.acc2-accordion {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.acc2-item {
    border-bottom: 1px solid #e5e7eb;
}

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

.acc2-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: background-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.acc2-trigger:hover {
    background-color: #f9fafb;
}

.acc2-trigger:focus-visible {
    outline: 2px solid #4ecdc4;
    outline-offset: -2px;
}

.acc2-icon-wrap {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    background-color: #4ecdc4;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.acc2-label {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.acc2-trigger[aria-expanded='true'] .acc2-label {
    color: #0f9b94;
}

.acc2-chevron {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

.acc2-trigger[aria-expanded='true'] .acc2-chevron {
    transform: rotate(180deg);
    color: #0f9b94;
}

.acc2-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.acc2-icon-wrap .acc2-svg {
    width: 1.3rem;
    height: 1.3rem;
}

.acc2-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.acc2-trigger[aria-expanded='true'] + .acc2-panel {
    grid-template-rows: minmax(0, 1fr);
}

.acc2-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.acc2-panel-inner p {
    margin: 0;
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6b7280;
}

.acc2-panel-inner p + p {
    padding-top: 0.5rem;
}


/* =================================================================
   VARIANTE 5 — Botón verde (acordeon03)
   Fondo arena, ítems blancos separados, cuadro verde +/−,
   contenido imagen + texto en dos columnas.
   ================================================================= */

.acc3-wrapper {
    max-width: 620px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
    background-color: transparent;
    border-radius: 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.acc3-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.acc3-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.acc3-item {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
}

.acc3-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 3.75rem;
    padding: 0 0 0 1.25rem;
    margin: 0;
    background: none;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: background-color 0.25s ease, color 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.acc3-trigger:focus-visible {
    outline: 2px solid #3aaa35;
    outline-offset: -2px;
}

.acc3-trigger[aria-expanded='true'] {
    background-color: #3aaa35;
}

.acc3-label {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.45;
}

.acc3-trigger[aria-expanded='true'] .acc3-label {
    color: #ffffff;
}

.acc3-icon {
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    background-color: #3aaa35;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    transition: background-color 0.2s ease;
}

.acc3-icon::before {
    content: '+';
    display: block;
}

.acc3-trigger[aria-expanded='true'] .acc3-icon::before {
    content: '−';
}

.acc3-trigger[aria-expanded='true'] .acc3-icon {
    background-color: #ffffff;
    color: #3aaa35;
}

.acc3-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
}

.acc3-trigger[aria-expanded='true'] + .acc3-panel {
    grid-template-rows: minmax(0, 1fr);
}

.acc3-panel-inner {
    min-height: 0;
    overflow: hidden;
}

.acc3-content {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
}

.acc3-figure {
    margin: 0;
    flex-shrink: 0;
    width: 40%;
    max-width: 12rem;
}

.acc3-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.25rem;
    object-fit: cover;
}

.acc3-panel-inner p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6b7280;
}


/* =================================================================
   VARIANTES 6–14 — Estilos originales
   Minimal, Card, Borde-accent, Soft, Glass, Compact,
   Smooth, Fade, Multi.
   ================================================================= */

/* --- Espacio entre bloques --- */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

/* --- Base común (variantes 4–12) --- */
.acordeon-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

.acordeon {
    border-radius: 8px;
    overflow: hidden;
}

.acordeon-item {
    border-bottom: 1px solid var(--color-border);
}

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

.acordeon-encabezado {
    margin: 0;
}

.acordeon-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--touch-target-min);
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.acordeon-trigger[aria-expanded="true"] {
    background: rgba(210, 121, 97, 0.06);
    color: var(--color-text);
}

.acordeon-trigger:focus {
    outline: none;
}

.acordeon-trigger::after {
    content: '';
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--color-accent);
    transition: transform 0.25s ease;
}

.acordeon-trigger[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.acordeon--icon-plus .acordeon-trigger::after {
    content: '+';
    width: auto;
    height: auto;
    min-width: 1.5rem;
    height: 1.5rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-accent);
    transition: color 0.2s ease, transform none;
}

.acordeon--icon-plus .acordeon-trigger[aria-expanded="true"]::after {
    content: '−';
    transform: none;
}

.acordeon--icon-chevron .acordeon-trigger::after {
    content: '▾';
    width: auto;
    height: auto;
    min-width: 1.25rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--color-accent);
    transition: transform 0.25s ease;
}

.acordeon--icon-chevron .acordeon-trigger[aria-expanded="true"]::after {
    content: '▴';
}

.acordeon-panel {
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.acordeon-panel--cerrado {
    max-height: 0;
}

.acordeon-panel:not(.acordeon-panel--cerrado) {
    max-height: 500px;
}

.acordeon-panel p {
    padding: 1.875rem 1.25rem 1.25rem;
    margin: 0;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* --- 4. Minimal --- */
.acordeon--minimal {
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
}

.acordeon--minimal .acordeon-item {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.acordeon--minimal .acordeon-item:first-child .acordeon-trigger {
    border-radius: 8px 8px 0 0;
}

.acordeon--minimal .acordeon-item:last-child .acordeon-trigger {
    border-radius: 0 0 8px 8px;
}

.acordeon--minimal .acordeon-item:only-child .acordeon-trigger {
    border-radius: 8px;
}

.acordeon--minimal .acordeon-trigger::after {
    color: var(--color-text-muted);
}

.acordeon--minimal .acordeon-trigger[aria-expanded="true"]::after {
    color: var(--color-accent);
}

/* --- 5. Card --- */
.acordeon--card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: none;
    background: transparent;
}

.acordeon--card .acordeon-item {
    border: none;
    border-radius: 12px;
    background: var(--color-bg-card);
    box-shadow: 0 1px 3px var(--color-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.acordeon--card .acordeon-trigger {
    padding: 1.25rem 1.5rem;
    border-radius: 12px 12px 0 0;
}

.acordeon--card .acordeon-panel p {
    padding: 1.875rem 1.5rem 1.5rem;
}

/* --- 6. Borde acento --- */
.acordeon--borde-accent {
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
}

.acordeon--borde-accent .acordeon-item {
    border-bottom: 1px solid var(--color-border);
    border-left: 4px solid transparent;
    transition: border-left-color 0.2s ease, background 0.2s ease;
}

.acordeon--borde-accent .acordeon-item:has(.acordeon-trigger[aria-expanded="true"]) {
    border-left-color: var(--color-accent);
    background: rgba(210, 121, 97, 0.04);
}

.acordeon--borde-accent .acordeon-item:first-child .acordeon-trigger {
    border-radius: 8px 8px 0 0;
}

.acordeon--borde-accent .acordeon-item:last-child .acordeon-trigger {
    border-radius: 0 0 8px 8px;
}

.acordeon--borde-accent .acordeon-item:only-child .acordeon-trigger {
    border-radius: 8px;
}

/* --- 7. Soft --- */
.acordeon--soft {
    border: none;
    background: transparent;
}

.acordeon--soft .acordeon-item {
    border: none;
    margin-bottom: 0.5rem;
    border-radius: 16px;
    background: var(--color-bg-card);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.acordeon--soft .acordeon-item:last-child {
    margin-bottom: 0;
}

.acordeon--soft .acordeon-trigger {
    padding: 1rem 1.5rem;
    font-weight: 500;
    border-radius: 16px 16px 0 0;
}

.acordeon--soft .acordeon-trigger::after {
    color: var(--color-accent-green);
}

.acordeon--soft .acordeon-trigger[aria-expanded="true"] {
    background: rgba(136, 156, 129, 0.08);
}

.acordeon--soft .acordeon-trigger[aria-expanded="true"]::after {
    color: var(--color-accent-green);
}

.acordeon--soft .acordeon-panel p {
    padding: 1.875rem 1.5rem 1.25rem;
}

/* --- 8. Glass --- */
.acordeon-demo--dark {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a2f28 0%, #0f1f1a 100%);
    border-radius: 12px;
}

.acordeon-demo--dark .acordeon-variant-title {
    color: rgba(255, 255, 255, 0.7);
}

.acordeon--glass {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.acordeon--glass .acordeon-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.acordeon--glass .acordeon-trigger {
    color: #fff;
}

.acordeon--glass .acordeon-trigger:focus {
    outline: none;
}

.acordeon--glass .acordeon-item:first-child .acordeon-trigger {
    border-radius: 8px 8px 0 0;
}

.acordeon--glass .acordeon-item:last-child .acordeon-trigger {
    border-radius: 0 0 8px 8px;
}

.acordeon--glass .acordeon-item:only-child .acordeon-trigger {
    border-radius: 8px;
}

.acordeon--glass .acordeon-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.1);
}

.acordeon--glass .acordeon-trigger::after {
    color: rgba(255, 255, 255, 0.8);
}

.acordeon--glass .acordeon-panel p {
    color: rgba(255, 255, 255, 0.85);
}

/* --- 9. Compact --- */
.acordeon--compact {
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    border-radius: 6px;
}

.acordeon--compact .acordeon-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.acordeon--compact .acordeon-item:first-child .acordeon-trigger {
    border-radius: 6px 6px 0 0;
}

.acordeon--compact .acordeon-item:last-child .acordeon-trigger {
    border-radius: 0 0 6px 6px;
}

.acordeon--compact .acordeon-item:only-child .acordeon-trigger {
    border-radius: 6px;
}

.acordeon--compact .acordeon-trigger {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    min-height: 40px;
}

.acordeon--compact .acordeon-trigger::after {
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 5px;
}

.acordeon--compact .acordeon-panel p {
    padding: 1.875rem 1rem 1rem;
    font-size: 0.875rem;
}

/* --- 10. Smooth — Animación más prolongada --- */
.acordeon--smooth .acordeon-panel {
    transition: max-height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- 11. Fade — Desvanecimiento al abrir/cerrar --- */
.acordeon--fade .acordeon-panel {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.acordeon--fade .acordeon-panel--cerrado {
    opacity: 0;
}

.acordeon--fade .acordeon-panel:not(.acordeon-panel--cerrado) {
    opacity: 1;
}

/* --- 12. Multi — Estilo igual que minimal, la lógica está en JS --- */


/* =================================================================
   RESPONSIVE
   ================================================================= */

/* --- Variantes 1–5: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .acc4-panel,
    .acc4-icon-circle,
    .acc4-label {
        transition-duration: 0.01ms;
    }

    .acc5-panel,
    .acc5-chevron {
        transition-duration: 0.01ms;
    }

    .faq-trigger,
    .faq-icon,
    .faq-panel {
        transition-duration: 0.01ms;
    }

    .acc2-trigger,
    .acc2-chevron,
    .acc2-panel {
        transition-duration: 0.01ms;
    }

    .acc3-icon,
    .acc3-panel {
        transition-duration: 0.01ms;
    }
}

/* --- Variante 1: mobile stack --- */
@media (max-width: 600px) {
    .acc4-content {
        flex-direction: column;
        padding-left: 0;
    }

    .acc4-preview {
        width: 100%;
        max-width: none;
    }
}

/* --- Variante 5: mobile stack --- */
@media (max-width: 480px) {
    .acc3-content {
        flex-direction: column;
    }

    .acc3-figure {
        width: 100%;
        max-width: none;
    }
}

/* --- Variantes 4–12: responsive --- */
@media (max-width: 600px) {
    .acordeon-trigger {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }

    .acordeon-panel p {
        padding: 1.5rem 1rem 1rem;
        font-size: 0.9rem;
    }

    .acordeon--card .acordeon-trigger {
        padding: 1rem 1.25rem;
    }

    .acordeon--card .acordeon-panel p {
        padding: 1rem 1.25rem 1.25rem;
    }

    .acordeon--soft .acordeon-trigger {
        padding: 0.875rem 1.25rem;
    }

    .acordeon--compact .acordeon-trigger {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }

    .acordeon--compact .acordeon-panel p {
        padding: 1.5rem 0.875rem 0.875rem;
        font-size: 0.8125rem;
    }

    .acordeon-demo--dark {
        padding: 1rem;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-steppers.css
   COMPONENTE / DEMO: componente-steppers.html
   --------------------------------------------------------------------- */

/*
 * componente-steppers.css
 * 7 steppers minimalistas, limpios y responsivos
 * Tipografía alineada con componente-page / tablas: ~1rem cuerpo, ~0.95rem apoyo
 */

.componente-nota-pie {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .stpr-h__step,
    .stpr-seg__fill,
    .stpr-crumb__item,
    .stpr-rows__item,
    .stpr-ink__btn {
        transition: none;
    }
}

/* ---------- Propuesta 1: Pasos horizontales (número + etiqueta) ---------- */
.stpr-h {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    max-width: 40rem;
}

.stpr-h__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    min-width: 0;
}

.stpr-h__n {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-base);
    font-weight: 600;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-muted);
    background: var(--color-bg-card);
    flex-shrink: 0;
}

.stpr-h__step--done .stpr-h__n {
    border-color: var(--color-accent-green);
    background: var(--color-accent-green);
    color: #fff;
}

.stpr-h__step--current .stpr-h__n {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-bg-card);
    box-shadow: 0 0 0 2px rgba(210, 121, 97, 0.2);
}

.stpr-h__label {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-snug);
    padding: 0 0.25rem;
}

.stpr-h__step--current .stpr-h__label {
    color: var(--color-text);
    font-weight: 600;
}

.stpr-h__gap {
    flex: 1 1 auto;
    min-width: 0.5rem;
    max-width: 5rem;
    align-self: flex-start;
    margin-top: calc(1.125rem - 1px);
    height: 2px;
    background: var(--color-border);
    border: none;
    padding: 0;
    min-height: 0;
    list-style: none;
    position: relative;
    top: 0;
}

.stpr-h__gap--done {
    background: var(--color-accent-green);
}

@media (max-width: 540px) {
    .stpr-h {
        flex-direction: column;
        align-items: stretch;
        max-width: none;
    }

    .stpr-h__gap {
        flex: 0 0 auto;
        width: 2px;
        height: 1rem;
        margin: 0 0 0 calc(1.125rem - 1px);
    }

    .stpr-h__step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }

    .stpr-h__label {
        padding: 0.35rem 0 0;
    }
}

/* ---------- Propuesta 2: Barra segmentada ---------- */
.stpr-seg {
    width: 100%;
    max-width: 40rem;
}

.stpr-seg__track {
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.stpr-seg__cell {
    flex: 1;
    min-height: 8px;
    background: var(--color-bg-card);
    border-right: 1px solid var(--color-border);
    transition: background 0.2s ease;
}

.stpr-seg__cell:last-child {
    border-right: none;
}

.stpr-seg__cell--done {
    background: var(--color-accent-green);
    border-color: rgba(255, 255, 255, 0.25);
}

.stpr-seg__cell--current {
    background: rgba(210, 121, 97, 0.45);
}

.stpr-seg__meta {
    margin: 0.65rem 0 0;
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text-secondary);
}

.stpr-seg__meta strong {
    color: var(--color-text);
    font-weight: 600;
}

.stpr-seg__names {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.stpr-seg__names span {
    flex: 1;
    text-align: center;
    min-width: 0;
    line-height: 1.2;
}

@media (max-width: 540px) {
    .stpr-seg__names {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.35rem;
    }

    .stpr-seg__names span {
        flex: 1 1 40%;
    }
}

/* ---------- Propuesta 3: Migas inline ---------- */
.stpr-crumb {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.stpr-crumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.stpr-crumb__item {
    color: var(--color-text-muted);
}

.stpr-crumb__item--done {
    color: var(--color-accent-green);
}

.stpr-crumb__item--current {
    color: var(--color-text);
    font-weight: 600;
}

.stpr-crumb__sep {
    color: var(--color-border);
    user-select: none;
}

/* ---------- Propuesta 4: Lista en filas (sin línea vertical ni círculos) ---------- */
.stpr-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 36rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-bg-card);
}

.stpr-rows__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.25rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    align-items: start;
}

.stpr-rows__item:last-child {
    border-bottom: none;
}

.stpr-rows__item--current {
    background: rgba(210, 121, 97, 0.06);
}

.stpr-rows__idx {
    min-width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    border-radius: 6px;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    color: var(--color-text-muted);
}

.stpr-rows__item--done .stpr-rows__idx {
    background: var(--color-accent-green);
    border-color: var(--color-accent-green);
    color: #fff;
}

.stpr-rows__item--current .stpr-rows__idx {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-bg-card);
    box-shadow: 0 0 0 2px rgba(210, 121, 97, 0.18);
}

.stpr-rows__body {
    min-width: 0;
}

.stpr-rows__title {
    display: block;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
}

.stpr-rows__item:not(.stpr-rows__item--current):not(.stpr-rows__item--done) .stpr-rows__title {
    color: var(--color-text-muted);
    font-weight: 500;
}

.stpr-rows__hint {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

@media (max-width: 480px) {
    .stpr-rows__item {
        padding: 1rem;
        gap: 0.85rem 1rem;
    }
}

/* ---------- Propuesta 5: Acordeón (minimal) ---------- */
.stpr-acc.acordeon {
    border-radius: 0;
    overflow: visible;
    max-width: 40rem;
    border: none;
}

.stpr-acc .acordeon-item {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    background: var(--color-bg-card);
}

.stpr-acc .acordeon-item:last-child {
    margin-bottom: 0;
}

.stpr-acc .acordeon-trigger {
    min-height: var(--touch-target-min);
    padding: 1rem 1.15rem;
    background: transparent;
    box-shadow: none;
    font-weight: 500;
    font-size: var(--text-base);
}

.stpr-acc .acordeon-trigger::after {
    display: none;
}

.stpr-acc .acordeon-trigger[aria-expanded="true"] {
    background: rgba(210, 121, 97, 0.06);
    border-bottom: none;
}

.stpr-acc__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.stpr-acc__idx {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    font-size: var(--text-sm);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    background: var(--color-bg-card);
}

.stpr-acc .acordeon-trigger[aria-expanded="true"] .stpr-acc__idx {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.stpr-acc__title {
    flex: 1;
    text-align: left;
}

.stpr-acc__chev {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--color-text-muted);
    transition: transform 0.2s ease;
}

.stpr-acc .acordeon-trigger[aria-expanded="true"] .stpr-acc__chev {
    transform: rotate(180deg);
}

/* Espacio superior del contenido: padding en el panel (evita colapso de márgenes) */
.stpr-acc .acordeon-panel:not(.acordeon-panel--cerrado) {
    padding-top: 1rem;
}

.stpr-acc .acordeon-panel p {
    padding: 0 1.15rem 1.15rem 3.75rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

@media (max-width: 600px) {
    .stpr-acc .acordeon-panel:not(.acordeon-panel--cerrado) {
        padding-top: 1rem;
    }

    /* Mayor especificidad que .acordeon-panel p del acordeón base en móvil */
    .stpr-acc .acordeon-panel p {
        padding: 0 1rem 1.1rem 3.25rem;
        margin: 0;
        font-size: 0.95rem;
    }
}

/* ---------- Propuesta 6: Bloque “dónde vas” (texto claro + chips) ---------- */
.stpr-now {
    max-width: 36rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg-card);
    box-shadow: 0 1px 5px var(--color-shadow);
}

.stpr-now__eyebrow {
    margin: 0 0 0.35rem;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.stpr-now__count {
    margin: 0 0 0.65rem;
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-snug);
}

.stpr-now__count strong {
    color: var(--color-text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.stpr-now__title {
    margin: 0 0 0.45rem;
    font-family: var(--font-title);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-text);
    line-height: var(--leading-tight);
}

.stpr-now__lead {
    margin: 0 0 1.1rem;
    font-size: 0.95rem;
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

.stpr-now__chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.stpr-now__chip {
    font-size: var(--text-sm);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text-muted);
    line-height: var(--leading-snug);
}

.stpr-now__chip--done {
    background: rgba(136, 176, 75, 0.14);
    border-color: rgba(136, 176, 75, 0.45);
    color: #2d5a27;
}

.stpr-now__chip--here {
    background: rgba(210, 121, 97, 0.11);
    border-color: var(--color-accent);
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 480px) {
    .stpr-now {
        padding: 1.1rem 1rem;
    }

    .stpr-now__title {
        font-size: var(--text-lg);
    }
}

/* ---------- Propuesta 7: Pestañas-ink (solo texto + subrayado) ---------- */
.stpr-ink {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.stpr-ink__track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0;
}

.stpr-ink__btn {
    flex: 1 1 auto;
    min-width: min(100%, 6rem);
    padding: 0.85rem 0.65rem;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: default;
    text-align: center;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.stpr-ink__btn--done {
    color: var(--color-accent-green);
}

.stpr-ink__btn--current {
    color: var(--color-text);
    font-weight: 600;
    border-bottom-color: var(--color-accent);
}

@media (max-width: 400px) {
    .stpr-ink__track {
        flex-direction: column;
        align-items: stretch;
        border-bottom: none;
    }

    .stpr-ink__btn {
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
        margin-bottom: 0;
        padding-left: 0.75rem;
    }

    .stpr-ink__btn--current {
        border-bottom-color: transparent;
        border-left-color: var(--color-accent);
        background: rgba(210, 121, 97, 0.04);
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-badge.css
   COMPONENTE / DEMO: componente-badge.html, componente-tabla.html
   --------------------------------------------------------------------- */

/*
 * componente-badge.css
 * Badges y etiquetas para estados
 */

.badges-demo h3 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.badges-demo h3:first-child {
    margin-top: 0;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1.3;
}

.badge--success {
    background: rgba(136, 176, 75, 0.2);
    color: #2d5a27;
}

.badge--warning {
    background: rgba(255, 193, 7, 0.25);
    color: #5c4a00;
}

.badge--error {
    background: rgba(220, 53, 69, 0.15);
    color: #721c24;
}

.badge--info {
    background: rgba(136, 156, 129, 0.15);
    color: var(--color-dark);
}

.badge-ejemplo-tarjeta {
    background: var(--color-bg-card);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px var(--color-shadow);
    margin-top: 1rem;
}

.badge-ejemplo-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.badge-ejemplo-fecha {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.badge-ejemplo-texto {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-tabla.css
   COMPONENTE / DEMO: componente-tabla.html
   --------------------------------------------------------------------- */

/*
 * componente-tabla.css
 * Tabla de datos: base + 7 variantes claramente diferenciadas (escritorio y móvil)
 */

.tabla-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.tabla-datos {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.tabla-caption {
    font-weight: 600;
    text-align: left;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.tabla-datos th,
.tabla-datos td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.tabla-datos th {
    background: rgba(136, 156, 129, 0.15);
    font-weight: 600;
    color: var(--color-text);
}

.tabla-datos tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.tabla-datos tbody tr:hover {
    background: rgba(210, 121, 97, 0.06);
}

.tabla-datos td {
    color: var(--color-text-secondary);
}

.tabla-datos .tabla-col-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ---------- Marco 1: Institucional (identidad clara) ---------- */
.tabla-marco--1 {
    padding: 0.85rem 1rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(136, 156, 129, 0.35);
    border-top: 4px solid var(--color-accent-green);
    background: linear-gradient(
        180deg,
        rgba(136, 156, 129, 0.1) 0%,
        transparent 3rem
    );
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tabla-datos--institucional tbody tr:nth-child(even) {
    background: rgba(136, 156, 129, 0.06);
}

.tabla-datos--institucional tbody tr:hover {
    background: rgba(136, 156, 129, 0.12);
}

/* ---------- Marco 2: Minimal / editorial ---------- */
.tabla-marco--2 .tabla-caption {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 0.6rem;
    margin-bottom: 0.35rem;
}

.tabla-datos--minimal th {
    background: transparent !important;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-text);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tabla-datos--minimal td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.tabla-datos--minimal tbody tr:nth-child(even) {
    background: transparent;
}

.tabla-datos--minimal tbody tr:hover {
    background: rgba(210, 121, 97, 0.05);
}

/* ---------- Marco 3: Panel tarjeta ---------- */
.tabla-wrapper--panel {
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: clamp(1rem, 3vw, 1.35rem);
    box-shadow: 0 4px 20px var(--color-shadow);
    border: 1px solid var(--color-border);
}

.tabla-marco--3.tabla-wrapper--panel {
    border-left: 5px solid var(--color-accent);
}

.tabla-datos--en-panel {
    min-width: 360px;
}

.tabla-marco--3 .tabla-datos--en-panel thead th {
    background: rgba(210, 121, 97, 0.12);
    color: #5c2e24;
    border-bottom-color: rgba(210, 121, 97, 0.35);
}

.tabla-marco--3 .tabla-datos--en-panel tbody tr:nth-child(even) {
    background: rgba(210, 121, 97, 0.04);
}

/* ---------- Marco 4: Grid denso (cabecera oscura) ---------- */
.tabla-marco--4 {
    padding: 0.65rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
}

.tabla-datos--densa {
    font-size: 0.82rem;
}

.tabla-datos--densa th,
.tabla-datos--densa td {
    padding: 0.45rem 0.65rem;
}

.tabla-marco--4 .tabla-datos--densa thead th {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-bottom: 2px solid #0f172a;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
}

.tabla-marco--4 .tabla-datos--densa td {
    border: 1px solid #e2e8f0;
    border-top: none;
    background: #fff;
}

.tabla-marco--4 .tabla-datos--densa tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.tabla-marco--4 .tabla-datos--densa tbody tr:hover td {
    background: #fff7ed !important;
}

.tabla-datos--densa td.tabla-mono {
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
    font-size: 0.8em;
}

/* ---------- Marco 5: Sticky ---------- */
.tabla-marco--5.tabla-wrapper--sticky-view {
    border: 2px solid #94a3b8;
    border-radius: 12px;
    padding: 0.75rem;
    background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
}

@media (min-width: 640px) {
    .tabla-wrapper--sticky-view {
        max-height: 240px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tabla-datos--sticky-head thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(241, 245, 249, 0.98) !important;
        box-shadow: 0 1px 0 #cbd5e1;
    }

    .tabla-marco--5 .tabla-datos--sticky-head thead th {
        background: rgba(226, 232, 240, 0.98) !important;
    }

    .tabla-datos--sticky-head tbody tr:nth-child(even) {
        background: rgba(255, 255, 255, 0.65);
    }
}

/* ---------- Marco 6: Bloques / acento cálido ---------- */
.tabla-marco--6 {
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255, 107, 53, 0.06);
    border: 1px dashed rgba(210, 121, 97, 0.55);
}

.tabla-marco--6 .tabla-datos--movil-bloques thead th {
    background: rgba(255, 107, 53, 0.18) !important;
    color: #7c2d12 !important;
    border-bottom: 2px solid rgba(255, 107, 53, 0.45);
}

.tabla-marco--6 .tabla-datos--movil-bloques tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.55);
}

/* ---------- Marco 7: Estado (filas con tinte) ---------- */
.tabla-marco--7 {
    padding: 0.5rem 0;
}

.tabla-datos--estado thead th {
    background: rgba(136, 156, 129, 0.14);
    border-bottom: 2px solid rgba(136, 156, 129, 0.35);
}

.tabla-datos--estado .tabla-fila--ok td {
    background: rgba(136, 176, 75, 0.16) !important;
    border-bottom-color: rgba(136, 176, 75, 0.25);
}

.tabla-datos--estado .tabla-fila--pendiente td {
    background: rgba(255, 193, 7, 0.22) !important;
    border-bottom-color: rgba(217, 119, 6, 0.35);
}

.tabla-datos--estado .tabla-fila--ok {
    box-shadow: inset 5px 0 0 0 #6b9b37;
}

.tabla-datos--estado .tabla-fila--pendiente {
    box-shadow: inset 5px 0 0 0 #d97706;
}

.tabla-datos--estado .tabla-fila--ok:hover td,
.tabla-datos--estado .tabla-fila--pendiente:hover td {
    filter: brightness(0.97);
}

/* ---------- Responsivo: apilado (todas las variantes con --stack-sm) ---------- */
@media (max-width: 639px) {
    .tabla-datos--stack-sm {
        min-width: 0;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .tabla-datos--stack-sm thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .tabla-datos--stack-sm tbody {
        display: block;
    }

    .tabla-datos--stack-sm tbody tr {
        display: block;
        margin-bottom: 0.65rem;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        overflow: hidden;
        background: var(--color-bg-card);
    }

    .tabla-datos--stack-sm tbody tr:last-child {
        margin-bottom: 0;
    }

    .tabla-datos--stack-sm td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0.65rem 1rem;
        border-bottom: 1px solid var(--color-border);
        text-align: right;
        background: inherit !important;
    }

    .tabla-datos--stack-sm td:last-child {
        border-bottom: none;
    }

    .tabla-datos--stack-sm td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--color-text);
        text-align: left;
        flex-shrink: 0;
    }

    .tabla-datos--stack-sm .tabla-col-num {
        text-align: right;
    }

    .tabla-marco--4 .tabla-datos--stack-sm td {
        border-left: none;
        border-right: none;
    }

    .tabla-marco--5.tabla-wrapper--sticky-view {
        max-height: none;
        overflow: visible;
        border: 2px dashed #94a3b8;
        background: #f1f5f9;
    }

    .tabla-datos--minimal tbody tr {
        background: var(--color-bg-card);
    }

    .tabla-datos--minimal tbody tr:hover {
        background: var(--color-bg-card);
    }

    .tabla-marco--2 .tabla-datos--stack-sm tbody tr {
        border-left: 4px solid var(--color-accent);
        border-radius: 4px;
    }

    .tabla-marco--2 .tabla-datos--stack-sm td::before {
        color: var(--color-accent);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .tabla-datos--estado .tabla-fila--ok,
    .tabla-datos--estado .tabla-fila--pendiente {
        box-shadow: none;
    }

    .tabla-datos--estado.tabla-datos--stack-sm .tabla-fila--ok {
        border-left: 5px solid #6b9b37;
        background: rgba(136, 176, 75, 0.1) !important;
    }

    .tabla-datos--estado.tabla-datos--stack-sm .tabla-fila--pendiente {
        border-left: 5px solid #d97706;
        background: rgba(255, 193, 7, 0.15) !important;
    }

    /* Fila apilada: anular fondo por celda para usar el tr */
    .tabla-datos--estado.tabla-datos--stack-sm .tabla-fila--ok td,
    .tabla-datos--estado.tabla-datos--stack-sm .tabla-fila--pendiente td {
        background: transparent !important;
    }

}

/* ---------- Propuesta 6: bloques reforzados en móvil ---------- */
@media (max-width: 639px) {
    .tabla-datos--movil-bloques.tabla-datos--stack-sm tbody tr {
        padding: 0.35rem 0 0;
        margin-bottom: 1rem;
        border-radius: 12px;
        box-shadow: 0 3px 14px rgba(255, 107, 53, 0.18);
        border: 1px solid rgba(255, 107, 53, 0.25);
    }

    .tabla-datos--movil-bloques.tabla-datos--stack-sm tbody tr:first-child {
        margin-top: 0.25rem;
    }

    .tabla-datos--movil-bloques.tabla-datos--stack-sm td:first-child {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--color-border);
        background: rgba(255, 107, 53, 0.14);
        font-weight: 600;
        color: var(--color-text);
        text-align: left;
    }

    .tabla-datos--movil-bloques.tabla-datos--stack-sm td:first-child::before {
        display: none;
    }

    .tabla-marco--4 .tabla-datos--stack-sm tbody tr {
        font-size: 0.88rem;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-tarjetas-acceso.css
   COMPONENTE / DEMO: componente-tarjetas-acceso.html
   --------------------------------------------------------------------- */

/*
 * componente-tarjetas-acceso.css
 * Tarjetas de acceso rápido para alumnos y padres
 */

.tarjetas-acceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.tarjeta-acceso {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--color-bg-card);
    border-radius: 12px;
    box-shadow: 0 1px 3px var(--color-shadow);
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    min-height: var(--touch-target-min);
}

.tarjeta-acceso:hover {
    box-shadow: 0 4px 12px var(--color-shadow-hover);
    transform: translateY(-2px);
}

.tarjeta-acceso:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.tarjeta-acceso-icono {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.tarjeta-acceso-icono svg {
    width: 100%;
    height: 100%;
}

.tarjeta-acceso-titulo {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.tarjeta-acceso-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Proceso por pasos */
.tarjetas-pasos {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
}

.tarjeta-paso {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 140px;
    max-width: 220px;
    padding: 1.25rem;
    background: var(--color-bg-card);
    border-radius: 12px;
    box-shadow: 0 1px 3px var(--color-shadow);
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tarjeta-paso:hover {
    box-shadow: 0 4px 12px var(--color-shadow-hover);
    transform: translateY(-2px);
}

.tarjeta-paso:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.tarjeta-paso-indice {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
}

.tarjeta-paso--letra .tarjeta-paso-indice {
    font-size: 0.9rem;
    text-transform: lowercase;
}

.tarjeta-paso-titulo {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.tarjeta-paso-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.tarjeta-paso-conector {
    flex-shrink: 0;
    width: 24px;
    height: 0;
    align-self: center;
    border-top: 2px dashed var(--color-accent-green);
    opacity: 0.6;
}

/* Variante con letras (a, b, c) — diseño mejorado */
.tarjetas-pasos-leyenda {
    margin: 2rem 0 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.tarjetas-pasos--letras {
    gap: 1.25rem;
    justify-content: center;
}

.tarjetas-pasos--letras .tarjeta-paso--letra {
    flex: 0 0 160px;
    width: 160px;
    height: 110px;
    padding: 1.5rem;
    box-sizing: border-box;
    justify-content: flex-start;
}

.tarjetas-pasos--letras .tarjeta-paso-conector {
    width: 40px;
    flex-shrink: 0;
}

/* Variante A,B,C — estilo pills (compacto) */
.tarjetas-pasos-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.tarjeta-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 150px;
    height: 48px;
    padding: 0 1rem;
    box-sizing: border-box;
    background: var(--color-bg-card);
    border-radius: 2rem;
    box-shadow: 0 1px 3px var(--color-shadow);
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tarjeta-pill:hover {
    box-shadow: 0 4px 12px var(--color-shadow-hover);
    transform: translateY(-2px);
}

.tarjeta-pill:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.tarjeta-pill-letra {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
}

.tarjeta-pill-texto {
    font-weight: 600;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tarjeta-pill-flecha {
    color: var(--color-accent-green);
    font-size: 1rem;
    opacity: 0.7;
}

/* Variante A,B,C — back de sombra (llamativo) */
.tarjetas-pasos--back {
    gap: 1.25rem;
    justify-content: center;
}

.tarjeta-back {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 160px;
    width: 160px;
    height: 120px;
    padding: 1.25rem;
    box-sizing: border-box;
    background: var(--color-bg-card);
    border-radius: 12px;
    box-shadow: 0 1px 3px var(--color-shadow);
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tarjeta-back:hover {
    box-shadow: 0 4px 12px var(--color-shadow-hover);
    transform: translateY(-2px);
}

.tarjeta-back:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.tarjeta-back-sombra {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 5rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.2;
    pointer-events: none;
}

.tarjeta-back-texto {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}

.tarjetas-pasos--back .tarjeta-paso-conector {
    width: 40px;
}

@media (max-width: 640px) {
    .tarjetas-pasos--back .tarjeta-back {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .tarjetas-pasos-pills {
        flex-direction: column;
    }

    .tarjeta-pill-flecha {
        transform: rotate(-90deg);
    }

    .tarjetas-pasos--back {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .tarjetas-pasos {
        flex-direction: column;
    }

    .tarjeta-paso {
        max-width: none;
    }

    .tarjeta-paso-conector {
        width: 0;
        height: 16px;
        border-top: none;
        border-left: 2px dashed var(--color-accent-green);
    }

    .tarjetas-pasos--letras .tarjeta-paso--letra {
        max-width: none;
    }

    .tarjetas-pasos--letras .tarjeta-paso-conector {
        width: 0;
        height: 16px;
        border-top: none;
        border-left: 2px dashed var(--color-accent-green);
    }

    .tarjetas-pasos--back .tarjeta-paso-conector {
        width: 0;
        height: 16px;
        border-top: none;
        border-left: 2px dashed var(--color-accent-green);
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-botones.css
   COMPONENTE / DEMO: componente-botones.html
   --------------------------------------------------------------------- */

/*
 * componente-botones.css
 * Botones con feedback táctil y micro-interacciones
 */

/* Contenedor específico de la página de botones */
.botones-demo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Estilos globales de botones (aplicados en todas las páginas de componentes) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-target-min);
    min-width: var(--touch-target-min);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.btn:hover {
    outline: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 2px 4px rgba(210, 121, 97, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 121, 97, 0.4);
}

.btn-secondary {
    background: var(--color-accent-green);
    color: #fff;
    box-shadow: 0 2px 4px rgba(136, 156, 129, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--color-accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(136, 156, 129, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover:not(:disabled) {
    background: rgba(210, 121, 97, 0.1);
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-link {
    min-width: auto;
}

.btn:disabled,
.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    position: relative;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.5rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Variantes para propuestas */
.btn--compact {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn--destructive {
    background: #dc3545;
}

.btn--destructive:hover:not(:disabled) {
    background: #c82333;
}

.btn--outline-destructive {
    border-color: #dc3545;
    color: #dc3545;
}

.btn--outline-destructive:hover:not(:disabled) {
    background: rgba(220, 53, 69, 0.1);
    border-color: transparent;
}

.btn--full {
    width: 100%;
}

.botones-grupo {
    display: flex;
    gap: 0;
}

.botones-grupo .btn:first-child {
    border-radius: 8px 0 0 8px;
}

.botones-grupo .btn:last-child {
    border-radius: 0 8px 8px 0;
}

.botones-columna {
    flex-direction: column;
    max-width: 300px;
}

/* Botones solo icono */
.btn-icono {
    padding: 0.75rem;
    min-width: var(--touch-target-min);
}

.btn-icono svg {
    width: 1.25rem;
    height: 1.25rem;
}

.botones-iconos-catalogo {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.botones-iconos-leyenda {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-modal.css
   COMPONENTE / DEMO: componente-modal.html
   --------------------------------------------------------------------- */

/*
 * componente-modal.css
 * 7 propuestas de interfaz: minimal, card, borde-accent, soft, glass, compact, icono
 */

/* --- Espacio entre bloques --- */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

.modal-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

.modal-demo--dark {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a2f28 0%, #0f1f1a 100%);
    border-radius: 12px;
}

.modal-demo--dark .modal-variant-title {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Base común --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-contenido {
    position: relative;
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-titulo {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.modal-texto {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.modal-acciones {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-modal-cancelar {
    padding: 0.75rem 1.25rem;
    background: transparent;
    color: var(--color-text-muted);
    font-family: inherit;
    font-weight: 600;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-modal-cancelar:hover {
    background: rgba(0, 0, 0, 0.05);
}

.btn-modal-confirmar {
    padding: 0.75rem 1.25rem;
    background: var(--color-accent);
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-modal-confirmar:hover {
    background: var(--color-accent-hover);
}

.btn-modal--destructive {
    background: var(--color-accent-orange);
}

.btn-modal--destructive:hover {
    background: var(--color-accent-orange-hover);
}

.modal-cerrar-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-cerrar-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--color-text);
}

.modal-cerrar-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* --- 1. Minimal --- */
.modal--minimal .modal-contenido {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.modal--minimal .modal-overlay {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: none;
}

/* --- 2. Card --- */
.modal--card .modal-contenido {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

.modal--card .modal-titulo {
    color: var(--color-text);
}

/* --- 3. Borde acento --- */
.modal--borde-accent .modal-contenido {
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.modal--borde-accent .modal-titulo {
    color: var(--color-accent);
}

/* --- 4. Soft --- */
.modal--soft .modal-contenido {
    background: linear-gradient(135deg, rgba(136, 156, 129, 0.12) 0%, rgba(136, 156, 129, 0.04) 100%);
    border: 1px solid rgba(136, 156, 129, 0.2);
    border-radius: 16px;
}

.modal--soft .modal-titulo {
    color: var(--color-accent-green);
}

.modal--soft .btn-modal-confirmar {
    background: var(--color-accent-green);
}

.modal--soft .btn-modal-confirmar:hover {
    background: var(--color-accent-green-hover);
}

/* --- 5. Glass --- */
.modal--glass .modal-overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal--glass .modal-contenido {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.modal--glass .modal-titulo {
    color: #fff;
}

.modal--glass .modal-texto {
    color: rgba(255, 255, 255, 0.9);
}

.modal--glass .btn-modal-cancelar {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.modal--glass .btn-modal-cancelar:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal--glass .btn-modal-confirmar {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark);
}

.modal--glass .btn-modal-confirmar:hover {
    background: #fff;
}

.modal--glass .modal-cerrar-btn {
    color: rgba(255, 255, 255, 0.8);
}

.modal--glass .modal-cerrar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* --- 6. Compact --- */
.modal--compact .modal-contenido {
    padding: 1.25rem 1.5rem;
    max-width: 380px;
}

.modal--compact .modal-titulo {
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
}

.modal--compact .modal-texto {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.modal--compact .modal-acciones {
    gap: 0.75rem;
}

.modal--compact .btn-modal-cancelar,
.modal--compact .btn-modal-confirmar {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.modal--compact .modal-cerrar-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
}

/* --- 7. Icono destacado --- */
.modal--icono .modal-contenido {
    text-align: center;
}

.modal--icono .modal-icono-wrap {
    margin-bottom: 1rem;
}

.modal--icono .modal-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-accent-green);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 50%;
    line-height: 1;
}

.modal--icono .modal-titulo {
    margin-bottom: 0.5rem;
}

.modal--icono .modal-texto {
    margin-bottom: 1.25rem;
}

.modal--icono .modal-acciones {
    justify-content: center;
}

.modal--icono .btn-modal-confirmar {
    background: var(--color-accent-green);
}

.modal--icono .btn-modal-confirmar:hover {
    background: var(--color-accent-green-hover);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .modal-contenido {
        padding: 1.5rem 1.25rem;
        max-width: 100%;
    }

    .modal--compact .modal-contenido {
        padding: 1rem 1.25rem;
    }

    .modal--icono .modal-icono {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-tabs.css
   COMPONENTE / DEMO: componente-tabs.html
   --------------------------------------------------------------------- */

/*
 * componente-tabs.css
 * 7 propuestas de interfaz: minimal, pill, card, borde-accent, compact, vertical, glass
 */

/* --- Espacio entre bloques --- */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

.tabs-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

.tabs-demo--dark {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a2f28 0%, #0f1f1a 100%);
    border-radius: 12px;
}

.tabs-demo--dark .tabs-variant-title {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Base común --- */
.tabs-list {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
}

.tabs-trigger {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    min-height: var(--touch-target-min);
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tabs-trigger:hover {
    color: var(--color-accent);
}

.tabs-trigger[aria-selected="true"] {
    color: var(--color-accent);
}

.tabs-trigger:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.tabs-panel {
    padding: 1rem 0;
}

.tabs-panel--oculto {
    display: none;
}

.tabs-panel h3 {
    margin-top: 0;
}

/* --- 1. Minimal --- */
.tabs--minimal .tabs-list {
    border-bottom: 2px solid var(--color-border);
}

.tabs--minimal .tabs-trigger {
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tabs--minimal .tabs-trigger[aria-selected="true"] {
    border-bottom-color: var(--color-accent);
}

/* --- 2. Pill --- */
.tabs--pill .tabs-list {
    gap: 0.5rem;
}

.tabs--pill .tabs-trigger {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.tabs--pill .tabs-trigger[aria-selected="true"] {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.tabs--pill .tabs-trigger:hover:not([aria-selected="true"]) {
    background: rgba(210, 121, 97, 0.08);
}

/* --- 3. Card --- */
.tabs--card {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--color-shadow);
}

.tabs--card .tabs-list {
    border-bottom: 1px solid var(--color-border);
}

.tabs--card .tabs-trigger {
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tabs--card .tabs-trigger[aria-selected="true"] {
    border-bottom-color: var(--color-accent);
}

/* --- 4. Borde acento --- */
.tabs--borde-accent .tabs-list {
    border-bottom: 3px solid var(--color-accent);
}

.tabs--borde-accent .tabs-trigger {
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.tabs--borde-accent .tabs-trigger[aria-selected="true"] {
    border-bottom-color: var(--color-accent);
}

/* --- 5. Compact --- */
.tabs--compact .tabs-list {
    margin-bottom: 1rem;
}

.tabs--compact .tabs-trigger {
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
}

.tabs--compact .tabs-list {
    border-bottom: 1px solid var(--color-border);
}

.tabs--compact .tabs-trigger {
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tabs--compact .tabs-trigger[aria-selected="true"] {
    border-bottom-color: var(--color-accent);
}

.tabs--compact .tabs-panel {
    padding: 0.75rem 0;
}

/* --- 6. Vertical --- */
.tabs--vertical {
    display: flex;
    gap: 1.5rem;
}

.tabs--vertical .tabs-list {
    flex-direction: column;
    margin-bottom: 0;
    border-bottom: none;
    border-right: 2px solid var(--color-border);
    padding-right: 1rem;
}

.tabs--vertical .tabs-trigger {
    justify-content: flex-start;
    text-align: left;
    padding: 0.5rem 1rem;
    border-bottom: none;
    border-right: 3px solid transparent;
    margin-bottom: 0;
    margin-right: -1rem;
}

.tabs--vertical .tabs-trigger[aria-selected="true"] {
    border-bottom: none;
    border-right-color: var(--color-accent);
}

.tabs--vertical .tabs-panel {
    flex: 1;
    padding: 0;
}

/* --- 7. Glass --- */
.tabs--glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(12px);
}

.tabs--glass .tabs-list {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tabs--glass .tabs-trigger {
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tabs--glass .tabs-trigger:hover {
    color: #fff;
}

.tabs--glass .tabs-trigger[aria-selected="true"] {
    color: #fff;
    border-bottom-color: var(--color-accent);
}

.tabs--glass .tabs-panel h3 {
    color: #fff;
}

.tabs--glass .tabs-panel p {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .tabs-list {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .tabs-trigger {
        padding: 0.5rem 0.875rem;
        font-size: 0.9rem;
    }

    .tabs--pill .tabs-list {
        gap: 0.35rem;
    }

    .tabs--pill .tabs-trigger {
        padding: 0.4rem 0.75rem;
        font-size: 0.875rem;
    }

    .tabs--card {
        padding: 1rem;
    }

    .tabs--vertical {
        flex-direction: column;
    }

    .tabs--vertical .tabs-list {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 2px solid var(--color-border);
        padding-right: 0;
        padding-bottom: 0.5rem;
    }

    .tabs--vertical .tabs-trigger {
        border-right: none;
        border-bottom: 3px solid transparent;
        margin-right: 0;
        margin-bottom: -2px;
    }

    .tabs--vertical .tabs-trigger[aria-selected="true"] {
        border-right: none;
        border-bottom-color: var(--color-accent);
    }

    .tabs--glass {
        padding: 1rem;
    }

    .tabs-demo--dark {
        padding: 1rem;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-formulario.css
   COMPONENTE / DEMO: componente-formulario.html
   --------------------------------------------------------------------- */

/*
 * componente-formulario.css
 * 7 propuestas de interfaz: minimal, card, borde-accent, inline, compact, soft, glass
 */

/* --- Espacio entre bloques --- */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

.formulario-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

.formulario-demo--dark {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a2f28 0%, #0f1f1a 100%);
    border-radius: 12px;
}

.formulario-demo--dark .formulario-variant-title {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Base común --- */
.formulario {
    max-width: 480px;
}

.formulario-grupo {
    margin-bottom: 1.25rem;
}

.formulario-grupo label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

.formulario-requerido {
    color: var(--color-accent);
}

.formulario-grupo input,
.formulario-grupo select,
.formulario-grupo textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: var(--color-bg-card);
    color: var(--color-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.formulario-grupo input:focus,
.formulario-grupo select:focus,
.formulario-grupo textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(210, 121, 97, 0.2);
}

.formulario-grupo input::placeholder,
.formulario-grupo textarea::placeholder {
    color: var(--color-text-muted);
}

.formulario-grupo select {
    cursor: pointer;
    appearance: auto;
}

.formulario-grupo textarea {
    resize: vertical;
    min-height: 100px;
}

.formulario-acciones {
    margin-top: 1.25rem;
}

/* --- 1. Minimal --- */
.formulario--minimal .formulario-grupo input,
.formulario--minimal .formulario-grupo select,
.formulario--minimal .formulario-grupo textarea {
    border-color: var(--color-border);
    background: transparent;
}

.formulario--minimal .formulario-grupo input:focus,
.formulario--minimal .formulario-grupo select:focus,
.formulario--minimal .formulario-grupo textarea:focus {
    border-color: var(--color-accent);
}

/* --- 2. Card --- */
.formulario--card {
    background: var(--color-bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--color-shadow);
}

.formulario--card .formulario-grupo input,
.formulario--card .formulario-grupo select,
.formulario--card .formulario-grupo textarea {
    border-color: var(--color-border);
}

/* --- 3. Borde acento --- */
.formulario--borde-accent {
    border-left: 4px solid var(--color-accent);
    padding-left: 1.25rem;
}

.formulario--borde-accent .formulario-grupo input,
.formulario--borde-accent .formulario-grupo select,
.formulario--borde-accent .formulario-grupo textarea {
    border-left: 3px solid var(--color-accent);
}

/* --- 4. Inline --- */
.formulario--inline .formulario-grupo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.formulario--inline .formulario-grupo label {
    flex: 0 0 80px;
    margin-bottom: 0;
}

.formulario--inline .formulario-grupo input,
.formulario--inline .formulario-grupo select,
.formulario--inline .formulario-grupo textarea {
    flex: 1 1 200px;
}

.formulario--inline .formulario-grupo textarea {
    min-width: 100%;
}

/* --- 5. Compact --- */
.formulario--compact .formulario-grupo {
    margin-bottom: 0.75rem;
}

.formulario--compact .formulario-grupo label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.formulario--compact .formulario-grupo input,
.formulario--compact .formulario-grupo select,
.formulario--compact .formulario-grupo textarea {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.formulario--compact .formulario-acciones {
    margin-top: 1rem;
}

/* --- 6. Soft --- */
.formulario--soft {
    background: rgba(136, 156, 129, 0.06);
    padding: 1.5rem;
    border-radius: 16px;
}

.formulario--soft .formulario-grupo input,
.formulario--soft .formulario-grupo select,
.formulario--soft .formulario-grupo textarea {
    border-color: rgba(136, 156, 129, 0.3);
    border-radius: 12px;
}

.formulario--soft .formulario-grupo input:focus,
.formulario--soft .formulario-grupo select:focus,
.formulario--soft .formulario-grupo textarea:focus {
    border-color: var(--color-accent-green);
    box-shadow: 0 0 0 3px rgba(136, 156, 129, 0.2);
}

/* --- 7. Glass --- */
.formulario--glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(12px);
}

.formulario--glass .formulario-grupo label {
    color: rgba(255, 255, 255, 0.9);
}

.formulario--glass .formulario-grupo input,
.formulario--glass .formulario-grupo select,
.formulario--glass .formulario-grupo textarea {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.formulario--glass .formulario-grupo input::placeholder,
.formulario--glass .formulario-grupo textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.formulario--glass .formulario-grupo input:focus,
.formulario--glass .formulario-grupo select:focus,
.formulario--glass .formulario-grupo textarea:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.formulario--glass .formulario-requerido {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .formulario {
        max-width: 100%;
    }

    .formulario--card,
    .formulario--soft,
    .formulario--glass {
        padding: 1rem;
    }

    .formulario--inline .formulario-grupo {
        flex-direction: column;
        align-items: stretch;
    }

    .formulario--inline .formulario-grupo label {
        flex: none;
    }

    .formulario-grupo input,
    .formulario-grupo select,
    .formulario-grupo textarea {
        padding: 0.65rem 0.875rem;
    }

    .formulario-demo--dark {
        padding: 1rem;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-timeline.css
   COMPONENTE / DEMO: componente-timeline.html
   --------------------------------------------------------------------- */

/*
 * componente-timeline.css
 * 7 propuestas: numerado, numeros-grandes, card-num, horizontal, stepper, compact, fechas-destacadas
 */

/* --- Espacio entre bloques --- */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

.timeline-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

.timeline-demo--dark {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a2f28 0%, #0f1f1a 100%);
    border-radius: 12px;
}

.timeline-demo--dark .timeline-variant-title {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Base común --- */
.timeline {
    position: relative;
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-item {
    position: relative;
}

.timeline-contenido {
    background: var(--color-bg-card);
    padding: 1.25rem;
    border-radius: 8px;
}

.timeline-fecha {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.timeline-titulo {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.timeline-desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* --- 1. Numerado list --- */
.timeline--numerado .timeline-list {
    counter-reset: timeline-num;
}

.timeline--numerado .timeline-item {
    padding-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}

.timeline--numerado .timeline-item:last-child {
    padding-bottom: 0;
}

.timeline--numerado .timeline-item::before {
    counter-increment: timeline-num;
    content: counter(timeline-num);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
}

.timeline--numerado .timeline-contenido {
    background: transparent;
    padding: 0;
}

.timeline--numerado .timeline-fecha {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline--numerado .timeline-titulo {
    font-size: 1.25rem;
    font-weight: 700;
}

.timeline--numerado .timeline-item--actual .timeline-titulo {
    color: var(--color-accent);
}

/* --- 2. Números grandes --- */
.timeline--numeros-grandes .timeline-item {
    padding-bottom: 2rem;
}

.timeline--numeros-grandes .timeline-item:last-child {
    padding-bottom: 0;
}

.timeline--numeros-grandes .timeline-numero {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(210, 121, 97, 0.2);
    margin-bottom: -0.5rem;
}

.timeline--numeros-grandes .timeline-item--actual .timeline-numero {
    color: var(--color-accent);
}

.timeline--numeros-grandes .timeline-fecha {
    font-size: 0.8rem;
}

.timeline--numeros-grandes .timeline-titulo {
    font-size: 1.2rem;
}

/* --- 3. Card numerado --- */
.timeline--card-num .timeline-item {
    padding-bottom: 1rem;
}

.timeline--card-num .timeline-item:last-child {
    padding-bottom: 0;
}

.timeline--card-num .timeline-contenido {
    position: relative;
    padding-left: 3.5rem;
    box-shadow: 0 1px 3px var(--color-shadow);
}

.timeline--card-num .timeline-numero-badge {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-green);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
}

.timeline--card-num .timeline-item--actual .timeline-numero-badge {
    background: var(--color-accent);
}

.timeline--card-num .timeline-fecha {
    font-size: 0.8rem;
}

/* --- 4. Horizontal --- */
.timeline--horizontal .timeline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.timeline--horizontal .timeline-item {
    flex: 1 1 140px;
    min-width: 120px;
}

.timeline--horizontal .timeline-contenido {
    text-align: center;
    padding: 1rem;
}

.timeline--horizontal .timeline-numero {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.timeline--horizontal .timeline-fecha {
    font-size: 0.75rem;
}

.timeline--horizontal .timeline-titulo {
    font-size: 0.95rem;
}

.timeline--horizontal .timeline-desc {
    font-size: 0.8rem;
}

/* --- 5. Stepper --- */
.timeline--stepper .timeline-item {
    padding-bottom: 1rem;
}

.timeline--stepper .timeline-item:last-child {
    padding-bottom: 0;
}

.timeline--stepper .timeline-contenido {
    padding: 1rem 1.25rem;
    position: relative;
    border-left: 3px solid var(--color-border);
    margin-left: 0.875rem;
}

.timeline--stepper .timeline-item:first-child .timeline-contenido {
    border-left-color: var(--color-accent-green);
}

.timeline--stepper .timeline-step {
    position: absolute;
    left: 0;
    top: 1rem;
    transform: translateX(-50%);
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 2px solid var(--color-accent-green);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-green);
}

.timeline--stepper .timeline-item--actual .timeline-contenido {
    border-left-color: var(--color-accent);
}

.timeline--stepper .timeline-item--actual .timeline-step {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #fff;
}

.timeline--stepper .timeline-fecha {
    font-size: 0.75rem;
}

.timeline--stepper .timeline-titulo {
    font-size: 1rem;
}

/* --- 6. Compact --- */
.timeline--compact .timeline-item {
    padding-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.timeline--compact .timeline-item:last-child {
    padding-bottom: 0;
}

.timeline--compact .timeline-contenido {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    background: transparent;
}

.timeline--compact .timeline-contenido-inner {
    flex: 1;
}

.timeline--compact .timeline-numero-inline {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
}

.timeline--compact .timeline-fecha {
    display: inline;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.timeline--compact .timeline-titulo {
    display: inline;
    font-size: 0.95rem;
    margin: 0;
}

.timeline--compact .timeline-desc {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

/* --- 7. Fechas destacadas --- */
.timeline--fechas-destacadas .timeline-item {
    padding-bottom: 1.5rem;
}

.timeline--fechas-destacadas .timeline-item:last-child {
    padding-bottom: 0;
}

.timeline--fechas-destacadas .timeline-contenido {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
}

.timeline--fechas-destacadas .timeline-fecha-grande {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0.25rem;
}

.timeline--fechas-destacadas .timeline-mes {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

.timeline--fechas-destacadas .timeline-titulo {
    font-size: 1.1rem;
    color: #fff;
}

.timeline--fechas-destacadas .timeline-desc {
    color: rgba(255, 255, 255, 0.7);
}

.timeline--fechas-destacadas .timeline-item--actual .timeline-contenido {
    background: rgba(210, 121, 97, 0.15);
    border-color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .timeline--horizontal .timeline-list {
        flex-direction: column;
    }

    .timeline--horizontal .timeline-item {
        min-width: 100%;
    }

    .timeline--horizontal .timeline-contenido {
        text-align: left;
    }

    .timeline--numeros-grandes .timeline-numero {
        font-size: 2.5rem;
    }

    .timeline--fechas-destacadas .timeline-fecha-grande {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .timeline--numerado .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline--numerado .timeline-item::before {
        font-size: 1.25rem;
    }

    .timeline--numerado .timeline-titulo {
        font-size: 1.1rem;
    }

    .timeline--numeros-grandes .timeline-numero {
        font-size: 2.25rem;
    }

    .timeline--card-num .timeline-contenido {
        padding-left: 2.75rem;
    }

    .timeline--card-num .timeline-numero-badge {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
    }

    .timeline--horizontal .timeline-item {
        min-width: 100%;
    }

    .timeline--compact .timeline-item {
        flex-wrap: wrap;
    }

    .timeline--compact .timeline-titulo {
        font-size: 0.9rem;
    }

    .timeline--fechas-destacadas .timeline-fecha-grande {
        font-size: 1.75rem;
    }

    .timeline--fechas-destacadas .timeline-contenido {
        padding: 1rem 1.25rem;
    }

    .timeline-demo--dark {
        padding: 1rem;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-banner.css
   COMPONENTE / DEMO: componente-banner.html
   --------------------------------------------------------------------- */

/*
 * componente-banner.css
 * 7 propuestas de estilo: minimal, card, borde-accent, soft, urgente, glass, compact
 */

/* --- Espacio entre bloques --- */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

.banner-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

.banner-demo--dark {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a2f28 0%, #0f1f1a 100%);
    border-radius: 12px;
}

.banner-demo--dark .banner-variant-title {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Base común --- */
.banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.banner-contenido {
    flex: 1;
}

.banner-titulo {
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.banner-texto {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

.banner-texto:last-child {
    margin-bottom: 0;
}

.banner-cta {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.banner-cta:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.banner-cerrar {
    flex-shrink: 0;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.banner-cerrar:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* --- 1. Minimal --- */
.banner--minimal {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.banner--minimal .banner-texto {
    color: var(--color-text-secondary);
}

.banner--minimal .banner-cta {
    background: var(--color-accent);
    color: #fff;
}

.banner--minimal .banner-cta:hover {
    background: var(--color-accent-hover);
}

.banner--minimal .banner-cerrar {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
}

.banner--minimal .banner-cerrar:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* --- 2. Card --- */
.banner--card {
    background: var(--color-bg-card);
    box-shadow: 0 2px 8px var(--color-shadow);
    color: var(--color-text);
    border: none;
}

.banner--card .banner-texto {
    color: var(--color-text-secondary);
}

.banner--card .banner-cta {
    background: var(--color-accent);
    color: #fff;
}

.banner--card .banner-cta:hover {
    background: var(--color-accent-hover);
}

/* --- 3. Borde acento --- */
.banner--borde-accent {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    color: var(--color-text);
}

.banner--borde-accent .banner-texto {
    color: var(--color-text-secondary);
}

.banner--borde-accent .banner-cta {
    color: var(--color-accent);
    background: rgba(210, 121, 97, 0.1);
}

.banner--borde-accent .banner-cta:hover {
    background: rgba(210, 121, 97, 0.18);
}

/* --- 4. Soft --- */
.banner--soft {
    background: linear-gradient(135deg, var(--color-accent-green) 0%, var(--color-accent-primary) 100%);
    color: #fff;
    border-radius: 16px;
}

.banner--soft .banner-cta {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
}

.banner--soft .banner-cta:hover {
    background: #fff;
}

/* --- 5. Urgente --- */
.banner--urgente {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
    color: #fff;
}

.banner--urgente .banner-cta {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.banner--urgente .banner-cta:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* --- 6. Glass --- */
.banner--glass {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: #fff;
}

.banner--glass .banner-cta {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.banner--glass .banner-cta:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner--glass .banner-cerrar {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.banner--glass .banner-cerrar:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* --- 7. Compact --- */
.banner--compact {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: rgba(136, 156, 129, 0.12);
    border: 1px solid rgba(136, 156, 129, 0.25);
    color: var(--color-dark);
}

.banner--compact .banner-titulo {
    font-size: 0.9375rem;
    margin-bottom: 0.15rem;
}

.banner--compact .banner-texto {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.banner--compact .banner-cta {
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
    background: var(--color-accent-green);
    color: #fff;
}

.banner--compact .banner-cta:hover {
    background: var(--color-accent-green-hover);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .banner {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .banner-cerrar {
        align-self: flex-end;
    }

    .banner-titulo {
        font-size: 1.05rem;
    }

    .banner-texto {
        font-size: 0.9rem;
    }

    .banner-demo--dark {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .banner {
        transition: none;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-breadcrumb.css
   COMPONENTE / DEMO: componente-breadcrumb.html
   --------------------------------------------------------------------- */

/*
 * componente-breadcrumb.css
 * 7 variantes de estilo: minimal, chevron, pill, borde-accent, soft, compact, glass
 */

/* --- Espacio entre bloques --- */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

.breadcrumb-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

/* --- Base común --- */
.breadcrumb {
    padding: 1rem 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

.breadcrumb-item a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.breadcrumb-item a:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.breadcrumb-item--actual {
    color: var(--color-text-muted);
}

/* --- 1. Minimal --- */
.breadcrumb--minimal .breadcrumb-item:not(:last-child)::after {
    content: '/';
}

/* --- 2. Chevron --- */
.breadcrumb--chevron .breadcrumb-item:not(:last-child)::after {
    content: '›';
    font-size: 1.1em;
    font-weight: 600;
    margin-left: 0.35rem;
}

/* --- 3. Pill --- */
.breadcrumb--pill .breadcrumb-list {
    gap: 0.5rem;
}

.breadcrumb--pill .breadcrumb-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    box-shadow: 0 1px 2px var(--color-shadow);
}

.breadcrumb--pill .breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.35rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.breadcrumb--pill .breadcrumb-item--actual {
    background: rgba(210, 121, 97, 0.12);
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 500;
}

.breadcrumb--pill .breadcrumb-item a {
    color: var(--color-text);
}

.breadcrumb--pill .breadcrumb-item a:hover {
    color: var(--color-accent);
}

/* --- 4. Borde acento --- */
.breadcrumb--borde-accent {
    border-left: 4px solid var(--color-accent);
    padding-left: 1rem;
    margin-left: 0;
}

.breadcrumb--borde-accent .breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.35rem;
}

.breadcrumb--borde-accent .breadcrumb-item--actual {
    color: var(--color-accent);
    font-weight: 600;
}

/* --- 5. Soft --- */
.breadcrumb--soft {
    background: var(--color-bg-card);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    box-shadow: 0 1px 3px var(--color-shadow);
}

.breadcrumb--soft .breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.4rem;
    color: var(--color-accent-green);
}

.breadcrumb--soft .breadcrumb-item a {
    color: var(--color-text);
}

.breadcrumb--soft .breadcrumb-item a:hover {
    color: var(--color-accent-green);
}

.breadcrumb--soft .breadcrumb-item--actual {
    color: var(--color-accent-green);
    font-weight: 500;
}

/* --- 6. Compact --- */
.breadcrumb--compact {
    padding: 0.5rem 0;
}

.breadcrumb--compact .breadcrumb-list {
    font-size: 0.8125rem;
    gap: 0.15rem;
}

.breadcrumb--compact .breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.2rem;
    font-size: 0.9em;
}

.breadcrumb--compact .breadcrumb-item a {
    color: var(--color-accent);
}

/* --- 7. Glass --- */
.breadcrumb-demo--dark {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a2f28 0%, #0f1f1a 100%);
    border-radius: 12px;
}

.breadcrumb-demo--dark .breadcrumb-variant-title {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb--glass {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
}

.breadcrumb--glass .breadcrumb-item:not(:last-child)::after {
    content: '›';
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.4rem;
}

.breadcrumb--glass .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb--glass .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb--glass .breadcrumb-item--actual {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .breadcrumb-list {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    .breadcrumb--pill .breadcrumb-list {
        gap: 0.35rem;
    }

    .breadcrumb--pill .breadcrumb-item {
        padding: 0.3rem 0.6rem;
        font-size: 0.875rem;
    }

    .breadcrumb--compact .breadcrumb-list {
        font-size: 0.75rem;
    }

    .breadcrumb-demo--dark {
        padding: 1rem;
    }

    .breadcrumb--glass {
        padding: 0.875rem 1rem;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-call-to-action.css
   COMPONENTE / DEMO: componente-call-to-action.html
   --------------------------------------------------------------------- */

/*
 * componente-call-to-action.css
 * 7 propuestas: hero, card, borde-accent, bandeja, split, gradient, compact
 */

/* --- Espacio entre bloques --- */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

.cta-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

/* --- Base común --- */
.cta {
    padding: 1.5rem;
    border-radius: 8px;
}

.cta-titulo {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.cta-texto {
    font-size: 0.95rem;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.cta-texto:last-child {
    margin-bottom: 0;
}

.cta-boton {
    display: inline-block;
}

/* --- 1. Hero --- */
.cta--hero {
    text-align: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.cta--hero .cta-titulo {
    font-size: 1.5rem;
}

.cta--hero .cta-texto {
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

/* --- 2. Card --- */
.cta--card {
    background: var(--color-bg-card);
    box-shadow: 0 2px 8px var(--color-shadow);
}

.cta--card .cta-texto {
    color: var(--color-text-secondary);
}

/* --- 3. Borde acento --- */
.cta--borde-accent {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
}

.cta--borde-accent .cta-texto {
    color: var(--color-text-secondary);
}

/* --- 4. Bandeja --- */
.cta--bandeja {
    margin-left: calc(-1 * clamp(1.5rem, 4vw, 3rem));
    margin-right: calc(-1 * clamp(1.5rem, 4vw, 3rem));
    padding: 2rem clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--color-accent-green) 0%, var(--color-accent-primary) 100%);
    color: #fff;
    border-radius: 0;
}

.cta--bandeja .cta-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cta--bandeja .cta-titulo {
    color: #fff;
}

.cta--bandeja .cta-boton {
    background: #fff;
    color: var(--color-dark);
}

.cta--bandeja .cta-boton:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* --- 5. Split --- */
.cta--split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.cta--split .cta-contenido {
    flex: 1;
    min-width: 200px;
}

.cta--split .cta-texto {
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.cta--split .cta-accion {
    flex-shrink: 0;
}

/* --- 6. Gradient --- */
.cta--gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
    color: #fff;
}

.cta--gradient .cta-titulo {
    color: #fff;
}

.cta--gradient .cta-boton {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark);
}

.cta--gradient .cta-boton:hover {
    background: #fff;
}

/* --- 7. Compact --- */
.cta--compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(136, 156, 129, 0.08);
    border: 1px solid rgba(136, 156, 129, 0.2);
}

.cta--compact .cta-texto {
    margin: 0;
    font-size: 0.9rem;
}

.cta--compact .cta-boton {
    margin-left: auto;
}

/* --- 8. Imagen lateral --- */
.cta--imagen-lateral {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.cta--imagen-lateral .cta-imagen {
    flex: 0 0 40%;
    min-width: 280px;
}

.cta--imagen-lateral .cta-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta--imagen-lateral .cta-contenido {
    flex: 1;
    min-width: 240px;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta--imagen-lateral .cta-texto {
    color: var(--color-text-secondary);
}

/* --- 9. Imagen de fondo --- */
.cta--imagen-fondo {
    position: relative;
    min-height: 280px;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
}

.cta--imagen-fondo .cta-fondo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta--imagen-fondo .cta-overlay {
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem;
    background: linear-gradient(to right, rgba(26, 47, 40, 0.85) 0%, rgba(26, 47, 40, 0.5) 60%, transparent 100%);
    color: #fff;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta--imagen-fondo .cta-titulo {
    color: #fff;
}

.cta--imagen-fondo .cta-boton {
    align-self: flex-start;
}

/* --- 10. Imagen destacada --- */
.cta--imagen-destacada {
    padding: 0;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.cta--imagen-destacada .cta-imagen-top {
    width: 100%;
    overflow: hidden;
}

.cta--imagen-destacada .cta-imagen-top img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.cta--imagen-destacada .cta-contenido {
    padding: 1.5rem 1.75rem;
}

.cta--imagen-destacada .cta-texto {
    color: var(--color-text-secondary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cta--split {
        flex-direction: column;
        align-items: stretch;
    }

    .cta--split .cta-accion {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .cta {
        padding: 1rem;
    }

    .cta--bandeja {
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 1.25rem 1rem;
    }

    .cta--split .cta-accion {
        text-align: center;
    }

    .cta--compact {
        flex-direction: column;
        align-items: stretch;
    }

    .cta--compact .cta-boton {
        margin-left: 0;
    }

    .cta--imagen-lateral {
        flex-direction: column;
    }

    .cta--imagen-lateral .cta-imagen {
        flex: 0 0 auto;
        min-width: 100%;
        aspect-ratio: 16 / 10;
    }

    .cta--imagen-lateral .cta-contenido {
        padding: 1.25rem 1rem;
    }

    .cta--imagen-fondo {
        min-height: 240px;
    }

    .cta--imagen-fondo .cta-overlay {
        background: rgba(26, 47, 40, 0.88);
        padding: 1.25rem 1rem;
        min-height: 240px;
    }

    .cta--imagen-destacada .cta-contenido {
        padding: 1.25rem 1rem;
    }

    .cta-titulo {
        font-size: 1.15rem;
    }

    .cta-texto {
        font-size: 0.9rem;
    }
}


/* ---------------------------------------------------------------------
   ORIGEN: assets/css/componente-tarjeta-evento.css
   COMPONENTE / DEMO: componente-tarjeta-evento.html
   --------------------------------------------------------------------- */

/*
 * componente-tarjeta-evento.css
 * 9 propuestas: imagen destacada, solo texto, borde acento, foto, glass,
 *               compact, imagen lateral, noticias cuadrícula, noticia card
 */

/* ================================================================
   BASE COMÚN — Layout de página, grid, tipografía compartida
   ================================================================ */
.componente-demo {
    margin-bottom: 3rem;
}

.componente-demo:last-child {
    margin-bottom: 0;
}

.tarjeta-variant-title {
    font-size: 1.125rem;
    margin: 0 0 1rem;
    color: var(--color-accent);
}

.tarjeta-variant-desc {
    margin: -0.5rem 0 1rem;
    max-width: 52ch;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.tarjeta-variant-desc code {
    font-size: 0.88em;
}

.tarjeta-demo--dark {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a2f28 0%, #0f1f1a 100%);
    border-radius: 12px;
}

.tarjeta-demo--dark .tarjeta-variant-title {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Grid base --- */
.tarjetas-evento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tarjetas-evento-grid--horizontal {
    grid-template-columns: 1fr;
}

/* Cuadrícula para varias noticias con imagen (responsive) */
.tarjetas-evento-grid--noticias-malla {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .tarjetas-evento-grid--noticias-malla {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Base común --- */
.tarjeta-evento {
    background: var(--color-bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.tarjeta-evento-imagen-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.tarjeta-evento-imagen-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tarjeta-evento-contenido {
    padding: 1.25rem;
}

.tarjeta-evento-fecha {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.tarjeta-evento-titulo {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

/* Variación de tamaño por propuesta */
.tarjeta-evento--imagen-destacada .tarjeta-evento-titulo {
    font-size: 1.6rem;
}

.tarjeta-evento--solo-texto .tarjeta-evento-titulo {
    font-size: 1.4rem;
}

.tarjeta-evento--borde-accent .tarjeta-evento-titulo {
    font-size: 1.45rem;
}

.tarjeta-evento--foto .tarjeta-evento-titulo {
    font-size: 1.5rem;
}

.tarjeta-evento--glass .tarjeta-evento-titulo {
    font-size: 1.4rem;
}

.tarjeta-evento-titulo a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tarjeta-evento-titulo a:hover {
    color: var(--color-accent);
}

.tarjeta-evento-extracto {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.tarjeta-evento-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
}

.tarjeta-evento-link::after {
    content: "→";
    font-size: 0.95em;
    transition: transform 0.2s ease;
}

.tarjeta-evento-link:hover::after {
    transform: translateX(2px);
}

.tarjeta-evento-link:hover {
    color: var(--color-accent-hover);
}

.tarjeta-evento-link:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ================================================================
   PROPUESTA 1 — Imagen destacada
   ================================================================ */
.tarjeta-evento--imagen-destacada {
    box-shadow: 0 1px 3px var(--color-shadow);
    transition: box-shadow 0.2s ease;
}

.tarjeta-evento--imagen-destacada:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tarjeta-evento--imagen-destacada .tarjeta-evento-imagen-wrap {
    aspect-ratio: 400 / 220;
}

.tarjeta-evento--imagen-destacada .tarjeta-evento-imagen-img {
    transition: transform 0.35s ease;
}

.tarjeta-evento--imagen-destacada:hover .tarjeta-evento-imagen-img {
    transform: scale(1.02);
}

.tarjeta-evento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tarjeta-evento--imagen-destacada:hover .tarjeta-evento-overlay {
    opacity: 1;
}

/* ================================================================
   PROPUESTA 2 — Solo texto
   ================================================================ */
.tarjeta-evento--solo-texto {
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tarjeta-evento--solo-texto:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ================================================================
   PROPUESTA 3 — Borde acento
   ================================================================ */
.tarjeta-evento--borde-accent {
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 1px 3px var(--color-shadow);
    transition: box-shadow 0.2s ease;
}

.tarjeta-evento--borde-accent:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
}

/* ================================================================
   PROPUESTA 4 — Con fotografía (zoom sutil)
   ================================================================ */
.tarjeta-evento--foto {
    box-shadow: 0 1px 3px var(--color-shadow);
    transition: box-shadow 0.2s ease;
}

.tarjeta-evento--foto:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.tarjeta-evento--foto .tarjeta-evento-imagen-wrap {
    aspect-ratio: 2 / 1;
}

.tarjeta-evento--foto .tarjeta-evento-imagen-img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tarjeta-evento--foto:hover .tarjeta-evento-imagen-img {
    transform: scale(1.03);
}

/* ================================================================
   PROPUESTA 5 — Glass
   ================================================================ */
.tarjeta-evento--glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.tarjeta-evento--glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.tarjeta-evento--glass .tarjeta-evento-fecha {
    color: rgba(255, 255, 255, 0.8);
}

.tarjeta-evento--glass .tarjeta-evento-titulo a {
    color: #fff;
}

.tarjeta-evento--glass .tarjeta-evento-titulo a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.tarjeta-evento--glass .tarjeta-evento-extracto {
    color: rgba(255, 255, 255, 0.75);
}

.tarjeta-evento--glass .tarjeta-evento-link {
    color: rgba(255, 255, 255, 0.95);
}

.tarjeta-evento--glass .tarjeta-evento-link:hover {
    color: #fff;
}

/* ================================================================
   PROPUESTA 6 — Compact (transiciones muy sutiles)
   ================================================================ */
.tarjeta-evento--compact {
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.tarjeta-evento--compact:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.tarjeta-evento--compact .tarjeta-evento-contenido {
    padding: 1rem 1.25rem;
}

.tarjeta-evento--compact .tarjeta-evento-fecha {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.tarjeta-evento--compact .tarjeta-evento-titulo {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.tarjeta-evento--compact .tarjeta-evento-extracto {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.tarjeta-evento--compact .tarjeta-evento-link {
    font-size: 0.85rem;
}

/* ================================================================
   PROPUESTA 7 — Imagen lateral
   ================================================================ */
.tarjeta-evento--lateral {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 140px;
    box-shadow: 0 1px 3px var(--color-shadow);
    transition: box-shadow 0.2s ease;
}

.tarjeta-evento--lateral:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tarjeta-evento--lateral .tarjeta-evento-imagen-wrap {
    min-height: 100%;
}

.tarjeta-evento--lateral .tarjeta-evento-imagen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

.tarjeta-evento--lateral:hover .tarjeta-evento-imagen-img {
    opacity: 0.95;
}

.tarjeta-evento--lateral .tarjeta-evento-contenido {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tarjeta-evento--lateral .tarjeta-evento-titulo {
    font-size: 1.25rem;
}

.tarjeta-evento--lateral .tarjeta-evento-extracto {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* ================================================================
   PROPUESTA 8 — Noticias con imagen en cuadrícula
   ================================================================ */
.tarjeta-evento--noticia-cuadricula {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.tarjeta-evento--noticia-cuadricula:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.09);
}

.tarjeta-evento--noticia-cuadricula .tarjeta-evento-imagen-wrap {
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
}

.tarjeta-evento--noticia-cuadricula .tarjeta-evento-imagen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tarjeta-evento--noticia-cuadricula:hover .tarjeta-evento-imagen-img {
    transform: scale(1.05);
}

.tarjeta-evento--noticia-cuadricula .tarjeta-evento-contenido {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.15rem 1.2rem;
}

.tarjeta-evento--noticia-cuadricula .tarjeta-evento-fecha {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.tarjeta-evento--noticia-cuadricula .tarjeta-evento-titulo {
    font-size: 1.125rem;
    line-height: 1.3;
    margin-bottom: 0.45rem;
}

.tarjeta-evento--noticia-cuadricula .tarjeta-evento-extracto {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tarjeta-evento--noticia-cuadricula .tarjeta-evento-link {
    margin-top: auto;
    align-self: flex-start;
}

/* ================================================================
   PROPUESTA 9 — Noticia card (nc-*)
   Badge de categoría, imagen 16:9, botón CTA teal, grid responsivo
   ================================================================ */

.nc-demo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .nc-demo {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .nc-demo {
        grid-template-columns: repeat(3, 1fr);
    }
}

.nc-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nc-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

.nc-card__media {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.nc-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.nc-card:hover .nc-card__img {
    transform: scale(1.04);
}

.nc-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.375rem 1.375rem;
    gap: 0.625rem;
}

.nc-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f9b94;
    background-color: #e6faf9;
    border-radius: 2rem;
    padding: 0.2em 0.75em;
    align-self: flex-start;
}

.nc-card__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.nc-card__summary {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #6b7280;
    flex: 1;
}

.nc-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    margin-top: 0.5rem;
    padding: 0.55rem 1.1rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #4ecdc4;
    border: 2px solid transparent;
    border-radius: 0.375rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nc-card__btn:hover {
    background-color: #0f9b94;
}

.nc-card__btn:focus-visible {
    outline: 2px solid #0f9b94;
    outline-offset: 3px;
}

.nc-card__btn-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* ================================================================
   RESPONSIVE — Reglas generales y por propuesta
   ================================================================ */
@media (max-width: 600px) {
    .tarjetas-evento-grid {
        grid-template-columns: 1fr;
    }

    .tarjetas-evento-grid--noticias-malla {
        grid-template-columns: 1fr;
    }

    .tarjeta-evento--lateral {
        grid-template-columns: 1fr;
    }

    .tarjeta-evento--lateral .tarjeta-evento-imagen-wrap {
        aspect-ratio: 16 / 9;
        min-height: auto;
    }

    .tarjeta-evento--lateral .tarjeta-evento-imagen-img {
        height: auto;
    }

    .tarjeta-evento--lateral .tarjeta-evento-contenido {
        padding: 1rem 1.25rem;
    }
}

/* Propuesta 9 — reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nc-card,
    .nc-card__img,
    .nc-card__btn {
        transition-duration: 0.01ms;
    }

    .nc-card:hover {
        transform: none;
    }
}

/* ---------------------------------------------------------------------
   ORIGEN: componente-listas (demos ol / ul)
   COMPONENTE / DEMO: componente-listas.html
   --------------------------------------------------------------------- */

.listas-demo-title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text, #0f172a);
}

.listas-demo-panel {
    margin-top: 0.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
    background: var(--color-bg-card, #fff);
    border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
    box-shadow: 0 1px 3px var(--color-shadow, rgba(0, 0, 0, 0.06));
}

/* Ordered lists */
.lista-ordenada {
    margin: 0;
    line-height: 1.55;
    color: var(--color-text, #0f172a);
}

.lista-ordenada > li + li {
    margin-top: 0.625rem;
}

.lista-ordenada--decimal {
    padding-left: 1.5rem;
    list-style-type: decimal;
}

.lista-ordenada--decimal > li::marker {
    color: var(--color-accent-orange, #ff6b35);
    font-weight: 600;
}

.lista-ordenada--pasos {
    list-style: none;
    padding-left: 0;
    counter-reset: lista-paso;
}

.lista-ordenada--pasos > li {
    counter-increment: lista-paso;
    position: relative;
    padding-left: 3rem;
    min-height: 2.25rem;
}

.lista-ordenada--pasos > li::before {
    content: counter(lista-paso);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-accent-orange, #ff6b35);
    color: #fff;
    display: inline-block;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 2rem;
    text-align: center;
}

.lista-ordenada--legal {
    padding-left: 1.75rem;
    list-style-type: upper-alpha;
}

.lista-ordenada--legal > li::marker {
    color: var(--color-accent-orange, #ff6b35);
    font-weight: 600;
}

.lista-ordenada--legal ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: lower-alpha;
}

.lista-ordenada--legal ol > li::marker {
    color: var(--color-accent-orange, #ff6b35);
    font-weight: 600;
}

.lista-ordenada--legal li li {
    margin-top: 0.375rem;
}

/* Unordered lists */
.lista-desordenada {
    margin: 0;
    line-height: 1.55;
    color: var(--color-text, #0f172a);
}

.lista-desordenada > li + li {
    margin-top: 0.625rem;
}

.lista-desordenada--bullet {
    padding-left: 1.35rem;
    list-style-type: disc;
}

.lista-desordenada--bullet > li::marker {
    color: var(--color-accent, #d27961);
}

.lista-desordenada--check {
    list-style: none;
    padding-left: 0;
}

.lista-desordenada--check > li {
    position: relative;
    padding-left: 1.75rem;
}

.lista-desordenada--check > li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.45em;
    width: 0.55rem;
    height: 0.3rem;
    border-left: 0.15rem solid var(--color-accent-green, #889c81);
    border-bottom: 0.15rem solid var(--color-accent-green, #889c81);
    transform: rotate(-45deg);
    box-sizing: border-box;
}

.lista-desordenada--dash {
    list-style: none;
    padding-left: 0;
}

.lista-desordenada--dash > li {
    position: relative;
    padding-left: 1.25rem;
}

.lista-desordenada--dash > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.5rem;
    height: 0.125rem;
    background: var(--color-text-muted, #64748b);
    border-radius: 0.0625rem;
}

@media (max-width: 35.99rem) {
    .listas-demo-panel {
        padding: 1rem 1.125rem;
    }

    .lista-ordenada--pasos > li {
        padding-left: 2.75rem;
    }

    .lista-ordenada--pasos > li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8125rem;
    }
}

/* ---------------------------------------------------------------------   
   COMPONENTE / DEMO: tarjeta evento
   --------------------------------------------------------------------- */

.img-center {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 200px;
  }
.qsstars-infography-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    width: auto;
}
.qsstars-infography-text {
    text-align: center;
    margin-top: 1.25rem;
}