/* Mystique Accounting Services — site styles */
:root {
  --navy: #060068;
  --navy-deep: #03003f;
  --blue: #174092;
  --blue-soft: #e8edf8;
  --gold: #ffb400;
  --gold-soft: #fff4d6;
  --ink: #16182b;
  --muted: #5a5f75;
  --line: #e3e5ee;
  --paper: #ffffff;
  --paper-2: #f7f8fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 0, 104, 0.08);
  --serif: Georgia, "Libre Baskerville", "Times New Roman", serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffc633; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #c9cbef; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar span + span { margin-left: 18px; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 18px rgba(6,0,104,.10); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { height: 92px; width: auto; }
.brand-lg img { height: 104px; }
.brand .wordmark { font-family: var(--serif); line-height: 1.05; }
.brand .wordmark b { display: block; font-size: 1.35rem; letter-spacing: .02em; }
.brand .wordmark small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.brand .mark { width: 42px; height: 42px; flex: none; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 8px; }
.nav a:hover { color: var(--blue); background: var(--blue-soft); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 10px; padding: .6em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { padding: 0;
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(23,64,146,.9), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255,180,0,.12), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 110px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #d3d5f3; }
.hero .eyebrow { color: var(--gold); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 42px; color: #c9cbef; font-size: .9rem; }
.hero-badges strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px;
  padding: 30px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.35rem; }
.hero-card ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.hero-card li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #e6e7fb; }
.hero-card li:last-child { border-bottom: 0; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 2px; }
.hero-deco { position: absolute; right: 2%; bottom: -40px; width: 300px; opacity: .08; pointer-events: none; filter: saturate(.8); }
.page-hero .hero-deco { right: 6%; top: auto; bottom: -30px; transform: none; width: 190px; opacity: .12; }
.page-hero .wrap, .hero .wrap { position: relative; z-index: 1; }

/* Page hero (inner pages) */
.page-hero { padding: 0; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero .wrap { padding-top: 76px; padding-bottom: 76px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-hero .lead { color: #d3d5f3; }
.page-hero .eyebrow { color: var(--gold); }
.crumbs { font-size: .85rem; color: #aeb1e0; margin-bottom: 12px; }
.crumbs a { color: #fff; text-decoration: none; }

/* Sections */
section { padding: 96px 0; }
.bg-soft { background: var(--paper-2); }
.section-head { margin-bottom: 48px; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4d8ea; }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); }
.card ul { padding-left: 0; list-style: none; margin: 14px 0 0; }
.card li { padding: 6px 0 6px 24px; position: relative; color: var(--ink); font-size: .96rem; }
.card li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; color: var(--blue); }
.card .more:hover { color: var(--navy); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.panel-navy {
  background: linear-gradient(160deg, var(--navy), var(--blue)); color: #fff; border-radius: 22px; padding: 44px;
  position: relative; overflow: hidden;
}
.panel-navy h3 { color: #fff; }
.panel-navy p { color: #dfe2f7; }
.panel-navy .quote { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; color: #fff; }
.panel-navy .quote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); margin-bottom: 10px; }
.creds { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cred { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 10px 14px; font-size: .85rem; }
.cred b { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

/* Why us numbered */
.why { counter-reset: why; }
.why .item { display: flex; gap: 18px; padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.why .num { flex: none; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--gold); width: 44px; }
.why h3 { font-size: 1.12rem; margin-bottom: .35em; }
.why p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Values */
.value { padding: 26px; border-left: 3px solid var(--gold); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.value h3 { font-size: 1.12rem; }
.value p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Testimonials */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.testi .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testi blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--ink); flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.testi .who b { display: block; color: var(--navy); }
.testi .who span { font-size: .86rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--navy); position: relative; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; background: var(--gold); color: var(--navy); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer ul { margin: 6px 0 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; padding: 72px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { color: #dfe2f7; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* SARS strip */
.sars-strip { background: var(--gold-soft); border: 1px solid #f5dc9a; border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sars-strip h3 { margin: 0 0 4px; }
.sars-strip p { margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list b { display: block; color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.info-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--blue); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; padding: 12px 14px; border: 1px solid #cfd3e3; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(23,64,146,.18); border-color: var(--blue); }
.field textarea { min-height: 130px; resize: vertical; }
.form .note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.map { border: 0; width: 100%; height: 340px; border-radius: 18px; display: block; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; padding: 10px 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9bce4; padding: 70px 0 0; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: #d8daf5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 16px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .82rem; color: #8f93c7; }
.legal .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 80px; }
  section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 104px; left: 0; right: 0; background: #fff; box-shadow: 0 12px 20px rgba(6,0,104,.12); flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; gap: 2px; display: none; border-top: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .g-2, .g-3, .g-4, .form .row { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .panel-navy, .form { padding: 26px; }
  .brand img { height: 58px; }
  .site-header .wrap { height: 80px; }
  .nav { top: 80px; }
  .brand-lg img { height: 96px; }
  .brand .wordmark b { font-size: 1.1rem; }
}
@media (max-width: 860px) {
  .page-hero .hero-deco { width: 130px; right: -10px; opacity: .08; }
  .hero-deco { width: 200px; opacity: .06; }
}

/* Brand pillars (from the logo) */
.pillars { background: #fff; border-bottom: 1px solid var(--line); }
.pillars .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding-top: 22px; padding-bottom: 22px; }
.pillars span { font-size: .82rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--navy); padding: 4px 34px; }
.pillars span + span { border-left: 1px solid #8fb0e6; }
@media (max-width: 620px) { .pillars span { padding: 4px 12px; letter-spacing: .16em; font-size: .72rem; } }

/* Programs */
.program { display: flex; flex-direction: column; }
.program p { flex: 1; }
.program-cta { margin-top: 10px; }
.btn-disabled { background: var(--paper-2); color: var(--muted); border-color: var(--line); cursor: default; }
.btn-disabled:hover { transform: none; }
.programs-band { background: var(--blue-soft); padding: 56px 0; }
.programs-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.programs-band h2 { margin-bottom: .25em; }
.programs-band p { margin: 0; color: var(--muted); }

/* Collapse the menu earlier now there are 5 links */
.nav a { white-space: nowrap; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 104px; left: 0; right: 0; background: #fff; box-shadow: 0 12px 20px rgba(6,0,104,.12);
    flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; display: none; border-top: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}
@media (max-width: 620px) { .nav { top: 80px; } }
