:root {
  --orange: #f97b1f;
  --orange-dark: #d65f0b;
  --purple: #3e2b96;
  --purple-dark: #2b1d75;
  --purple-soft: #f1effb;
  --ink: #323232;
  --muted: #66666f;
  --line: #e7e7eb;
  --light: #f8f8fa;
  --white: #ffffff;
  --success: #1f8a59;
  --shadow: 0 16px 38px rgba(43, 29, 117, 0.10);
  --radius: 6px;
  --content: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.68; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ffb36e; outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 16px; color: var(--purple-dark); line-height: 1.12; letter-spacing: 0; }
h1 { font-size: 58px; max-width: 850px; }
h2 { font-size: 40px; }
h3 { font-size: 21px; }
p { margin: 0 0 18px; }
ul { margin: 0 0 20px; }
.wrap { width: min(var(--content), calc(100% - 44px)); margin: 0 auto; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 999; padding: 10px 14px; background: var(--white); color: var(--purple-dark); border: 2px solid var(--orange); }
.skip-link:focus { top: 16px; }
.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; }
.eyebrow { margin-bottom: 14px; color: var(--orange-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.lead { max-width: 760px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.section { padding: 88px 0; }
.section.compact { padding: 62px 0; }
.section-light { background: var(--light); }
.section-purple-soft { background: var(--purple-soft); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading.center { margin-right: auto; margin-left: auto; text-align: center; }
.utility { background: var(--purple-dark); color: #f0eefb; font-size: 13px; }
.utility-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility a { color: #fff; text-decoration: none; }
.utility-links { display: flex; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.99); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 9px 24px rgba(50,50,50,.08); }
.main-nav { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; flex: 0 0 auto; align-items: center; }
.logo img { display: block; width: 270px; max-height: 70px; object-fit: contain; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 700; }
.menu > a, .nav-dropdown > summary { min-height: 44px; display: flex; align-items: center; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu > a:hover, .nav-dropdown > summary:hover, .menu > a[aria-current="page"] { color: var(--purple); }
.nav-dropdown { position: relative; }
.nav-dropdown > summary { list-style: none; cursor: pointer; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-dropdown[open] > summary::after { transform: rotate(225deg) translate(-1px,-1px); }
.dropdown-panel { position: absolute; top: 52px; right: -100px; width: 690px; padding: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 28px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.dropdown-panel a { padding: 10px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid #f0f0f2; }
.dropdown-panel a:hover { color: var(--purple); }
.menu-toggle { display: none; width: 46px; height: 46px; margin-left: auto; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--purple-dark); }
.button { min-height: 46px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--purple); border-radius: 4px; background: var(--purple); color: #fff !important; font-size: 15px; font-weight: 800; text-decoration: none !important; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-1px); background: var(--purple-dark); border-color: var(--purple-dark); }
.button-primary { background: var(--orange); border-color: var(--orange); }
.button-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.button-outline { color: var(--purple) !important; background: transparent; }
.button-outline:hover { color: #fff !important; background: var(--purple); }
.hero .button-outline, .page-hero .button-outline, .final-cta .button-outline { color: #fff !important; border-color: #fff; }
.hero .button-outline:hover, .page-hero .button-outline:hover, .final-cta .button-outline:hover { border-color: var(--orange); background: var(--orange); }
.button-light { color: var(--purple-dark) !important; background: #fff; border-color: #fff; }
.button svg, .mobile-actions svg { width: 19px; height: 19px; flex: 0 0 auto; }
.actions { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero { position: relative; min-height: 610px; display: flex; align-items: center; color: #fff; background-color: var(--purple-dark); background-image: linear-gradient(90deg, rgba(27,18,74,.96) 0%, rgba(38,24,91,.88) 45%, rgba(38,24,91,.35) 72%, rgba(38,24,91,.12) 100%), url("/assets/images/roodepoort-business-accounting.webp"); background-position: center; background-size: cover; }
.hero-content { max-width: 700px; padding: 76px 0 68px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #ffad70; }
.hero .lead { color: #f0eef8; }
.hero-micro { margin-top: 21px; color: #f6f3ff; font-size: 14px; font-weight: 700; }
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-items { min-height: 74px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; }
.trust-items a { padding: 17px 12px; color: var(--ink); font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; border-right: 1px solid var(--line); }
.trust-items a:first-child { border-left: 1px solid var(--line); }
.trust-items a:hover { color: var(--orange-dark); background: var(--light); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 278px; padding: 27px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 4px 15px rgba(43,29,117,.04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-card:hover { transform: translateY(-3px); border-color: #d8cff7; box-shadow: var(--shadow); }
.service-icon { width: 43px; height: 43px; margin-bottom: 20px; display: grid; place-items: center; color: var(--purple); background: var(--purple-soft); border-radius: 5px; }
.service-icon svg { width: 23px; height: 23px; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: auto; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--purple); font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; color: var(--orange-dark); }
.urgency { border-top: 1px solid #e4def8; border-bottom: 1px solid #e4def8; background: var(--purple-soft); }
.urgency-grid, .split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.urgency-panel { padding-left: 28px; border-left: 5px solid var(--orange); }
.feature-image { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait-image { aspect-ratio: 459 / 543; max-height: 590px; object-position: center; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-item { padding: 24px 20px; border-top: 3px solid var(--orange); background: var(--light); }
.value-item strong { display: block; margin-bottom: 8px; color: var(--purple-dark); }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; padding: 0; list-style: none; }
.check-grid li, .check-list li { position: relative; padding: 11px 0 11px 31px; border-bottom: 1px solid var(--line); }
.check-grid li::before, .check-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--orange-dark); font-weight: 900; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.pill-list li { padding: 8px 13px; color: var(--purple-dark); background: var(--purple-soft); border: 1px solid #ded7f7; border-radius: 99px; font-size: 14px; font-weight: 750; }
.page-hero { padding: 70px 0 66px; color: #fff; background: var(--purple-dark); border-bottom: 5px solid var(--orange); }
.page-hero h1 { color: #fff; font-size: 48px; }
.page-hero .lead { color: #e9e5fa; }
.page-hero .eyebrow { color: #ffad70; }
.breadcrumb { margin-bottom: 18px; color: #d7d1f1; font-size: 14px; }
.breadcrumb a { color: #fff; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 58px; align-items: start; }
.content-copy h2 { margin-top: 38px; font-size: 31px; }
.content-copy h2:first-child { margin-top: 0; }
.content-copy h3 { margin-top: 26px; }
.sidebar { position: sticky; top: 116px; padding: 26px; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); background: var(--light); }
.sidebar .button { width: 100%; margin-top: 9px; }
.sidebar ul { padding-left: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-link { min-height: 150px; padding: 22px; display: block; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.related-link strong { display: block; margin-bottom: 8px; color: var(--purple-dark); }
.related-link:hover { border-color: var(--orange); box-shadow: 0 10px 24px rgba(50,50,50,.07); }
.faq-list { max-width: 900px; }
.faq-list details { padding: 19px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding-right: 38px; color: var(--purple-dark); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: -6px; right: 4px; color: var(--orange-dark); font-size: 29px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 14px 40px 0 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { padding: 27px; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); }
.contact-card .button { margin-top: 7px; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.area-item { padding: 17px 18px; border-left: 3px solid var(--orange); background: var(--light); color: var(--purple-dark); font-weight: 800; }
.final-cta { padding: 72px 0; color: #fff; background: var(--purple-dark); }
.final-cta h2 { max-width: 800px; color: #fff; }
.final-cta p { max-width: 760px; color: #e9e5fa; font-size: 19px; }
.site-footer { padding: 62px 0 90px; color: #dcd9e8; background: #211950; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1fr; gap: 45px; }
.footer-logo { width: 250px; padding: 8px; background: #fff; }
.site-footer h3 { margin-bottom: 17px; color: #fff; font-size: 15px; text-transform: uppercase; }
.site-footer p, .site-footer li { font-size: 14px; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; }
.footer-bottom { margin-top: 38px; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.desktop-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 110; width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; box-shadow: 0 13px 28px rgba(56,29,20,.25); }
.desktop-whatsapp svg { width: 27px; height: 27px; }
.mobile-actions { display: none; }
.notice { padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--purple-soft); }
.legal-copy { max-width: 880px; }
.legal-copy h2 { margin-top: 36px; font-size: 28px; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .logo img { width: 225px; }
  .menu { gap: 14px; font-size: 14px; }
  .header-phone { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: span 3; }
}
@media (max-width: 900px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .utility { display: none; }
  .main-nav { min-height: 72px; }
  .menu-toggle { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 72px); margin: 0; padding: 14px 22px 24px; display: none; align-items: stretch; overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; gap: 0; }
  .menu.open { display: flex; }
  .menu > a, .nav-dropdown > summary { min-height: 48px; }
  .dropdown-panel { position: static; width: 100%; padding: 7px 0 11px 18px; display: block; border: 0; border-left: 3px solid var(--orange); border-radius: 0; box-shadow: none; }
  .dropdown-panel a { display: block; }
  .header-cta { margin-top: 10px; }
  .hero { min-height: 560px; background-position: 62% center; }
  .hero-content { padding: 62px 0 58px; }
  .trust-items { grid-template-columns: repeat(3, 1fr); }
  .trust-items a:nth-child(4) { border-left: 1px solid var(--line); }
  .urgency-grid, .split, .content-grid { grid-template-columns: 1fr; gap: 36px; }
  .sidebar { position: static; }
  .related-grid, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .desktop-whatsapp { display: none; }
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; min-height: 61px; padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(43,29,117,.12); }
  .mobile-actions a { min-height: 61px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--purple-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
  .mobile-actions a:nth-child(2) { color: #fff; background: var(--orange); }
  .site-footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--content)); }
  h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  .lead { font-size: 18px; }
  .section { padding: 64px 0; }
  .logo img { width: 205px; }
  .hero { min-height: 575px; background-position: 67% center; background-image: linear-gradient(90deg, rgba(27,18,74,.96), rgba(38,24,91,.78)), url("/assets/images/roodepoort-business-accounting.webp"); }
  .hero .actions .button { width: 100%; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .trust-items a { border-bottom: 1px solid var(--line); }
  .service-grid, .value-grid, .related-grid, .area-grid, .check-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .urgency-panel { padding-left: 19px; }
  .page-hero { padding: 55px 0 52px; }
  .page-hero h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


