/* /audit/ case block: headline, what we analyse, and the free-report form in one place (round 3, 2026-11-22).
   Mobile first: base styles are the 390 px layout; the two-column layout starts at 900 px. */

/* The section takes focus after a choice or a deep link; mark it on the kicker, not with a box around the whole block. */
body[data-page=audit] .case-intro:focus-visible{outline:none}
body[data-page=audit] .case-intro:focus-visible .case-kicker{outline:2px solid var(--gold);outline-offset:6px;border-radius:4px}
body[data-page=audit] .case-intro{padding-block:32px 40px}
.case-layout{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}
body[data-page=audit] .case-title{margin:0 0 14px;max-width:20ch;font-size:30px;line-height:1.08;text-wrap:balance}
body[data-page=audit] .case-scope-title{margin:0 0 2px;font:600 14px/1.4 var(--sans);letter-spacing:0;color:var(--gold)}
.case-scope{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:0}
.case-scope[hidden]{display:none}
.case-scope li{padding:7px 0 7px 18px;position:relative;font:15px/1.45 var(--sans);color:var(--ink)}
.case-scope li::before{content:"";position:absolute;left:1px;top:14px;width:7px;height:7px;border-radius:50%;border:1.5px solid var(--gold)}

/* Form panel */
.report-panel{padding:20px 18px;background:var(--card-bg,#f7f2e9);border:1px solid var(--card-line,#d6c8ae);border-radius:var(--r-panel,24px);box-shadow:var(--card-shadow,0 12px 50px #4d3b1710);scroll-margin-top:16px}
.case-call-first{display:grid;gap:8px;margin:0 0 18px;padding-bottom:18px;border-bottom:1px solid var(--card-line,#d6c8ae)}
.case-call-first[hidden]{display:none}
body[data-page=audit] .case-call-first .button{margin:0;width:100%;justify-content:center;gap:12px}
body[data-page=audit] .report-title{margin:0;font:500 24px/1.15 var(--serif);letter-spacing:-.01em;text-wrap:balance}
.report-promise{margin:4px 0 16px;font:15px/1.5 var(--sans);color:var(--muted)}
.report-form{display:grid;gap:14px}
.report-form[hidden],.report-result[hidden]{display:none}
.report-field{display:grid;gap:5px}
.report-field[hidden]{display:none}
.report-field label{font:600 15px/1.4 var(--sans);color:var(--ink)}
.report-optional{font-weight:400;color:var(--muted)}
.report-field input,.report-field textarea{width:100%;min-height:46px;padding:11px 13px;border:1px solid #b9a988;border-radius:var(--r-inner,12px);background:#fffcf5;font:16px/1.4 var(--sans);color:var(--ink);transition:border-color .16s ease,box-shadow .16s ease}
.report-field textarea{min-height:72px;resize:vertical}
.report-check input:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.report-field input:focus-visible,.report-field textarea:focus-visible{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px #c8a46466}
.report-field [aria-invalid=true]{border-color:#9b2c1f;box-shadow:0 0 0 1px #9b2c1f}
.report-help{margin:0;font:13px/1.45 var(--sans);color:var(--muted)}
.report-error,.report-server-error{margin:0;font:600 14px/1.45 var(--sans);color:#9b2c1f}
.report-error[hidden],.report-server-error[hidden]{display:none}
/* Optional social links behind one tap. */
.report-more>summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;font:600 14px/1.4 var(--sans);color:var(--gold);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.report-more>summary::-webkit-details-marker{display:none}
.report-more[open]>summary{margin-bottom:6px}
.report-check{display:grid;grid-template-columns:44px minmax(0,1fr);gap:0;align-items:start}
/* Checkbox centred on the first text line (14px x 1.5 = 21px; (44-21)/2 = 11px) inside a 44px tap column. */
.report-check input{box-sizing:border-box;width:22px;height:22px;min-height:0;padding:0;margin:11px 0 0 11px;accent-color:var(--gold);cursor:pointer}
.report-check label{min-height:44px;padding:11px 0;font:14px/1.5 var(--sans);color:var(--ink);cursor:pointer}
.report-check label a{color:var(--gold);text-underline-offset:3px}
.report-check .report-error{grid-column:2;padding:0 0 8px}
.report-check .report-layer{grid-column:2;margin:-6px 0 4px;font:12.5px/1.5 var(--sans);color:var(--muted)}
.report-check .report-layer a{color:var(--ink);text-underline-offset:3px}
.report-check input[aria-invalid=true]{outline:2px solid #9b2c1f;outline-offset:2px}
.report-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
body[data-page=audit] .report-submit{margin:2px 0 0;width:100%;justify-content:center;gap:12px}
.report-submit:disabled{opacity:.6;cursor:progress}
/* One AI line under the button. */
.report-label-note{margin:0;font:13px/1.5 var(--sans);color:var(--muted)}
.report-result{outline:none}
.report-result h3{margin:0 0 8px;font:500 26px/1.15 var(--serif)}
.report-result p{margin:0 0 10px;max-width:52ch;font:16px/1.55 var(--sans);color:var(--ink)}
.report-result a{color:var(--gold);font-weight:600;text-underline-offset:4px}
.report-result:focus-visible{outline:2px solid var(--gold);outline-offset:8px;border-radius:var(--r-inner,12px)}
.case-talk{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--card-line,#d6c8ae);font:15px/1.5 var(--sans);color:var(--ink)}
.case-talk[hidden]{display:none}
.case-talk>a{font-weight:600;color:var(--gold);text-underline-offset:4px}
.case-talk .booking-note{display:block;margin-top:2px;font:13px/1.5 var(--sans);color:var(--muted)}
.case-talk .booking-note a{color:var(--ink);text-underline-offset:3px}
.case-soon{margin:10px 0 0;font:14px/1.5 var(--sans);color:var(--muted)}
.case-soon[hidden]{display:none}

@media(min-width:900px){
 body[data-page=audit] .case-intro{padding-block:56px 72px}
 .case-layout{grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:56px}
 body[data-page=audit] .case-title{font-size:clamp(34px,3.4vw,48px);margin-bottom:22px}
 .case-scope li{padding:12px 0 12px 22px;border-top:1px solid var(--card-line,#d6c8ae);font-size:16px}
 .case-scope li::before{top:20px;left:2px;width:8px;height:8px}
 .report-panel{padding:30px}
 body[data-page=audit] .report-title{font-size:28px}
 body[data-page=audit] .report-submit{width:auto;justify-self:start;min-width:240px}
}
@media(prefers-reduced-motion:reduce){.report-field input,.report-field textarea{transition:none}}

/* Three-step guide: 1 Tu negocio, 2 Confirma tu correo, 3 Tu informe (funnel fix 2026-11-30). */
.flow-steps{display:flex;align-items:center;flex-wrap:nowrap;list-style:none;margin:10px 0 8px;padding:0;font:600 13px/1.2 var(--sans);color:var(--muted)}
.flow-steps li{display:flex;align-items:center;gap:8px;flex:0 1 auto;white-space:nowrap}
.flow-steps li+li::before{content:"";width:22px;height:1px;background:var(--line,#c9bca5);margin:0 10px;flex:none}
.flow-n{display:grid;place-items:center;width:26px;height:26px;border:1px solid #b9a988;border-radius:50%;font-variant-numeric:tabular-nums;flex:none}
.flow-steps .is-current{color:var(--ink)}
.flow-steps .is-current .flow-n{background:var(--gold);border-color:var(--gold);color:#fffdf7}
@media(max-width:480px){.flow-steps li:not(.is-current) .flow-l{display:none}.flow-steps li+li::before{width:14px;margin:0 6px}}
/* Error next to the action that failed: prominent, focusable, says why and what to do. */
.flow-error{margin:0;padding:14px 16px;border:1px solid #9b2c1f;border-left-width:5px;border-radius:var(--r-inner,12px);background:#fbeeea;color:#171714;scroll-margin:24px}
.flow-error[hidden]{display:none}
.flow-error strong{display:block;font:700 15px/1.4 var(--sans);color:#9b2c1f}
.flow-error p{margin:4px 0 0;font:14px/1.5 var(--sans)}
.flow-error:focus{outline:3px solid #9b2c1f;outline-offset:3px}
