/* V85 · legibilidad, motivación y acabado visual */
:root {
  --pe-blue: #2f6fed;
  --pe-navy: #173b63;
  --pe-cyan: #63b3ed;
  --pe-teal: #23856d;
  --pe-lilac: #7557ad;
  --pe-surface: #ffffff;
  --pe-soft: #f5f8fc;
  --pe-line: #d8e3ef;
  --pe-shadow: 0 18px 48px rgba(23, 59, 99, 0.09);
}

body {
  background:
    radial-gradient(circle at 84% 8%, rgba(99, 179, 237, 0.14), transparent 25rem),
    #f6f8fb;
  font-size: 16px;
  line-height: 1.55;
}

.main {
  background:
    radial-gradient(circle at 94% 10%, rgba(47, 111, 237, 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfdff, #f4f7fb 58%, #f8fafc);
}

.sidebar {
  background:
    radial-gradient(circle at 30% 4%, rgba(99, 179, 237, 0.2), transparent 13rem),
    linear-gradient(180deg, #153b64 0%, #0c263f 100%);
  box-shadow: 18px 0 55px rgba(10, 35, 59, 0.12);
}

.brand {
  padding-bottom: 20px;
}

.brand .logo {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(2, 17, 31, 0.32);
}

.nav-btn {
  min-height: 49px;
  padding: 11px 12px;
  border: 1px solid transparent;
  font-size: 14px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-btn:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.nav-btn.active {
  border-color: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 30px rgba(2, 17, 31, 0.22);
}

.nav-hint { font-size: 12px; line-height: 1.35; }
.sidebar-note { font-size: 13px; line-height: 1.55; }

.topbar {
  border-bottom-color: rgba(216, 227, 239, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 32px rgba(23, 59, 99, 0.055);
}

.topbar h1 { font-size: clamp(25px, 2.5vw, 32px); }
.topbar p { font-size: 15px; line-height: 1.5; }
.topbar-badge { padding: 6px 10px; font-size: 12px; }

#view {
  max-width: 1480px;
  padding-bottom: 90px;
}

/* Viñetas: tamaño de lectura real y marcador gráfico consistente */
#view ul,
#view ol {
  padding-left: 1.45rem;
}

#view li,
.price-card li,
.guide-panel li,
.professional-sequence li,
.planning-check,
.check {
  color: #3f536a;
  font-size: 15.5px;
  line-height: 1.65;
}

#view li + li { margin-top: 0.55rem; }
#view li::marker { color: var(--pe-blue); font-size: 1.08em; }

.price-card li,
.guide-panel li { margin-block: 9px; }

.professional-sequence li {
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid #e2e9f2;
  border-radius: 13px;
  background: #fbfdff;
}

.professional-sequence li span {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  font-size: 12px;
}

.mini-checklist { gap: 11px; }
.mini-checklist span {
  padding: 10px 0;
  color: #e4f2f2;
  font-size: 14px;
  line-height: 1.5;
}

.card,
.status-card,
.task-overview,
.resource-grid button,
.module-tools button,
.content-item,
.planning-support,
.evidence-bank,
.final-preview,
.review-intro,
.component-card,
.signal-card {
  border-color: var(--pe-line);
  background: linear-gradient(145deg, #ffffff, #fbfdff);
  box-shadow: var(--pe-shadow);
}

.card,
.status-card,
.task-overview,
.resource-grid button,
.module-tools button,
.content-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.status-card:hover,
.task-overview:hover,
.resource-grid button:hover,
.module-tools button:hover,
.content-item:hover {
  border-color: #b8cff7;
  box-shadow: 0 22px 55px rgba(23, 59, 99, 0.13);
  transform: translateY(-2px);
}

.hero,
.dashboard-hero,
.module-hero,
.resource-hero,
.route-summary {
  position: relative;
  overflow: hidden;
}

.hero {
  border-color: #c9daf0;
  background:
    radial-gradient(circle at 88% 10%, rgba(99, 179, 237, 0.25), transparent 27%),
    radial-gradient(circle at 8% 92%, rgba(117, 87, 173, 0.09), transparent 24%),
    linear-gradient(135deg, #ffffff, #edf5ff);
  box-shadow: 0 25px 70px rgba(23, 59, 99, 0.13);
}

.hero::after,
.dashboard-hero::after,
.module-hero::after,
.resource-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.035), 0 0 0 68px rgba(255, 255, 255, 0.022);
  pointer-events: none;
}

.hero::after { border-color: rgba(47, 111, 237, 0.12); }
.hero h2 { color: var(--pe-navy); font-size: clamp(34px, 4vw, 52px); }
.hero p { color: #415b76; font-size: 17px; line-height: 1.7; }

.card h3,
.mentor-card h3,
.task-overview h3,
.content-item summary strong { color: var(--pe-navy); }

.card p,
.mentor-card p,
.task-overview p,
.content-body p,
.helpbox,
.notice,
.warning {
  font-size: 15px;
  line-height: 1.65;
}

.btn {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 13px;
  background: linear-gradient(135deg, #3778ef, #2f6fed);
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(47, 111, 237, 0.28); }
.btn.ghost { background: #fff; }

.pill { font-size: 13px; }
.field label { font-size: 15px; }
.input, select, textarea { font-size: 16px; line-height: 1.55; }

.path-step,
.route-step,
.guide-accordion details,
.planning-window-btn {
  border-color: #d8e3ef;
  box-shadow: 0 9px 25px rgba(23, 59, 99, 0.055);
}

.path-step b { font-size: 14px; }
.path-step p { font-size: 12px; line-height: 1.55; }
.guide-accordion summary { min-height: 68px; font-size: 15px; }
.guide-panel { font-size: 15px; }

.status-card > strong,
.route-score strong,
.module-progress strong,
.kpi {
  background: linear-gradient(135deg, var(--pe-navy), var(--pe-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.module-one,
.dashboard-hero { background: radial-gradient(circle at 86% 8%, rgba(99,179,237,.28), transparent 34%), linear-gradient(135deg, #102f50, #245a88); }
.module-two { background: radial-gradient(circle at 86% 8%, rgba(107,215,190,.25), transparent 34%), linear-gradient(135deg, #116b65, #189387); }
.module-three { background: radial-gradient(circle at 86% 8%, rgba(198,177,239,.2), transparent 34%), linear-gradient(135deg, #513c85, #7557ad); }

@media (max-width: 780px) {
  body { font-size: 16px; }
  #view { padding-inline: 16px; }
  #view li,
  .price-card li,
  .guide-panel li,
  .professional-sequence li,
  .planning-check,
  .check { font-size: 16px; }
  .hero p,
  .card p,
  .mentor-card p,
  .task-overview p,
  .content-body p { font-size: 16px; }
  .card:hover,
  .status-card:hover,
  .task-overview:hover,
  .resource-grid button:hover,
  .module-tools button:hover,
  .content-item:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-btn,
  .card,
  .status-card,
  .task-overview,
  .resource-grid button,
  .module-tools button,
  .content-item,
  .btn { transition: none; }
}
