/********** Empower Path Services - brand layer **********
   Headings: Playfair Display | Body, navigation, buttons: Montserrat
   Palette per website brief. Loaded after style.css / bootstrap.
*********************************************************/
:root {
    --green: #075342;
    --green-dark: #04382d;
    --purple: #5A0C66;
    --gold: #D7A936;
    --cream: #FCFAF5;
    --mint: #EFF6EF;
    --lilac: #F6F0F7;
    --text: #27322E;
    --primary: #075342;
    --radius: 24px;
    --shadow: 0 10px 30px rgba(7, 83, 66, .09);
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--cream);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--green);
    font-weight: 600;
    line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--purple); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; color: var(--purple); }
p { margin-bottom: 1rem; }
a { color: var(--purple); }
a:hover { color: var(--green); }
.text-primary { color: var(--green) !important; }
.bg-primary { background-color: var(--green) !important; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 100000;
    background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }

/*** Buttons ***/
.btn-brand, .btn-gold, .btn-brand-outline, .btn-light-outline {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn-brand { background: var(--green); color: #fff; border-color: var(--green); }
.btn-brand:hover { background: var(--purple); border-color: var(--purple); color: #fff; transform: translateY(-1px); }
.btn-brand-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-brand-outline:hover { background: var(--purple); color: #fff; }
.btn-gold { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.btn-gold:hover { background: #fff; color: var(--green); border-color: #fff; }
.btn-light-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-light-outline:hover { background: #fff; color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.5rem; }

/*** Header / navigation ***/
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 3px solid var(--gold); box-shadow: 0 4px 18px rgba(7, 83, 66, .08); }
.site-nav { padding: 6px 16px; flex-wrap: wrap; align-items: center; }
.nav-logo { order: 1; padding: 0; margin: 0 auto 0 0; }
.nav-logo img { height: 38px; width: auto; display: block; mix-blend-mode: multiply; }
.nav-logo { margin-right: 0; }
.nav-ndis { order: 1; display: block; margin: 0 auto 0 12px; padding-left: 12px; border-left: 1px solid rgba(7, 83, 66, .25); }
.nav-ndis img { height: 34px; width: 34px; display: block; }
.nav-cta { order: 2; padding: 10px 16px; font-size: 13px; margin-right: 10px; }
.nav-toggle { order: 3; border: 1px solid rgba(7, 83, 66, .3); border-radius: 10px; padding: 6px 10px; }
.nav-menu { order: 4; flex-basis: 100%; }
.navbar-light .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--green);
    margin-right: 0;
    padding: 12px 0;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active { color: var(--purple); }
.navbar-light .navbar-nav { border-top: 1px solid #eee; margin-top: 6px; }

@media (min-width: 992px) {
    .site-nav { padding: 8px 32px; flex-wrap: nowrap; }
    .nav-logo img { height: 62px; }
    .nav-ndis { margin-left: 18px; padding-left: 18px; }
    .nav-ndis img { height: 56px; width: 56px; }
    .nav-menu { order: 3; flex-basis: auto; flex-grow: 1; }
    .nav-cta { order: 4; font-size: 14px; padding: 12px 22px; margin: 0 0 0 18px; }
    .navbar-light .navbar-nav { border-top: 0; margin-top: 0; }
    .navbar-light .navbar-nav .nav-link { margin-left: 22px; padding: 22px 0 18px; font-size: 14px; border-bottom: 3px solid transparent; }
    .navbar-light .navbar-nav .nav-link.active { border-bottom-color: var(--gold); }
}
@media (min-width: 1200px) {
    .navbar-light .navbar-nav .nav-link { margin-left: 30px; font-size: 15px; }
}
@media (max-width: 380px) {
    .nav-logo img { height: 30px; }
    .nav-cta { padding: 9px 12px; font-size: 12px; margin-right: 6px; }
}

/*** Sections ***/
.section { padding: 80px 0; position: relative; }
.section-mint { background: var(--mint); }
.section-lilac { background: var(--lilac); }
@media (max-width: 767px) { .section { padding: 56px 0; } }

.section-head { margin-bottom: 2.5rem; }
.eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--purple); margin-bottom: .6rem;
}
.eyebrow--light { color: #fff; opacity: .92; }
.gold-rule { display: block; width: 64px; height: 3px; background: var(--gold); border-radius: 3px; margin: 14px auto 0; }
.lead-narrow { max-width: 720px; margin-left: auto; margin-right: auto; font-size: 1.08rem; }
.callout {
    background: var(--mint); border-left: 4px solid var(--gold); border-radius: 0 16px 16px 0;
    padding: 16px 20px; color: var(--green); font-weight: 600;
}
.section-mint .callout { background: #fff; }

/* subtle botanical leaf details */
.leafy::before, .hero::before {
    content: ""; position: absolute; pointer-events: none; z-index: 0;
    width: 280px; height: 280px; top: -40px; right: -60px; opacity: .10;
    background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M12 88C10 46 38 14 90 10c2 48-26 78-70 80' fill='%23075342'/><path d='M12 88C34 60 56 36 84 16' stroke='%23FCFAF5' stroke-width='2' fill='none'/></svg>");
}
.leafy { overflow: hidden; }
.leafy > .container, .hero > .container { position: relative; z-index: 1; }

/*** Hero ***/
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; background: linear-gradient(180deg, var(--cream) 0%, var(--mint) 100%); }
.hero__lead { font-size: 1.2rem; font-weight: 500; color: var(--green); }
.hero__media {
    border-radius: 36px 140px 36px 140px; overflow: hidden;
    box-shadow: var(--shadow); border: 6px solid #fff; aspect-ratio: 4 / 4.2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 991px) { .hero { padding: 40px 0 56px; } .hero__media { aspect-ratio: 16 / 11; border-radius: 28px 80px 28px 80px; } }

/*** Page hero ***/
.page-hero {
    position: relative; padding: 84px 0 70px; text-align: center; color: #fff;
    background: linear-gradient(rgba(4, 56, 45, .78), rgba(7, 83, 66, .70)), var(--hero-img) center / cover no-repeat;
    border-bottom: 4px solid var(--gold);
}
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; padding: 0; margin: 0; font-size: 14px; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .7; }
.crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .page-hero { padding: 56px 0 48px; } }

/*** Cards ***/
.card-soft { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.card-soft:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(7, 83, 66, .14); }
.card-soft__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0 0 40px 0; }
.card-soft__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-soft__body h3 { margin-bottom: .6rem; }
.card-soft__body p { flex: 1; font-size: 15px; }
.text-link { font-weight: 600; color: var(--purple); text-decoration: none; }
.text-link:hover { color: var(--green); text-decoration: underline; }

.why-item { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.why-item h3 { color: var(--green); font-size: 1.25rem; }
.why-item p { margin-bottom: 0; font-size: 15px; }
.why-item__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lilac); color: var(--purple); margin-bottom: 14px; font-size: 20px; }

.area-card { background: var(--mint); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(7, 83, 66, .1); }
.area-card--lilac { background: var(--lilac); border-color: rgba(90, 12, 102, .12); }
.area-card h3 { color: var(--green); }

.portrait { border-radius: 28px 120px 28px 120px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); max-width: 380px; margin: 0 auto; }
.portrait img { width: 100%; display: block; }
.feature-img { border-radius: 36px 120px 36px 120px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.feature-img img { width: 100%; display: block; }
.duo-img { display: grid; gap: 16px; }
.duo-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 28px 80px 28px 80px; box-shadow: var(--shadow); }

.tick-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.tick-list li { position: relative; padding: 8px 0 8px 34px; break-inside: avoid; }
.tick-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 9px; color: var(--green); background: var(--mint); width: 24px; height: 24px; border-radius: 50%; text-align: center; line-height: 24px; font-size: 11px; }
.section-mint .tick-list li::before { background: #fff; }
.tick-list--single { columns: 1; }
@media (max-width: 767px) { .tick-list { columns: 1; } }

/*** CTA band ***/
.cta-band { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); }

/*** Inclusion ***/
.inclusion { background: var(--cream); }
.inclusion h2, .inclusion h3 { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; text-transform: uppercase; font-weight: 700; }
.inclusion__title { position: relative; font-size: clamp(1.8rem, 3.4vw, 2.6rem); padding-bottom: 14px; margin-bottom: 2rem; }
.inclusion__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 133px; height: 4px; background: var(--gold); }
.welcome-card, .ack { border-radius: 28px; padding: 28px 28px; }
.welcome-card { background: var(--lilac); }
.welcome-card h3, .ack h3 { font-size: 1.35rem; margin-bottom: .6rem; color: var(--purple); }
.ack { background: var(--mint); }
.ack h3 { text-transform: none; font-size: 1.3rem; }
.welcome-card p, .ack p { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 1rem; line-height: 1.7; color: var(--text); }
.inclusion__flags { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 30px; margin: 56px 0; }
.inclusion__flags img { width: 198px; max-width: 100%; height: auto; display: block; }
.follow-us { text-align: center; margin-top: 56px; }
.follow-us h2 { font-size: 1.7rem; margin-bottom: 1.2rem; }
.follow-us__icons { display: flex; justify-content: center; gap: 70px; }
.follow-us__icons a { color: var(--purple); font-size: 46px; line-height: 1; text-decoration: none; transition: color .25s, transform .25s; }
.follow-us__icons a:hover { color: var(--green); transform: translateY(-2px); }

/*** Contact + forms ***/
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 18px; }
.contact-list h3 { font-family: 'Montserrat', sans-serif; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0; color: var(--purple); }
.contact-list p { margin: 0; }
.contact-list a { color: var(--text); }
.contact-list__icon { flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; }
.form-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
@media (max-width: 575px) { .form-card { padding: 24px 18px; } }
.form-label { font-weight: 600; font-size: 14px; color: var(--green); margin-bottom: 6px; }
.form-control, .form-select { border-radius: 12px; border: 1px solid #cdd8d2; padding: 12px 14px; font-family: 'Montserrat', sans-serif; color: var(--text); }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(7, 83, 66, .18); }
.form-control.was-invalid, .form-select.was-invalid { border-color: #b3261e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; }
.form-status[hidden] { display: none; }
.form-success { background: var(--mint); border: 1px solid var(--green); color: var(--green); }
.form-error { background: #fdecea; border: 1px solid #b3261e; color: #7a1a14; }
.form-note { font-size: 14px; margin: 22px 0 0; color: #4b5a54; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }

/*** Footer ***/
.site-footer { background: var(--green-dark); color: rgba(255, 255, 255, .88); border-top: 4px solid var(--gold); font-size: 15px; }
.footer-title { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.35rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .btn-gold { color: var(--green-dark); }
.site-footer .btn-gold:hover { color: var(--green); text-decoration: none; }
.site-footer i { color: var(--gold); width: 16px; text-align: center; }
.footer-quote { font-style: italic; }
.footer-quote span { font-style: normal; white-space: nowrap; }
.site-footer .copyright { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; text-align: center; }

/*** Mobile quick actions + back to top ***/
.mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(252, 250, 245, .97); border-top: 3px solid var(--gold); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
.mobile-actions__btn { flex: 1; text-align: center; font-weight: 700; font-size: 15px; padding: 13px 10px; border-radius: 999px; text-decoration: none; }
.mobile-actions__call { background: var(--green); color: #fff; }
.mobile-actions__mail { background: #fff; color: var(--purple); border: 2px solid var(--purple); }
.mobile-actions__call:hover { color: #fff; }
@media (max-width: 991.98px) {
    body { padding-bottom: 78px; }
    .back-to-top { bottom: 92px !important; right: 16px !important; }
}
.back-to-top { background: var(--green); color: #fff; border-radius: 50%; right: 24px; bottom: 24px; }
.back-to-top:hover { background: var(--purple); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

.footer-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 20px; margin-bottom: 2rem; }
.footer-logo img { height: 44px; mix-blend-mode: multiply; width: auto; display: block; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.footer-brand .footer-logo { margin-bottom: 0; }
.footer-ndis { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 20px; }
.footer-ndis img { height: 44px; width: auto; display: block; }

/*** Referral form sections ***/
.form-section { border: 1px solid #d9c5de; border-radius: 16px; margin: 0 0 24px; padding: 0; min-width: 0; overflow: hidden; }
.form-section > legend { float: none; width: 100%; margin: 0; padding: 12px 20px; background: var(--lilac); color: var(--purple); font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid #d9c5de; }
.form-section__body { padding: 20px; margin: 0; }
.form-subhead { font-weight: 700; color: var(--green); margin: 4px 0 0; }
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group > legend { float: none; width: auto; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; color: var(--green); margin-bottom: 6px; padding: 0; }
.choice { display: flex; align-items: center; gap: 10px; margin: 0 18px 6px 0; font-size: 15px; cursor: pointer; }
.choice-group .choice { display: flex; }
.choice input[type=checkbox], .choice input[type=radio] { width: 20px; height: 20px; accent-color: var(--green); flex: 0 0 auto; }
.choice--other .form-control-sm { max-width: 240px; border-radius: 10px; }
.req { color: var(--purple); font-weight: 700; }
.group-error { color: #7a1a14; font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.referral-aside { position: sticky; top: 130px; }
@media (max-width: 991px) { .referral-aside { position: static; } .form-section__body { padding: 16px; } }

/*** Responsive hardening: tablet + mobile ***/
img, svg, video { max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, a, li { overflow-wrap: break-word; }
.footer-links a, .site-footer a { word-break: break-word; }

/* Tablet (<= 991px) */
@media (max-width: 991.98px) {
    .section { padding: 64px 0; }
    .row.g-5 { --bs-gutter-x: 2rem; --bs-gutter-y: 2rem; }
    .portrait, .feature-img { max-width: 440px; margin-left: auto; margin-right: auto; }
    .referral-aside { position: static; }
    .form-card { padding: 28px; }
    .navbar-light .navbar-nav .nav-link { padding: 14px 4px; border-bottom: 1px solid #f0f0f0; }
    .site-footer .col-lg-4 { text-align: left; }
    .inclusion__flags { gap: 22px; margin: 44px 0; }
}

/* Large phones / small tablets (<= 767px) */
@media (max-width: 767.98px) {
    .section { padding: 48px 0; }
    .row.g-5 { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.75rem; }
    .container { padding-left: 18px; padding-right: 18px; }
    .btn-row { flex-direction: column; align-items: stretch; }
    .btn-row > a, .btn-row > button { width: 100%; }
    .btn-brand, .btn-gold, .btn-brand-outline, .btn-light-outline { padding: 14px 22px; }
    .hero__lead { font-size: 1.08rem; }
    .section-head { margin-bottom: 1.75rem; }
    .why-item, .area-card { padding: 22px; }
    .card-soft__body { padding: 18px 20px 22px; }
    .welcome-card, .ack { padding: 22px 20px; border-radius: 22px; }
    .inclusion__flags { gap: 16px; margin: 36px 0; }
    .inclusion__flags img { width: min(198px, 80%); }
    .inclusion__title::after { width: 100px; }
    .follow-us { margin-top: 40px; }
    .follow-us__icons { gap: 48px; }
    .follow-us__icons a { font-size: 40px; }
    .map-wrap iframe { height: 280px; }
    .footer-logo { margin-bottom: 1.25rem; }
    .site-footer .copyright { font-size: 13px; padding: 18px 0; }
    .footer-quote span { white-space: normal; }
    .form-section > legend { padding: 10px 14px; font-size: 13px; }
    .choice { margin-right: 12px; }
    .choice--other .form-control-sm { max-width: 100%; }
    .contact-list li { gap: 12px; }
    .page-hero { padding: 48px 0 40px; }
}

/* Small phones (<= 480px) */
@media (max-width: 480px) {
    body { font-size: 15px; }
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    .container { padding-left: 16px; padding-right: 16px; }
    .eyebrow { font-size: 12px; letter-spacing: .1em; }
    .hero__media { border-radius: 22px 60px 22px 60px; }
    .portrait, .feature-img { border-radius: 22px 70px 22px 70px; border-width: 4px; }
    .form-card { padding: 20px 16px; }
    .inclusion__flags img { width: min(220px, 85%); }
    .follow-us__icons { gap: 40px; }
    .mobile-actions__btn { font-size: 14px; padding: 12px 8px; }
}

/* Referral review popup */
.review-steps { padding-left: 1.2rem; margin-bottom: 1rem; }
.review-table th[scope=row] { width: 40%; font-weight: 600; }
.review-table td { white-space: pre-wrap; word-break: break-word; }
.review-table .review-section th { background: var(--green); color: #fff; }
#referral-review .modal-footer > * { flex: 1 1 auto; text-align: center; }
.review-to { margin-bottom: 1rem; padding: 10px 14px; border-radius: 10px; background: rgba(7, 83, 66, .08); word-break: break-all; }
