/* ===========================================================
   Axiom Accountants and Consultants Limited — Site Stylesheet
   =========================================================== */

:root {
  --navy: #0a2540;
  --navy-dark: #071a2f;
  --navy-light: #123a5e;
  --gold: #c9a227;
  --gold-light: #e0bd4e;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0a2540;
  --text: #1f2937;
  --text-light: #5b6472;
  --border: #e2e6ec;
  --success: #1c7c54;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.14);
  --max-width: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { padding-left: 1.25rem; }

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

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.85rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--text); }

.lead {
  font-size: 1.15rem;
  color: var(--text-light);
}

.section {
  padding: 72px 0;
}

.section--alt { background: var(--bg-alt); }

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header p { color: var(--text-light); }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn--dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--dark:hover { background: var(--navy-light); border-color: var(--navy-light); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  color: var(--navy);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.brand-name-wrap {
  display: block;
  position: relative;
  padding-bottom: 6px;
}

.brand-name {
  display: inline-block;
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: normal;
  white-space: nowrap;
  transform-origin: left center;
}

.brand-line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  width: 100%;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > button.nav-toplink {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  border-radius: 6px;
  background: none;
  border: none;
  font-family: var(--font);
  cursor: pointer;
}

.nav-links > li > a:hover,
.nav-links > li > button.nav-toplink:hover,
.nav-links > li.active > a {
  background: var(--bg-alt);
  color: var(--navy-light);
}

.nav-links .caret { font-size: 0.6rem; margin-top: 2px; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 8px;
  display: none;
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}
.dropdown a:hover { background: var(--bg-alt); color: var(--navy); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  padding: 96px 0 84px;
}

.hero--page { padding: 64px 0; }

.hero .eyebrow { color: var(--gold-light); }

.hero h1 { color: #fff; max-width: 780px; }

.hero p.lead { color: rgba(255,255,255,0.82); max-width: 640px; margin-bottom: 2rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--gold-light); }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-light); margin-bottom: 0; }
.card a.card-link { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--navy-light); }
.card a.card-link:hover { color: var(--gold); }

/* ---------- Checklists ---------- */
.check-list, .tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li, .tick-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--success);
  font-weight: 800;
}
.tick-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 6px;
  color: var(--gold);
  font-weight: 800;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats .stat-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold);
}
.stats .stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* ---------- Split content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ---------- Panels / callouts ---------- */
.panel {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.callout {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.callout h3 { color: #fff; }
.callout p { color: rgba(255,255,255,0.85); }

.mtd-banner {
  background: #fff7e6;
  border: 1px solid #f0d78c;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
}
.mtd-banner h3 { color: var(--navy); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- Tables ---------- */
table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.data-table th, table.data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.data-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
table.data-table tr:last-child td { border-bottom: none; }

/* ---------- Tabs (service tiers) ---------- */
.tier-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.tier-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
  font-family: var(--font);
}
.tier-tab-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tier-panel { display: none; }
.tier-panel.active { display: block; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.03rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 400;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; color: var(--text-light); }

/* ---------- Sector cards ---------- */
.sector-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.sector-card h3 { margin-bottom: 0.15rem; }
.sector-card .sector-sub { color: var(--text-light); font-size: 0.92rem; margin-bottom: 1rem; }
.sector-card .sector-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 1rem;
}
.sector-card h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-light); margin-bottom: 0.5rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.75rem;
}
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info-item h4 { margin-bottom: 0.2rem; }
.contact-info-item p { color: var(--text-light); margin-bottom: 0; }
.placeholder { color: #b45309; background: #fff3cd; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

form.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.96rem;
  background: var(--bg-alt);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--navy-light);
  outline-offset: 1px;
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; color: var(--text-light); }
.checkbox-row input { width: auto; margin-top: 3px; }
.form-actions { display: flex; gap: 14px; margin-top: 8px; }
.form-note { font-size: 0.82rem; color: var(--text-light); margin-top: 10px; }

/* ---------- Who benefits / who should choose ---------- */
.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid.footer-grid--3col { grid-template-columns: 2fr 1fr 1.2fr; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 320px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.88rem; color: var(--text-light); }
.badge {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 6px 6px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid.footer-grid--3col { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open .dropdown { display: block; position: static; box-shadow: none; border: none; padding-left: 12px; }
  .nav-cta { margin: 10px 0 0; }
  .split, .two-col-list { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sector-card .sector-cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
