/* ==========================================================================
   QB Helpdesk — main stylesheet
   Independent QuickBooks support. Not affiliated with Intuit Inc.
   ========================================================================== */

/* ---------- Font (self-hosted Archivo, SIL Open Font License) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --harbor: #0F2A3D;
  --harbor-2: #183B54;
  --ink: #1B2B38;
  --slate: #536473;
  --teal: #1D6F78;
  --teal-dark: #155961;
  --teal-tint: #E3F0F1;
  --mist: #E2E9EF;
  --paper: #F6F8FA;
  --white: #FFFFFF;
  --signal: #F2A93B;
  --signal-dark: #E0951F;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  --radius-s: 4px;
  --radius-m: 8px;
  --wrap: 1180px;
  --measure: 66ch;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-variation-settings: "wdth" 100;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--harbor); line-height: 1.15; margin: 0 0 var(--space-2); font-weight: 700; }
h1 { font-size: var(--step-4); font-variation-settings: "wdth" 112; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); font-variation-settings: "wdth" 110; letter-spacing: -0.005em; }
h3 { font-size: var(--step-1); font-variation-settings: "wdth" 104; }
p { margin: 0 0 var(--space-2); }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--harbor); color: var(--white); padding: .6rem 1rem; z-index: 200; border-radius: var(--radius-s); }
.skip-link:focus { top: 1rem; color: var(--white); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-5); }
.prose h3 { margin-top: var(--space-4); }
.lead { font-size: var(--step-1); color: var(--slate); line-height: 1.5; max-width: 58ch; }
.muted { color: var(--slate); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: 600 1rem/1.2 var(--font);
  border-radius: var(--radius-s); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-call { background: var(--signal); color: var(--harbor); }
.btn-call:hover { background: var(--signal-dark); color: var(--harbor); }
.btn-outline { border-color: var(--harbor); color: var(--harbor); background: transparent; }
.btn-outline:hover { background: var(--harbor); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--harbor); }
.btn-lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.0625rem; }

/* ---------- Notice bar ---------- */
.notice-bar { background: var(--harbor); color: #C9D6E0; font-size: var(--step--1); }
.notice-bar .wrap { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding-block: .45rem; }
.notice-bar a { color: var(--white); text-decoration: none; font-weight: 600; white-space: nowrap; }
.notice-bar p { margin: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--mist); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--harbor); }
.brand img { width: 36px; height: 36px; }
.brand-name { font-weight: 800; font-size: 1.3rem; font-variation-settings: "wdth" 118; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand-name span { font-weight: 500; }
.brand:hover { color: var(--harbor); }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav > ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav li { margin: 0; position: relative; }
.nav a, .nav .nav-toggle-sub {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
  background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: var(--radius-s);
}
.nav a:hover, .nav .nav-toggle-sub:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav .icon { width: 1em; height: 1em; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px;
  background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius-m);
  box-shadow: 0 18px 40px -18px rgba(15,42,61,.35);
  list-style: none; margin: 0; padding: .5rem; display: none;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { display: block; }
.submenu a { display: block; padding: .6rem .75rem; }
.submenu a:hover { background: var(--paper); }
.header-call { display: inline-flex; }
.menu-btn { display: none; background: none; border: 1px solid var(--mist); border-radius: var(--radius-s); width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--harbor); cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }

@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  .header-call { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 1px) 0 0 0; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 7rem; overflow-y: auto;
    display: none;
  }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav .nav-toggle-sub { width: 100%; padding: .9rem .25rem; font-size: 1.1rem; border-bottom: 1px solid var(--mist); justify-content: space-between; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .submenu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 .75rem; min-width: 0; }
  .submenu a { font-size: 1rem; padding: .7rem .25rem; }
  .nav .nav-toggle-sub .icon { display: none; }
  .nav .mobile-call { margin-top: 1.25rem; width: 100%; }
}
@media (min-width: 1024px) { .nav .mobile-call { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-6); }
.section-tint { background: var(--paper); }
.section-dark { background: var(--harbor); color: #D4DEE6; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark a:not(.btn) { color: #9FD6DC; }
.section-head { max-width: 680px; margin-bottom: var(--space-5); }
.section-head p { color: var(--slate); font-size: var(--step-1); line-height: 1.5; margin: 0; }
.section-dark .section-head p { color: #B9C8D3; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(3rem, 2rem + 3vw, 4.5rem); background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { max-width: 19ch; }
.hero .lead { margin-bottom: var(--space-4); }
.call-block { border-left: 4px solid var(--signal); padding: .25rem 0 .25rem 1.25rem; margin-bottom: var(--space-4); }
.call-block .label { margin: 0 0 .25rem; color: var(--slate); font-weight: 500; }
.phone-display {
  display: inline-block; font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.4rem);
  font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -0.01em;
  color: var(--harbor); text-decoration: none; line-height: 1.05; white-space: nowrap;
}
.phone-display:hover { color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: var(--space-4); }
.disclaimer-inline { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--step--1); color: var(--slate); max-width: 56ch; margin: 0; }
.disclaimer-inline .icon { color: var(--teal); margin-top: .15rem; }
.hero-art { position: relative; }
.hero-art img { width: 100%; border-radius: var(--radius-m); }

/* Page hero (inner pages) */
.page-hero { background: var(--paper); padding-block: var(--space-4) var(--space-6); border-bottom: 1px solid var(--mist); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.page-hero h1 { max-width: 20ch; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-3); }
.page-hero-art img { width: 100%; border-radius: var(--radius-m); }

.breadcrumbs { font-size: var(--step--1); margin-bottom: var(--space-4); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li { margin: 0; color: var(--slate); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: #9AA8B4; }
.breadcrumbs a { color: var(--slate); }

/* ---------- Services (home) ---------- */
.svc-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-bottom: var(--space-4); }
.svc-major { border: 1px solid var(--mist); border-radius: var(--radius-m); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.svc-major img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--teal-tint); }
.svc-major .body { padding: var(--space-3) var(--space-3) var(--space-4); display: flex; flex-direction: column; flex: 1; }
.svc-major p { color: var(--slate); }
.svc-major .more { margin-top: auto; font-weight: 600; }
.svc-rows { border-top: 1px solid var(--mist); }
.svc-row { display: grid; grid-template-columns: 140px 1fr auto; gap: var(--space-4); align-items: center; padding-block: var(--space-3); border-bottom: 1px solid var(--mist); }
.svc-row img { width: 140px; aspect-ratio: 4 / 3; border-radius: var(--radius-s); background: var(--teal-tint); }
.svc-row h3 { margin-bottom: .3rem; }
.svc-row p { margin: 0; color: var(--slate); max-width: 60ch; }
.text-link { font-weight: 600; white-space: nowrap; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.audience figure { margin: 0; }
.audience img { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-m); background: var(--white); margin-bottom: var(--space-2); }
.audience h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.audience p { font-size: .98rem; color: var(--slate); margin: 0; }

/* ---------- Steps (true sequence) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); counter-reset: step; }
.steps li { margin: 0; counter-increment: step; }
.steps img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-m); margin-bottom: var(--space-3); background: var(--teal-tint); }
.steps h3 { display: flex; gap: .65rem; align-items: baseline; }
.steps h3::before { content: counter(step); font-variation-settings: "wdth" 125; font-weight: 800; color: var(--teal); font-size: 1.5rem; line-height: 1; }
.steps p { color: var(--slate); margin: 0; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.why-grid img { width: 100%; border-radius: var(--radius-m); }
.reasons { list-style: none; padding: 0; margin: 0; }
.reasons li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--mist); margin: 0; }
.reasons li:last-child { border-bottom: 0; }
.reasons .ico { width: 44px; height: 44px; border-radius: var(--radius-s); background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; }
.reasons .ico .icon { width: 22px; height: 22px; }
.reasons h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.reasons p { margin: 0; color: var(--slate); }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.trust-col { border-top: 3px solid var(--teal); padding-top: var(--space-3); }
.section-dark .trust-col { border-top-color: #4FA3AC; }
.trust-col.not { border-top-color: var(--signal); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; }
.checklist .icon { margin-top: .2rem; color: #4FA3AC; }
.trust-col.not .icon { color: var(--signal); }
.trust-note { margin-top: var(--space-5); padding: var(--space-3); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-m); font-size: .98rem; }
.trust-note p:last-child { margin: 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--mist); }
.faq details:first-child { border-top: 1px solid var(--mist); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 600; color: var(--harbor); font-size: 1.075rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s ease; margin-top: .15rem; color: var(--teal); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 0 1.2rem; color: var(--slate); max-width: 64ch; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--harbor); color: #D4DEE6; padding-block: var(--space-6); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-4); align-items: center; position: relative; }
.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { color: #B9C8D3; max-width: 52ch; margin: 0; }
.cta-band .phone-display { color: var(--white); font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.75rem); }
.cta-band .phone-display:hover { color: var(--signal); }
.cta-side { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.cta-side small { color: #9FB1BF; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.035); }

/* ---------- Inner page content ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--space-3); }
.aside-box { border: 1px solid var(--mist); border-radius: var(--radius-m); padding: var(--space-3); background: var(--white); }
.aside-box.call { background: var(--harbor); color: #C9D6E0; border-color: var(--harbor); }
.aside-box.call h2 { color: var(--white); font-size: 1.25rem; }
.aside-box.call .phone-small { display: block; color: var(--white); font-weight: 800; font-variation-settings: "wdth" 120; font-size: 1.45rem; text-decoration: none; margin: .25rem 0 1rem; }
.aside-box.call .btn { width: 100%; }
.aside-box h2 { font-size: 1.1rem; margin-bottom: .75rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { margin: 0; border-top: 1px solid var(--mist); }
.aside-box li a { display: block; padding: .6rem 0; text-decoration: none; color: var(--ink); }
.aside-box li a:hover { color: var(--teal); }
.aside-box li a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.aside-box.small p { font-size: .92rem; color: var(--slate); margin: 0; }

.issue-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem 2rem; list-style: none; padding: 0; margin: var(--space-3) 0 var(--space-4); }
.issue-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid var(--mist); margin: 0; }
.issue-list .icon { color: var(--teal); margin-top: .2rem; }
.figure-inline { margin: var(--space-4) 0; }
.figure-inline img { width: 100%; border-radius: var(--radius-m); }
.figure-inline figcaption { font-size: var(--step--1); color: var(--slate); margin-top: .5rem; }
.callout { border-left: 4px solid var(--teal); background: var(--teal-tint); padding: var(--space-3); border-radius: 0 var(--radius-m) var(--radius-m) 0; margin: var(--space-4) 0; }
.callout p:last-child { margin: 0; }
.callout.warn { border-left-color: var(--signal); background: #FDF4E6; }
.inline-cta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; padding: var(--space-3); border: 1px solid var(--mist); border-radius: var(--radius-m); margin: var(--space-5) 0; background: var(--paper); }
.inline-cta p { margin: 0; font-weight: 600; color: var(--harbor); font-size: 1.1rem; }

/* Services hub */
.svc-list { display: grid; gap: var(--space-5); }
.svc-item { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.svc-item:nth-child(even) .svc-media { order: 2; }
.svc-item img { width: 100%; border-radius: var(--radius-m); aspect-ratio: 4 / 3; background: var(--teal-tint); }
.svc-item ul { columns: 2; column-gap: 2rem; color: var(--slate); }
.svc-item .actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* About */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.values div { border-top: 3px solid var(--teal); padding-top: var(--space-2); }
.values p { color: var(--slate); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-methods { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.contact-methods li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--mist); margin: 0; }
.contact-methods .ico { width: 48px; height: 48px; border-radius: var(--radius-s); background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; }
.contact-methods .ico.call { background: var(--signal); color: var(--harbor); }
.contact-methods strong { display: block; color: var(--harbor); }
.contact-methods a { font-weight: 600; }
.contact-methods address { font-style: normal; }
.form { border: 1px solid var(--mist); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); }
.form h2 { font-size: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--harbor); font-size: .98rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1px solid #C3CFD9; border-radius: var(--radius-s); background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(29,111,120,.25); border-color: var(--teal); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--slate); margin-top: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form-status.error { color: #A3321F; }
.form-status.ok { color: var(--teal-dark); }

/* Legal */
.legal .prose h2 { font-size: 1.4rem; }
.legal-updated { color: var(--slate); font-size: var(--step--1); }

/* ---------- Footer ---------- */
.site-footer { background: #0B2232; color: #A9BBC8; font-size: .95rem; padding-top: var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-4); padding-bottom: var(--space-5); }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; font-variation-settings: "wdth" 100; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #D4DEE6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-phone { font-weight: 800; font-variation-settings: "wdth" 120; font-size: 1.3rem; color: var(--white) !important; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--space-3) calc(var(--space-3) + 4rem); font-size: .85rem; line-height: 1.6; }
.footer-legal p { margin: 0 0 .6rem; max-width: 110ch; }
@media (min-width: 1024px) { .footer-legal { padding-bottom: var(--space-3); } }

/* ---------- Mobile sticky call ---------- */
.sticky-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--white); border-top: 1px solid var(--mist); padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom)); display: none; box-shadow: 0 -8px 24px -12px rgba(15,42,61,.25); }
.sticky-call .btn { width: 100%; min-height: 52px; font-size: 1.05rem; }
@media (max-width: 1023px) { .sticky-call { display: block; } }

/* ---------- 404 ---------- */
.notfound { text-align: left; padding-block: var(--space-6); }
.notfound .grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero-grid, .page-hero-grid, .why-grid, .faq-grid, .content-grid, .contact-grid, .cta-band .wrap, .svc-item { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; }
  .page-hero-art { max-width: 520px; }
  .svc-item:nth-child(even) .svc-media { order: 0; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid img { max-width: 560px; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .notice-bar .wrap { justify-content: center; text-align: center; }
  .notice-bar a { display: none; }
  .brand-name { font-size: 1.15rem; }
  .brand img { width: 32px; height: 32px; }
  .svc-feature, .steps, .trust-grid, .values, .issue-list, .field-row, .notfound .grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 96px 1fr; gap: 1rem; }
  .svc-row img { width: 96px; }
  .svc-row .text-link { grid-column: 2; }
  .svc-item ul { columns: 1; }
  .hero-actions .btn { flex: 1 1 100%; }
  .page-hero .actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .inline-cta .btn { width: 100%; }
}
@media (max-width: 400px) {
  .audience { grid-template-columns: 1fr; }
  .phone-display { font-variation-settings: "wdth" 112; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .sticky-call, .notice-bar, .cta-band, .site-footer { display: none; }
}

/* Mobile menu call button: restore button styling over .nav a */
.nav a.mobile-call { justify-content: center; background: var(--signal); color: var(--harbor); font-weight: 600; border-bottom: 0; border-radius: var(--radius-s); padding: .9rem 1rem; min-height: 52px; }
.nav a.mobile-call:hover { background: var(--signal-dark); color: var(--harbor); }
.aside-box.small p { display: flex; gap: .6rem; align-items: flex-start; }
.aside-box.small .icon { margin-top: .2rem; color: var(--teal); }
