/* ==========================================================================
   3 Piglets Cleaning — Homepage stylesheet
   Palette sampled from 3pigletscleaning.com.au (brand primary #42205C)
   ========================================================================== */

:root {
  --purple-900: #2E1640;
  --purple-800: #3B1856;
  --purple-700: #42205C;
  --purple-600: #6B5180;
  --purple-500: #7A638D;
  --purple-400: #A090AD;
  --purple-200: #D6C9E0;
  --purple-100: #F7EEFF;
  --purple-050: #F4EDFF;

  --white: #FFFFFF;
  --ink: #282C35;
  --ink-muted: #6E727B;

  --color-brand: var(--purple-700);
  --color-brand-hover: var(--purple-800);
  --color-brand-active: var(--purple-900);
  --color-bg: var(--white);
  --color-bg-subtle: var(--purple-050);
  --color-bg-highlight: var(--purple-100);
  --color-text: var(--ink);
  --color-text-muted: var(--ink-muted);
  --color-text-on-brand: var(--white);
  --color-heading: var(--purple-700);
  --color-border: #E9E1F0;
  --color-focus-ring: var(--purple-600);

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-btn: 0 6px 18px rgba(66, 32, 92, .22);
  --shadow-cta: 0 14px 30px rgba(66, 32, 92, .26);
  --shadow-card: 0 18px 40px rgba(66, 32, 92, .13);
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--color-brand); text-decoration: none; }
a:hover { color: var(--purple-600); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

::selection { background: var(--purple-200); }

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

.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple-600);
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head h2 {
  margin-top: 14px;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--color-heading);
}
.section-head p {
  margin-top: 18px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  padding: 17px 30px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { flex: 0 0 auto; }

.btn--primary {
  background: var(--color-brand);
  color: var(--color-text-on-brand);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--color-brand-hover); color: var(--color-text-on-brand); }
.btn--primary:active { background: var(--color-brand-active); }

.btn--outline {
  background: var(--white);
  color: var(--color-brand);
  border: 1.5px solid var(--purple-200);
}
.btn--outline:hover { border-color: var(--color-brand); color: var(--color-brand); }

.btn--light {
  background: var(--white);
  color: var(--color-brand);
  padding: 16px 28px;
  font-size: 15.5px;
}
.btn--light:hover { background: var(--color-bg-highlight); color: var(--color-brand); }

.btn--ghost-on-brand {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(214, 201, 224, .5);
  padding: 16px 28px;
  font-size: 15.5px;
}
.btn--ghost-on-brand:hover { border-color: var(--white); color: var(--white); }

.btn--sm {
  padding: 12px 22px;
  font-size: 14.5px;
  box-shadow: var(--shadow-btn);
}

/* ---------- Utility bar ---------- */

.utility-bar {
  background: var(--purple-900);
  color: var(--purple-200);
  font-size: 13px;
  letter-spacing: .02em;
}
.utility-bar .container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.utility-bar__left { display: flex; align-items: center; gap: 10px; }
.utility-bar__right { display: flex; align-items: center; gap: 22px; }
.utility-bar__email { color: var(--purple-100); font-weight: 600; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--color-bg-subtle);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-brand);
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--purple-500);
  letter-spacing: .34em;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--color-bg-highlight);
  color: var(--color-brand);
}

.header-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-brand);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--purple-200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--color-brand);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--color-bg-subtle);
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0 0 0 38%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg,
    var(--color-bg-subtle) 0%,
    var(--color-bg-subtle) 40%,
    rgba(244, 237, 255, .92) 50%,
    rgba(244, 237, 255, 0) 68%);
}
.hero__rule {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(var(--purple-700), var(--purple-500));
}
.hero .container { position: relative; padding-top: 96px; padding-bottom: 96px; width: 100%; }
.hero__inner { max-width: 600px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--purple-200);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-brand);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-600); }

.hero h1 {
  margin-top: 26px;
  font-size: 66px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 span { color: var(--color-brand); }
.hero__lede {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 470px;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.social-proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.avatar-stack { display: flex; }
.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--color-bg-subtle);
  background: var(--purple-200);
}
.avatar-stack img + img { margin-left: -12px; }
.social-proof__text { font-size: 14px; line-height: 1.45; color: var(--color-text); }
.social-proof__text span { color: var(--color-text-muted); }

/* ---------- Trust bar ---------- */

.trust-bar { background: var(--white); border-bottom: 1px solid var(--color-border); }
.trust-bar .container {
  padding-top: 34px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust { display: flex; gap: 14px; align-items: flex-start; }
.icon-tile {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-bg-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust h4 { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.trust p { margin-top: 5px; font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }

/* ---------- Services ---------- */

.services { padding: 104px 0; background: var(--white); }
.service-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  padding: 30px 26px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  border-color: var(--purple-200);
}
.service-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card h3 { margin-top: 20px; font-size: 18px; font-weight: 700; color: var(--ink); }
.service-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--color-text-muted); }

.link-arrow {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-brand);
  transition: gap .18s ease, color .18s ease;
}
.link-arrow:hover { gap: 12px; color: var(--purple-600); }

/* ---------- Why us / stats ---------- */

.why {
  background: var(--color-brand);
  color: var(--white);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.why__blob {
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #4E2A6B;
}
.why .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.5fr;
  gap: 64px;
  align-items: center;
}
.why .eyebrow { color: var(--purple-400); }
.why h2 {
  margin-top: 14px;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--white);
}
.why p {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--purple-200);
  text-wrap: pretty;
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 0 22px;
  border-left: 1px solid rgba(214, 201, 224, .28);
  text-align: center;
}
.stat:last-child { border-right: 1px solid rgba(214, 201, 224, .28); }
.stat__value { font-size: 42px; font-weight: 800; letter-spacing: -.03em; color: var(--white); }
.stat__label { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--purple-200); }

/* ---------- How it works ---------- */

.how { background: var(--white); padding: 100px 0; }
.how .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.how__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 220px;
  gap: 16px;
}
.how__gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; background: var(--color-bg-subtle); }
.how__gallery img:first-child { grid-column: 1 / span 2; }
.how h2 {
  margin-top: 14px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--color-heading);
}
.steps { margin-top: 34px; display: flex; flex-direction: column; gap: 26px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}
.step h3 { font-size: 19px; font-weight: 700; color: var(--ink); }
.step p { margin-top: 7px; font-size: 15.5px; line-height: 1.6; color: var(--color-text-muted); }

/* ---------- Testimonials ---------- */

.reviews { background: var(--color-bg-subtle); padding: 100px 0; }
.reviews .section-head h2 { font-size: 44px; }
.review-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review {
  padding: 28px 26px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review__stars { color: var(--color-brand); font-size: 16px; letter-spacing: 2px; }
.review blockquote { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review figcaption img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--purple-200);
}
.review__who { font-size: 14px; line-height: 1.4; }
.review__who strong { font-weight: 700; color: var(--ink); }
.review__who span { color: var(--color-text-muted); }

/* ---------- Contact / CTA ---------- */

.contact { background: var(--white); padding: 96px 0; }
.contact__panel {
  max-width: var(--container);
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.contact__cta { background: var(--color-brand); padding: 56px 52px; color: var(--white); }
.contact__cta h2 {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--white);
}
.contact__cta p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--purple-200);
  max-width: 400px;
  text-wrap: pretty;
}
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.contact__details {
  padding: 56px 52px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.detail { display: flex; gap: 16px; align-items: flex-start; }
.detail .icon-tile { background: var(--color-bg-subtle); }
.detail__label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple-600);
}
.detail__value { margin-top: 6px; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.detail__value--big { font-size: 21px; font-weight: 800; color: var(--color-brand); }
.detail__note { margin-top: 4px; font-size: 14px; color: var(--color-text-muted); }

/* ---------- Footer ---------- */

.site-footer { background: var(--purple-900); color: var(--purple-200); padding: 44px 0; }
.site-footer .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.site-footer .brand__name { color: var(--white); font-size: 17px; }
.site-footer .brand__sub { color: var(--purple-400); font-size: 9px; }
.site-footer .brand__mark { width: 40px; height: 40px; border-radius: 9px; }
.copyright { font-size: 13.5px; color: var(--purple-400); }
.footer-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13.5px;
  font-weight: 600;
}
.footer-links a { color: var(--purple-200); }
.footer-links a:hover { color: var(--white); }
.social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(214, 201, 224, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-200);
}
.social:hover { border-color: var(--white); color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1160px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:last-child { border-right: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .utility-bar { display: none; }
  .hero { min-height: 0; }
  .hero__media { position: relative; inset: auto; height: 320px; }
  .hero { display: block; }
  .hero__scrim, .hero__rule { display: none; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 46px; }
  .hero__inner { max-width: none; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why .container { grid-template-columns: 1fr; gap: 40px; }
  .how .container { grid-template-columns: 1fr; gap: 44px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .contact__panel { grid-template-columns: 1fr; }
  .section-head h2, .reviews .section-head h2 { font-size: 34px; }
  .how h2, .why h2, .contact__cta h2 { font-size: 32px; }
}

@media (max-width: 620px) {
  .trust-bar .container,
  .service-grid,
  .review-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .contact__cta, .contact__details { padding: 36px 26px; }
  .footer-links { margin-left: 0; }
  .header-phone span { display: none; }
}

/* ==========================================================================
   Site-wide extensions — full-site build
   ========================================================================== */

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-brand); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 var(--radius-md) 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------- Mobile navigation ---------- */
.nav-toggle[aria-expanded="true"] { background: var(--color-bg-highlight); }
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
  z-index: 120; background: var(--white);
  border-left: 1px solid var(--color-border);
  box-shadow: -20px 0 60px rgba(46, 22, 64, .18);
  overflow-y: auto; padding: 22px 22px 40px;
  transform: translateX(100%); transition: transform .26s ease;
}
.mobile-nav.is-open { transform: translateX(0); }
body.nav-open { overflow: hidden; }
.nav-scrim {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(46, 22, 64, .45); opacity: 0; transition: opacity .26s ease;
}
.nav-scrim.is-open { opacity: 1; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__close {
  background: none; border: 1px solid var(--purple-200); color: var(--color-brand);
  border-radius: var(--radius-sm); padding: 8px 11px; cursor: pointer; line-height: 0;
}
.mobile-nav a { display: block; padding: 12px 12px; border-radius: var(--radius-sm); font-weight: 600; color: var(--color-text); }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--color-bg-highlight); color: var(--color-brand); }
.mobile-nav__group > span {
  display: block; padding: 16px 12px 6px; font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--purple-600);
}
.mobile-nav__group a { padding-left: 24px; font-weight: 500; font-size: 15px; }
.mobile-nav__cta { margin-top: 20px; display: grid; gap: 10px; }
.mobile-nav__cta .btn { justify-content: center; }

/* ---------- Dropdown (desktop) ---------- */
.has-sub { position: relative; }
.has-sub > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border: none; background: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--color-text);
  border-radius: var(--radius-sm);
}
.has-sub > button:hover, .has-sub[data-open="true"] > button { background: var(--color-bg-highlight); color: var(--color-brand); }
.has-sub > button svg { transition: transform .18s ease; }
.has-sub[data-open="true"] > button svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 292px;
  background: var(--white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 8px; display: none; z-index: 60;
}
.has-sub[data-open="true"] .sub-menu { display: block; }
.sub-menu a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; color: var(--color-text); }
.sub-menu a:hover { background: var(--color-bg-highlight); color: var(--color-brand); }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { background: var(--color-bg-subtle); border-bottom: 1px solid var(--color-border); }
.breadcrumb .container { padding-top: 14px; padding-bottom: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--color-text-muted); }
.breadcrumb li + li::before { content: "/"; color: var(--purple-400); }
.breadcrumb a { color: var(--purple-600); font-weight: 600; }
.breadcrumb a:hover { color: var(--color-brand); }
.breadcrumb [aria-current="page"] { color: var(--color-text); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--color-brand); color: var(--white); padding: 72px 0 78px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -160px; top: -180px;
  width: 460px; height: 460px; border-radius: 50%; background: #4E2A6B; z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--purple-400); }
.page-hero h1 {
  margin-top: 14px; font-size: 50px; line-height: 1.08; font-weight: 800;
  letter-spacing: -.03em; color: var(--white); max-width: 900px; text-wrap: balance;
}
.page-hero__lede { margin-top: 20px; font-size: 18.5px; line-height: 1.62; color: var(--purple-200); max-width: 720px; text-wrap: pretty; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.page-hero__fact { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--purple-200); }
.page-hero__fact strong { color: var(--white); font-weight: 700; }

/* ---------- Prose / article body ---------- */
.prose { font-size: 17px; line-height: 1.72; color: var(--color-text); }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  margin-top: 52px; font-size: 31px; line-height: 1.2; font-weight: 800;
  letter-spacing: -.02em; color: var(--color-heading); scroll-margin-top: 92px;
}
.prose h3 { margin-top: 36px; font-size: 21px; font-weight: 700; color: var(--ink); scroll-margin-top: 92px; }
.prose h4 { margin-top: 28px; font-size: 17.5px; font-weight: 700; color: var(--ink); }
.prose p { text-wrap: pretty; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: var(--purple-200); }
.prose a:hover { text-decoration-color: var(--color-brand); }
.prose ul, .prose ol { padding-left: 24px; list-style: revert; }
.prose ul li, .prose ol li { margin-top: 10px; padding-left: 4px; }
.prose ul li::marker { color: var(--color-brand); }
.prose ol li::marker { color: var(--color-brand); font-weight: 700; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose img { border-radius: 14px; margin-top: 28px; }
.prose figure { margin-top: 32px; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--color-text-muted); text-align: center; }
.prose blockquote {
  margin-top: 30px; padding: 22px 26px; border-left: 4px solid var(--color-brand);
  background: var(--color-bg-subtle); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 17.5px; line-height: 1.65; color: var(--ink);
}
.prose hr { margin-top: 44px; border: none; border-top: 1px solid var(--color-border); }

/* ---------- Tables ---------- */
.table-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.table-wrap caption {
  caption-side: top; text-align: left; padding: 16px 20px 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--purple-600); background: var(--color-bg-subtle);
  border-bottom: 1px solid var(--color-border);
}
.table-wrap th, .table-wrap td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.table-wrap thead th { background: var(--color-bg-highlight); color: var(--color-brand); font-weight: 700; font-size: 14px; }
.table-wrap tbody tr:last-child td, .table-wrap tbody tr:last-child th { border-bottom: none; }
.table-wrap tbody tr:nth-child(even) { background: #FBF8FE; }
.table-wrap tbody th { font-weight: 700; color: var(--ink); }
.table-wrap td small { display: block; margin-top: 4px; font-size: 13px; color: var(--color-text-muted); }
.tick { color: #2F7D4F; font-weight: 700; }
.cross { color: #B23B4A; font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-list { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.faq-item[open] { border-color: var(--purple-200); box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-size: 17px; font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  margin-top: -6px; border-right: 2.4px solid var(--color-brand); border-bottom: 2.4px solid var(--color-brand);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { background: var(--color-bg-subtle); }
.faq-item__body { padding: 0 24px 22px; font-size: 16px; line-height: 1.7; color: var(--color-text-muted); }
.faq-item__body > * + * { margin-top: 14px; }
.faq-item__body a { font-weight: 600; }

/* ---------- Callouts ---------- */
.callout {
  margin-top: 30px; padding: 24px 26px; border-radius: var(--radius-lg);
  background: var(--color-bg-subtle); border: 1px solid var(--color-border);
  display: flex; gap: 18px; align-items: flex-start;
}
.callout__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--white); display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); }
.callout h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.callout p { margin-top: 8px; font-size: 15.5px; line-height: 1.65; color: var(--color-text-muted); }
.callout--brand { background: var(--color-bg-highlight); border-color: var(--purple-200); }

/* ---------- Key-fact strip ---------- */
.keyfacts { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.keyfact { padding: 20px 22px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--white); }
.keyfact__value { font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: var(--color-brand); }
.keyfact__label { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--color-text-muted); }

/* ---------- Two-column layout with sidebar ---------- */
.layout { padding: 66px 0 88px; background: var(--white); }
.layout .container { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.layout--wide .container { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
.side-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; background: var(--white); }
.side-card--brand { background: var(--color-brand); border-color: var(--color-brand); color: var(--white); }
.side-card--brand h3 { color: var(--white); }
.side-card--brand p { color: var(--purple-200); }
.side-card h3 { font-size: 17px; font-weight: 800; color: var(--ink); }
.side-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--color-text-muted); }
.side-card .btn { margin-top: 18px; width: 100%; justify-content: center; }
.side-links { margin-top: 14px; display: flex; flex-direction: column; }
.side-links a { padding: 9px 0; font-size: 14.5px; font-weight: 600; border-bottom: 1px solid var(--color-border); color: var(--color-text); }
.side-links a:last-child { border-bottom: none; }
.side-links a:hover { color: var(--color-brand); }
.side-phone { display: block; margin-top: 14px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--white); }
.side-phone:hover { color: var(--white); }

/* ---------- Table of contents ---------- */
.toc { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 22px 24px; background: var(--color-bg-subtle); }
.toc__title { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-600); }
.toc ol { margin-top: 12px; padding-left: 20px; list-style: decimal; font-size: 14.5px; }
.toc li { margin-top: 8px; }
.toc a { color: var(--color-text); font-weight: 600; }
.toc a:hover { color: var(--color-brand); }

/* ---------- Suburb / link grids ---------- */
.chip-grid { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 999px; border: 1px solid var(--purple-200); background: var(--white);
  font-size: 14px; font-weight: 600; color: var(--color-brand);
}
.chip:hover { background: var(--color-bg-highlight); color: var(--color-brand); border-color: var(--color-brand); }

.card-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  background: var(--white); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); border-color: var(--purple-200); }
.card__media { aspect-ratio: 16 / 10; background: var(--color-bg-subtle); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__tag { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-600); }
.card__body h3 { margin-top: 10px; font-size: 18.5px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.card__body h3 a { color: inherit; }
.card__body h3 a:hover { color: var(--color-brand); }
.card__body p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--color-text-muted); }
.card__meta { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--color-text-muted); }

/* ---------- Steps (numbered process) ---------- */
.process { margin-top: 36px; display: grid; gap: 20px; }
.process__item { display: flex; gap: 20px; padding: 22px 24px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--white); }
.process__num { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--color-brand); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.process__item h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); }
.process__item p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--color-text-muted); }

/* ---------- Checklist ---------- */
.checklist { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; list-style: none; padding: 0; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--color-text); margin-top: 0; padding-left: 0; }
.checklist svg { flex: 0 0 auto; margin-top: 3px; }

/* ---------- Contact form ---------- */
.form-card { border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: 34px; background: var(--white); box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field label span { color: #B23B4A; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; padding: 13px 15px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(107, 81, 128, .16);
}
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { font-size: 13px; color: var(--color-text-muted); }
.form-card .btn { margin-top: 24px; width: 100%; justify-content: center; }
.form-note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--color-text-muted); text-align: center; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md); font-size: 14.5px; line-height: 1.55; }
.form-status--ok { background: #EAF6EF; color: #1F5B39; border: 1px solid #BFE0CC; }
.form-status--err { background: #FCEDEF; color: #8E2A38; border: 1px solid #F0CBD1; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 52px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center;
  font-size: 14.5px; font-weight: 700; color: var(--color-text);
}
.pagination a:hover { border-color: var(--color-brand); color: var(--color-brand); }
.pagination [aria-current="page"] { background: var(--color-brand); border-color: var(--color-brand); color: var(--white); }

/* ---------- Post meta ---------- */
.post-head { max-width: 900px; }
.post-head h1 { margin-top: 16px; font-size: 46px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--white); text-wrap: balance; }
.post-meta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 14px; color: var(--purple-200); }
.post-meta__item { display: flex; align-items: center; gap: 8px; }
.post-figure { margin: 0 0 40px; }
.post-figure img { width: 100%; border-radius: var(--radius-xl); }

/* ---------- Author box ---------- */
.author-box { margin-top: 56px; padding: 26px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg-subtle); display: flex; gap: 20px; align-items: flex-start; }
.author-box img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--purple-200); }
.author-box h3 { font-size: 16.5px; font-weight: 800; color: var(--ink); }
.author-box p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--color-text-muted); }

/* ---------- Inline SVG figure ---------- */
.svg-figure { margin: 34px 0 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px 24px 20px; background: var(--white); }
.svg-figure__title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-600); }
.svg-figure svg { display: block; width: 100%; height: auto; margin-top: 18px; }
.svg-figure figcaption { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--color-text-muted); }

/* ---------- Related ---------- */
.related { background: var(--color-bg-subtle); padding: 82px 0; border-top: 1px solid var(--color-border); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--color-brand); color: var(--white); padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -140px; bottom: -190px; width: 420px; height: 420px; border-radius: 50%; background: #4E2A6B; }
.cta-band .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--white); max-width: 620px; text-wrap: balance; }
.cta-band p { margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--purple-200); max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Section helpers ---------- */
.section { padding: 88px 0; }
.section--subtle { background: var(--color-bg-subtle); }
.section--tight { padding: 60px 0; }
.section-head--left { text-align: left; margin: 0; max-width: 720px; }

/* ---------- Responsive additions ---------- */
@media (max-width: 1160px) {
  .layout .container { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar > * { flex: 1 1 300px; }
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .page-hero { padding: 54px 0 60px; }
  .page-hero h1 { font-size: 36px; }
  .post-head h1 { font-size: 33px; }
  .card-grid, .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose h2 { font-size: 26px; margin-top: 42px; }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .cta-band h2 { font-size: 28px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .page-hero h1 { font-size: 30px; }
  .post-head h1 { font-size: 27px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 23px; }
  .form-card { padding: 24px 20px; }
  .callout { flex-direction: column; gap: 14px; }
  .layout { padding: 44px 0 62px; }
  .section { padding: 60px 0; }
  .keyfacts { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .utility-bar, .site-header, .mobile-nav, .nav-scrim, .cta-band, .site-footer, .sidebar, .skip-link { display: none !important; }
  .layout .container { grid-template-columns: minmax(0, 1fr); }
}
