/* =============================================================
   sirrapa.com — corporate overrides (Trust & Authority, tokens v3)
   Loaded AFTER tokens.v3.css + app/styles.css. Tokens only,
   no new colours. Structural corporate layer:
   - corporate umbrella nav + trust band (slot 2)
   - skip link, landing pages, cookie banner
   Legacy brand fixes removed: nav de-glass, radius scale and the
   button contrast remedy are native in tokens v3.
   ============================================================= */

/* accent safety net (in case .accent-teal var is not pre-defined) */
.accent-teal { --c-accent: var(--teal-600); }

/* ---- Keep the scorecard to ONE amber accent (gauge + verdict);
   neutralise the mid score-bar fills. ---- */
.rm-bar.is-mid .fill { background: var(--stone-300); }

/* ---- Skip link (a11y) ---- */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: var(--ink-900); color: var(--paper-0);
  padding: 10px 16px; border-radius: var(--r-md);
  font-size: var(--fs-small); font-weight: 600;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 8px; text-decoration: none; outline: 2px solid var(--teal-500); outline-offset: 2px; }

/* ---- Corporate nav: house mark + descriptor caption + product link ---- */
.corp-brand { display: flex; align-items: center; gap: var(--space-3); }
.corp-brand img { width: 28px; height: 28px; }
.corp-brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.corp-brand .wordmark { font-weight: 600; letter-spacing: 0.02em; color: var(--ink-900); }
.corp-brand .wordmark .dot { color: var(--teal-600); }
.corp-brand .brand-desc { font-size: 11px; color: var(--stone-500); letter-spacing: 0.02em; }
.nav-product {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600 !important; color: var(--ink-900) !important;
}
.nav-product img { width: 16px; height: 16px; }
.nav-product:hover { color: var(--teal-700) !important; text-decoration: none; }

/* ---- Trust band (slot 2) — the evidence sheet ---- */
.trust-band { background: var(--paper-50); padding: var(--space-8) 0; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-7); align-items: center; }
.trust-headline { font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--fg-1); font-weight: 600; margin: 0; text-wrap: balance; }
.trust-plates { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
.trust-plate {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3);
  background: var(--paper-0); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--space-4);
}
.trust-plate svg { width: 22px; height: 22px; color: var(--stone-700); }
.trust-plate span { font-size: var(--fs-small); font-weight: 600; color: var(--ink-900); }
.trust-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3);
  margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border);
}
.trust-insured { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-small); color: var(--stone-700); }
.trust-insured svg { width: 18px; height: 18px; color: var(--teal-600); }
.trust-sample { font-weight: 600; }

/* ---- Final CTA + TidyCal ---- */
.final-cta { padding: var(--space-9) 0; }
.final-grid { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-8); align-items: start; }
.cta-router { color: rgba(255,255,255,0.78); margin-bottom: var(--space-5); }
.tidycal-embed { background: var(--paper-0); border-radius: var(--r-lg); min-height: 420px; padding: var(--space-2); }
.cta-fallback { color: rgba(255,255,255,0.6); margin-top: var(--space-3); }
.cta-fallback a { color: var(--teal-400); }
.cta-side { border-left: 2px solid var(--bronze-500); padding-left: var(--space-5); }
.cta-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: flex; flex-direction: column; gap: var(--space-3); }
.cta-list li { display: flex; gap: var(--space-3); color: rgba(255,255,255,0.85); font-size: var(--fs-small); line-height: var(--lh-small); }
.cta-list .n { font-family: var(--font-mono); font-size: 12px; color: var(--teal-400); }

/* ---- Reduced motion: kill the gauge sweep + bar grow ---- */
@media (prefers-reduced-motion: reduce) {
  .rm-bar .fill, .donut .ring-fg { transition: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .trust-plates { grid-template-columns: repeat(2, 1fr); }
  .final-grid { grid-template-columns: 1fr; }
  .cta-side { border-left: 0; border-top: 2px solid var(--bronze-500); padding-left: 0; padding-top: var(--space-5); }
  .corp-brand .brand-desc { display: none; }
}

/* ---- Homepage proof strip (named clients, textual; sample link) ---- */
.home-proof { background: var(--paper-0); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--space-5) 0; }
.home-proof .container { display: flex; align-items: center; gap: var(--space-4) var(--space-5); flex-wrap: wrap; }
.home-proof-label { font-size: var(--fs-small); color: var(--stone-500); letter-spacing: 0.02em; }
.home-proof-clients { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); list-style: none; margin: 0; padding: 0; }
.home-proof-clients li { font-weight: 600; color: var(--ink-900); font-size: var(--fs-small); white-space: nowrap; }
.home-proof .trust-sample { margin-left: auto; font-weight: 600; white-space: nowrap; }
.hero-tertiary { display: inline-block; margin-top: var(--space-4); font-weight: 600; }
@media (max-width: 760px) { .home-proof .trust-sample { margin-left: 0; } }

/* ---- Homepage hero: fit line + trust badges (replaces the pricing meta tiles).
   Compact vertical padding so the fixed cookie banner does not cover the fit
   line / trust badges, where price + scope do conversion work. ---- */
.home-hero .hero-grid { padding-top: 24px; padding-bottom: 40px; }
.hero-fit { font-size: var(--fs-small); color: var(--stone-700); margin: var(--space-4) 0 0; line-height: var(--lh-small); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding: var(--space-2) 0 0; margin: var(--space-2) 0 0; border-top: 1px solid var(--stone-200); max-width: 560px; }
.hero-trust li { position: relative; padding-left: 18px; font-size: var(--fs-small); font-weight: 600; color: var(--ink-900); }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 999px; background: var(--teal-600); }

/* ---- NL lead-intent landing pages ---- */
/* The landing hero uses .hero > .container (no .hero-grid), so it lacks the
   hero padding; add breathing room under the nav to match the other pages. */
.landing .hero { padding: 64px 0 56px; }
.landing-list { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); max-width: 760px; }
.landing-list li { position: relative; padding-left: var(--space-6); color: var(--ink-900); line-height: var(--lh-p); }
.landing-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 999px; background: var(--teal-600); }
.landing-disclaimer { margin-top: var(--space-5); color: var(--stone-500); max-width: 760px; }

/* ---- Cookie consent banner ---- */
/* Reserve space while the banner is shown, so it never sits over page content
   (the body/footer can scroll clear of the fixed bar). Set on <body> by consent.js. */
body.has-cookiebar { padding-bottom: 96px; }
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink-900); color: var(--paper-0); padding: var(--space-3) 0; box-shadow: var(--shadow-lift); }
.consent-inner { display: flex; gap: var(--space-5); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent-text { margin: 0; color: rgba(255,255,255,0.85); font-size: var(--fs-small); line-height: var(--lh-small); max-width: 760px; }
.consent-text a { color: var(--teal-400); }
.consent-actions { display: flex; gap: var(--space-3); flex-shrink: 0; }
.consent-banner .btn--secondary { color: var(--paper-0); border-color: rgba(255,255,255,0.4); background: transparent; }
.consent-banner .btn--secondary:hover { background: rgba(255,255,255,0.10); color: var(--paper-0); }
@media (max-width: 760px) { .consent-inner { flex-direction: column; align-items: flex-start; } }
