/* Hallmark · macrostructure: Workbench · tone: quiet luxury · anchor hue: gold */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
/* ============================================================
   LUM360 Generador de Brief Estratégico para Página Web
   Quiet luxury tech UI + report/PDF surface
   Basado en el sistema visual del Generador de Buyer Persona
   ============================================================ */

html,
body.brief-page {
  overflow-x: clip;
}

.brief-page {
  --lum-dark: #0f1115;
  --lum-charcoal: #1a1d24;
  --lum-graphite: #2b2f38;
  --lum-gold: #c8a96a;
  --lum-gold-soft: #e3d0a2;
  --lum-ivory: #f5f1e8;
  --lum-stone: #d8d2c4;
  --lum-muted: #9aa0aa;
  --lum-success: #5fa878;
  --lum-error: #b66a6a;
  --lum-line: rgba(227, 208, 162, 0.16);
  --lum-panel: rgba(26, 29, 36, 0.78);
  --lum-panel-strong: rgba(20, 23, 29, 0.94);
  --lum-report-paper: #f5f1e8;
  --lum-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lum-ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --lum-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  background:
    linear-gradient(180deg, #090a0d 0%, var(--lum-dark) 42%, #0b0d11 100%);
  color: var(--color-text, #fafafa);
}

.brief-page a {
  text-underline-offset: 0.18em;
}

.brief-page [hidden] {
  display: none !important;
}

.brief-page a:focus-visible,
.brief-page button:focus-visible,
.brief-page input:focus-visible,
.brief-page textarea:focus-visible,
.brief-page select:focus-visible,
.brief-page summary:focus-visible,
.brief-page [role="radio"]:focus-visible,
.brief-page [role="checkbox"]:focus-visible {
  outline: 2px solid var(--lum-gold-soft);
  outline-offset: 3px;
}

/* ============ Hero ============ */
#hero.brief-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: 164px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--lum-line);
  background:
    linear-gradient(135deg, rgba(15, 17, 21, 0.92), rgba(15, 17, 21, 0.72)),
    linear-gradient(90deg, rgba(200, 169, 106, 0.12), transparent 44%),
    var(--lum-dark);
}

#hero.brief-hero::before {
  content: "";
  position: absolute;
  inset: 72px auto 0 0;
  width: min(52vw, 680px);
  border-right: 1px solid rgba(227, 208, 162, 0.12);
  background:
    linear-gradient(90deg, rgba(245, 241, 232, 0.035), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px);
  opacity: 0.9;
  pointer-events: none;
}

.brief-hero .container {
  position: relative;
  z-index: 10;
}

.brief-breadcrumb {
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--lum-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-breadcrumb a {
  color: var(--lum-stone);
}

.brief-breadcrumb a:hover {
  color: var(--lum-gold-soft);
}

.brief-hero h1 {
  max-width: 960px;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 0.94;
  letter-spacing: 0;
}

.brief-hero .brief-hero-sub {
  max-width: 780px;
  margin-top: 18px;
  color: var(--lum-gold-soft);
  font-family: var(--font-display, serif);
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.brief-lead {
  max-width: 760px;
  color: rgba(245, 241, 232, 0.74);
  line-height: 1.78;
  margin-top: 18px;
  font-size: clamp(15px, 1.4vw, 18px);
}

.brief-hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brief-hero-actions .btn-gold.solid {
  min-width: 240px;
  text-align: center;
}

.brief-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 560px;
  margin-top: 20px;
  color: rgba(245, 241, 232, 0.55);
  font-size: 12.5px;
  line-height: 1.6;
}

.brief-privacy-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--lum-gold-soft);
  opacity: 0.8;
}

.brief-badges {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brief-badge {
  border: 1px solid rgba(227, 208, 162, 0.32);
  color: var(--lum-gold-soft);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 12px;
  background: rgba(15, 17, 21, 0.62);
}

/* ============ Layout ============ */
.brief-main {
  position: relative;
  z-index: 2;
  padding: 58px 0 112px;
}

.brief-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.brief-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--lum-panel);
  border: 1px solid var(--lum-line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.brief-card:hover {
  border-color: rgba(227, 208, 162, 0.32);
  transform: translateY(-2px);
  box-shadow:
    0 26px 66px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brief-sidebar {
  position: sticky;
  top: 96px;
}

.brief-sidebar .brief-card + .brief-card,
.brief-content > .brief-card + .brief-card {
  margin-top: 16px;
}

.brief-card h2,
.brief-card h3 {
  margin-bottom: 12px;
  line-height: 1.05;
  letter-spacing: 0;
}

.brief-card h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.brief-card h3 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.brief-sidebar .brief-card {
  position: relative;
  overflow: hidden;
}

.brief-sidebar .brief-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--lum-gold-soft), transparent 78%);
  opacity: 0.72;
}

.brief-sidebar .brief-card h3 {
  max-width: 14ch;
  margin-bottom: 15px;
  color: var(--lum-ivory);
  font-family: var(--font-display, serif);
  font-size: clamp(27px, 2.5vw, 34px);
  font-style: italic;
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.brief-sidebar .brief-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 14px;
  background: var(--lum-gold);
  opacity: 0.7;
}

.brief-card p,
.brief-card li {
  color: rgba(245, 241, 232, 0.72);
  line-height: 1.72;
}

.brief-card ul {
  padding-left: 1.15rem;
}

.brief-card li + li {
  margin-top: 7px;
}

.brief-card a {
  color: var(--lum-gold-soft);
}

/* ============ Wizard intro / landing card ============ */
.brief-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.brief-intro-item {
  border: 1px solid rgba(216, 210, 196, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.brief-intro-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--lum-ivory);
  font-family: var(--font-display, serif);
  font-size: 19px;
  font-weight: 500;
}

.brief-intro-item span {
  display: block;
  color: rgba(245, 241, 232, 0.62);
  font-size: 13px;
  line-height: 1.55;
}

/* ============ Progreso ============ */
.brief-progress {
  margin-bottom: 26px;
  background: rgba(15, 17, 21, 0.72);
  border: 1px solid var(--lum-line);
  border-radius: 8px;
  padding: 16px;
  backdrop-filter: blur(12px);
}

.brief-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--lum-muted);
}

.brief-progress-top .brief-progress-step {
  color: var(--lum-gold-soft);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brief-progress-track {
  height: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
}

.brief-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lum-gold), var(--lum-gold-soft));
  border-radius: inherit;
  transition: width 0.32s ease;
}

.brief-progress-sections {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.brief-progress-sections span {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.brief-progress-sections span.done {
  background: rgba(200, 169, 106, 0.55);
}

.brief-progress-sections span.current {
  background: var(--lum-gold-soft);
}

/* ============ Pasos ============ */
.brief-step {
  animation: briefStepIn 0.34s ease both;
}

.brief-step-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--lum-gold-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brief-step h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 36px);
}

.brief-step-intro {
  max-width: 820px;
  margin: 0 0 24px;
  color: rgba(245, 241, 232, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.brief-question {
  margin-top: 26px;
}

.brief-question:first-of-type {
  margin-top: 0;
}

.brief-question-label {
  display: block;
  margin-bottom: 4px;
  color: var(--lum-ivory);
  font-family: var(--font-display, serif);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.2;
}

.brief-question-hint {
  display: block;
  margin: 0 0 14px;
  color: var(--lum-muted);
  font-size: 13px;
  line-height: 1.55;
}

.brief-question-hint strong {
  color: var(--lum-gold-soft);
  font-weight: 650;
}

/* Opciones tipo card (selección única) */
.brief-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.brief-options.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brief-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  text-align: left;
  padding: 13px 14px;
  border: 1px solid rgba(216, 210, 196, 0.14);
  border-radius: 8px;
  color: rgba(245, 241, 232, 0.78);
  background: rgba(255, 255, 255, 0.018);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.brief-option::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(216, 210, 196, 0.4);
  border-radius: 50%;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.brief-option[data-multi="true"]::before {
  border-radius: 4px;
}

.brief-option:hover {
  border-color: rgba(227, 208, 162, 0.56);
  color: var(--lum-ivory);
  background: rgba(200, 169, 106, 0.07);
  transform: translateY(-1px);
}

.brief-option[aria-checked="true"] {
  border-color: rgba(227, 208, 162, 0.78);
  color: var(--lum-ivory);
  background: rgba(200, 169, 106, 0.1);
}

.brief-option[aria-checked="true"]::before {
  border-color: var(--lum-gold-soft);
  background: var(--lum-gold);
  box-shadow: inset 0 0 0 3px rgba(15, 17, 21, 0.85);
}

.brief-option[data-multi="true"][aria-checked="true"]::before {
  box-shadow: inset 0 0 0 2px rgba(15, 17, 21, 0.85);
}

.brief-option[data-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.brief-option-note {
  margin-top: 10px;
  color: var(--lum-muted);
  font-size: 12.5px;
}

.brief-option-note strong {
  color: var(--lum-gold-soft);
}

/* Campo de texto */
.brief-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
}

.brief-field input[type="text"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(216, 210, 196, 0.16);
  border-radius: 8px;
  background: rgba(9, 10, 13, 0.82);
  color: var(--lum-ivory);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.brief-field input[type="text"]::placeholder {
  color: rgba(154, 160, 170, 0.68);
}

.brief-field input[type="text"]:focus {
  border-color: rgba(227, 208, 162, 0.76);
  outline: none;
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.12);
  background: rgba(12, 14, 18, 0.96);
}

/* Sliders */
.brief-slider-wrap {
  max-width: 560px;
  padding: 18px 16px 14px;
  border: 1px solid rgba(216, 210, 196, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
}

.brief-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.brief-slider-top span {
  color: rgba(245, 241, 232, 0.72);
  font-size: 13px;
}

.brief-slider-value {
  color: var(--lum-gold-soft);
  font-family: var(--font-display, serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  min-width: 58px;
  text-align: right;
}

.brief-slider-value small {
  color: var(--lum-muted);
  font-family: var(--font-body, sans-serif);
  font-size: 12px;
  font-weight: 400;
}

.brief-page input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background:
    linear-gradient(90deg, var(--lum-gold) var(--slider-fill, 60%), rgba(255, 255, 255, 0.1) var(--slider-fill, 60%));
  cursor: pointer;
}

.brief-page input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--lum-gold-soft);
  background: var(--lum-charcoal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease;
}

.brief-page input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.brief-page input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--lum-gold-soft);
  background: var(--lum-charcoal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.brief-slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--lum-muted);
  font-size: 11px;
}

/* Validación */
.brief-error {
  display: none;
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(182, 106, 106, 0.55);
  border-left: 3px solid var(--lum-error);
  border-radius: 8px;
  background: rgba(182, 106, 106, 0.08);
  color: #e0aaaa;
  font-size: 13.5px;
  line-height: 1.55;
}

.brief-error.visible {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.brief-error svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.brief-question.has-error .brief-question-label {
  color: #e0aaaa;
}

.brief-question.has-error .brief-options .brief-option,
.brief-question.has-error input[type="text"] {
  border-color: rgba(182, 106, 106, 0.45);
}

/* Navegación */
.brief-nav {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.brief-nav button {
  min-width: 150px;
}

.brief-nav button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.brief-message {
  margin-top: 16px;
  border: 1px solid rgba(216, 210, 196, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--lum-stone);
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
  line-height: 1.6;
}

.brief-message[data-tone="success"] {
  border-color: rgba(95, 168, 120, 0.5);
  color: #a4d9b4;
}

.brief-message[data-tone="error"] {
  border-color: rgba(182, 106, 106, 0.58);
  color: #e0aaaa;
}

/* ============ Reporte ============ */
#brief-report {
  margin-top: 4px;
}

.report-card {
  overflow: hidden;
  border: 1px solid rgba(227, 208, 162, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0.98), rgba(245, 241, 232, 0.94));
  color: #171717;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}

.report-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 24px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(15, 17, 21, 0.98), rgba(26, 29, 36, 0.94)),
    var(--lum-dark);
  color: var(--lum-ivory);
  border-bottom: 4px solid var(--lum-gold);
}

.report-section-kicker {
  margin: 0 0 12px;
  color: var(--lum-gold-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.report-cover-main,
.report-cover-side {
  min-width: 0;
}

.report-cover-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
}

.report-logo {
  display: block;
  align-self: flex-end;
  width: min(100%, 210px);
  height: auto;
  object-fit: contain;
}

.report-cover .report-section-kicker {
  color: var(--lum-gold-soft);
}

.report-cover h3 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 0.96;
  letter-spacing: 0;
}

.report-deck {
  max-width: 560px;
  margin-top: 16px;
  color: rgba(245, 241, 232, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.report-cover-meta {
  display: grid;
  gap: 10px;
  align-self: end;
  margin: 0;
}

.report-cover-meta div {
  padding: 12px 13px;
  border: 1px solid rgba(227, 208, 162, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.report-cover-meta dt {
  color: rgba(245, 241, 232, 0.54);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-cover-meta dd {
  margin: 4px 0 0;
  color: var(--lum-ivory);
  font-size: 14px;
  line-height: 1.35;
}

.report-section {
  padding: 28px clamp(24px, 4vw, 46px);
  border-bottom: 1px solid rgba(15, 17, 21, 0.1);
}

.report-section h4 {
  margin: 0 0 14px;
  color: #121417;
  font-family: var(--font-display, serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.report-section h5 {
  margin: 0 0 10px;
  color: #171717;
  font-size: 14px;
  font-weight: 750;
}

.report-section p,
.report-section li {
  color: rgba(18, 20, 23, 0.76);
  line-height: 1.68;
}

.report-section ul {
  margin: 0;
  padding-left: 1.05rem;
}

.report-section li + li {
  margin-top: 6px;
}

.report-executive {
  background:
    linear-gradient(90deg, rgba(200, 169, 106, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.42);
}

.report-executive p.report-site-type {
  max-width: 940px;
  color: #1a1d24;
  font-family: var(--font-display, serif);
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.18;
}

.report-executive .report-rationale {
  max-width: 880px;
  margin-top: 14px;
  font-size: 15px;
}

.report-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-two-col .report-section {
  border-right: 1px solid rgba(15, 17, 21, 0.1);
}

.report-two-col .report-section:nth-child(2n) {
  border-right: 0;
}

/* Score de madurez digital */
.score-hero {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.score-dial {
  position: relative;
  width: 200px;
  height: 200px;
}

.score-dial svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-dial circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.score-dial .dial-track {
  stroke: rgba(26, 29, 36, 0.1);
}

.score-dial .dial-fill {
  stroke: #b08d4c;
  transition: stroke-dashoffset 1s ease;
}

.score-dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-dial-center strong {
  color: #8d6e2c;
  font-family: var(--font-display, serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
}

.score-dial-center span {
  margin-top: 4px;
  color: rgba(26, 29, 36, 0.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.score-reading .score-band {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(200, 169, 106, 0.45);
  border-radius: 99px;
  background: rgba(200, 169, 106, 0.14);
  color: #6e5620;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-reading p {
  max-width: 640px;
  margin: 0;
}

.score-bands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.score-bands div {
  padding: 10px 12px;
  border: 1px solid rgba(26, 29, 36, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(26, 29, 36, 0.62);
}

.score-bands div.active {
  border-color: rgba(200, 169, 106, 0.6);
  background: rgba(200, 169, 106, 0.16);
  color: #1a1d24;
}

.score-bands strong {
  display: block;
  color: #1a1d24;
  font-size: 12px;
}

/* Sitemap jerárquico */
.sitemap-tree {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-tree > li {
  position: relative;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(26, 29, 36, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: #1a1d24;
  font-weight: 600;
  font-size: 14.5px;
}

.sitemap-tree > li + li {
  margin-top: 8px;
}

.sitemap-tree > li small {
  display: block;
  margin-top: 2px;
  color: rgba(26, 29, 36, 0.55);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.5;
}

.sitemap-tree ul {
  list-style: none;
  margin: 10px 0 2px;
  padding-left: 18px;
  border-left: 2px solid rgba(200, 169, 106, 0.4);
}

.sitemap-tree ul li {
  position: relative;
  padding: 6px 0 6px 14px;
  color: rgba(26, 29, 36, 0.74);
  font-weight: 400;
  font-size: 13.5px;
}

.sitemap-tree ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 2px;
  background: rgba(200, 169, 106, 0.55);
}

/* Secciones del home */
.home-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-section-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 14px;
  border: 1px solid rgba(26, 29, 36, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.home-section-item .order {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 169, 106, 0.2);
  color: #6e5620;
  font-size: 12px;
  font-weight: 750;
}

.home-section-item strong {
  display: block;
  color: #1a1d24;
  font-size: 14px;
}

.home-section-item span {
  display: block;
  margin-top: 2px;
  color: rgba(26, 29, 36, 0.62);
  font-size: 12.5px;
  line-height: 1.5;
}

/* CTA + tono */
.report-highlight-box {
  padding: 18px;
  border: 1px solid rgba(200, 169, 106, 0.38);
  border-radius: 8px;
  background: rgba(200, 169, 106, 0.14);
}

.report-highlight-box .kicker {
  display: block;
  margin-bottom: 8px;
  color: #6e5620;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-highlight-box .value {
  color: #1a1d24;
  font-family: var(--font-display, serif);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 500;
  line-height: 1.2;
}

.report-highlight-box p {
  margin: 8px 0 0;
  font-size: 13.5px;
}

/* FAQs sugeridas */
.report-faq-list {
  display: grid;
  gap: 8px;
}

.report-faq-item {
  padding: 13px 15px;
  border: 1px solid rgba(26, 29, 36, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.report-faq-item strong {
  display: block;
  color: #1a1d24;
  font-size: 14px;
  line-height: 1.45;
}

.report-faq-item span {
  display: block;
  margin-top: 4px;
  color: rgba(26, 29, 36, 0.6);
  font-size: 12.5px;
  line-height: 1.55;
}

/* Roadmap */
.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.roadmap-list::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 169, 106, 0.6), rgba(200, 169, 106, 0.15));
}

.roadmap-item {
  position: relative;
  padding: 0 0 22px 52px;
}

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

.roadmap-item .phase-dot {
  position: absolute;
  left: 4px;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 169, 106, 0.6);
  border-radius: 50%;
  background: var(--lum-ivory);
  color: #6e5620;
  font-size: 12px;
  font-weight: 750;
}

.roadmap-item h5 {
  margin: 2px 0 6px;
  color: #1a1d24;
  font-family: var(--font-display, serif);
  font-size: 19px;
  font-weight: 600;
}

.roadmap-item p {
  margin: 0;
  font-size: 13.5px;
  max-width: 720px;
}

/* Cierre comercial */
.report-closing {
  background:
    linear-gradient(135deg, rgba(15, 17, 21, 0.98), rgba(26, 29, 36, 0.95)),
    var(--lum-dark);
  color: var(--lum-ivory);
  border-bottom: 0;
}

.report-closing h4 {
  color: var(--lum-ivory);
}

.report-closing p {
  max-width: 760px;
  color: rgba(245, 241, 232, 0.76);
}

.report-disclaimer {
  padding: 22px clamp(24px, 4vw, 46px) 28px;
  background: #101217;
  color: rgba(245, 241, 232, 0.68);
  font-size: 12px;
  line-height: 1.6;
}

/* ============ Acciones finales ============ */
.brief-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.brief-action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 210px;
  border: 1px solid rgba(227, 208, 162, 0.18);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(15, 17, 21, 0.72);
  min-width: 0;
}

.brief-action-card h4 {
  margin: 0 0 8px;
  color: var(--lum-ivory);
  font-family: var(--font-display, serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.brief-action-card p {
  flex: 1;
  margin: 0 0 16px;
  color: rgba(245, 241, 232, 0.68);
  font-size: 13.5px;
  line-height: 1.6;
}

.brief-action-card .btn-gold {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(12px, 1.1vw, 14px);
}

.brief-action-card .btn-gold[aria-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
}

/* ============ FAQ de la página ============ */
.faq-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(216, 210, 196, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  overflow: clip;
}

.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--lum-ivory);
  font-family: var(--font-display, serif);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: color 180ms var(--lum-ease-out), background-color 180ms var(--lum-ease-out);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(227, 208, 162, 0.42);
  border-radius: 50%;
  color: var(--lum-gold-soft);
  font-family: var(--font-body, sans-serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.faq-item[open] summary {
  color: var(--lum-gold-soft);
  background: rgba(200, 169, 106, 0.055);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 66px 16px 16px;
  max-height: none;
  overflow: visible;
  transition: none;
}

.brief-page .faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.brief-links ul {
  padding-left: 18px;
  margin: 0;
}

.brief-links li {
  margin-bottom: 8px;
}

.brief-links a,
.brief-sidebar a {
  color: rgba(245, 241, 232, 0.78);
}

.brief-links a:hover,
.brief-sidebar a:hover {
  color: var(--lum-gold-soft);
}

/* ============ Modo exportación PDF ============ */
.brief-pdf-exporting {
  background: var(--lum-ivory) !important;
}

.brief-pdf-exporting .report-card {
  width: 794px;
  max-width: 794px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--lum-report-paper);
}

.brief-pdf-exporting .report-section,
.brief-pdf-exporting .report-cover,
.brief-pdf-exporting .report-disclaimer {
  break-inside: avoid;
}

.brief-pdf-exporting .report-section {
  background-color: var(--lum-report-paper);
}

.brief-pdf-exporting .report-executive {
  background:
    linear-gradient(90deg, rgba(200, 169, 106, 0.18), transparent 60%),
    var(--lum-report-paper);
}

.brief-pdf-exporting .score-dial .dial-fill {
  transition: none;
}

/* ============ Responsive ============ */
@media (max-width: 1060px) {
  .brief-layout {
    grid-template-columns: 1fr;
  }

  .brief-sidebar {
    position: static;
  }

  .brief-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-options.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #hero.brief-hero {
    min-height: auto;
    padding: 124px 0 50px;
  }

  .brief-main {
    padding: 36px 0 76px;
  }

  .brief-card {
    padding: 20px;
  }

  .brief-intro-grid,
  .brief-options,
  .brief-options.cols-3,
  .report-cover,
  .report-two-col,
  .home-sections-grid,
  .brief-actions {
    grid-template-columns: 1fr;
  }

  .report-cover-side {
    gap: 20px;
  }

  .report-logo {
    align-self: flex-start;
    width: min(72%, 200px);
  }

  .score-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .score-reading p {
    text-align: left;
  }

  .score-bands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-two-col .report-section {
    border-right: 0;
  }

  .brief-progress-top,
  .brief-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .brief-nav button {
    width: 100%;
  }

  .brief-option {
    min-height: 50px;
  }

  .brief-action-card {
    min-height: 0;
  }

  .brief-action-card .btn-gold {
    min-height: 48px;
    font-size: 13px;
  }

  .report-cover,
  .report-section,
  .report-disclaimer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 420px) {
  .brief-hero h1 {
    font-size: 38px;
  }

  .brief-hero .brief-hero-sub {
    font-size: 23px;
  }

  .report-cover h3 {
    font-size: 32px;
  }

  .score-dial,
  .score-hero {
    width: auto;
  }

  .score-dial {
    width: 170px;
    height: 170px;
  }

  .score-dial-center strong {
    font-size: 46px;
  }

  .faq-item summary {
    grid-template-columns: minmax(0, 1fr) 32px;
    padding-inline: 14px;
  }

  .faq-item summary::after {
    width: 30px;
    height: 30px;
  }

  .faq-answer {
    padding: 0 14px 15px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover {
    color: var(--lum-gold-soft);
    background: rgba(200, 169, 106, 0.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brief-step,
  .brief-card,
  .brief-option,
  .brief-progress-bar,
  .score-dial .dial-fill {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes briefStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Impresión (fallback si no carga la librería PDF) */
@media print {
  body.brief-page {
    background: #fff !important;
    color: #111 !important;
  }

  #navbar,
  .mobile-nav,
  #cursor-dot,
  #cursor-ring,
  #cursor-label,
  #web-particles,
  #hero,
  .brief-sidebar,
  .brief-progress,
  .brief-nav,
  .brief-actions,
  footer {
    display: none !important;
  }

  .brief-main,
  .brief-layout,
  .brief-content,
  .brief-card {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .brief-content > .brief-card:not(:has(#brief-report)) {
    display: none !important;
  }

  .brief-step:not([data-step="result"]) {
    display: none !important;
  }

  .brief-step[data-step="result"] {
    display: block !important;
  }

  .report-card {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .report-section,
  .report-cover,
  .report-disclaimer {
    break-inside: avoid;
  }
}
