/* ============================================
   Shine Care Group — NDIS Provider Website
   Orange & Navy premium aesthetic (brand sunburst palette)
   Typography: Playfair Display + DM Sans
   ============================================ */

:root {
  /* Colors */
  --sage: #EB8844;
  --sage-dark: #D9722E;
  --sage-light: #FBE6D2;
  --sage-deeper: #284166;
  --gold: #EBA64A;
  --gold-light: #FCEFDC;
  --navy: #284166;
  --cream: #FBF8F2;
  --cream-deep: #F4EEE3;
  --charcoal: #2B2B2B;
  --text-muted: #6B7370;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(40, 65, 102, 0.06);
  --shadow-md: 0 12px 40px rgba(40, 65, 102, 0.10);
  --shadow-lg: 0 24px 60px rgba(40, 65, 102, 0.14);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--sage-dark);
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}

.hero-slogan {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 0 0 18px;
}
.hero-slogan .italic-accent {
  text-transform: none;
  font-weight: 600;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(40, 65, 102, 0.2);
}
.btn-ghost:hover {
  border-color: var(--sage-dark);
  background: var(--sage-light);
}

.btn-light {
  background: var(--white);
  color: var(--sage-deeper);
}
.btn-light:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 38px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 248, 242, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(40, 65, 102, 0.06);
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 248, 242, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 64px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-cta { display: none; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover {
  color: var(--sage-dark);
}
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.ndis-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ndis-badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sage-deeper);
  letter-spacing: 0.01em;
  text-align: left;
}
.ndis-heart-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 168px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #FDFBF6 0%, var(--cream) 100%);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}
.shape-1 {
  width: 480px;
  height: 480px;
  background: var(--sage-light);
  top: -120px;
  right: -160px;
  animation: float-slow 18s ease-in-out infinite;
}
.shape-2 {
  width: 360px;
  height: 360px;
  background: var(--gold-light);
  bottom: -100px;
  left: -120px;
  animation: float-slow 22s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Each stat reads as one flat line: figure, then label beside it. */
.stat {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  position: relative;
}
.stat-figure {
  flex-shrink: 0;
  min-width: 92px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--sage-deeper);
  display: inline;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
  animation: float-card 6s ease-in-out infinite;
}

.card-participant {
  bottom: 36px;
  left: -48px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 240px;
  animation-delay: 0s;
}
.card-avatar img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.card-avatar-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.card-text strong {
  font-size: 0.9rem;
  color: var(--navy);
}
.card-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.progress-track {
  width: 100%;
  height: 6px;
  background: var(--sage-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 2px;
}
.progress-fill {
  height: 100%;
  width: 76%;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  border-radius: var(--radius-pill);
}

.card-rating {
  top: 40px;
  right: -32px;
  width: 220px;
  animation-delay: 1.5s;
}
.verify-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.card-rating .rating-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.card-rating strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-display);
}
.card-rating span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--navy);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 26px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.ndis-trust-badge {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-img-secondary {
  position: absolute;
  width: 52%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 6px solid var(--cream);
  bottom: -40px;
  right: -40px;
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  top: 24px;
  left: -32px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  width: 160px;
}
.about-badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sage-deeper);
}
.about-badge span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-content h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 20px;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--charcoal);
  font-weight: 500;
  margin-bottom: 16px;
}
.about-content > p:not(.about-lead) {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.value-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== SECTION HEADING (shared) ===== */
.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-heading h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 16px;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--cream-deep);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--sage-light);
  color: var(--sage-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  width: fit-content;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex: 1;
}
.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sage-dark);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}
.service-link:hover {
  color: var(--gold);
}

/* ===== PRICING ===== */
.pricing {
  padding: 72px 0 100px;
}
.pricing-heading {
  margin-bottom: 40px;
}
.pricing-heading h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 10px;
}
.pricing-heading .section-lead {
  font-size: 0.92rem;
}
.pricing-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 8px;
}
.pricing-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.pricing-table th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cream-deep);
  padding: 16px 20px;
}
.pricing-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.pricing-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(40, 65, 102, 0.08);
  font-size: 0.95rem;
  color: var(--charcoal);
  vertical-align: middle;
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--cream-deep); }
.client-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.client-pill--private { background: var(--cream-deep); color: var(--navy); }
.client-pill--ndis { background: var(--gold-light); color: var(--sage-dark); }
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sage-dark);
}
.price-unit {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 5px;
  white-space: nowrap;
}
.pricing-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--gold-light);
  border-radius: var(--radius-md);
  color: var(--charcoal);
  font-size: 0.92rem;
}
.pricing-note svg { flex-shrink: 0; color: var(--sage-dark); }
.pricing-note a { color: var(--sage-dark); font-weight: 600; text-decoration: underline; }

/* ===== PROCESS ===== */
.process {
  padding: 120px 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(40, 65, 102, 0.08);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.process-step:hover {
  border-color: var(--sage);
  transform: translateY(-6px);
}
.process-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--sage-light);
  -webkit-text-stroke: 1.5px var(--sage);
  margin-bottom: 18px;
}
.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  background: var(--sage-deeper);
}
.testimonials .eyebrow { color: var(--gold); }
.testimonials .section-heading h2 { color: var(--white); }
.testimonials .section-heading h2 .italic-accent { color: var(--gold-light); }
.testimonials-lead { color: rgba(255,255,255,0.75); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.rating-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 24px;
  flex: 1;
  font-style: italic;
}

.credential-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.credential-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.credential-card p {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.brand-card {
  background: linear-gradient(150deg, var(--sage-dark) 0%, var(--navy) 100%);
  color: var(--white);
  justify-content: center;
  text-align: center;
  align-items: center;
}
.brand-card svg { color: var(--gold); margin-bottom: 18px; }
.brand-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.brand-card p {
  color: rgba(255,255,255,0.8);
  font-style: normal;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* ===== SERVICE AREAS ===== */
.areas {
  padding: 120px 0;
}
.areas-announcement {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  color: var(--navy);
  background: var(--sage-light);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin: 0 auto 48px;
  max-width: 720px;
}
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.area-pill {
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1.5px solid rgba(40, 65, 102, 0.1);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s var(--ease);
  cursor: default;
}
.area-pill:hover {
  background: var(--sage-light);
  border-color: var(--sage);
  color: var(--sage-deeper);
  transform: translateY(-3px);
}

/* ===== CONTACT ===== */
.contact {
  padding: 0 0 120px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 64px;
}
.contact-info h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
}
.contact-info .section-lead {
  text-align: left;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-details svg {
  color: var(--sage-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-details strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.contact-details span,
.contact-details a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact-details a {
  transition: color 0.25s var(--ease);
}
.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--sage-dark);
  text-decoration: underline;
}
.contact-details em {
  font-style: italic;
  opacity: 0.7;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  gap: 18px;
}
.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(40, 65, 102, 0.12);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
}
.form-group textarea { resize: vertical; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
  min-height: 1.2em;
}
.form-status--success {
  color: #2E7D32;
}
.form-status--error {
  color: #C0392B;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  margin: 18px 0 22px;
  font-size: 0.9rem;
  max-width: 320px;
}
.footer-brand .logo { color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding: 28px 32px;
  text-align: center;
  font-size: 0.82rem;
}
.footer-bottom em { opacity: 0.6; font-style: italic; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* HEADER FIT
   The container caps at 1240px, so the header bar never has more than
   1176px of usable width. Seven nav links (797px at the old 26px gap /
   0.92rem) plus the logo, NDIS badge and CTA needed ~1426px — so the nav
   silently ran under the badge and CTA at EVERY width, hidden by
   body { overflow-x: hidden }. Fixed by tightening the nav (18px gap,
   0.88rem) and demoting two links to the mobile menu and footer, which
   brings the bar to ~1085px including the badge. */
.nav-secondary { display: none; }
.main-nav.open .nav-secondary { display: block; }

/* Below 1240px the badge is the first thing to go — the CTA matters more. */
@media (min-width: 1081px) and (max-width: 1239px) {
  .ndis-badge { display: none; }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 32px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .nav-cta {
    display: block;
    margin-top: 8px;
  }
  .nav-cta .btn {
    width: 100%;
  }

  .hero { padding-top: 130px; }
  .card-participant { left: 0; }
  .card-rating { right: 0; }
  .about-img-secondary { right: 0; bottom: -24px; }
  .about-badge { left: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  /* Tighter section rhythm so the page doesn't feel endless on phones */
  .hero { padding: 110px 0 56px; }
  .about,
  .services,
  .pricing,
  .process,
  .testimonials,
  .areas { padding: 64px 0; }
  .contact { padding: 0 0 64px; }
  .section-heading { margin: 0 auto 32px; }

  .pricing-table-wrap { overflow-x: visible; background: transparent; box-shadow: none; padding: 0; }
  .pricing-table { min-width: 0; }
  .pricing-table thead { display: none; }
  .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td { display: block; width: 100%; }
  .pricing-table tr {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 16px 18px;
    margin-bottom: 12px;
  }
  .pricing-table td { padding: 0; border-bottom: none; font-size: 0.9rem; }
  .pricing-service {
    font-weight: 600;
    color: var(--navy);
    padding-bottom: 12px !important;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(40, 65, 102, 0.08) !important;
  }
  .pricing-table td[data-label] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px !important;
  }
  .pricing-table td[data-label]::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .price { font-size: 1.02rem; }
  .pricing-note { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px; font-size: 0.85rem; }

  .services-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-inner { padding: 32px 24px; }
  .hero-stats { gap: 12px; }
  .stat-number, .stat-suffix { font-size: 1.9rem; }
  .stat-figure { min-width: 74px; }
  .stat-label { font-size: 0.9rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .trust-inner { justify-content: center; text-align: center; }

  .service-card { padding: 22px 18px; }
  .service-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .service-card h3 { font-size: 1.05rem; }
  .service-card p { font-size: 0.85rem; }

  .process-step { padding: 20px 16px; }
  .testimonial-card { padding: 24px 22px; }

  .areas-announcement { padding: 16px 20px; margin-bottom: 32px; }
}

/* ============================================
   Accessibility & polish additions
   ============================================ */

/* Visible keyboard focus everywhere — previously only inputs had one. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sage-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* The "ask us" pill is a link, so it should read and behave like one. */
.area-pill-cta {
  cursor: pointer;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.area-pill-cta:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}

/* Service links nudge on hover to signal they're clickable. */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.service-card:hover .service-link { transform: translateX(3px); }

/* Respect the OS "reduce motion" setting. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
