/* ============================================
   Hope Nutrition — Main Stylesheet v2
   Rich, layered, premium health-industry design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #8DC63F;
  --color-primary-dark: #6B9A2F;
  --color-primary-darker: #3C3C3C;
  --color-primary-light: #A8D670;
  --color-primary-lighter: #DDF0C8;
  --color-primary-ghost: rgba(141, 198, 63, 0.06);
  --color-accent: #C8A25C;
  --color-accent-dark: #A6833A;
  --color-accent-light: #F0DEB0;
  --color-accent-ghost: rgba(200, 162, 92, 0.08);

  --color-bg: #FAFAF6;
  --color-bg-warm: #F5F0E8;
  --color-bg-cool: #F2F8EC;
  --color-bg-dark: #2C2C2C;
  --color-surface: #FFFFFF;
  --color-text: #3C3C3C;
  --color-text-secondary: #5A5A5A;
  --color-text-muted: #8A8A8A;
  --color-text-inverse: #F5F5F0;
  --color-border: #E2DFD5;
  --color-border-light: #EEEDE6;
  --color-white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Lora', Georgia, serif;

  --space-2xs: 0.125rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-glow-green: 0 8px 32px rgba(141, 198, 63, 0.2);
  --shadow-glow-gold: 0 8px 32px rgba(200, 162, 92, 0.2);

  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --transition: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.75;
  text-align: justify;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.home-page {
  text-align: left;
}

.home-page .about__content > p,
.home-page .service-block__content > p,
.home-page .service-block__detail,
.home-page .faq-answer p,
.home-page .contact-item__value,
.home-page .footer__brand p {
  text-align: justify;
  text-justify: inter-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary-darker);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: var(--space-md); color: var(--color-text-secondary); }

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

.section {
  position: relative;
  padding: var(--space-4xl) 0;
}

.section--alt { background-color: var(--color-bg-warm); }
.section--cool { background-color: var(--color-bg-cool); }

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-text-inverse); }
.section--dark p { color: rgba(245, 245, 240, 0.75); }

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 { margin-bottom: var(--space-sm); }

.section-header p {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-primary-ghost);
  border: 1px solid var(--color-primary-lighter);
  border-radius: var(--radius-full);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Decorative leaf divider between sections */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xl) auto;
  max-width: 200px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section-divider svg { width: 20px; height: 20px; color: var(--color-primary-light); flex-shrink: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-glow-green);
}

.btn--primary:hover {
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(141, 198, 63, 0.35);
  filter: brightness(1.1);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  background: var(--color-primary-ghost);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-glow-gold);
}

.btn--accent:hover {
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(200, 162, 92, 0.35);
  filter: brightness(1.08);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  background: var(--color-bg);
  color: var(--color-primary-darker);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: var(--color-text-inverse);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,0.2);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn--lg { padding: 1rem 2.75rem; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 250, 246, 0.8);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  background: rgba(250, 250, 246, 0.95);
  border-bottom-color: var(--color-border-light);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.header--menu-open {
  z-index: 1003;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--container-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform var(--transition);
}

.header__logo:hover { transform: scale(1.02); color: var(--color-primary-darker); }
.header__logo span { color: var(--color-primary); }
.header__logo .logo-icon { width: 60px; height: auto; }

.nav { display: flex; align-items: center; gap: var(--space-lg); }

.nav__drawer {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover, .nav__link--active {
  color: var(--color-primary-dark);
  background: var(--color-primary-ghost);
}

.nav__mobile-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1003;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h, 80px);
  background: var(--color-bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 20%, rgba(209, 232, 213, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(240, 222, 176, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(141, 198, 63, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content { position: relative; z-index: 2; text-align: left; }

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(141, 198, 63, 0.08);
  border: 1px solid rgba(141, 198, 63, 0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.hero__label svg { width: 14px; height: 14px; }

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: var(--space-xl);
  color: var(--color-primary-darker);
  letter-spacing: -0.02em;
  text-align: left;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero__text {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  font-family: var(--font-accent);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: morph 12s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%; }
  25% { border-radius: 55% 45% 60% 40% / 45% 55% 40% 60%; }
  50% { border-radius: 45% 55% 45% 55% / 60% 40% 55% 45%; }
  75% { border-radius: 60% 40% 50% 50% / 50% 55% 45% 55%; }
}

.hero__illustration { width: 100%; height: 100%; }
.hero__illustration svg { width: 100%; height: 100%; }
.hero__illustration img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(1.02) contrast(1.03);
}

.hero__image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(221, 240, 200, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 36% 64% 58% 42% / 50% 42% 58% 50%;
  z-index: 1;
  pointer-events: none;
}

.hero__float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.6);
  z-index: 5;
}

.hero__float-badge--top { top: 5%; right: -8%; animation: float 5s ease-in-out infinite; }
.hero__float-badge--bottom { bottom: 10%; left: -8%; animation: float 5s ease-in-out infinite 1.5s; }

.hero__float-badge .badge-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.badge-icon--green { background: var(--color-primary-ghost); color: var(--color-primary); }
.badge-icon--gold { background: var(--color-accent-ghost); color: var(--color-accent-dark); }

.hero__float-badge strong { display: block; font-size: 0.85rem; color: var(--color-text); }
.hero__float-badge small { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 400; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__blob--1 {
  width: 500px; height: 500px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.08) 0%, transparent 70%);
  animation: pulse-slow 10s ease-in-out infinite;
}

.hero__blob--2 {
  width: 350px; height: 350px;
  bottom: -80px; left: 5%;
  background: radial-gradient(circle, rgba(200, 162, 92, 0.06) 0%, transparent 70%);
  animation: pulse-slow 10s ease-in-out infinite 3s;
}

.hero__blob--3 {
  width: 200px; height: 200px;
  top: 30%; left: 45%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.05) 0%, transparent 70%);
  animation: pulse-slow 8s ease-in-out infinite 5s;
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.ndis-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--color-accent-light) 0%, rgba(240, 222, 176, 0.4) 100%);
  border: 1px solid rgba(200, 162, 92, 0.2);
  color: var(--color-accent-dark);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.ndis-badge svg { width: 18px; height: 18px; color: var(--color-primary); }

/* ===================== TRUST BAR ===================== */
.trust-bar {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
  z-index: 2;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.trust-item__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary-ghost);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  transition: all var(--transition);
}

.trust-item:hover .trust-item__icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-green);
}

.trust-item__icon svg { width: 26px; height: 26px; }
.trust-item__label { font-size: 0.8rem; font-weight: 600; color: var(--color-text-secondary); letter-spacing: 0.5px; }

/* ===================== ABOUT ===================== */
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: center;
}

.about__image {
  position: relative;
  width: 100%;
  max-width: none;
}

.about__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1.02;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #f7f3eb;
}

.about__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(221, 240, 200, 0.12) 100%);
  pointer-events: none;
}

.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 38%;
}

.about__image::before {
  content: '';
  position: absolute;
  top: -18px; left: -18px; right: 64px; bottom: 42px;
  border: 2px solid var(--color-primary-lighter);
  border-radius: 34px;
  z-index: -1;
}

.about__accent-box {
  position: absolute;
  bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-glow-green);
  border: 3px solid var(--color-surface);
  z-index: 5;
}

.about__accent-box .number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  letter-spacing: 1px;
}

.about__accent-box .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

.about__content h2 { margin-bottom: var(--space-lg); }
.about__content > p { font-size: 1.05rem; line-height: 1.85; }

.about__qualifications {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.qualification {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
}

.qualification:hover {
  border-color: var(--color-primary-lighter);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.qualification__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-ghost) 0%, var(--color-primary-lighter) 100%);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.qualification__icon svg { width: 22px; height: 22px; }

.qualification__text {
  font-size: 0.93rem;
  color: var(--color-text);
  margin: 0;
  font-weight: 500;
}

/* ===================== PILLARS ===================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.pillar-card {
  position: relative;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary), var(--color-primary-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pillar-card:hover::before { opacity: 1; }

.pillar-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-lg);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary-ghost);
  border-radius: var(--radius-lg);
  color: var(--color-primary);
  transition: all var(--transition);
}

.pillar-card:hover .pillar-card__icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  transform: scale(1.08);
  box-shadow: var(--shadow-glow-green);
}

.pillar-card__icon svg { width: 32px; height: 32px; }

.pillar-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  color: var(--color-text);
}

.pillar-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ===================== SERVICES ===================== */
.services-grid { display: grid; gap: var(--space-2xl); }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity var(--transition);
}

.service-block:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-lighter);
}

.service-block:hover::before { opacity: 1; }

.service-block:nth-child(even) { direction: rtl; }
.service-block:nth-child(even) > * { direction: ltr; }
.service-block:nth-child(even)::before { left: auto; right: 0; border-radius: 0 4px 4px 0; }

.service-block__illustration {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-block__illustration svg { width: 100%; height: auto; display: block; }

.service-block__content h3 { margin-bottom: var(--space-md); }
.service-block__content > p { font-size: 1rem; line-height: 1.8; margin-bottom: var(--space-md); }
.service-block__detail { font-size: .925rem; line-height: 1.7; color: var(--color-text-light); margin-bottom: var(--space-lg); }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-primary-ghost);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--color-primary-lighter);
  transition: all var(--transition);
}

.service-tag:hover { background: var(--color-primary-lighter); }

.service-tag--funded {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  font-weight: 600;
}
.service-tag--funded:hover { background: #b8923f; border-color: #b8923f; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-card {
  padding: var(--space-2xl);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border-light);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--color-accent-light), var(--color-accent), var(--color-accent-light));
  border-radius: var(--radius-full);
}

.testimonial { text-align: center; }

.testimonial__quote-mark { color: var(--color-primary-lighter); margin-bottom: var(--space-md); }
.testimonial__quote-mark svg { width: 48px; height: 48px; }

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.testimonial__stars svg { width: 20px; height: 20px; color: var(--color-accent); }

.testimonial__text {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial__author {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: var(--space-2xs);
}

.testimonial__source {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.testimonial__source svg { width: 16px; height: 16px; color: var(--color-accent); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.slider-dot {
  width: 10px; height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.2);
}

/* ===================== CTA ===================== */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(141, 198, 63, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(200, 162, 92, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta__content { position: relative; z-index: 2; }

.cta h2 { color: var(--color-text-inverse); margin-bottom: var(--space-md); }

.cta p {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.cta__actions .btn {
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

/* ===================== CONTACT BAR ===================== */
.contact-bar {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
}

.contact-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact-item:hover { background: var(--color-primary-ghost); }

.contact-item__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow-green);
}

.contact-item__icon svg { width: 24px; height: 24px; }

.contact-item__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.contact-item__value {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.93rem;
  line-height: 1.6;
}

.contact-item__value a { color: var(--color-text); transition: color var(--transition); }
.contact-item__value a:hover { color: var(--color-primary); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand { max-width: 360px; }

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__logo svg { width: 28px; height: 28px; color: var(--color-primary-light); }

.footer__brand p {
  color: rgba(245, 245, 240, 0.6);
  font-size: 0.93rem;
  line-height: 1.75;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-white);
  margin-bottom: var(--space-xl);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__links a {
  color: rgba(245, 245, 240, 0.6);
  font-size: 0.93rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__links a:hover { color: var(--color-white); transform: translateX(4px); }

.footer__bottom {
  border-top: 1px solid rgba(245, 245, 240, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(245, 245, 240, 0.4);
}

.footer__social { display: flex; gap: var(--space-md); }

.footer__social a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 245, 240, 0.06);
  border: 1px solid rgba(245, 245, 240, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-text-inverse);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-green);
  color: var(--color-white);
}

.footer__social a svg { width: 20px; height: 20px; }

/* ===================== PAGE HERO (Inner) ===================== */
.page-hero {
  padding: calc(var(--header-h, 80px) + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(209, 232, 213, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(240, 222, 176, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero__content { position: relative; z-index: 2; }

.page-hero h1 { margin-bottom: var(--space-md); }

.page-hero p {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===================== BOOKLET CARD ===================== */
.booklet-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.booklet-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.booklet-card__illustration {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.booklet-card__illustration svg { width: 100%; height: auto; display: block; }

.booklet-card__content h3 { margin-bottom: var(--space-lg); }
.booklet-card__content p { font-size: 1rem; line-height: 1.85; }

/* ===================== BOOKLET FEATURE ===================== */
.booklet-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.booklet-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
}

.booklet-feature__visual { position: relative; }

.booklet-feature__image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.booklet-feature__image-wrapper svg { width: 100%; height: auto; display: block; }

.booklet-feature__content h2 { margin-bottom: var(--space-sm); }

.booklet-feature__title { color: var(--color-primary-darker); }

.booklet-feature__subtitle {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.booklet-feature__content p { font-size: 1rem; line-height: 1.85; }

.booklet-feature__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.booklet-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-primary-ghost);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
}

.booklet-highlight:hover {
  background: var(--color-primary-lighter);
  border-color: var(--color-primary-light);
  transform: translateX(5px);
}

.booklet-highlight__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary-lighter);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}

.booklet-highlight__icon svg { width: 22px; height: 22px; }

.booklet-highlight strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.booklet-highlight small {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .booklet-feature { grid-template-columns: 1fr; }
  .booklet-feature__visual { max-width: 350px; margin: 0 auto; }
}

/* ===================== ANIMATIONS ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.15s; }
.fade-up:nth-child(4) { transition-delay: 0.2s; }
.fade-up:nth-child(5) { transition-delay: 0.25s; }
.fade-up:nth-child(6) { transition-delay: 0.3s; }

/* ===================== PAGE LOAD ORCHESTRATION ===================== */
body.is-loading { overflow: hidden; }

body.is-loading .header { opacity: 0; transform: translateY(-20px); }
.header { transition: opacity 0.6s var(--ease-out) 0.1s, transform 0.6s var(--ease-out) 0.1s,
  background var(--transition), border-bottom-color var(--transition), box-shadow var(--transition); }

.hero__content > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.hero__content > .reveal-in { opacity: 1; transform: translateY(0); }

.hero__visual {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.hero__visual.reveal-in { opacity: 1; transform: translateY(0) scale(1); }

/* ===================== SCROLL PROGRESS BAR ===================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary-light));
  z-index: 10000;
  transition: width 0.08s linear;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(141, 198, 63, 0.5);
}

/* ===================== CURSOR GLOW ===================== */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  mix-blend-mode: normal;
}

/* ===================== SVG DRAW-IN ===================== */
.svg-draw {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.svg-draw--visible {
  stroke-dashoffset: 0 !important;
}

/* ===================== TEXT SPLIT REVEAL ===================== */
.word {
  display: inline-block;
  overflow: hidden;
}

.word__inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--word-i) * 0.045s);
}

.split-visible .word__inner {
  transform: translateY(0);
}

/* ===================== TILT CARD GLOW ===================== */
.pillar-card,
.service-block,
.testimonial-card,
.booklet-feature {
  transition: transform 0.4s var(--ease-out), box-shadow var(--transition), border-color var(--transition);
  will-change: transform;
}

/* Inner glow that follows the cursor */
.pillar-card::after,
.service-block::after,
.booklet-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(141, 198, 63, 0.07) 0%,
    transparent 60%
  );
}

.pillar-card:hover::after,
.service-block:hover::after,
.booklet-feature:hover::after {
  opacity: 1;
}

/* ===================== SECTION REVEAL ===================== */
.section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
  transition: transform 0.8s var(--ease-out) 0.3s;
  pointer-events: none;
}

.section--visible::after { transform: translateX(-50%) scaleX(1); }

/* ===================== ENHANCED HERO BLOB GLOW ===================== */
.hero__blob--1 { filter: blur(60px); }
.hero__blob--2 { filter: blur(50px); }
.hero__blob--3 { filter: blur(40px); }

/* ===================== BUTTON RIPPLE ON CLICK ===================== */
.btn { position: relative; overflow: hidden; }

.btn--primary:active::after,
.btn--white:active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, transparent 70%);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ===================== ENHANCED BADGE FLOAT ===================== */
.hero__float-badge {
  transition: box-shadow 0.4s ease;
}
.hero__float-badge:hover {
  box-shadow: var(--shadow-xl), 0 0 30px rgba(141, 198, 63, 0.15);
}

/* ===================== STAGGERED TRUST BAR ===================== */
.trust-item {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.trust-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===================== PILLAR CARD HOVER GLOW ===================== */
.pillar-card:hover {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(141, 198, 63, 0.08);
}

/* ===================== SERVICE BLOCK IMAGE ZOOM ===================== */
.service-block__illustration svg {
  transition: transform 0.8s var(--ease-out);
}
.service-block:hover .service-block__illustration svg {
  transform: scale(1.04);
}

/* ===================== QUALIFICATION SLIDE ===================== */
.qualification {
  position: relative;
  overflow: hidden;
}
.qualification::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
  transform: scaleY(0);
  transition: transform 0.4s var(--ease-out);
  border-radius: 3px;
}
.qualification:hover::after { transform: scaleY(1); }

/* ===================== FOOTER LINK UNDERLINE SLIDE ===================== */
.footer__links a {
  position: relative;
}
.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--color-primary-light);
  transition: width 0.4s var(--ease-out);
}
.footer__links a:hover::after { width: 100%; }

/* ===================== NAV LINK UNDERLINE ===================== */
.nav__link {
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}
.nav__link:hover::after,
.nav__link--active::after {
  width: 60%;
  left: 20%;
}

/* ===================== HERO GRADIENT TEXT SHIMMER ===================== */
.hero__title em {
  position: relative;
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===================== 3D FLOATING BOTANICAL SCENE ===================== */
.float3d-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  perspective: 1200px;
  overflow: hidden;
}

.float3d {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform, translate;
  --mouse-x: 0px;
  --mouse-y: 0px;
  translate: var(--mouse-x) var(--mouse-y);
}

.float3d svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.06));
}

/* Leaf 1 — top-left, large */
.float3d--leaf-1 {
  width: 90px; height: 90px;
  top: 12%; left: 6%;
  animation: float3d-drift-1 14s ease-in-out infinite;
}

/* Berry — top-right */
.float3d--berry-1 {
  width: 55px; height: 55px;
  top: 18%; right: 12%;
  animation: float3d-drift-2 11s ease-in-out infinite 1s;
}

/* Leaf 2 — mid-left */
.float3d--leaf-2 {
  width: 65px; height: 65px;
  top: 55%; left: 3%;
  animation: float3d-drift-3 16s ease-in-out infinite 3s;
}

/* Glass orb — mid-right */
.float3d--orb-1 {
  width: 80px; height: 80px;
  top: 40%; right: 5%;
  animation: float3d-drift-4 13s ease-in-out infinite 2s;
}

/* Citrus — bottom-left */
.float3d--citrus {
  width: 60px; height: 60px;
  bottom: 22%; left: 10%;
  animation: float3d-drift-5 12s ease-in-out infinite 4s;
}

/* Leaf 3 — bottom-right */
.float3d--leaf-3 {
  width: 50px; height: 50px;
  bottom: 15%; right: 15%;
  animation: float3d-drift-1 15s ease-in-out infinite reverse 2s;
}

/* Glass orb gold — top-center */
.float3d--orb-2 {
  width: 50px; height: 50px;
  top: 8%; left: 50%;
  animation: float3d-drift-2 14s ease-in-out infinite 5s;
}

/* Tiny dots */
.float3d--dot-1 { top: 30%; left: 18%; animation: float3d-drift-6 10s ease-in-out infinite; }
.float3d--dot-2 { top: 65%; right: 20%; animation: float3d-drift-6 12s ease-in-out infinite 3s; }
.float3d--dot-3 { bottom: 30%; left: 40%; animation: float3d-drift-6 11s ease-in-out infinite 6s; }

.float3d-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(141, 198, 63, 0.3), rgba(141, 198, 63, 0.08));
  box-shadow: 0 0 20px rgba(141, 198, 63, 0.1);
}

.float3d-dot--gold {
  background: radial-gradient(circle at 30% 30%, rgba(200, 162, 92, 0.35), rgba(200, 162, 92, 0.08));
  box-shadow: 0 0 20px rgba(200, 162, 92, 0.1);
}

/* 3D Glass Orbs */
.glass-orb {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.5) 0%, rgba(209, 232, 213, 0.25) 40%, rgba(141, 198, 63, 0.1) 100%);
  box-shadow:
    inset -6px -8px 20px rgba(141, 198, 63, 0.1),
    inset 4px 4px 15px rgba(255, 255, 255, 0.4),
    0 8px 32px rgba(141, 198, 63, 0.08);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.glass-orb--gold {
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.5) 0%, rgba(240, 222, 176, 0.3) 40%, rgba(200, 162, 92, 0.1) 100%);
  box-shadow:
    inset -6px -8px 20px rgba(200, 162, 92, 0.1),
    inset 4px 4px 15px rgba(255, 255, 255, 0.4),
    0 8px 32px rgba(200, 162, 92, 0.08);
}

/* 3D drift keyframes — each with unique rotateX/Y/Z + translateZ for depth */
@keyframes float3d-drift-1 {
  0%, 100% { transform: translateY(0) translateZ(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  25% { transform: translateY(-20px) translateZ(30px) rotateX(8deg) rotateY(-12deg) rotateZ(5deg); }
  50% { transform: translateY(-35px) translateZ(15px) rotateX(-5deg) rotateY(8deg) rotateZ(-3deg); }
  75% { transform: translateY(-15px) translateZ(40px) rotateX(10deg) rotateY(-5deg) rotateZ(8deg); }
}

@keyframes float3d-drift-2 {
  0%, 100% { transform: translateY(0) translateZ(0) rotateX(0deg) rotateY(0deg) scale(1); }
  33% { transform: translateY(-25px) translateZ(25px) rotateX(-10deg) rotateY(15deg) scale(1.08); }
  66% { transform: translateY(-40px) translateZ(45px) rotateX(12deg) rotateY(-8deg) scale(0.95); }
}

@keyframes float3d-drift-3 {
  0%, 100% { transform: translateY(0) translateZ(0) rotateY(0deg) rotateZ(0deg); }
  30% { transform: translateY(-18px) translateZ(35px) rotateY(15deg) rotateZ(-6deg); }
  60% { transform: translateY(-30px) translateZ(20px) rotateY(-10deg) rotateZ(4deg); }
  80% { transform: translateY(-12px) translateZ(50px) rotateY(6deg) rotateZ(-8deg); }
}

@keyframes float3d-drift-4 {
  0%, 100% { transform: translateY(0) translateZ(0) rotateX(0deg) rotateY(0deg) scale(1); }
  50% { transform: translateY(-30px) translateZ(60px) rotateX(15deg) rotateY(-15deg) scale(1.12); }
}

@keyframes float3d-drift-5 {
  0%, 100% { transform: translateY(0) translateZ(0) rotateZ(0deg) rotateX(0deg); }
  25% { transform: translateY(-22px) translateZ(20px) rotateZ(10deg) rotateX(-8deg); }
  50% { transform: translateY(-10px) translateZ(40px) rotateZ(-5deg) rotateX(12deg); }
  75% { transform: translateY(-28px) translateZ(15px) rotateZ(8deg) rotateX(-5deg); }
}

@keyframes float3d-drift-6 {
  0%, 100% { transform: translateY(0) translateZ(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-20px) translateZ(30px) scale(1.3); opacity: 1; }
}

/* ===================== 3D MOUSE PERSPECTIVE (hero scene) ===================== */
[data-scene-3d] {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

/* ===================== 3D TRUST ICON CUBE ===================== */
.cube-wrap {
  perspective: 200px;
}

.cube {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cube__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

.cube__face--front {
  transform: translateZ(28px);
}

.cube__face--top {
  transform: rotateX(90deg) translateZ(28px);
}

.cube__face--top svg {
  color: var(--color-white);
}

.trust-item:hover .cube {
  transform: rotateX(-90deg);
}

/* ===================== 3D PILLAR CARD DEPTH ===================== */
.pillar-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.pillar-card__icon {
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pillar-card:hover .pillar-card__icon {
  transform: scale(1.08) translateZ(40px) rotateY(10deg);
}

.pillar-card__title,
.pillar-card__text {
  transition: transform 0.4s var(--ease-out);
}

.pillar-card:hover .pillar-card__title {
  transform: translateZ(20px);
}

.pillar-card:hover .pillar-card__text {
  transform: translateZ(10px);
}

/* ===================== 3D SERVICE CARD LAYERS ===================== */
.service-block {
  transform-style: preserve-3d;
  perspective: 1200px;
}

.service-block__illustration {
  transition: transform 0.6s var(--ease-out);
  transform-style: preserve-3d;
}

.service-block:hover .service-block__illustration {
  transform: translateZ(30px) rotateY(-3deg);
}

.service-block__content {
  transition: transform 0.5s var(--ease-out);
}

.service-block:hover .service-block__content {
  transform: translateZ(15px);
}

/* ===================== 3D HERO FLOAT BADGE DEPTH ===================== */
.hero__float-badge {
  transform-style: preserve-3d;
}

.hero__float-badge .badge-icon {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero__float-badge:hover .badge-icon {
  transform: translateZ(20px) rotateY(15deg);
}

/* ===================== 3D ABOUT ACCENT BOX ===================== */
.about__accent-box {
  transform-style: preserve-3d;
  animation: accent-float-3d 6s ease-in-out infinite;
}

@keyframes accent-float-3d {
  0%, 100% { transform: translateY(0) translateZ(0) rotateX(0deg); }
  50% { transform: translateY(-8px) translateZ(20px) rotateX(5deg); }
}

/* ===================== 3D TESTIMONIAL DEPTH ===================== */
.testimonial-card {
  transform-style: preserve-3d;
}

.testimonial__quote-mark {
  transition: transform 0.5s var(--ease-out);
}

.testimonial-card:hover .testimonial__quote-mark {
  transform: translateZ(30px) rotateZ(-8deg) scale(1.15);
}

/* ===================== 3D CTA SECTION DEPTH ===================== */
.cta {
  perspective: 1000px;
}

.cta__content {
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
}

.cta:hover .cta__content {
  transform: translateZ(10px);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .float3d-scene { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .ndis-badge { margin-left: auto; margin-right: auto; }
  .hero__visual { max-width: 380px; margin: 0 auto; }
  .hero__float-badge--top { right: -10px; }
  .hero__float-badge--bottom { left: -10px; }
  .about__inner { grid-template-columns: 1fr; text-align: center; }
  .about__image { max-width: 560px; margin: 0 auto; }
  .about__accent-box { right: 0; }
  .about__qualifications { align-items: center; }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) { direction: ltr; }
  .service-block:nth-child(even)::before { left: 0; right: auto; border-radius: 4px 0 0 4px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contact-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__inner { gap: var(--space-xl); }
}

@media (max-width: 768px) {
  body {
    text-align: left;
  }

  .home-page .about__content > p,
  .home-page .service-block__content > p,
  .home-page .service-block__detail,
  .home-page .faq-answer p,
  .home-page .contact-item__value,
  .home-page .footer__brand p {
    text-align: left;
  }

  h1, h2, h3, h4, h5, h6,
  p,
  li,
  .service-block__detail,
  .qualification__text,
  .testimonial-card p {
    text-align: left;
  }

  .service-block__content h3,
  .section-header h2 {
    text-wrap: balance;
  }

  .nav__drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, calc(100vw - 20px));
    padding: 5.5rem 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-left: 1px solid var(--color-border-light);
    box-shadow: -20px 0 48px rgba(44, 44, 44, 0.12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    transform: translateX(105%);
    transition: transform var(--transition-slow);
    z-index: 1002;
    overflow-y: auto;
  }

  .nav--open .nav__drawer {
    transform: translateX(0);
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav .btn--primary { display: none; }
  .nav-toggle { display: flex; }

  /* --- Backdrop --- */
  .nav-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 44, 44, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-backdrop.active {
    display: block;
    opacity: 1;
  }

  /* --- Mobile nav links --- */
  .nav--open .nav__list li {
    opacity: 0;
    animation: menuItemIn 0.4s var(--ease-out) forwards;
  }
  .nav--open .nav__list li:nth-child(1) { animation-delay: 0.06s; }
  .nav--open .nav__list li:nth-child(2) { animation-delay: 0.1s; }
  .nav--open .nav__list li:nth-child(3) { animation-delay: 0.14s; }
  .nav--open .nav__list li:nth-child(4) { animation-delay: 0.18s; }
  .nav--open .nav__list li:nth-child(5) { animation-delay: 0.22s; }
  .nav--open .nav__list li:nth-child(6) { animation-delay: 0.26s; }

  @keyframes menuItemIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .nav__link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.95rem 1rem;
    color: var(--color-text);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    display: block;
    text-align: left;
    transition: all 0.2s ease;
  }

  .nav__link:hover,
  .nav__link--active {
    color: var(--color-primary-dark);
    background: rgba(141, 198, 63, 0.08);
    border-color: rgba(141, 198, 63, 0.12);
    transform: translateX(4px);
  }

  .nav__list li {
    list-style: none;
  }

  /* --- Mobile Book Now CTA inside drawer --- */
  .nav__mobile-cta {
    display: block;
    margin-top: auto;
    padding: 1rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-glow-green);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .nav__mobile-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(141, 198, 63, 0.24);
  }

  .nav--open .nav__mobile-cta {
    opacity: 0;
    animation: menuItemIn 0.4s var(--ease-out) 0.32s forwards;
  }

  .hero { min-height: auto; padding: calc(var(--header-h, 72px) + var(--space-xl)) 0 var(--space-3xl); }
  .page-hero { padding: calc(var(--header-h, 72px) + var(--space-2xl)) 0 var(--space-xl); }
  .about__image {
    padding-bottom: 4.5rem;
  }
  .about__photo {
    aspect-ratio: 4 / 3.4;
  }
  .about__image::before { right: 18px; bottom: 20px; }
  .about__accent-box {
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 2rem);
    padding: 0.72rem 1rem;
    border-width: 2px;
    border-radius: 24px;
  }
  .about__accent-box .number {
    font-size: 1rem;
    letter-spacing: 0.4px;
  }
  .about__accent-box .label {
    font-size: 0.54rem;
    letter-spacing: 0.85px;
    line-height: 1.35;
  }
  .pillars-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .booklet-card { grid-template-columns: 1fr; }
  .booklet-feature { grid-template-columns: 1fr; }
  .booklet-feature__visual { max-width: 350px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; }
  .contact-bar__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; justify-content: center; }
  .trust-bar__inner { gap: var(--space-lg); }
  .trust-item__label { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
  }
  .service-block { padding: var(--space-xl); }
  .testimonial-card { padding: var(--space-xl); }
  .hero__float-badge { display: none; }
  .about__image {
    padding-bottom: 4rem;
  }
  .about__accent-box {
    bottom: 0.1rem;
    max-width: min(82%, 220px);
    padding: 0.6rem 0.85rem;
    border-radius: 20px;
  }
  .about__accent-box .number {
    font-size: 0.92rem;
  }
  .about__accent-box .label {
    font-size: 0.52rem;
    letter-spacing: 0.75px;
  }
}

/* Disable heavy effects for reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-progress,
  .cursor-glow,
  .float3d-scene { display: none !important; }
  .fade-up { opacity: 1; transform: none; }
  .hero__content > * { opacity: 1; transform: none; }
  .hero__visual { opacity: 1; transform: none; }
  .word__inner { transform: none; }
}

/* ========== FAQ ACCORDION ========== */
.faq { background: var(--color-surface); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  transition: color .3s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-question:hover { color: var(--color-primary); }

.faq-answer {
  padding: 0 0 1.5rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq-answer p { margin: 0; }

/* ========== SECTION BREAK ========== */
.section-break {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--color-primary-lighter) 30%, var(--color-primary-light) 50%, var(--color-primary-lighter) 70%, transparent 95%);
  margin: clamp(1rem, 3vw, 2.5rem) 0;
}

/* ========== NEWSLETTER BAR ========== */
.newsletter-bar {
  background: var(--color-surface);
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(0,0,0,.06);
}

.newsletter-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.newsletter-bar__text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: .25rem;
}

.newsletter-bar__text p {
  color: var(--color-text-light);
  font-size: .95rem;
  margin: 0;
}

.newsletter-bar__form {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

.newsletter-bar__form input[type="email"] {
  padding: .75rem 1.25rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius-full);
  font-size: .95rem;
  width: 280px;
  transition: border-color .3s;
  font-family: var(--font-body);
}

.newsletter-bar__form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(141, 198, 63,.15);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 768px) {
  .newsletter-bar__inner { flex-direction: column; text-align: center; }
  .newsletter-bar__form { width: 100%; }
  .newsletter-bar__form input[type="email"] { flex: 1; width: auto; }
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  font-size: .9rem;
  z-index: 10000;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
}

/* ========== FOCUS VISIBLE ========== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ========== PRINT STYLES ========== */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body { font-size: 12pt; line-height: 1.5; }
  .header,
  .nav-toggle,
  .scroll-progress,
  .cursor-glow,
  .float3d-scene,
  .newsletter-bar,
  .skip-link,
  .slider-dots,
  .cta,
  .contact-bar { display: none !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .85em; }
  .section { page-break-inside: avoid; }
  img, svg { max-width: 100% !important; }
}
