/* ==========================================================================
   BRAND SETTINGS — edit this block to re-brand the whole site.
   Colours, fonts, and radius are all defined here and referenced below.
   (Logo file: logo.svg in this folder — see README.md.)
   ========================================================================== */
:root {
  /* Brand colours */
  --brand-primary:       #0B2545;  /* deep navy: headings, header, footer */
  --brand-primary-light: #13315C;  /* lighter navy: gradients, hover */
  --brand-accent:        #2EC4B6;  /* teal: highlights, icons, buttons */
  --brand-accent-dark:   #139A8F;  /* darker teal: button hover, links */
  --brand-accent-soft:   #E6F7F5;  /* pale teal: icon backgrounds, tints */

  /* Neutrals */
  --color-text:          #334155;  /* body text */
  --color-muted:         #64748B;  /* secondary text */
  --color-bg:            #FFFFFF;  /* page background */
  --color-bg-alt:        #F4F7FA;  /* alternate section background */
  --color-border:        #E2E8F0;

  /* Fonts (loaded from Google Fonts in index.html <head>) */
  --font-heading: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Shape */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
}
/* ======================= END BRAND SETTINGS ============================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--brand-primary); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: var(--brand-accent-dark); }
img { max-width: 100%; display: block; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-family: var(--font-heading); font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
}
.btn-primary { background: var(--brand-accent); color: var(--brand-primary); }
.btn-primary:hover { background: var(--brand-accent-dark); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand-primary); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--brand-primary); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brand-accent-dark); }
.nav .btn { padding: .6em 1.2em; font-size: .92rem; }
.nav .btn-primary { color: var(--brand-primary); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brand-primary); margin: 5px 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  padding: 110px 0 120px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,196,182,.35), transparent 70%);
}
.hero::before { width: 620px; height: 620px; right: -160px; top: -200px; }
.hero::after  { width: 420px; height: 420px; left: -180px; bottom: -220px; opacity: .6; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-accent); margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--brand-accent); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; padding: 32px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: rgba(255,255,255,.9); }
.check-list svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--brand-accent); margin-top: 1px; }

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--brand-accent-dark); }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { color: var(--color-muted); font-size: 1.07rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-accent-soft); color: var(--brand-accent-dark); margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--color-muted); font-size: .95rem; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; }
.about-grid .eyebrow { color: var(--brand-accent-dark); }
.about-visual {
  border-radius: 24px; padding: 40px;
  background: linear-gradient(160deg, var(--brand-primary), var(--brand-primary-light));
  color: #fff; position: relative; overflow: hidden;
}
.about-visual::after {
  content: ""; position: absolute; width: 300px; height: 300px; right: -100px; bottom: -120px;
  background: radial-gradient(circle, rgba(46,196,182,.4), transparent 70%); border-radius: 50%;
}
.about-visual h3 { color: #fff; font-size: 1.3rem; }
.about-visual p { color: rgba(255,255,255,.8); }
.who-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; position: relative; z-index: 1; }
.who-list span {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 12px 14px; font-size: .92rem; font-weight: 500;
}

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.why-item .num {
  font-family: var(--font-heading); font-weight: 800; font-size: .85rem; color: var(--brand-accent-dark);
  letter-spacing: .1em; margin-bottom: 14px; display: block;
}
.why-item h3 { font-size: 1.15rem; }
.why-item p { color: var(--color-muted); margin: 0; font-size: .96rem; }

/* CTA band */
.cta-band { padding: 0; background: linear-gradient(var(--color-bg) 50%, var(--color-bg-alt) 50%); }
.cta-inner {
  background: linear-gradient(120deg, var(--brand-accent-dark), var(--brand-accent));
  border-radius: 24px; padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-inner h2 { color: #fff; margin: 0 0 6px; font-size: 1.8rem; }
.cta-inner p { color: rgba(255,255,255,.9); margin: 0; }
.cta-inner .btn { background: var(--brand-primary); color: #fff; white-space: nowrap; }
.cta-inner .btn:hover { background: #fff; color: var(--brand-primary); }

/* Contact */
.contact { padding-top: 80px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; }
.contact-info .eyebrow { color: var(--brand-accent-dark); }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.info-list .icon { margin: 0; width: 44px; height: 44px; flex: 0 0 44px; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--brand-primary); font-family: var(--font-heading); }
.info-list a { text-decoration: none; font-weight: 500; }
.placeholder { background: #FEF3C7; color: #92400E; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.contact-form {
  background: #fff; border: 1px solid var(--color-border); border-radius: 20px; padding: 36px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--brand-primary); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 10px;
  background: var(--color-bg-alt); color: var(--color-text); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-accent); box-shadow: 0 0 0 3px var(--brand-accent-soft); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .82rem; color: var(--color-muted); margin: 12px 0 0; text-align: center; }

/* Map */
.map-block { margin-top: 48px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow); height: 380px; background: var(--color-border); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.walk { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .94rem; color: var(--brand-primary); font-weight: 500; flex: 1 1 220px; }
.walk svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--brand-accent-dark); }
.btn-sm { padding: .6em 1.2em; font-size: .92rem; }

/* Credentials strip (top of header, site-wide) */
.cred-strip { background: var(--brand-primary); color: rgba(255,255,255,.88); font-size: .8rem; }
.cred-inner { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 16px; }
.cred-list { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.cred-list li { display: flex; align-items: center; gap: 6px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.cred-list svg { width: 15px; height: 15px; color: var(--brand-accent); }
.cred-phone { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.cred-phone:hover { color: var(--brand-accent); }

/* Credential badges */
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.badges li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 700; font-size: .82rem; letter-spacing: .01em;
}
.badges svg { width: 17px; height: 17px; flex: 0 0 17px; }
.badges-hero { margin-top: 30px; }
.badges-hero li, .badges-dark li { background: rgba(255,255,255,.08); border: 1px solid rgba(46,196,182,.45); color: #fff; }
.badges-hero svg, .badges-dark svg { color: var(--brand-accent); }
.badges-light { margin: 4px 0 24px; }
.badges-light li { background: var(--brand-accent-soft); border: 1px solid rgba(19,154,143,.25); color: var(--brand-primary); }
.badges-light svg { color: var(--brand-accent-dark); }
.badges-dark { margin-top: 18px; flex-direction: column; align-items: flex-start; gap: 8px; }

/* Accreditation logo slots (images/cpa-logo.png, images/tpb-logo.png) */
.logo-slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.logo-slot { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 10px; padding: 4px; height: 58px; }
.logo-slot img { height: 50px; width: auto; max-width: 140px; object-fit: contain; }
.badges-light + .logo-slots { margin: -10px 0 24px; }
.badges-light + .logo-slots .logo-slot { box-shadow: 0 0 0 1px var(--color-border); }

/* SMSF feature */
.smsf { background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%); color: #fff; position: relative; overflow: hidden; }
.smsf::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,196,182,.3), transparent 70%); }
.smsf-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.smsf .eyebrow { color: var(--brand-accent); }
.smsf h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; }
.smsf-copy p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 28px; }
.smsf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.smsf-list li { display: flex; gap: 18px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px 22px; }
.smsf-num { font-family: var(--font-heading); font-weight: 800; color: var(--brand-accent); font-size: .9rem; padding-top: 2px; }
.smsf-list h3 { color: #fff; font-size: 1.05rem; margin: 0 0 4px; }
.smsf-list p { color: rgba(255,255,255,.75); margin: 0; font-size: .94rem; }

/* Footer */
.site-footer { background: var(--brand-primary); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 12px; margin-bottom: 16px; }
.footer-logo img { height: 44px; width: auto; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer h4.footer-sub { margin-top: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; font-size: .94rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--brand-accent); }
.site-footer .placeholder { background: rgba(254,243,199,.15); color: #FDE68A; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
         flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 4px;
         border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .btn { justify-content: center; margin-top: 8px; }
  .nav-toggle { display: block; }
  .hero { padding: 72px 0 80px; }
  .hero .container, .about-grid, .contact-grid, .smsf-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  section { padding: 72px 0; }
  .contact { padding-top: 64px; }
}
@media (max-width: 560px) {
  .cred-phone { display: none; }
  .cred-inner { height: auto; padding: 7px 0; }
  .cred-list { gap: 6px 14px; width: 100%; justify-content: center; flex-wrap: wrap; font-size: .72rem; }
  .cred-list svg { width: 13px; height: 13px; }
  .map-frame { height: 300px; }
  .services-grid, .form-row, .footer-grid, .who-list { grid-template-columns: 1fr; }
  .logo img { height: 40px; }
  .contact-form { padding: 24px; }
  .about-visual { padding: 28px; }
}
