/* ============================================================
   PORTAL PÚBLICO — Sistema de Matrículas
   Diseño institucional moderno
   ============================================================ */

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

:root {
    --primary:      #1a56a0;
    --primary-dk:   #0f3d78;
    --primary-lt:   #2979c8;
    --accent:       #e8a020;
    --accent-dk:    #c07010;
    --success:      #1e8c45;
    --warning:      #c07010;
    --danger:       #c0392b;
    --info:         #2471a3;
    --gray-50:      #f8f9fb;
    --gray-100:     #eef1f5;
    --gray-200:     #dde3ec;
    --gray-300:     #c4cdd8;
    --gray-400:     #9aa5b4;
    --gray-500:     #6b7a8d;
    --gray-600:     #4a5568;
    --gray-700:     #374151;
    --gray-800:     #1f2d3d;
    --gray-900:     #0d1b2a;
    --radius:       10px;
    --radius-lg:    16px;
    --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
    --shadow:       0 4px 12px rgba(0,0,0,.1);
    --shadow-lg:    0 8px 30px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: var(--gray-700);
    background: var(--gray-50);
    line-height: 1.6;
}

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 60%, var(--primary-lt) 100%);
    color: white;
    padding: 0 32px;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
    position: sticky;
    top: 0;
    z-index: 200;
}
.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.logo-shield {
    width: 42px; height: 42px;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.logo-img   { height: 42px; width: auto; max-width: 120px; object-fit: contain; border-radius: 6px; }
.logo-text { line-height: 1.2; }
.logo-title  { font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.logo-sub    { font-size: 11px; opacity: .8; letter-spacing: .5px; text-transform: uppercase; }

.header-nav  { display: flex; align-items: center; gap: 8px; }
.header-user-info {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px; padding: 6px 12px;
}
.header-user-info .user-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: white;
}
.header-user-info .user-name { font-size: 13px; font-weight: 500; }
.btn-logout {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 6px;
    font-size: 13px;
    transition: all .2s;
}
.btn-logout:hover { background: rgba(255,255,255,.15); color: white; }

/* ── TIMER BAR ───────────────────────────────────────────── */
.timer-bar {
    background: linear-gradient(90deg, #7b2d00, var(--warning), #7b2d00);
    background-size: 200% 100%;
    animation: timerPulse 3s ease-in-out infinite;
    color: white;
    text-align: center;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
@keyframes timerPulse {
    0%,100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.timer-display {
    background: rgba(0,0,0,.25);
    border-radius: 6px;
    padding: 2px 12px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}
.timer-bar.urgente { background: linear-gradient(90deg, #7b0000, var(--danger)); animation: none; }

/* ── STEPPER ─────────────────────────────────────────────── */
.stepper {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
}
.stepper-inner {
    max-width: 860px; margin: 0 auto;
    display: flex; align-items: center;
    padding: 14px 24px;
    overflow-x: auto;
    scrollbar-width: none;
}
.stepper-inner::-webkit-scrollbar { display: none; }
.step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; }
.step-circle {
    width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    color: var(--gray-400);
    transition: all .25s;
}
.step.active  .step-circle { border-color: var(--primary); background: var(--primary); color: white; box-shadow: 0 0 0 4px rgba(26,86,160,.15); }
.step.completed .step-circle { border-color: var(--success); background: var(--success); color: white; }
.step-label   { font-size: 10px; color: var(--gray-400); white-space: nowrap; text-transform: uppercase; letter-spacing: .5px; }
.step.active  .step-label { color: var(--primary); font-weight: 700; }
.step.completed .step-label { color: var(--success); }
.step-connector { flex: 1; height: 2px; background: var(--gray-200); min-width: 24px; max-width: 64px; transition: background .25s; }
.step-connector.completed { background: var(--success); }

/* ── MAIN ────────────────────────────────────────────────── */
.main-content { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; }
.container     { max-width: 920px; margin: 0 auto; }

/* ── HERO SECTION ────────────────────────────────────────── */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 50%, var(--primary-lt) 100%);
    color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 60px 40px 48px;
    margin-bottom: 36px;
    text-align: center;
}
.hero-bg-pattern {
    position: absolute; inset: 0; opacity: .06;
    background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
                      radial-gradient(circle at 80% 20%, white 1px, transparent 1px),
                      radial-gradient(circle at 50% 80%, white 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px; font-weight: 600; letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero-section h1 { font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 10px; letter-spacing: -.5px; }
.hero-section h2 { font-size: 18px; opacity: .85; font-weight: 400; margin-bottom: 32px; }
.hero-section .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent);
    color: white;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px; font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.btn-hero-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }

.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px; font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.3);
    transition: all .2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.hero-stats {
    display: flex; justify-content: center; gap: 40px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.15);
    flex-wrap: wrap;
}
.hero-stat-item { text-align: center; }
.hero-stat-num  { font-size: 26px; font-weight: 800; line-height: 1; }
.hero-stat-lbl  { font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }

/* ── PERIODO CARDS ───────────────────────────────────────── */
.periodos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 24px 0 32px; }
.periodo-card {
    background: white;
    border-radius: var(--radius);
    padding: 0;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.periodo-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.periodo-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
    color: white; padding: 16px 20px;
}
.periodo-card-header h3 { font-size: 15px; font-weight: 700; }
.periodo-card-body { padding: 16px 20px; }
.periodo-meta { display: flex; flex-direction: column; gap: 8px; }
.periodo-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); }
.periodo-meta-item svg { flex-shrink: 0; opacity: .6; }
.periodo-meta-item strong { color: var(--gray-800); }
.periodo-cierre-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: #fff3cd; color: #7b341e;
    border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 600;
    margin-top: 8px;
}

/* ── PASOS DEL PROCESO ───────────────────────────────────── */
.proceso-section { margin: 40px 0; }
.section-title {
    text-align: center;
    font-size: 22px; font-weight: 700; color: var(--gray-800);
    margin-bottom: 6px;
}
.section-subtitle {
    text-align: center; color: var(--gray-500); font-size: 14px; margin-bottom: 28px;
}
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.paso-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all .2s;
    position: relative;
    overflow: hidden;
}
.paso-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0; transition: opacity .2s;
}
.paso-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.paso-card:hover::before { opacity: 1; }
.paso-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-lt));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(26,86,160,.25);
}
.paso-num {
    position: absolute; top: 10px; right: 12px;
    font-size: 11px; font-weight: 700;
    color: var(--gray-300); letter-spacing: .5px;
}
.paso-title { font-size: 14px; font-weight: 700; color: var(--gray-800); margin-bottom: 5px; }
.paso-desc  { font-size: 12px; color: var(--gray-500); line-height: 1.4; }

/* ── INFO BANNER ─────────────────────────────────────────── */
.info-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 36px;
}
.info-banner-item {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 24px;
    border-right: 1px solid var(--gray-100);
}
.info-banner-item:last-child { border-right: none; }
.info-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.info-icon.blue   { background: #dbeafe; }
.info-icon.green  { background: #dcfce7; }
.info-icon.yellow { background: #fef9c3; }
.info-icon.purple { background: #ede9fe; }
.info-text strong { display: block; font-size: 14px; color: var(--gray-800); }
.info-text span   { font-size: 12px; color: var(--gray-500); }

/* ── ALERT CERRADO ───────────────────────────────────────── */
.portal-cerrado {
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.portal-cerrado .cerrado-icon { font-size: 64px; margin-bottom: 16px; }
.portal-cerrado h2 { font-size: 22px; color: var(--gray-800); margin-bottom: 8px; }
.portal-cerrado p  { color: var(--gray-500); max-width: 420px; margin: 0 auto; }

/* ── CARDS GENERICAS ─────────────────────────────────────── */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    padding: 28px;
    margin-bottom: 24px;
}
.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--gray-100);
    margin: -28px -28px 24px;
    background: var(--gray-50);
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex; align-items: center; justify-content: space-between;
}
.card-header h3 { font-size: 16px; font-weight: 700; color: var(--gray-800); }
.card-narrow   { max-width: 440px; margin: 0 auto; }
.card-footer-links { text-align: center; margin-top: 16px; font-size: 14px; }
.card-footer-links a { color: var(--primary); }

/* ── ALERTS ──────────────────────────────────────────────── */
.alert { padding: 13px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-danger  { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.alert-info    { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }

/* ── FORMULARIOS ─────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 20px; }
.form-full  { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); letter-spacing: .2px; }
.form-control {
    width: 100%; padding: 9px 13px;
    border: 1.5px solid var(--gray-200);
    border-radius: 7px; font-size: 14px;
    background: white; color: var(--gray-800);
    transition: border .15s, box-shadow .15s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,160,.12); }
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { font-size: 12px; color: var(--danger); }
.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* ── BOTONES ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 20px; border: none; border-radius: 7px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all .18s;
    white-space: nowrap;
}
.btn-primary   { background: var(--primary); color: white; }
.btn-primary:hover  { background: var(--primary-dk); box-shadow: 0 3px 10px rgba(26,86,160,.3); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-success   { background: var(--success); color: white; }
.btn-success:hover  { background: #166534; }
.btn-danger    { background: var(--danger); color: white; }
.btn-danger:hover   { background: #991b1b; }
.btn-accent    { background: var(--accent); color: white; }
.btn-accent:hover   { background: var(--accent-dk); }
.btn-link      { background: none; color: var(--primary); text-decoration: underline; padding: 0; }
.btn-lg   { padding: 13px 28px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-sm   { padding: 5px 12px; font-size: 12px; }

/* ── BADGES ──────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.badge-info, .badge-reservado     { background: #dbeafe; color: #1e40af; }
.badge-success, .badge-efectivo   { background: #dcfce7; color: #166534; }
.badge-warning, .badge-en_contrato{ background: #fef9c3; color: #92400e; }
.badge-danger, .badge-rechazado   { background: #fee2e2; color: #991b1b; }
.badge-en_colecturia { background: #ede9fe; color: #5b21b6; }
.badge-en_secretaria { background: #fef9c3; color: #92400e; }
.badge-liberado, .badge-cancelado { background: var(--gray-100); color: var(--gray-500); }
.badge-pendiente  { background: #fef9c3; color: #92400e; }
.badge-entregado  { background: #dbeafe; color: #1e40af; }
.badge-verificado { background: #dcfce7; color: #166534; }
.badge-vencido    { background: var(--gray-200); color: var(--gray-500); }

/* ── STEPPER CONTENT ─────────────────────────────────────── */
.niveles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 24px; }
.nivel-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); overflow: hidden; }
.nivel-header { padding: 14px 18px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%); }
.nivel-header h3 { font-size: 15px; color: white; font-weight: 700; }
.periodo-tag { font-size: 11px; color: rgba(255,255,255,.75); margin-top: 2px; }
.aulas-list  { padding: 10px; }
.aula-item   { padding: 11px 13px; border-radius: 8px; border: 2px solid transparent; margin-bottom: 6px; transition: all .15s; cursor: pointer; }
.aula-item:hover:not(.sin-cupo) { border-color: var(--primary); background: #eff6ff; }
.aula-item.selected { border-color: var(--primary); background: #eff6ff; }
.aula-item.sin-cupo { opacity: .5; cursor: not-allowed; }
.aula-nombre { font-weight: 700; margin-bottom: 6px; font-size: 14px; color: var(--gray-800); }
.cupos-bar   { height: 6px; background: var(--gray-100); border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.cupos-fill  { height: 100%; border-radius: 3px; transition: width .3s; }
.cupos-fill.lleno { background: var(--danger); }
.cupos-fill.casi  { background: var(--warning); }
.cupos-fill.ok    { background: var(--success); }
.cupos-texto { display: flex; justify-content: space-between; font-size: 11px; }
.disponibles { color: var(--success); font-weight: 700; }
.total       { color: var(--gray-400); }

.estudiantes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 16px; }
.estudiante-card {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px; border: 2px solid var(--gray-200);
    border-radius: var(--radius); cursor: pointer;
    transition: all .15s; background: white;
}
.estudiante-card:has(input:checked) { border-color: var(--primary); background: #eff6ff; box-shadow: 0 0 0 3px rgba(26,86,160,.1); }
.estudiante-card input { margin-top: 3px; accent-color: var(--primary); }
.estudiante-info strong { display: block; font-size: 14px; color: var(--gray-800); }
.estudiante-info span   { font-size: 12px; color: var(--gray-500); }

.resumen-reserva {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px; padding: 20px; background: var(--gray-50);
    border-radius: var(--radius); margin-bottom: 20px;
    border: 1px solid var(--gray-200);
}
.resumen-item { display: flex; flex-direction: column; gap: 3px; }
.resumen-label { font-size: 11px; color: var(--gray-400); text-transform: uppercase; letter-spacing: .5px; }
.resumen-valor { font-size: 15px; font-weight: 700; color: var(--gray-800); }

.progreso-docs { margin-bottom: 20px; }
.progreso-bar  { height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.progreso-fill { height: 100%; background: var(--success); border-radius: 4px; transition: width .4s; }
.documentos-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.doc-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-radius: var(--radius);
    border: 1px solid var(--gray-200); flex-wrap: wrap; gap: 10px;
    background: white;
}
.doc-estado-verificado { background: #f0fdf4; border-color: #86efac; }
.doc-estado-entregado  { background: #eff6ff; border-color: #93c5fd; }
.doc-estado-rechazado  { background: #fef2f2; border-color: #fca5a5; }
.doc-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.doc-nombre { font-weight: 700; font-size: 14px; color: var(--gray-800); }
.doc-desc   { font-size: 12px; color: var(--gray-500); }
.doc-upload-form { display: flex; gap: 8px; align-items: center; }
.form-control-sm { padding: 5px 10px; border: 1.5px solid var(--gray-200); border-radius: 6px; font-size: 12px; }

.confirmacion-card { text-align: center; max-width: 600px; margin: 0 auto; }
.confirmacion-icono { font-size: 72px; margin-bottom: 16px; }
.confirmacion-codigo { margin: 24px 0; padding: 20px; background: var(--gray-50); border-radius: var(--radius); border: 1px solid var(--gray-200); }
.confirmacion-codigo h2 { font-size: 28px; color: var(--primary); letter-spacing: 3px; font-weight: 800; }
.confirmacion-datos { text-align: left; margin: 20px 0; }
.dato-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.dato-label { color: var(--gray-500); font-size: 14px; }
.dato-valor { font-weight: 700; font-size: 14px; }
.confirmacion-acciones { margin-top: 24px; }

.firma-section { margin: 20px 0; }
.contrato-clausulas { margin: 16px 0; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.checkbox-label input { margin-top: 3px; accent-color: var(--primary); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--gray-400); font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

/* ── MISC ────────────────────────────────────────────────── */
.text-muted  { color: var(--gray-400); font-size: 13px; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.small { font-size: 12px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 28px 32px;
    font-size: 13px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--gray-500); text-decoration: none; font-size: 12px; transition: color .15s; }
.footer-links a:hover { color: var(--gray-300); }
.footer-copy { font-size: 12px; color: var(--gray-600); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section { padding: 40px 24px 36px; }
    .hero-section h1 { font-size: 26px; }
    .hero-section h2 { font-size: 15px; }
    .hero-stats { gap: 24px; }
    .pasos-grid { grid-template-columns: repeat(3, 1fr); }
    .info-banner { grid-template-columns: 1fr 1fr; }
    .info-banner-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .main-content { padding: 20px 16px 48px; }
    .site-header  { padding: 0 16px; height: 60px; }
    .hero-section { padding: 32px 20px; }
    .pasos-grid   { grid-template-columns: repeat(2, 1fr); }
    .info-banner  { grid-template-columns: 1fr; }
    .cta-buttons  { flex-direction: column; }
}
