/* ========================================================
   Accure Tax Consultant – Shared Stylesheet
   ======================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:     #0B1F3A;
  --blue:     #1769AA;
  --gold:     #E5A83B;
  --bg:       #F7F9FC;
  --white:    #FFFFFF;
  --text:     #1F2937;
  --muted:    #5B6678;
  --line:     #E3E8F0;
  --radius:   12px;
  --shadow:   0 1px 2px rgba(11,31,58,.05), 0 8px 24px rgba(11,31,58,.06);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary  { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #115a93; }
.btn-outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold     { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d4982d; }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 46px; width: auto; max-width: 150px; object-fit: contain; }
.main-nav { display: none; }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav a { display: block; padding: 14px 20px; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--line); }
.main-nav a:hover { background: var(--bg); text-decoration: none; }
.main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(11,31,58,.08); }
.header-right { display: flex; align-items: center; gap: 8px; }
.nav-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; color: var(--navy); padding: 0; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open  { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C9D3E3; padding: 56px 0 0; font-size: 15px; }
.site-footer a { color: #C9D3E3; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 16px; }
.footer-logo img { height: 44px; width: auto; max-width: 150px; object-fit: contain; }
.footer-brand h2 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.footer-brand p  { max-width: 360px; color: #C9D3E3; }
.site-footer h3  { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-contact li { margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--gold); }
.footer-contact a { word-break: break-word; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 14px; color: #9FB0C8; }
.footer-bottom p { margin: 0; }

/* ---------- Home page ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 12px; }
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); }
.section-head p  { color: var(--muted); font-size: 17px; margin: 0; }

/* Hero */
.hero { background: linear-gradient(180deg, #F7F9FC 0%, #fff 100%); padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(28px, 6.4vw, 46px); margin-bottom: 16px; }
.hero-text p { font-size: clamp(16px, 2.4vw, 18px); color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-actions .btn { width: 100%; }
.hero-text p.hero-note { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.hero-note .icon { width: 18px; height: 18px; color: var(--blue); }

/* Hero visual */
.hero-visual { position: relative; padding: 8px 0 24px; }
.dash { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(11,31,58,.10); overflow: hidden; }
.dash-top { display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; padding: 14px 18px; }
.dash-top strong { font-size: 15px; font-weight: 600; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); display: block; }
.dash-body { padding: 8px 18px 18px; }
.dash-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dash-row:last-of-type { border-bottom: 0; }
.dash-ico { width: 40px; height: 40px; border-radius: 10px; background: #EAF3FB; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-ico .icon { width: 20px; height: 20px; }
.dash-row div.t { flex: 1; min-width: 0; }
.dash-row b { display: block; font-size: 15px; color: var(--navy); font-weight: 600; }
.dash-row small { display: block; font-size: 13px; color: var(--muted); }
.tick { width: 24px; height: 24px; border-radius: 50%; background: #E8F5EC; color: #1E8E4E; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tick .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.dash-bar { height: 8px; border-radius: 99px; background: #EDF1F7; margin-top: 6px; overflow: hidden; }
.dash-bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--navy); }
.chip .icon { width: 18px; height: 18px; color: var(--gold); }
.chip-a { left: -4px; bottom: 0; }
.chip-b { display: none; }

/* Trust */
.trust { padding: 0; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.trust-item { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.trust-item:last-child { border-bottom: 0; }
.trust-item .icon { color: var(--blue); width: 28px; height: 28px; margin-top: 2px; }
.trust-item h3 { font-size: 16px; margin-bottom: 4px; }
.trust-item p  { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* Services */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: #C5D4E6; box-shadow: var(--shadow); }
.card-icon { width: 48px; height: 48px; border-radius: 10px; background: #EAF3FB; color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p  { color: var(--muted); font-size: 15px; margin-bottom: 16px; flex: 1; }
.card-link { font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }
.card-link .icon { width: 16px; height: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about-content h2 { font-size: clamp(26px, 4vw, 36px); }
.about-content p  { color: var(--muted); font-size: 17px; }
.about-points { margin-top: 20px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 16px; }
.about-points .tick { margin-top: 2px; }
.checklist-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 28px; position: relative; }
.checklist-card::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 4px; background: var(--gold); border-radius: 0 4px 4px 0; }
.checklist-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.cl-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.cl-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cl-item .tick { width: 28px; height: 28px; }
.cl-item b { display: block; color: var(--navy); font-size: 17px; font-weight: 600; }
.cl-item small { color: var(--muted); font-size: 14px; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 3px solid var(--blue); }
.why-item h3 { font-size: 18px; margin-bottom: 8px; }
.why-item p  { margin: 0; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; flex-direction: column; gap: 24px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 4vw, 34px); margin-bottom: 10px; }
.cta-band p  { color: #C9D3E3; font-size: 17px; margin: 0; max-width: 560px; }
.cta-band .btn { width: 100%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow); }
.contact-card .card-icon { margin-bottom: 16px; }
.contact-card small { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 4px; }
.contact-card .value { display: block; font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 20px; word-break: break-word; flex: 1; }
.contact-card a.value:hover { color: var(--blue); text-decoration: none; }
.contact-card .btn { width: 100%; }
.contact-card .btn-spacer { min-height: 48px; }

/* ---------- Legal pages (Privacy, T&C, Disclaimer) ---------- */
.page-hero { background: var(--bg); border-bottom: 1px solid var(--line); padding: 44px 0 40px; }
.narrow { max-width: 900px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(30px, 6vw, 42px); margin-bottom: 12px; }
.page-hero p.sub { font-size: clamp(16px, 2.4vw, 18px); color: var(--muted); max-width: 680px; margin-bottom: 16px; }
.updated { display: inline-block; font-size: 14px; font-weight: 500; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; margin: 0; }
.policy { padding: 48px 0 32px; }
.policy-section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.policy-section:last-of-type { border-bottom: 0; }
.policy-section h2 { font-size: clamp(20px, 3vw, 24px); margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.policy-section h2 span { color: var(--gold); font-size: .85em; font-weight: 700; min-width: 1.8em; }
.policy-section p,
.policy-section li { color: #374151; font-size: 16.5px; }
.policy-section ul { margin: 0 0 1em; padding: 0; }
.policy-section ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.policy-section ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.policy-section a { font-weight: 500; word-break: break-word; }
.contact-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-top: 8px; }
.contact-box strong { display: block; color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.contact-box p { margin: 0 0 6px; font-size: 16px; }
.contact-box p:last-child { margin: 0; }
.policy-cta { padding: 8px 0 64px; }
.cta-small { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; }
.cta-small h2 { font-size: 20px; margin: 0; }
.cta-small .btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (min-width: 480px) {
  .logo-link img { height: 50px; }
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .trust-item:nth-last-child(2) { border-bottom: 0; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .btn { width: auto; }
  .chip-b { display: flex; right: -4px; top: 0; }
  .cta-small { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-small .btn { width: auto; }
}
@media (min-width: 960px) {
  :root { --header-h: 80px; }
  .container { padding: 0 32px; }
  .nav-toggle { display: none; }
  .main-nav, .main-nav.open { display: block; position: static; box-shadow: none; border: 0; background: transparent; }
  .main-nav ul { flex-direction: row; gap: 4px; }
  .main-nav a { padding: 10px 14px; border: 0; border-radius: 6px; }
  .header-inner { gap: 24px; }
  .header-right { gap: 16px; }
  .btn-sm { min-height: 46px; padding: 10px 20px; font-size: 15px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-brand { grid-column: auto; }
  .section { padding: 96px 0; }
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .trust-item { border-bottom: 0; padding: 32px 0; flex-direction: column; gap: 10px; }
  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .chip-a { left: -28px; }
  .chip-b { right: -20px; }
  .page-hero { padding: 64px 0 56px; }
  .policy { padding: 64px 0 40px; }
}
@media (max-width: 359px) {
  .container { padding: 0 16px; }
  .header-right .btn-sm { padding: 8px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
