/* ===== Personalización: plataforma de insights ===== */
:root { --brand: #1f12fd; --ink: #0F1420; --amber: #F2B544; }

/* Logo de texto (reemplazar por imagen cuando exista) */
.brand-text { display: inline-flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 22px; color: #000; text-decoration: none; }
.brand-text:hover { color: #000; }
.brand-text svg { flex: none; }
.brand-text-white, .brand-text-white:hover { color: #fff; }

/* Header: fondo oscuro en lugar de foto */
.header-bg-image { background: var(--ink); }
.header-bg-image:before { display: none; }
.header-content { padding-left: 0; }
.header-content .eyebrow { display: inline-block; color: var(--amber); font-weight: 600; font-size: 15px; margin-bottom: 15px; }
.header-content h1 { font-size: 52px; line-height: 1.15; }
.header-content p { color: #C9CEDA; }
.header-note { color: #9AA3B5 !important; font-size: 14px !important; margin: 20px 0 0 !important; }

/* Tarjeta de ejercicio (gráfico) */
.chart-card { background: #171E2E; border: 1px solid #2A3349; border-radius: 16px; padding: 28px; color: #F6F7F9; position: relative; z-index: 11; }
.chart-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.chart-card-title { font-size: 14px; font-weight: 600; color: #C9CEDA; }
.chart-card-tag { font-size: 12px; color: #9AA3B5; border: 1px solid #3A4560; border-radius: 999px; padding: 3px 10px; }
.chart-legend { display: flex; gap: 18px; font-size: 13px; color: #C9CEDA; margin-bottom: 18px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.chart-row { margin-bottom: 16px; }
.chart-row-label { font-size: 14px; margin-bottom: 6px; }
.chart-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.chart-track { flex: 1; height: 10px; border-radius: 5px; background: #232C42; overflow: hidden; }
.chart-fill { height: 100%; border-radius: 5px; }
.chart-val { width: 40px; text-align: right; font-size: 13px; color: #C9CEDA; }
.fill-brand { background: #6D63FF; }
.fill-amber { background: var(--amber); }
.chart-question { background: var(--ink); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: #E4E7EE; margin-top: 6px; }
.chart-question strong { color: var(--amber); }

/* Para quién es */
.audience-card { background: #fff; border-radius: 10px; box-shadow: 0px 9px 54px 0px rgba(32, 32, 32, 0.08); padding: 40px; height: 100%; }
.audience-card .audience-icon { width: 60px; height: 60px; border-radius: 10px; background: #f6f6ff; color: var(--brand); font-size: 32px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.audience-card h3 { font-size: 24px; margin-bottom: 12px; }

/* Programa: 4 por fila */
.service-card-thumb { width: 90px; height: 90px; font-size: 44px; }
.topic-number { display: block; color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.service-card-body h3 { font-size: 20px; }

/* Cómo funciona: íconos en vez de imágenes */
.process-thumb:before { display: none; }
.process-icon { width: 80px; height: 80px; margin: 0 auto; border-radius: 50%; background: #f6f6ff; color: var(--brand); font-size: 38px; display: flex; align-items: center; justify-content: center; }

/* Sobre mí */
.photo-placeholder { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; margin: 0 auto; border-radius: 16px; background: #e7e5ff; border: 2px dashed #b9b4ff; display: flex; align-items: center; justify-content: center; color: #4a43c9; font-weight: 600; }

/* Fondos de secciones sin fotos */
.trial-section.page-bg-1 { background-image: none; background-color: var(--brand); }
.newsletter-section.page-bg-2 { background-image: none; background-color: var(--ink); }
.newsletter-section.page-bg-overlay:before { display: none; }
.footer-shapes { display: none; }

/* Precio */
.pricing-info ul li.pricing-available { font-size: 17px; }

/* Ícono TikTok (no existe en icofont) */
.social-svg { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }

@media (max-width: 991px) {
  .header-content h1 { font-size: 38px; }
  .chart-card { margin-top: 40px; }
}
@media (max-width: 575px) {
  .header-content h1 { font-size: 32px; }
  .audience-card, .chart-card { padding: 24px; }
}

/* Compensar la barra fija al navegar con anclas */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
.navbar-brand.brand-text, .mobile-brand.brand-text, .footer-logo .brand-text { color: #000 !important; }
.service-section .service-card { height: 100%; }

/* Logo Retail Academy */
.site-logo { height: 40px; width: auto; display: block; }
.footer-logo .site-logo { height: 44px; }
@media (max-width: 575px) { .site-logo { height: 34px; } }

/* ===== Navegación: ingresar ===== */
.main-nav .mobile-only { display: none; }
.navbar-option .navbar-option-item { display: flex; align-items: center; }

/* ===== Páginas internas ===== */
.inner-page-header { background-color: var(--ink); padding-top: 220px; padding-bottom: 80px; }
.inner-header-content h1 { font-size: 40px; }
.inner-page-header .breadcrumb-item, .inner-page-header .breadcrumb-item a, .inner-page-header .breadcrumb-item.active { color: #C9CEDA; }
.authentication-item { background: #fff; border-radius: 14px; box-shadow: 0px 9px 54px 0px rgba(32, 32, 32, 0.08); padding: 40px; }
.authentication-item h3 { font-size: 26px; margin-bottom: 8px; }
.auth-intro { color: #585858; margin-bottom: 25px; }
.form-label-ra { display: block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 15px; color: #000; margin-bottom: 8px; }
fieldset legend.form-label-ra { float: none; width: auto; }
.auth-switch { text-align: center; margin: 22px 0 0; color: #585858; }
.auth-switch a { color: var(--brand); font-weight: 600; }

.signup-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-bottom: 40px; }
.signup-step { display: flex; align-items: center; gap: 10px; color: #767676; font-family: "Poppins", sans-serif; font-weight: 500; }
.signup-step span { width: 32px; height: 32px; border-radius: 50%; background: #e7e5ff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.signup-step.is-current { color: #000; }
.signup-step.is-current span { background: var(--brand); color: #fff; }

.profile-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-choice input { position: absolute; opacity: 0; pointer-events: none; }
.profile-choice label { display: flex; flex-direction: column; gap: 4px; border: 2px solid #e1e1e1; border-radius: 12px; padding: 16px; cursor: pointer; height: 100%; transition: border-color .2s, background .2s; }
.profile-choice label i { font-size: 26px; color: var(--brand); margin-bottom: 4px; }
.profile-choice label strong { color: #000; font-family: "Poppins", sans-serif; }
.profile-choice label span { font-size: 14px; color: #585858; }
.profile-choice input:checked + label { border-color: var(--brand); background: #f6f6ff; }
.profile-choice input:focus-visible + label { outline: 3px solid rgba(31,18,253,.35); outline-offset: 2px; }
@media (max-width: 575px) { .profile-choice { grid-template-columns: 1fr; } .authentication-item { padding: 26px; } }

.plan-summary { background: var(--ink); color: #E4E7EE; border-radius: 14px; padding: 40px; position: sticky; top: 130px; }
.plan-summary h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.plan-price { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 40px; color: var(--amber); margin-bottom: 24px; }
.plan-price span { font-size: 16px; font-weight: 400; color: #C9CEDA; }
.plan-summary ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan-summary li { display: flex; gap: 10px; margin-bottom: 14px; }
.plan-summary li i { color: var(--amber); font-size: 20px; margin-top: 2px; }
.plan-note { font-size: 14px; color: #9AA3B5; margin: 0; border-top: 1px solid #2A3349; padding-top: 18px; }

/* ===== Panel del estudiante ===== */
.user-chip { gap: 10px; font-family: "Poppins", sans-serif; font-weight: 500; }
.user-chip a { color: #000; text-decoration: none; }
.user-chip a:hover { color: var(--brand); }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.user-sep { color: #b0b0b0; }
.user-logout { color: #585858 !important; }

.dash-hero { background: var(--ink); color: #E4E7EE; padding: 160px 0 50px; }
.dash-hero h1 { color: #fff; font-size: 44px; margin: 6px 0 12px; }
.dash-hero p { color: #C9CEDA; font-size: 18px; max-width: 34rem; }
.eyebrow-ra { display: inline-block; color: var(--amber); font-weight: 600; font-size: 15px; }
.eyebrow-ra-dark { color: var(--brand); }
.dash-sub { display: inline-flex; align-items: center; gap: 8px; background: #171E2E; border: 1px solid #2A3349; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: #C9CEDA; }
.continue-card { background: #fff; color: #10131A; border-radius: 16px; padding: 30px; }
.continue-label { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); background: #f6f6ff; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.continue-path { font-size: 14px; color: #585858; margin-bottom: 4px; }
.continue-card h2 { font-size: 26px; margin-bottom: 18px; }
.continue-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; color: #585858; font-size: 15px; }

.progress-ra { height: 8px; border-radius: 4px; background: #e9ebf1; overflow: hidden; }
.progress-ra > div { height: 100%; background: var(--brand); border-radius: 4px; }
.progress-ra-light { background: #e7e5ff; }

.dash-title { margin-bottom: 36px; max-width: 46rem; }
.dash-title h2 { font-size: 34px; margin-bottom: 8px; }
.dash-title p { color: #585858; margin: 0; }
.route-track { position: relative; }
.route-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 2px solid #e9ebf1; border-radius: 16px; padding: 24px; color: #10131A; text-decoration: none; transition: transform .2s, border-color .2s; }
.route-card:hover { transform: translateY(-4px); border-color: #b9b4ff; color: #10131A; }
.route-card h3 { font-size: 19px; line-height: 1.35; margin: 16px 0 8px; }
.route-card p { font-size: 15px; color: #585858; margin-bottom: 14px; flex: 1; }
.route-top { display: flex; justify-content: space-between; align-items: center; }
.route-num { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: "Poppins", sans-serif; font-weight: 700; background: #f1f3f8; color: #585858; }
.route-status { font-size: 13px; font-weight: 600; border-radius: 999px; padding: 4px 10px; background: #f1f3f8; color: #585858; }
.route-meta { font-size: 13px; color: #767676; margin-bottom: 12px; }
.route-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; font-weight: 600; color: #585858; }
.route-cta { color: var(--brand); }
.route-card.is-done .route-num { background: #E3F6EE; color: #0E7A55; }
.route-card.is-done .route-status { background: #E3F6EE; color: #0E6B4B; }
.route-card.is-done .progress-ra > div { background: #12A36E; }
.route-card.is-current { border-color: var(--brand); box-shadow: 0 12px 40px rgba(31,18,253,.12); }
.route-card.is-current .route-num { background: var(--brand); color: #fff; }
.route-card.is-current .route-status { background: var(--brand); color: #fff; }
.route-card.is-next .route-status { background: #FFF3D6; color: #7A5300; }

.dash-panel { background: #fff; border: 1px solid #e9ebf1; border-radius: 16px; padding: 30px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.panel-head h2 { font-size: 26px; margin: 4px 0 0; }
.panel-pct { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 28px; color: var(--brand); }
.module { border-top: 1px solid #e9ebf1; padding: 18px 0; }
.module-head { display: flex; gap: 14px; align-items: center; }
.module-head h3 { font-size: 18px; margin: 0; }
.module-head span { font-size: 14px; color: #767676; }
.module-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #f1f3f8; color: #585858; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: "Poppins", sans-serif; }
.module.is-done .module-num { background: #E3F6EE; color: #0E7A55; }
.module.is-current .module-num { background: var(--brand); color: #fff; }
.module.is-cert .module-num { background: #FFF3D6; color: #7A5300; }
.lesson-list { list-style: none; margin: 14px 0 0 50px; padding: 0; }
.lesson { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; }
.lesson > i, .lesson-dot { flex: none; font-size: 20px; color: #b0b0b0; }
.lesson-dot { width: 18px; height: 18px; border: 2px solid #c8c8c8; border-radius: 50%; margin: 0 1px; }
.lesson div { flex: 1; display: flex; flex-direction: column; }
.lesson strong { font-weight: 500; color: #10131A; }
.lesson span { font-size: 13px; color: #767676; }
.lesson.is-done > i { color: #12A36E; }
.lesson.is-done strong { color: #585858; }
.lesson.is-current { background: #f6f6ff; }
.lesson.is-current > i { color: var(--brand); }
.lesson-go { font-weight: 600; color: var(--brand); text-decoration: none; }
@media (max-width: 575px) { .lesson-list { margin-left: 0; } .dash-hero h1 { font-size: 34px; } }

.side-panel h3 { font-size: 19px; margin-bottom: 16px; }
.stat-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: #585858; }
.stat-row strong { color: #10131A; }
.stat-row-sm { margin: 10px 0 0; font-size: 14px; }
.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #f1f3f8; }
.resource-list li:first-child { border-top: 0; }
.resource-list li > i { font-size: 26px; color: #0E7A55; }
.resource-list li div { flex: 1; display: flex; flex-direction: column; }
.resource-list strong { font-weight: 500; font-size: 15px; line-height: 1.35; }
.resource-list span { font-size: 13px; color: #767676; }
.resource-list a { width: 44px; height: 44px; border-radius: 10px; background: #f6f6ff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.cert-item { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.cert-item i { font-size: 34px; color: var(--amber); }
.cert-item div { display: flex; flex-direction: column; }
.cert-item span { font-size: 13px; color: #767676; }
.cert-link { font-weight: 600; color: var(--brand); }
.dash-footer { border-top: 1px solid #e9ebf1; padding: 24px 0; font-size: 14px; color: #767676; }
.dash-footer p { margin: 0; text-align: center; }
.dash-footer a { color: var(--brand); }
body.dash-body { background: #F6F7FB; }
.authentication-item .authentication-form { margin-top: 18px; }

/* Botón "Ingresar" en amarillo */
.main-btn.btn-amber { background-color: var(--amber); color: #0F1420; box-shadow: none; margin-right: 12px; }
.main-btn.btn-amber:hover, .main-btn.btn-amber:focus { background-color: #E5A21F; color: #0F1420; }
.main-nav .main-btn.btn-amber { padding: 14px 32px; }

/* Ruta en 8 pasos */
.route-card .route-step { font-size: 13px; color: #767676; font-weight: 600; margin-top: 14px; }
.route-card h3 { margin-top: 4px; }
.cert-item + .cert-item { margin-top: -2px; }

/* Foto de Wilson en "Sobre mí" */
.about-photo { position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 1 / 1; }
.about-photo:before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand); transform: translate(18px, 18px); }
.about-photo:after { content: ""; position: absolute; width: 22%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--amber); left: -4%; top: 6%; }
.about-photo img { position: relative; z-index: 1; width: 100%; height: auto; display: block; border-radius: 50%; }
@media (max-width: 575px) { .about-photo { max-width: 300px; } .about-photo:before { transform: translate(12px, 12px); } }

/* ===== Mensajes de formularios y pago ===== */
.form-alert { background: #FDECEC; color: #8A1C1C; border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-size: 15px; }
.form-alert ul { margin: 6px 0 0; padding-left: 18px; }
.form-alert-ok { background: #E3F6EE; color: #0E6B4B; }
.signup-step.is-done span { background: #E3F6EE; color: #0E7A55; }
.paypal-placeholder { border: 2px dashed #b9b4ff; border-radius: 12px; padding: 28px; text-align: center; color: #4a43c9; background: #f6f6ff; margin: 10px 0 0; }

.paypal-buttons { margin-top: 10px; max-width: 480px; }
.pay-secure { font-size: 14px; color: #585858; margin: 14px 0 0; }
.pay-secure i { color: #0E7A55; margin-right: 4px; }
