/* =========================================================
   Haresh Vora, CPA — Site Stylesheet
   A single, dependency-free stylesheet (no external CDN fonts
   or icon libraries) for reliability on any standard web host.
   ========================================================= */

:root {
  --navy-900: #0b2038;
  --navy-800: #0f2c4c;
  --navy-700: #163a5f;
  --navy-100: #e7edf4;
  --gold-500: #c8a34d;
  --gold-600: #a9843a;
  --cream:    #faf7f1;
  --ink-900:  #1c2430;
  --ink-700:  #3c4757;
  --ink-500:  #64707f;
  --line:     #dfe4ea;
  --white:    #ffffff;
  --green-600:#1e7a4c;
  --red-600:  #b23a3a;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", Times, serif;

  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 44, 76, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 44, 76, 0.10);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--ink-700); }
ul { padding-left: 1.2em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--gold-600); color: var(--navy-900); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.btn-danger { background: var(--red-600); color: var(--white); }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-lg { width: 32px; height: 32px; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  /* The header has more content (logo + 7 nav items + a CTA button) than
     the page's normal 1120px content width comfortably fits on one line,
     so it gets its own wider max-width rather than sharing --container. */
  max-width: 1440px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--gold-500);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: var(--navy-900); font-size: 1.05rem; white-space: nowrap; }
.brand-sub { font-size: 0.75rem; color: var(--ink-500); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-900);
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active { color: var(--navy-900); border-bottom-color: var(--gold-500); }
.nav-cta { white-space: nowrap; flex-shrink: 0; }

/* This breakpoint is wider than a typical nav (1260px, not ~940px) because
   the full desktop row here is unusually long: logo + tagline, 7 nav
   links (some multi-word), and a CTA button. Below ~1220px that content
   no longer fits on one line without wrapping or clipping, so the mobile
   menu takes over earlier than it otherwise would. */
@media (max-width: 1260px) {
  .nav-toggle { display: block; order: 3; }
  .site-nav {
    order: 4;
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 88px 0;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-500);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); font-size: 2.75rem; }
.hero p.lead { color: #d7e0ec; font-size: 1.15rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: #e7edf4; }
.hero-card li:last-child { border-bottom: none; }
.hero-card .icon { color: var(--gold-500); margin-top: 2px; }

@media (max-width: 860px) {
  .hero { padding: 56px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--cream); }
.section-header { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-header .eyebrow {
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.section-header.align-left { text-align: left; margin: 0 0 40px; }

.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: #cdd8e6; font-size: 1.1rem; max-width: 60ch; margin: 0; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 12px; }

/* ---------- Insights list ---------- */
.insight-card { display: flex; flex-direction: column; height: 100%; }
.insight-meta { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; color: var(--ink-500); margin-bottom: 12px; }
.insight-category {
  background: var(--navy-100);
  color: var(--navy-800);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.insight-article { max-width: 760px; margin: 0 auto; }
.insight-article .insight-meta { margin-bottom: 24px; }
.insight-article-body h3 { margin-top: 1.6em; }

/* ---------- Trust strip / stats ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink-700); font-weight: 600; }
.trust-item .icon { color: var(--gold-600); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cdd8e6; max-width: 56ch; margin: 0 auto 28px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; color: var(--ink-900); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=number], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--white);
  color: var(--ink-900);
}
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(22,58,95,0.14);
}
.form-hint { font-size: 0.82rem; color: var(--ink-500); margin-top: 4px; }
.form-error { color: var(--red-600); font-size: 0.85rem; margin-top: 4px; }

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
}
.alert-success { background: #e7f5ec; color: var(--green-600); border: 1px solid #bfe3cc; }
.alert-error { background: #fbeaea; color: var(--red-600); border: 1px solid #f0c6c6; }
.alert-info { background: var(--navy-100); color: var(--navy-800); border: 1px solid #c9d6e6; }

/* ---------- Contact page layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}
.contact-info-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-info-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .icon { color: var(--navy-800); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c3cedd; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: #92a2b8; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--gold-500); }
.footer-links a { color: #c3cedd; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-500); }
.footer-hours { font-size: 0.9rem; margin-bottom: 14px; }
.footer-social { display: inline-flex; color: var(--gold-500); }
.footer-social .icon { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8fa0b6;
}
.footer-disclaimer { max-width: 640px; margin: 0; }

/* ---------- Legal / long-form content pages ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h3 { margin-top: 1.8em; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge {
  display: inline-block;
  background: var(--navy-100);
  color: var(--navy-800);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-500); }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 120px 0; }
.not-found h1 { font-size: 5rem; color: var(--navy-100); margin-bottom: 0; }
