/* Magnet Consulting Associates — site styles.
   Colours come from the three-circle logo: navy, sky blue and maroon.
   Mobile first: base rules are for phones, @media (min-width) adds desktop layout. */

:root {
  --paper: #F4F6FB; --surface: #FFFFFF; --ink: #0B1033; --muted: #545B78; --line: #DDE1EE;
  --brand: #0068B8; --navy: #04075E; --brand-soft: #E3F6FD; --sky: #00CCFF;
  --cta: #990019; --cta-hover: #7D0014; --cta-ink: #FFFFFF; --wa: #1A9E50; --wa-hover: #158443; --ok: #1E8A55;
  --on-deep: #EEF1FF; --on-deep-muted: #B4BAE0;
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r: 14px;
  --shadow: 0 30px 60px -30px rgba(4, 7, 94, .3);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
[id] { scroll-margin-top: 90px }
@media (min-width: 1100px) { [id] { scroll-margin-top: 130px } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased }
img, video, svg { max-width: 100% }
img { height: auto }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -.01em }
p { margin: 0 }
a { color: var(--brand) }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100 }
.skip:focus { left: 1rem; top: 1rem }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.eyebrow { display: inline-block; font: 500 .75rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--brand) }
.muted { color: var(--muted) }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1rem/1 var(--f-body); padding: .95rem 1.3rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease }
.btn:hover { transform: translateY(-1px) }
.btn .ic { width: 20px; height: 20px }
.btn-wa { background: var(--wa); color: #fff }
.btn-wa:hover { background: var(--wa-hover) }
.btn-primary { background: var(--cta); color: var(--cta-ink) }
.btn-primary:hover { background: var(--cta-hover) }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface) }
.btn-ghost:hover { border-color: var(--brand) }
.btn-outline { background: transparent; border-color: currentColor; color: inherit }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.topbar { display: none; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line) }
.topbar .wrap { display: flex; gap: 1.75rem; justify-content: flex-end; padding-block: .4rem }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none }
.topbar a:hover { color: var(--brand) }
.nav { display: flex; align-items: center; gap: 1rem; padding-block: .7rem }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; color: var(--ink) }
.brand img { width: 46px; height: 37px }
.brand b { display: block; font: 800 1.3rem/1 var(--f-display); letter-spacing: .04em }
.brand small { display: block; font: 500 .62rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.nav-demo { display: none; padding: .7rem 1.05rem; font-size: .92rem }
.menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer }
.menu-btn svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none }

/* Mobile menu panel */
.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(4, 7, 94, .35); max-height: calc(100vh - 70px); overflow-y: auto; padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1.25rem max(16px, env(safe-area-inset-left, 0px)) }
.menu.open { display: block }
.menu ul { list-style: none; margin: 0; padding: 0 }
.menu > ul > li > a, .sub-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .4rem; padding: .85rem .25rem; font: 600 1.05rem var(--f-body); color: var(--ink); text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left }
.menu a[aria-current="page"], .has-sub.is-current > .sub-toggle { color: var(--brand) }
.sub-toggle .ic { transition: transform .2s }
.sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg) }
.sub { display: none; padding: .25rem 0 .5rem }
.sub.open { display: block }
.sub a { display: flex; flex-direction: column; padding: .55rem .75rem; border-radius: 10px; text-decoration: none; color: var(--ink) }
.sub a:hover, .sub a[aria-current="page"] { background: var(--brand-soft) }
.sub b { font-weight: 600 }
.sub span { font-size: .8rem; color: var(--muted) }
.menu-cta { display: grid; gap: .6rem; margin-top: 1rem }

@media (min-width: 600px) {
  .nav-demo { display: inline-flex }
}
@media (min-width: 1100px) {
  .topbar { display: block }
  .menu-btn { display: none }
  .menu { display: block; position: static; box-shadow: none; border: 0; padding: 0; max-height: none; overflow: visible; background: none }
  .menu > ul { display: flex; gap: 1.5rem; align-items: center }
  .menu > ul > li { position: relative }
  .menu > ul > li > a, .sub-toggle { padding: .5rem 0; border: 0; font-size: .97rem; font-weight: 500; width: auto }
  .menu > ul > li > a:hover, .sub-toggle:hover { color: var(--brand) }
  .menu-cta { display: none }
  .sub { position: absolute; top: 100%; left: -1rem; min-width: 290px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .5rem }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block }
}

/* Home hero */
.hero { position: relative; overflow: hidden; padding-block: 3rem 3.5rem }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none }
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: var(--brand-soft) }
.hero::after { width: 120px; height: 120px; right: 38%; bottom: -50px; background: var(--cta); opacity: .08 }
.hero .wrap { position: relative; display: grid; gap: 2.5rem; align-items: center }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; margin-top: 1rem }
.hero h1 em, .phero h1 em { font-style: normal; color: var(--brand) }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-top: 1.25rem }
.proof { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.25rem; color: var(--muted); font-size: .92rem }
.proof span { display: flex; align-items: center; gap: .45rem }
.proof .ic { color: var(--ok) }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 3rem } .hero { padding-block: 4.5rem 5rem } }

/* Inner page hero */
.phero { position: relative; overflow: hidden; padding-block: 2.5rem 3rem; background: var(--surface); border-bottom: 1px solid var(--line) }
.phero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -160px; top: -200px; background: var(--brand-soft); pointer-events: none }
.phero .wrap { position: relative; display: grid; gap: 2rem; align-items: center }
.phero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-top: .9rem }
.phero .cta-row { margin-top: 1.75rem }
.phero-aside { min-width: 0 }
@media (min-width: 960px) { .phero .wrap.has-aside { grid-template-columns: 1.15fr .85fr; gap: 3rem } .phero { padding-block: 3.5rem 4rem } }
.crumbs { display: flex; gap: .5rem; font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted) }
.crumbs a { color: var(--brand); text-decoration: none }

/* Cards used as hero asides */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; min-width: 0 }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line) }
.card-head b { font: 700 1rem var(--f-display) }
.pill { font: 500 .72rem/1 var(--f-mono); padding: .4rem .6rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap }
.pill.ok { color: var(--ok); background: rgba(30, 138, 85, .12) }
.pill.next { background: var(--paper); color: var(--muted) }
.card table { width: 100%; border-collapse: collapse; font: 400 .9rem/1.3 var(--f-mono); font-variant-numeric: tabular-nums }
.card td { padding: .6rem 1.25rem; border-bottom: 1px dashed var(--line) }
.card td:last-child { text-align: right }
.card tr.total td { font-weight: 500; border-bottom: none; border-top: 2px solid var(--ink) }
.card .label { font-family: var(--f-body); color: var(--muted) }
.card-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line) }
.card-foot div { background: var(--surface); padding: .9rem 1.25rem }
.card-foot small { display: block; color: var(--muted); font-size: .78rem }
.card-foot strong { font: 700 1.1rem var(--f-display) }
.card-list { list-style: none; margin: 0; padding: .25rem 1.25rem .5rem }
.card-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px dashed var(--line); font-size: .95rem }
.card-list li:first-child { border-top: 0 }
.flow { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font: 500 .78rem var(--f-mono); padding: 1rem 1.25rem 0 }
.flow span { padding: .45rem .7rem; border-radius: 8px; background: var(--brand-soft) }
.flow i { font-style: normal; color: var(--muted) }

/* Client logos */
.clients { border-block: 1px solid var(--line); background: var(--surface); padding-block: 1.75rem }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; justify-content: center }
.clients p { width: 100%; text-align: center; font-size: .85rem; color: var(--muted) }
.clients img { height: 34px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .75; mix-blend-mode: multiply }

/* Sections */
.band { padding-block: 4rem }
.band.alt { background: var(--surface); border-block: 1px solid var(--line) }
.band.tight-top { padding-top: 0 }
.sec-head { display: grid; gap: .9rem; max-width: 46rem; margin-bottom: 2.25rem }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700 }
.sec-head p { color: var(--muted); font-size: 1.08rem }
@media (min-width: 900px) { .band { padding-block: 5rem } }

/* Product cards */
.products { display: grid; gap: 1rem; grid-template-columns: 1fr }
@media (min-width: 640px) { .products { grid-template-columns: 1fr 1fr } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr) } }
.prod { display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s }
.prod:hover { border-color: var(--brand); transform: translateY(-2px) }
.prod .tag { align-self: flex-start; font: 500 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .6rem }
.prod h3 { font-size: 1.4rem; font-weight: 700 }
.prod p { color: var(--muted) }
.prod ul, .dots { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .95rem }
.prod li, .dots li { display: flex; gap: .6rem }
.prod li::before, .dots li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; border-radius: 50%; background: var(--sky) }
.prod .more { margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--brand) }

/* Feature grids on inner pages */
.feat-grid { display: grid; gap: 1rem; grid-template-columns: 1fr }
@media (min-width: 700px) { .feat-grid { grid-template-columns: 1fr 1fr } }
@media (min-width: 1000px) { .feat-grid.three { grid-template-columns: repeat(3, 1fr) } }
.feat { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: .6rem; align-content: start; min-width: 0 }
.feat h3 { font-size: 1.2rem }
.feat.wide { grid-column: 1 / -1 }
.feat p { color: var(--muted); font-size: .97rem }
.feat .dots { margin-top: .3rem }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 }
.chips li { padding: .45rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem }
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 3.5rem } .split.wide-left { grid-template-columns: 1.3fr .7fr } }
.prose { display: grid; gap: 1rem; max-width: 42rem; color: var(--ink) }
.prose p { color: var(--muted); font-size: 1.05rem }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem) }
.prose h3 { font-size: 1.25rem; margin-top: .5rem }
.side-note { padding: 1.4rem; border-radius: var(--r); background: var(--brand-soft); display: grid; gap: .6rem }
.side-note h3 { font-size: 1.15rem }
.side-note p { color: var(--muted) }

/* Tables (QuickBooks editions, support plans) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface) }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem }
.table-wrap th, .table-wrap td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top }
.table-wrap thead th { font: 700 1rem var(--f-display); background: var(--paper) }
.table-wrap tbody th { font-weight: 500 }
.table-wrap td { color: var(--muted) }
.table-wrap td.yes { color: var(--ok); font-weight: 600 }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0 }
.note { font-size: .88rem; color: var(--muted); margin-top: .9rem }

/* Training classes */
.classes { display: grid; gap: 1rem; grid-template-columns: 1fr; counter-reset: c }
@media (min-width: 900px) { .classes { grid-template-columns: repeat(3, 1fr) } }
.class { padding: 1.4rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--sky); display: grid; gap: .8rem; align-content: start }
.class:nth-child(2) { border-top-color: var(--brand) }
.class:nth-child(3) { border-top-color: var(--cta) }
.class h3 { font-size: 1.25rem }

/* Services on navy */
.deep { background: var(--navy); color: var(--on-deep) }
.deep .eyebrow { color: var(--sky) }
.deep .sec-head p { color: var(--on-deep-muted) }
.svc { display: grid; gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--r); overflow: hidden; grid-template-columns: 1fr }
@media (min-width: 700px) { .svc { grid-template-columns: 1fr 1fr } }
@media (min-width: 1000px) { .svc { grid-template-columns: repeat(3, 1fr) } }
.svc a { display: grid; gap: .5rem; align-content: start; background: var(--navy); padding: 1.6rem; color: var(--on-deep); text-decoration: none; transition: background-color .15s }
.svc a:hover { background: #0A0F78 }
.svc h3 { font-size: 1.2rem }
.svc p { color: var(--on-deep-muted); font-size: .97rem }
.svc .go { color: var(--sky); font-weight: 600; font-size: .92rem; margin-top: .3rem }

/* Steps */
.steps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: s; list-style: none; padding: 0; margin: 0 }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr) } }
.steps li { counter-increment: s; border-top: 3px solid var(--navy); padding-top: 1rem }
.steps li:nth-child(2) { border-color: var(--sky) }
.steps li:nth-child(3) { border-color: var(--cta) }
.steps li:nth-child(4) { border-color: var(--brand) }
.steps li::before { content: "Step " counter(s); font: 500 .75rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand) }
.steps h3 { font-size: 1.2rem; margin: .4rem 0 }
.steps p { color: var(--muted); font-size: .97rem }

/* QuickBooks migration list */
.qb-list { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0 }
@media (min-width: 600px) { .qb-list { grid-template-columns: 1fr 1fr } }
.qb-list li { padding-left: 1rem; border-left: 3px solid var(--sky) }
.qb-list b { display: block; font: 700 1.02rem var(--f-display) }
.qb-list span { color: var(--muted); font-size: .93rem }

/* Values */
.values blockquote { margin: 1rem 0 0; font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.25 var(--f-display); text-wrap: balance }
.values blockquote span { color: var(--brand) }
.vgrid { display: grid; gap: 1rem; grid-template-columns: 1fr }
@media (min-width: 520px) { .vgrid { grid-template-columns: 1fr 1fr } }
.vgrid div { padding: 1.1rem; border-radius: 12px; background: var(--brand-soft) }
.vgrid b { display: block; font: 700 1.05rem var(--f-display); margin-bottom: .25rem }
.vgrid p { font-size: .92rem; color: var(--muted) }

/* Videos */
.vids { display: grid; gap: 1.75rem; grid-template-columns: 1fr }
@media (min-width: 860px) { .vids { grid-template-columns: 1fr 1fr } }
.vid, .reel { margin: 0; display: grid; gap: .6rem; align-content: start; min-width: 0 }
.vid video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--navy); object-fit: cover }
.reel video { display: block; width: 100%; max-width: 300px; aspect-ratio: 9 / 16; border-radius: 16px; background: var(--navy); object-fit: cover; justify-self: center }
.vid figcaption, .reel figcaption { display: grid; gap: .3rem }
.reel figcaption { text-align: center }
.vid b { font: 700 1.2rem/1.25 var(--f-display) }
.reel b { font: 700 1rem var(--f-display) }
.vtext { color: var(--muted); font-size: .93rem }
.meta { font: 500 .72rem var(--f-mono); color: var(--brand); letter-spacing: .06em; text-transform: uppercase }
.reels { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 3rem; align-items: center }
@media (min-width: 860px) { .reels { grid-template-columns: 1.2fr 1fr 1fr } }
.reels .intro { display: grid; gap: .8rem; justify-items: start }
.reels .intro h3 { font-size: 1.6rem }
.reels .intro p { color: var(--muted) }
.reel-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
@media (min-width: 860px) { .reel-row { display: contents } }

/* Jobs */
.job { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; display: grid; gap: 1rem }
.job h2 { font-size: 1.6rem }
.job h3 { font-size: 1.1rem; margin-top: .4rem }
.job p { color: var(--muted) }

/* Contact */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem } }
.reach { display: grid; gap: 1rem }
.reach a, .reach div { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: center; padding: 1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink) }
.reach a:hover { border-color: var(--brand) }
.reach .ic-wrap { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand) }
.reach .ic-wrap.wa { background: rgba(26, 158, 80, .14); color: var(--wa) }
.reach small { display: block; color: var(--muted); font-size: .82rem }
.reach strong { font-weight: 600; word-break: break-word }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; display: grid; gap: 1rem; box-shadow: var(--shadow) }
.form h2 { font-size: 1.6rem }
.field { display: grid; gap: .35rem }
.field label { font-weight: 600; font-size: .95rem }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .8rem .9rem }
.field textarea { min-height: 140px; resize: vertical }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sky); border-color: var(--brand); background: var(--surface) }
.row2 { display: grid; gap: 1rem; grid-template-columns: 1fr }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.alert { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 500 }
.alert.ok { background: rgba(30, 138, 85, .12); color: #155f3b }
.alert.err { background: rgba(153, 0, 25, .08); color: var(--cta) }
.map-link { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600 }

/* Call-to-action band */
.cta { background: var(--cta); color: var(--cta-ink) }
.cta .wrap { display: grid; gap: 1.5rem; padding-block: 3.5rem; align-items: center }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1.3fr 1fr } }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800 }
.cta p { margin-top: .6rem; font-size: 1.05rem }
.cta .cta-row { margin-top: 0 }
.cta .btn-wa { box-shadow: 0 0 0 2px rgba(255, 255, 255, .35) }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-deep-muted); font-size: .95rem; padding-bottom: env(safe-area-inset-bottom, 0px) }
.site-footer .wrap { display: grid; gap: 2rem; padding-block: 3.5rem 2rem; grid-template-columns: 1fr }
@media (min-width: 640px) { .site-footer .wrap { grid-template-columns: 1fr 1fr } }
@media (min-width: 1000px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr 1.2fr } }
.site-footer h2 { font: 600 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--on-deep); margin: 0 0 .9rem }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem }
.site-footer a { color: inherit; text-decoration: none }
.site-footer a:hover { color: var(--on-deep); text-decoration: underline }
.site-footer .brand { color: var(--on-deep) }
.site-footer .brand small { color: var(--on-deep-muted) }
.site-footer .about { margin-top: 1rem; max-width: 26em }
.social { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem }

/* Floating WhatsApp button */
.fab { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45) }
.fab .ic { width: 30px; height: 30px }

/* 404 */
.notfound { text-align: center; padding-block: 6rem }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem) }
.notfound .cta-row { justify-content: center }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important } }
@media print { .site-header, .fab, .cta, .site-footer { display: none } }

/* FAQ */
.faq { display: grid; gap: .75rem; min-width: 0 }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem }
.faq details[open] { border-color: var(--brand) }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 600; position: relative }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .85rem; font: 500 1.3rem/1 var(--f-mono); color: var(--brand) }
.faq details[open] summary::after { content: "–" }
.faq details p { color: var(--muted); padding-bottom: 1rem }
.band.alt + .faq-band, .faq-band.alt { background: var(--paper) }
