:root {
  --blue: #129ad6;
  --blue-dark: #056394;
  --green: #52b82f;
  --green-dark: #147f3a;
  --ink: #173348;
  --muted: #5e7180;
  --line: #dce9ef;
  --soft: #f2faf7;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(10, 61, 88, 0.12);
  --radius: 8px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
main, header, footer, section, .container { max-width: 100%; }
.site-footer a, .contact-card a { overflow-wrap: anywhere; }
.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 233, 239, 0.9);
}
.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img { width: 126px; height: auto; }
.nav-links {
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 12px 13px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] {
  color: var(--blue-dark);
  background: #eaf7fc;
}
.nav-call {
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  font-weight: 800;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-media, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media {
  background-image: url("assets/ndis-support-hero.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.86) 44%, rgba(255,255,255,0.24) 78%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  max-width: none;
  margin-left: max(20px, calc((100% - 1140px) / 2));
  margin-right: auto;
  padding-block: 82px;
}
.hero-logo { width: 190px; margin-bottom: 20px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.85rem;
}
h1, h2, h3 { line-height: 1.12; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.2rem; }
.hero-subtitle {
  max-width: 610px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.hero-actions, .cta-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--blue-dark); color: var(--white); }
.btn-secondary { background: var(--green); color: var(--white); }
.btn-light { background: var(--white); color: var(--blue-dark); }
.btn-outline-light { border: 2px solid var(--white); color: var(--white); }

.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}
.section-heading p:not(.eyebrow), .page-hero p, .cta-band p { color: var(--muted); font-size: 1.06rem; }
.align-left { text-align: left; margin-inline: 0; }
.feature-grid, .service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card, .service-card, .contact-card, .contact-form, .faq-panel, .value-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(14, 75, 105, 0.07);
}
.feature-card, .service-card { padding: 28px; }
.feature-card p, .service-card p, .value-list p, .info-main p, .faq-panel p, .contact-card p { color: var(--muted); }
.icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f8ff, #ebfae6);
  border: 1px solid #ccebd8;
}
.icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: var(--blue);
  mask: radial-gradient(circle at 50% 24%, #000 0 18%, transparent 19%), linear-gradient(#000 0 0) center 70% / 78% 42% no-repeat;
}
.icon.reliable::before, .icon.calendar::before { mask: linear-gradient(#000 0 0) center / 76% 76% no-repeat; border-radius: 5px; }
.icon.team::before, .icon.social::before { background: var(--green-dark); mask: radial-gradient(circle at 28% 30%, #000 0 13%, transparent 14%), radial-gradient(circle at 68% 30%, #000 0 13%, transparent 14%), linear-gradient(#000 0 0) center 73% / 86% 34% no-repeat; }
.icon.flexible::before, .icon.transport::before { background: var(--green); mask: linear-gradient(#000 0 0) center 48% / 86% 34% no-repeat, radial-gradient(circle at 28% 78%, #000 0 10%, transparent 11%), radial-gradient(circle at 72% 78%, #000 0 10%, transparent 11%); }
.icon.community::before { background: var(--blue-dark); mask: radial-gradient(circle at 52% 24%, #000 0 15%, transparent 16%), linear-gradient(#000 0 0) center 68% / 70% 48% no-repeat; }
.icon.home::before { background: var(--green-dark); mask: linear-gradient(135deg, transparent 0 28%, #000 29% 59%, transparent 60%) top / 100% 58% no-repeat, linear-gradient(#000 0 0) center bottom / 72% 56% no-repeat; }
.icon.medicine::before { background: var(--blue-dark); mask: linear-gradient(#000 0 0) center / 34% 84% no-repeat, linear-gradient(#000 0 0) center / 84% 34% no-repeat; }
.icon.daily::before { background: var(--green); mask: linear-gradient(#000 0 0) center top / 64% 18% no-repeat, linear-gradient(#000 0 0) center / 86% 18% no-repeat, linear-gradient(#000 0 0) center bottom / 64% 18% no-repeat; }

.service-overview {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.service-overview a {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
.service-overview a:hover, .learn-link:hover { color: var(--green-dark); }
.cta-band {
  padding: 70px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--green-dark));
}
.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta-band h2, .cta-band .eyebrow, .cta-band p { color: var(--white); }

.page-hero {
  padding: 82px 0;
  background: linear-gradient(135deg, #edf9ff, #f1fbec);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { max-width: 900px; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 4rem); max-width: 850px; }
.split, .info-layout, .contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}
.value-list { display: grid; gap: 16px; }
.value-list article { padding: 24px; }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card { min-height: 300px; display: flex; flex-direction: column; }
.service-card h2 { font-size: 1.38rem; }
.learn-link {
  margin-top: auto;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}
.info-main { display: grid; gap: 24px; }
.info-main article { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.info-main article:last-child { border-bottom: 0; }
.faq-panel, .contact-card, .contact-form { padding: 30px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 900; }
.contact-layout { grid-template-columns: 0.85fr 1.15fr; }
.contact-form { display: grid; gap: 10px; }
label { font-weight: 900; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
}
input:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(18, 154, 214, 0.28);
  outline-offset: 3px;
}

.fixed-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  gap: 10px;
}
.fixed-contact a {
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: var(--shadow);
  text-decoration: none;
  font-weight: 900;
}
.fixed-contact a + a { background: var(--green-dark); }

.site-footer {
  padding: 56px 0 22px;
  color: #d9eef6;
  background: #0e3145;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
.footer-logo {
  width: 190px;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
}
.site-footer h2 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.site-footer a { color: #d9eef6; text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.copyright {
  width: min(1140px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: #bad9e6;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .nav { gap: 16px; }
  .nav-call { display: none; }
  .feature-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-overview { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-height: 76px; }
  html, body { width: 100%; overflow-x: hidden; }
  .container { width: min(100% - 28px, 1140px); }
  .nav {
    min-height: var(--header-height);
  }
  .brand img { width: 104px; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; }
  .nav-links a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .hero { min-height: 760px; align-items: end; }
  .hero-media { background-position: center top; }
  .hero-overlay { background: linear-gradient(0deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.86) 52%, rgba(255,255,255,0.2) 100%); }
  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding-block: 150px 124px;
  }
  .hero-logo { width: 174px; }
  .hero-actions .btn, .cta-actions .btn, .contact-actions .btn { width: 100%; }
  h1 { font-size: clamp(2.05rem, 12vw, 3rem); }
  h2 { font-size: clamp(1.55rem, 8vw, 2.15rem); }
  .page-hero {
    padding: 58px 0;
  }
  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .section { padding: 62px 0; }
  .feature-grid, .service-grid, .service-overview, .split, .info-layout, .contact-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature-card, .service-card, .contact-card, .contact-form, .faq-panel, .value-list article {
    width: 100%;
    min-width: 0;
  }
  .service-card {
    min-height: auto;
  }
  .service-overview a {
    min-height: 60px;
  }
  .cta-content { display: grid; }
  .contact-form button {
    width: 100%;
  }
  .contact-card .contact-actions {
    display: none;
  }
  .fixed-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .fixed-contact a { flex: 1; text-align: center; }
  .site-footer { padding-bottom: 82px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .nav {
    min-height: 74px;
  }
  .brand img {
    width: 94px;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    width: calc(100% - 24px);
    margin-left: 12px;
    padding-block: 138px 118px;
  }
  .hero-logo {
    width: min(170px, 50vw);
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn {
    width: 100%;
    padding-inline: 16px;
  }
  .feature-card, .service-card, .contact-card, .contact-form, .faq-panel, .value-list article {
    padding: 22px;
  }
  input, textarea {
    font-size: 16px;
  }
  .fixed-contact {
    gap: 8px;
  }
  .fixed-contact a {
    padding: 12px 10px;
  }
}
