/* debtreviewpe.co.za - lead site styles
   One accent colour (trust blue). WhatsApp green is reserved for WhatsApp actions only. */

:root {
  --accent: #14607a;
  --accent-dark: #0e485c;
  --accent-soft: #e8f1f4;
  --wa: #25d366;
  --wa-dark: #1da851;
  --ink: #17262c;
  --muted: #55676f;
  --line: #dde6e9;
  --bg: #ffffff;
  --bg-soft: #f4f8f9;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 96, 122, 0.12);
  --maxw: 1080px;
  --prose: 66ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

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

h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.9rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }

p { margin: 0 0 1em; }
main p, main li { max-width: var(--prose); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .85em 1.3em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-wa { background: var(--wa); color: #0a2e1a; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-call { background: var(--accent); color: #fff; padding: .6em 1.1em; }
.btn-call:hover { background: var(--accent-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.brand { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--ink); letter-spacing: -.01em; }
.brand-tld { color: var(--accent); }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: .5em .7em; border-radius: 8px; }
.site-nav a:hover { background: var(--bg-soft); color: var(--accent); }
.header-call { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; padding: .5em .8em; border-radius: 8px; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px; margin: 0; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8em .7em; border-radius: 8px; }
  .header-call { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--accent-soft), #fff); border-bottom: 1px solid var(--line); }
.hero-inner { padding: 44px 0 40px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: #fff; border: 1px solid var(--line); padding: .35em .8em; border-radius: 999px; margin-bottom: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--muted); font-size: .92rem; }
.trust-row span { display: inline-flex; align-items: center; gap: .4em; }
.tick { color: var(--accent); font-weight: 800; }

/* ---------- Page content ---------- */
main { padding: 8px 0 8px; }
.page-head { padding: 40px 0 8px; }
.page-head .eyebrow { margin-bottom: 12px; }
.prose { padding: 24px 0 40px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }

/* Cards / steps */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 20px 0; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); }
.step-num { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: var(--accent); color: #fff; border-radius: 50%; font-weight: 700; font-size: .95rem; margin-bottom: 10px; }

.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 18px; margin: 22px 0; }
.callout p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; max-width: 100%; margin: 20px 0; font-size: .97rem; }
.table-wrap { overflow-x: auto; }
th, td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); }

details { border: 1px solid var(--line); border-radius: 10px; padding: 4px 16px; margin: 12px 0; background: #fff; }
details summary { font-weight: 600; cursor: pointer; padding: 12px 0; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary { color: var(--accent); }

/* ---------- Contact CTA block ---------- */
.contact-cta { background: var(--accent); color: #fff; margin-top: 48px; }
.contact-cta .container { padding-top: 40px; padding-bottom: 44px; }
.contact-cta h2 { color: #fff; margin-top: 0; }
.contact-cta p { color: #d8ecf3; max-width: 60ch; }
.contact-cta .cta-row { margin-top: 20px; }
.contact-cta .btn-primary { background: #fff; color: var(--accent); }
.contact-cta .btn-primary:hover { background: var(--accent-soft); }
.contact-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.contact-cta .btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Form ---------- */
.form-embed { background: var(--bg-soft); border: 1px dashed var(--accent); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.consent { font-size: .85rem; color: var(--muted); max-width: var(--prose); margin-top: 14px; }
.contact-methods { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 22px 0; }
.contact-methods a { display: block; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-methods a small { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: #10262e; color: #c9d6db; margin-top: 0; padding: 40px 0 30px; font-size: .93rem; }
.contact-cta + .site-footer { margin-top: 0; }
.footer-nav { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 28px; }
.footer-nav h3 { color: #fff; font-size: .95rem; margin: 0 0 10px; }
.footer-nav a { display: block; color: #c9d6db; text-decoration: none; padding: 3px 0; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; color: #9fb2b9; max-width: none; font-size: .85rem; }
.copyright { color: #7f949b; font-size: .85rem; margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: .55em;
  background: var(--wa); color: #08331d; font-weight: 700; text-decoration: none;
  padding: 12px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float:hover { background: var(--wa-dark); color: #fff; }
.wa-float svg { width: 24px; height: 24px; flex: none; }
@media (max-width: 480px) {
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
}

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
