/* ─────────────────────────────────────────────────────────────
 * Landing del diagnostico (public/lp/v1.html): base comun.
 * Sistema: DESIGN.md de prominenceai.io ("The Analyst's Notebook").
 * Paper, ink y un solo acento azul. Instrument Serif en cursiva solo
 * para 2-3 palabras. Plano en reposo. Sin degradados decorativos.
 * ──────────────────────────────────────────────────────────── */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f5f4f0;
  --paper-warm: #edeae2;
  --white: #ffffff;
  --ink: #0a0a0f;
  --ink-soft: #3a3a4a;
  --ink-muted: #8a8a9a;
  --blue: #1a4bff;
  --blue-deep: #0e2db0;
  --blue-soft: #7d98ff;
  --blue-wash: rgba(26, 75, 255, 0.07);
  --green: #00b96b;
  --line: rgba(10, 10, 15, 0.07);
  --line-strong: rgba(10, 10, 15, 0.13);
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-btn: 12px;
  --r-card: 16px;
  --shadow-response: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-artefact: 0 25px 50px -12px rgba(10, 10, 15, 0.25);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: var(--blue); }
::selection { background: rgba(26, 75, 255, 0.22); }
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg[viewBox="0 0 24 24"]:not([class*="lucide"]) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--blue); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }

/* ── Barra superior (sin enlaces: la landing no tiene salidas) ── */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.topbar-logo { height: 22px; width: auto; }
.topbar-note { font-size: 13px; color: var(--ink-muted); }

/* ── Composer: la caja de un asistente de IA ───────── */
.composer { width: 100%; }
.composer-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin: 0 0 10px 4px; }
.composer-box {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 10px 10px 10px 18px; min-height: 68px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 32px -18px rgba(10, 10, 15, 0.28);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.composer-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 75, 255, 0.14), 0 12px 32px -18px rgba(10, 10, 15, 0.28); }
.composer-globe { width: 20px; height: 20px; flex: none; color: var(--ink-muted); stroke-width: 1.6; }
.composer-input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); padding: 8px 0;
}
.composer-input::placeholder { color: #a9a9b6; font-weight: 400; }
.composer-send {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 20px;
  border: 0; border-radius: 14px; background: var(--blue); color: #fff; cursor: pointer;
  font-size: 15px; font-weight: 600; transition: background 0.3s, transform 0.3s var(--ease);
  box-shadow: 0 12px 24px -10px rgba(26, 75, 255, 0.55);
}
.composer-send svg { width: 18px; height: 18px; stroke-width: 2.4; }
.composer-send:hover { background: var(--blue-deep); transform: scale(1.02); }
.composer-send:active { transform: scale(0.98); }
.composer-send:disabled { opacity: 0.6; cursor: progress; }
.composer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 0 4px; font-size: 13px; color: var(--ink-muted); }
.composer-meta .engine { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-soft); }
.composer-meta .engine img { width: 16px; height: 16px; border-radius: 4px; }
.meta-sep { width: 1px; height: 14px; background: var(--line-strong); }
.field-error { display: none; font-size: 13px; color: #d93025; margin: 8px 0 0 4px; }
.field-error.show { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Leyendo la web: como el "pensando" de un asistente */
.reading { display: flex; align-items: center; gap: 14px; padding: 22px 22px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 20px; min-height: 68px; }
.reading-fav { width: 20px; height: 20px; border-radius: 5px; }
.reading-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.reading-step { font-size: 13px; color: var(--ink-muted); margin-top: 2px; }
.shimmer {
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 40%, #b9b9c6 50%, var(--ink) 60%, var(--ink) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 2.2s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* ── Paso 2 ─────────────────────────────────────────── */
.step2 { background: var(--white); border: 1px solid var(--line-strong); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-artefact); animation: rise 0.5s var(--ease) both; text-align: left; }
.step2-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.step2-avatar { width: 28px; height: 28px; border-radius: 8px; flex: none; margin-top: 2px; }
.step2-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); }
.step2-sub { font-size: 14px; color: var(--ink-muted); margin-top: 2px; }
.step2-sub a { font-weight: 600; text-decoration: none; }
.profile-head { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--paper); border-radius: 14px; margin-bottom: 4px; }
.profile-fav { width: 44px; height: 44px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; }
.profile-fav img { width: 28px; height: 28px; object-fit: contain; }
.profile-id { flex: 1; min-width: 0; }
.input-brand { border: 0 !important; background: transparent !important; padding: 0 !important; font-size: 20px !important; font-weight: 700; letter-spacing: -0.02em; box-shadow: none !important; }
.profile-domain { font-size: 13px; color: var(--ink-muted); }
.field { margin-top: 16px; }
.field > label, .role legend { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field > label .sub { font-weight: 400; color: var(--ink-muted); margin-left: 6px; }
.input {
  width: 100%; border: 1px solid var(--line-strong); background: var(--paper); border-radius: var(--r-btn);
  padding: 11px 14px; font-size: 15px; color: var(--ink); outline: 0; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(26, 75, 255, 0.2); }
.input-sm { padding: 9px 12px; font-size: 14px; }
.segments-edit { display: grid; gap: 6px; }
.seg-edit { display: flex; align-items: center; gap: 8px; margin: 0; }
.seg-n { width: 22px; height: 22px; border-radius: 6px; background: var(--blue-wash); color: var(--blue); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }
.seg-edit .input { flex: 1; min-width: 0; }
/* Paso 2: foco, recalculo, segmentos y competidores editables (2026-10-08) */
.focus-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.focus-chip { border: 1px solid var(--line-strong); background: var(--white); color: var(--ink-soft); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.focus-chip:hover { border-color: var(--ink-soft); }
.focus-chip[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.refocus { margin-top: 8px; border: 0; background: none; padding: 0; color: var(--blue); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.focus-wrap { position: relative; }
.focus-wrap.is-loading .field { opacity: 0.35; pointer-events: none; transition: opacity 0.2s; }
.focus-loading { position: absolute; z-index: 2; left: 0; right: 0; top: 38px; text-align: center; font-size: 13px; font-weight: 600; color: var(--blue); }
.seg-del { flex: none; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--white); color: var(--ink-muted); display: grid; place-items: center; cursor: pointer; }
.seg-del:hover { color: var(--ink); border-color: var(--ink-soft); }
.seg-del svg { width: 13px; height: 13px; }
.add-seg { margin-top: 8px; border: 1px dashed var(--line-strong); background: none; border-radius: 10px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.add-seg:hover { border-color: var(--ink-soft); color: var(--ink); }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--ink-muted); }
.suggest button { border: 1px dashed var(--line-strong); background: none; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.suggest button:hover { border-color: var(--blue); color: var(--blue); }
.suggest img { width: 13px; height: 13px; border-radius: 3px; }
.focus-loading.is-error { position: static; margin-top: 10px; text-align: left; color: #b54708; }
#competitorInput:disabled { background: var(--paper); cursor: not-allowed; }
.chips-input { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chips-input:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; }
.chip img { width: 14px; height: 14px; border-radius: 3px; }
.chip button { border: 0; background: none; padding: 5px; margin: -2px -2px -2px 0; border-radius: 999px; display: flex; cursor: pointer; color: var(--ink-soft); }
.chip button:hover { background: rgba(10, 10, 15, 0.06); color: var(--ink); }
.chip button svg { width: 14px; height: 14px; }
.step2-send { margin-top: 20px; padding-top: 4px; border-top: 1px dashed var(--line-strong); }
.role { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.role legend { float: left; width: 100%; }
.role label { position: relative; cursor: pointer; }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--ink-soft); transition: all 0.2s; }
.role input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.role input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.legal-note { font-size: 12px; line-height: 1.55; color: var(--ink-muted); margin: 12px 0 0; }
.legal-note a { color: var(--ink-soft); }
.link-btn { border: 0; background: none; padding: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ── Botones ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r-btn); padding: 10px 20px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.3s, transform 0.3s var(--ease), border-color 0.3s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 20px 25px -5px rgba(26, 75, 255, 0.2); }
.btn-primary:hover { background: var(--blue-deep); transform: scale(1.02); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 18px; }

/* ── Lo que recibes ──────────────────────────────────── */
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.get h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin: 16px 0 6px; }
.get p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.get-viz { height: 56px; display: flex; align-items: center; }
.viz-rank { gap: 6px; }
.viz-rank span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 700; color: var(--ink-muted); }
.viz-rank span.you { background: var(--blue); border-color: var(--blue); color: #fff; width: 38px; height: 38px; font-size: 16px; }
.viz-bars { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; width: 100%; max-width: 170px; }
.viz-bars i { display: block; height: 8px; width: var(--w); border-radius: 4px; background: var(--line-strong); transform-origin: left; }
.viz-bars i.you { background: var(--blue); }
.viz-bars i.avg { background: none; border-top: 2px dashed var(--ink-muted); height: 0; border-radius: 0; margin-top: 4px; }
.viz-pie svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.viz-pie circle { fill: none; stroke-width: 6; }
.viz-pie .track { stroke: var(--line-strong); }
.viz-pie .slice { stroke: var(--blue); }
.viz-src { gap: 6px; }
.viz-src img { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--white); border: 1px solid var(--line-strong); }
.viz-src span { padding: 5px 10px; border-radius: 8px; border: 1px dashed var(--blue); color: var(--blue); font-size: 12px; font-weight: 700; }
.viz-tone { gap: 6px; flex-wrap: wrap; }
.viz-tone span { padding: 5px 9px; border-radius: 8px; background: var(--white); border: 1px solid var(--line-strong); color: var(--ink-muted); font-size: 12px; font-weight: 700; }
.viz-tone span.pos { background: var(--blue); border-color: var(--blue); color: #fff; }
.viz-tone span.neg { border-style: dashed; }

/* ── Logos ───────────────────────────────────────────── */
.logos-t { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); text-align: center; margin: 0 0 22px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
.logos-row img { height: 26px; width: auto; filter: grayscale(1); opacity: 0.6; transition: opacity 0.3s, filter 0.3s; }
.logos-row img.lg { height: 32px; }
.logos-row img:hover { filter: none; opacity: 1; }

/* ── Pie (solo legal) ────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.foot-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); }
.foot-logo { height: 18px; width: auto; opacity: 0.8; }
.foot p { margin: 0; flex: 1; min-width: 220px; }
.foot-legal { display: flex; gap: 18px; }
.foot-legal a { color: var(--ink-muted); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); }

/* ── Espera y error ─────────────────────────────────── */
.wait, .audit-error { display: none; }
.wait.visible, .audit-error.visible { display: block; }
body.is-waiting > *:not(#loading):not(#auditError):not(.cookie-banner):not(script) { display: none !important; }
body.is-waiting { background: var(--paper); }
.wait { min-height: 100vh; padding: 12vh var(--gutter) 80px; text-align: center; background: radial-gradient(700px 420px at 50% 0%, rgba(26, 75, 255, 0.08), transparent 70%), var(--paper); }
.wait-inner { max-width: 640px; margin: 0 auto; }
.wait-logo { width: 40px; height: 40px; margin: 0 auto 22px; border-radius: 10px; animation: breathe 2.4s ease-in-out infinite; }
.wait-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.wait-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; margin: 10px 0 28px; text-wrap: balance; }
.progress { height: 6px; border-radius: 6px; background: var(--line-strong); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--blue); border-radius: 6px; transition: width 1s linear; }
.wait-status { font-size: 15px; font-weight: 600; margin: 16px 0 0; }
.engine-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.engine-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.engine-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted); }
.engine-chip.running .dot { background: var(--blue); animation: pulse 1.4s ease-in-out infinite; }
.engine-chip.ready .dot { background: var(--green); }
.engine-chip.failed { color: var(--ink-muted); }
.wait-note { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: var(--white); border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 16px; margin: 26px auto 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.wait-note svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 2px; }
.wait-segs { margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.wait-segs-t { width: 100%; font-size: 12px; color: var(--ink-muted); font-weight: 600; margin-bottom: 4px; }
.wait-segs span { background: var(--blue-wash); color: var(--blue); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; }
.dyk { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.dyk-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.dyk-text { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; color: var(--ink); margin: 10px 0 0; transition: opacity 0.35s; text-wrap: pretty; }
.audit-error { padding: 14vh var(--gutter) 80px; }
.error-panel { max-width: 560px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid var(--line-strong); border-radius: 20px; padding: 36px 28px; }
.error-ico { width: 32px; height: 32px; color: var(--blue); margin: 0 auto 12px; }
.error-panel h2 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 8px; }
.error-panel p { color: var(--ink-soft); margin: 0; }
.error-actions { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }

/* ── Cookies ─────────────────────────────────────────── */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 10px 30px -12px rgba(10, 10, 15, 0.25); padding: 18px 20px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn { min-width: 150px; }
.cookie-row { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.cookie-row input { margin-top: 3px; }

/* ── Motion ──────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.92); } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { to { visibility: hidden; } }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--blue); animation: blink 1s steps(2, start) infinite; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}
@media (max-width: 560px) {
  .gets { grid-template-columns: 1fr; }
  .composer-box { padding: 8px 8px 8px 14px; min-height: 60px; border-radius: 18px; }
  .composer-input { font-size: 17px; }
  .composer-send { height: 44px; width: 44px; padding: 0; justify-content: center; border-radius: 12px; }
  .composer-send-txt { display: none; }
  .composer-globe { display: none; }
  .step2 { padding: 18px; border-radius: 18px; }
  .logos-row { gap: 18px 28px; }
  .logos-row img { height: 20px; }
  .logos-row img.lg { height: 26px; }
  /* Banner compacto: deja ver la caja en el primer pantallazo. Tres botones iguales en una fila */
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; font-size: 11.5px; line-height: 1.4; border-radius: 14px; }
  .cookie-banner p { margin-bottom: 9px; }
  .cookie-actions { flex-wrap: nowrap; gap: 6px; }
  .cookie-actions .btn { min-width: 0; flex: 1; padding: 0 6px; height: 36px; font-size: 12.5px; }
  .foot-legal { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .shimmer { animation: none; color: var(--ink); background: none; }
}
.step2 { scroll-margin-top: 16px; }
@media (max-width: 560px) { .composer-meta .meta-sep { display: none; } .composer-meta .meta-txt { width: 100%; } }

/* ── Banner de cookies modal (2026-10-10) ───────────────
 * Fondo atenuado y tarjeta visible a un tercio de la altura. Aceptar y Rechazar tienen el mismo
 * tamano y estan apilados (Aceptar encima, en azul; Rechazar en gris con contraste AA).
 * Decision del equipo, pendiente de validar con legal (L6). */
.cookie-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(10, 10, 15, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cookie-backdrop[hidden] { display: none; }
.cookie-banner.cookie-modal { top: 16vh; bottom: auto; left: 16px; right: 16px; max-width: 520px; padding: 26px 26px 20px; font-size: 14px; line-height: 1.5; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(10, 10, 15, 0.5); z-index: 210; }
.cookie-modal .cookie-title { margin: 0 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.cookie-modal .cookie-lead { margin: 0 0 12px; font-size: 15px; color: var(--ink); }
.cookie-modal .cookie-legal { margin: 0 0 18px; font-size: 12px; line-height: 1.45; color: var(--ink-soft); }
.cookie-modal .cookie-actions-main { display: grid; grid-template-columns: 1fr; gap: 10px; }
.cookie-modal .cookie-btn { min-width: 0; height: 48px; padding: 0 16px; font-size: 15px; font-weight: 600; border-radius: var(--r-btn); }
.cookie-modal .cookie-btn-reject { background: var(--white); color: #6b6b7b; border: 1.5px solid #c9c9d2; }
.cookie-modal .cookie-btn-reject:hover { background: #f6f6f8; color: #5a5a6a; border-color: #bdbdc8; }
.cookie-modal .cookie-btn-accept { background: var(--blue); color: #fff; border: 1.5px solid var(--blue); }
.cookie-modal .cookie-btn-accept:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.cookie-modal .cookie-more { margin: 12px 0 0; text-align: center; }
.cookie-modal .cookie-link { background: none; border: 0; padding: 4px 8px; font: inherit; font-size: 13px; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.cookie-modal .cookie-link:hover { color: var(--ink); }
@media (max-width: 640px) {
  .cookie-banner.cookie-modal { top: 10vh; left: 12px; right: 12px; padding: 20px 18px 16px; }
  .cookie-modal .cookie-title { font-size: 19px; }
  .cookie-modal .cookie-lead { font-size: 14px; }
  .cookie-modal .cookie-legal { font-size: 11.5px; margin-bottom: 14px; }
  .cookie-modal .cookie-btn { height: 46px; font-size: 14.5px; }
}
