@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

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

:root {
  /* Brand palette matched to reacco.com.au */
  --primary:            #122549;
  --primary-light:      #203560;
  --primary-container:  #141d2e;
  --on-primary:         #fffaeb;
  --on-primary-container: #b9c3d6;
  --secondary:          #f59f0a;
  --secondary-container:#d98b06;
  --on-secondary:       #0c1831;
  --tertiary:           #12283c;
  --background:         #fbfaf9;
  --surface:            #fbfaf9;
  --surface-low:        #f5f3ef;
  --surface-container:  #efece6;
  --surface-high:       #e9e5de;
  --surface-white:      #ffffff;
  --on-surface:         #141d2e;
  --on-surface-variant: #4a5568;
  --outline:            #74777d;
  --outline-variant:    #dadee7;
  --secondary-fixed:    #fdefd2;
  --inverse-surface:    #2d3131;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Radii */
  --radius-sm:   4px;
  --radius:      8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  /* Spacing */
  --container: 1200px;
  --gutter:    24px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--on-surface); background: var(--background); line-height: 1.6; font-size: 16px; }

/* ── MATERIAL ICONS ── */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px; line-height: 1; display: inline-block; vertical-align: middle;
}

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,249,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { width: 40px; height: 40px; border-radius: 8px; display: block; }
.nav-logo-text {
  font-family: var(--font-heading); font-size: 24px; font-weight: 700;
  color: var(--primary-container); letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a, .nav-dropdown > button {
  color: var(--on-surface-variant); text-decoration: none;
  font-size: 15px; font-weight: 500; background: none; border: none;
  cursor: pointer; padding: 4px 0; transition: color 0.2s;
  display: flex; align-items: center; gap: 4px; font-family: var(--font-body);
}
.nav-links > a:hover, .nav-dropdown > button:hover { color: var(--primary); }
.nav-links > a.active { color: var(--primary); font-weight: 600; border-bottom: 2px solid var(--secondary); padding-bottom: 2px; }

.nav-cta {
  background: var(--secondary) !important; color: var(--on-secondary) !important;
  font-weight: 600 !important; padding: 12px 24px !important; border-radius: 6px !important;
  text-decoration: none !important; border: none !important; cursor: pointer !important;
  font-family: var(--font-body) !important; font-size: 15px !important;
  transition: background 0.2s, transform 0.1s !important;
  display: inline-flex !important; align-items: center !important;
}
.nav-cta:hover { background: var(--secondary-container) !important; transform: scale(1.02); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--surface-white); border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(22,40,57,0.10); min-width: 240px; padding: 8px;
}
/* Invisible bridge so the cursor can cross the gap between button and menu without closing it */
.nav-dropdown:hover::after, .nav-dropdown.open::after {
  content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 16px;
}
@media (hover: hover) { .nav-dropdown:hover .nav-dropdown-menu { display: block; } }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; color: var(--on-surface) !important; padding: 10px 14px; border-radius: var(--radius);
  text-decoration: none; font-size: 14px; font-weight: 500;
}
.nav-dropdown-menu a:hover { background: var(--surface-low); color: var(--primary) !important; }
.chevron { font-size: 10px; opacity: 0.6; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--secondary); color: var(--on-secondary); border: none; cursor: pointer;
  padding: 14px 32px; border-radius: 6px; font-size: 16px; font-weight: 600;
  text-decoration: none; font-family: var(--font-body);
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--secondary-container); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--on-primary); border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer; padding: 14px 32px; border-radius: var(--radius); font-size: 16px; font-weight: 600;
  text-decoration: none; font-family: var(--font-body);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary); border: 2px solid var(--outline-variant);
  cursor: pointer; padding: 12px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  text-decoration: none; font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-dark:hover { border-color: var(--primary); background: var(--surface-low); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 620px;
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #122549 0%, #203560 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/perth-skyline.webp') center/cover no-repeat;
  opacity: 0.4; filter: blur(2px); transform: scale(1.05);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,37,73,0.75) 0%, rgba(32,53,96,0.6) 100%);
}
/* WHY BOX (white card, matches live site) */
.hero-why {
  background: var(--surface-white); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: 0 24px 60px -12px rgba(0,0,0,0.35);
  transform: rotate(-2deg);
}
.hero-why h3 {
  font-family: var(--font-heading); color: var(--primary-container);
  font-size: 22px; font-weight: 700; margin-bottom: 20px;
}
.hero-why ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.hero-why li {
  color: #333f52; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 12px;
}
.hero-why li::before {
  content: '✓'; color: var(--secondary); border: 1.5px solid var(--secondary);
  width: 20px; height: 20px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* Faint image watermark behind light sections (services) */
.section-watermark { position: relative; overflow: hidden; }
.section-watermark::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/services-construction.webp') center/cover no-repeat;
  opacity: 0.08; pointer-events: none;
}
.section-watermark .section-inner { position: relative; z-index: 1; }

/* Blurred image behind dark sections (about) */
.section-imgdark { position: relative; overflow: hidden; }
.section-imgdark::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/perth-skyline.webp') center/cover no-repeat;
  opacity: 0.4; filter: blur(2px); transform: scale(1.05);
}
.section-imgdark::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(18,37,73,0.78);
}
.section-imgdark .section-inner { position: relative; z-index: 1; }
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 96px var(--gutter);
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
}
.hero-content { max-width: 680px; }
.hero-overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: #e9e6df; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-full);
  padding: 10px 22px; margin-bottom: 28px;
}
.hero-overline .material-symbols-outlined { color: var(--secondary); font-size: 18px; }
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(40px,5vw,58px);
  font-weight: 700; color: var(--on-primary); line-height: 1.15;
  letter-spacing: -0.01em; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--secondary); }
.hero-sub { color: var(--on-primary-container); font-size: 18px; line-height: 1.65; margin-bottom: 36px; max-width: 620px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: var(--font-heading); font-size: 32px; font-weight: 700;
  color: var(--on-primary); line-height: 1;
}
.hero-stat-label { font-size: 13px; color: var(--on-primary-container); margin-top: 4px; }

/* WHY BOX (hero sidebar) */
.hero-why {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 32px;
}
.hero-why h3 { color: var(--on-primary); font-size: 16px; font-weight: 600; margin-bottom: 20px; font-family: var(--font-body); }
.hero-why ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero-why li { color: var(--on-primary-container); font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.hero-why li::before { content: '✓'; color: var(--secondary-container); font-weight: 700; flex-shrink: 0; }

/* ── SECTION WRAPPERS ── */
.section { padding: 80px 0; }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section-sm { padding: 56px 0; }

.section-bg-white { background: var(--surface-white); }
.section-bg-warm  { background: var(--surface-low); }
.section-bg-dark  { background: var(--primary); }
.section-bg-slate { background: #f5f3ef; }

/* ── SECTION HEADER ── */
.section-label {
  font-size: 14px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 10px; font-family: var(--font-body);
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(28px,3vw,40px);
  font-weight: 600; color: var(--primary); line-height: 1.25; margin-bottom: 16px;
}
.section-title-white { color: var(--on-primary); }
.section-sub { color: var(--on-surface-variant); font-size: 16px; line-height: 1.7; max-width: 640px; }
.section-header-center { text-align: center; margin-bottom: 64px; }
.section-header-center .section-sub { margin: 0 auto; }

/* ── SERVICE CARDS (Industry / Feature cards) ── */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 28px; }

.card {
  background: var(--surface-white); border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 2px 12px rgba(22,40,57,0.06);
  overflow: hidden; transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 8px 32px rgba(22,40,57,0.10); transform: translateY(-2px); }

.card-img { height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }

.card-img-placeholder {
  height: 220px; display: flex; align-items: center; justify-content: center; font-size: 48px;
  background: linear-gradient(135deg, var(--surface-high), var(--surface-container));
}

.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card-body .material-symbols-outlined { color: var(--secondary); font-size: 30px; }
.card-body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; color: var(--primary); }
.card-body p { color: var(--on-surface-variant); font-size: 15px; line-height: 1.65; flex: 1; }
.card-link { color: var(--secondary); font-size: 14px; font-weight: 600; margin-top: 8px; display: flex; align-items: center; gap: 4px; }

/* Flat service cards (icon only, no photo) */
.svc-card {
  background: var(--surface-white); border-radius: var(--radius-md);
  border: 1px solid rgba(18,37,73,0.06); box-shadow: 0 2px 20px -2px rgba(18,37,73,0.08);
  padding: 32px; transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px;
}
.svc-card:hover { box-shadow: 0 8px 32px -2px rgba(18,37,73,0.14); transform: translateY(-2px); }
.svc-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--secondary-fixed); display: flex; align-items: center; justify-content: center;
}
.svc-icon .material-symbols-outlined { color: var(--secondary); font-size: 24px; }
.svc-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--primary); }
.svc-card p { color: var(--on-surface-variant); font-size: 14px; line-height: 1.65; flex: 1; }

/* ── WHY CHOOSE US ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col-img { position: relative; }
.two-col-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(22,40,57,0.15); border: 4px solid var(--surface-white); }
.two-col-img-placeholder {
  width: 100%; height: 380px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-high), var(--surface-container));
  display: flex; align-items: center; justify-content: center; font-size: 64px;
  border: 4px solid var(--surface-white); box-shadow: 0 20px 60px rgba(22,40,57,0.12);
}
.floating-badge {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--secondary); padding: 24px 28px; border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(162,63,0,0.3);
}
.floating-badge p { color: var(--on-secondary); font-family: var(--font-heading); font-size: 18px; font-style: italic; }

.feature-list { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon-badge {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--secondary-fixed); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon-badge .material-symbols-outlined { color: var(--secondary); font-size: 20px; }
.feature-item h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.feature-item p { color: var(--on-surface-variant); font-size: 14px; line-height: 1.6; }

/* ── ABOUT / DARK SECTION ── */
.about-stat-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 36px; margin-bottom: 24px;
}
.about-stat-num {
  font-family: var(--font-heading); font-size: 64px; font-weight: 600;
  color: var(--secondary-container); line-height: 1;
}
.about-stat-label { color: var(--on-primary); font-size: 17px; font-weight: 600; margin-top: 4px; }
.about-stat-sub { color: var(--on-primary-container); font-size: 13px; margin-top: 6px; }

.about-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full); padding: 8px 18px;
  color: var(--on-primary-container); font-size: 13px; font-weight: 500;
}
.about-badge::before { content: '●'; color: var(--secondary-container); font-size: 8px; }

.dark-text h2 { color: var(--on-primary); }
.dark-text p { color: var(--on-primary-container); font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.dark-text .section-label { color: var(--secondary-container); }

.accreditations-label { color: var(--on-primary-container); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 28px; }
.accreditations { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.accreditation-badge {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 14px 20px; text-align: center;
}
.accreditation-badge .badge-label { color: var(--on-primary-container); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
.accreditation-badge .badge-name { color: var(--on-primary); font-size: 13px; font-weight: 600; }
.accreditation-badge-img { background: #fff; border-color: rgba(255,255,255,0.4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 130px; }
.accreditation-badge-img img { height: 64px; width: auto; max-width: 100px; object-fit: contain; display: block; }
.accreditation-badge-img .badge-label { color: var(--primary, #162839); margin-bottom: 0; }

/* ── TEAM ── */
.team-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; max-width: 900px; margin: 0 auto; }
.team-photo-placeholder {
  width: 220px; height: 240px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface-high), var(--surface-container));
  display: flex; align-items: center; justify-content: center; font-size: 56px;
  border: 3px solid var(--surface-white); box-shadow: 0 8px 24px rgba(22,40,57,0.08);
}
.team-photo {
  width: 220px; height: 320px; border-radius: var(--radius-lg);
  object-fit: cover; object-position: center; display: block;
  border: 3px solid var(--surface-white); box-shadow: 0 8px 24px rgba(22,40,57,0.08);
}
.team-name { font-family: var(--font-heading); font-size: 30px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.team-title { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary); margin-bottom: 20px; }
.team-bio p { color: var(--on-surface-variant); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }

/* ── TESTIMONIAL ── */
.testimonial { text-align: center; max-width: 780px; margin: 0 auto; padding: 80px var(--gutter); }
.testimonial-quote { font-family: var(--font-heading); font-size: 24px; font-style: italic; color: var(--primary); line-height: 1.6; margin-bottom: 28px; }
.testimonial-author { font-weight: 700; color: var(--primary); font-size: 15px; }
.testimonial-company { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); margin-top: 4px; }

/* ── PRICING ── */
.pricing-hero { background: var(--primary); padding: 80px var(--gutter); text-align: center; }
.pricing-hero h1 { font-family: var(--font-heading); font-size: clamp(32px,4vw,50px); font-weight: 600; color: var(--on-primary); margin-bottom: 16px; line-height: 1.2; letter-spacing: -0.02em; }
.pricing-hero h1 em { font-style: italic; }
.pricing-hero p { color: var(--on-primary-container); font-size: 16px; }

.tabs { display: flex; gap: 6px; background: var(--surface-container); border-radius: var(--radius-md); padding: 6px; width: fit-content; margin: 0 auto 48px; }
.tab-btn { padding: 10px 24px; border-radius: var(--radius); border: none; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--on-surface-variant); background: none; transition: all 0.2s; font-family: var(--font-body); }
.tab-btn.active { background: var(--surface-white); color: var(--on-surface); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pricing-card { background: var(--surface-white); border: 2px solid var(--outline-variant); border-radius: var(--radius-lg); padding: 36px; }
.pricing-card.featured { border-color: var(--secondary); }
.pricing-badge { background: var(--secondary); color: var(--on-secondary); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-full); display: inline-block; margin-bottom: 16px; }
.pricing-card h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.pricing-desc { color: var(--on-surface-variant); font-size: 14px; margin-bottom: 24px; }
.pricing-amount { font-family: var(--font-heading); font-size: 52px; font-weight: 600; color: var(--primary); }
.pricing-period { color: var(--on-surface-variant); font-size: 15px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0 28px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--on-surface); }
.pricing-features li::before { content: '✓'; color: var(--secondary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.pkg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pkg-card { background: var(--surface-white); border: 2px solid var(--outline-variant); border-radius: var(--radius-lg); padding: 32px; transition: border-color 0.2s; }
.pkg-card.popular { border-color: var(--secondary); }
.pkg-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-surface-variant); margin-bottom: 8px; }
.pkg-label.accent { color: var(--secondary); }
.pkg-name { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.pkg-amount { font-family: var(--font-heading); font-size: 46px; font-weight: 600; color: var(--primary); line-height: 1; }
.pkg-amount sup { font-size: 22px; vertical-align: top; margin-top: 8px; }
.pkg-period { color: var(--on-surface-variant); font-size: 13px; margin-top: 4px; margin-bottom: 24px; }
.pkg-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pkg-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--on-surface); }
.pkg-features li::before { content: '✓'; color: var(--secondary); font-weight: 700; flex-shrink: 0; }

.payroll-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.payroll-card { background: var(--surface-white); border: 2px solid var(--outline-variant); border-radius: var(--radius-lg); padding: 32px; }
.payroll-card.featured { border-color: var(--secondary); }
.payroll-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--primary); margin-bottom: 12px; }
.payroll-from { font-size: 13px; color: var(--on-surface-variant); }
.payroll-amount { font-family: var(--font-heading); font-size: 40px; font-weight: 600; color: var(--primary); line-height: 1; }
.payroll-extra { color: var(--on-surface-variant); font-size: 13px; margin: 6px 0 24px; }

/* ── SERVICE PAGE HERO ── */
.service-hero { background: linear-gradient(135deg, #122549 0%, #203560 100%); padding: 96px 0; position: relative; overflow: hidden; }
.service-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/perth-skyline.webp') center/cover no-repeat;
  opacity: 0.35; filter: blur(2px); transform: scale(1.05);
}
.service-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,37,73,0.8) 0%, rgba(32,53,96,0.65) 100%);
}
.service-hero--advisory::before { background-image: url('images/property-development.webp'); }
.service-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.service-hero h1 { font-family: var(--font-heading); font-size: clamp(32px,4vw,52px); font-weight: 700; color: var(--on-primary); margin-bottom: 22px; line-height: 1.18; letter-spacing: -0.01em; }
.service-hero h1 em, .service-hero h1 span { font-style: normal; color: var(--secondary); }
.service-hero .lead { color: var(--on-primary); font-size: 19px; font-weight: 500; line-height: 1.6; margin-bottom: 14px; }
.service-hero p { color: var(--on-primary-container); font-size: 16px; line-height: 1.7; margin-bottom: 14px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ── IMPACT / CFO SECTION ── */
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.impact-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.impact-pillar { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 28px 20px; text-align: center; }
.impact-pillar-icon { font-size: 28px; margin-bottom: 10px; }
.impact-pillar-icon .material-symbols-outlined { color: var(--secondary); font-size: 32px; }
.impact-pillar-label { color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 600; }
.impact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.impact-list li { display: flex; align-items: flex-start; gap: 16px; color: var(--on-primary-container); font-size: 15px; }
.impact-num { width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--secondary); color: var(--on-secondary); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.impact-list li strong { color: var(--secondary-container); }

/* ── FEATURE GRID (service detail) ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 32px; }
.feature-detail { display: flex; gap: 18px; align-items: flex-start; }
.feature-detail-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--secondary-fixed); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-detail-icon .material-symbols-outlined { color: var(--secondary); font-size: 22px; }
.feature-detail h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.feature-detail p { color: var(--on-surface-variant); font-size: 14px; line-height: 1.6; }

/* ── BLOG ── */
.blog-hero { background: linear-gradient(135deg, #122549 0%, #203560 100%); padding: 72px 0; text-align: center; }
.blog-hero h1 { font-family: var(--font-heading); font-size: clamp(34px,4vw,48px); font-weight: 700; color: var(--on-primary); margin-bottom: 14px; }
.blog-hero p { color: var(--on-primary-container); font-size: 17px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--surface-white); border-radius: var(--radius-md);
  border: 1px solid rgba(18,37,73,0.06); box-shadow: 0 2px 20px -2px rgba(18,37,73,0.08);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: 0 8px 32px -2px rgba(18,37,73,0.14); transform: translateY(-2px); }
.blog-card-date { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary); }
.blog-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--primary-container); line-height: 1.35; }
.blog-card p { color: var(--on-surface-variant); font-size: 14px; line-height: 1.65; flex: 1; }
.blog-card .card-link { margin-top: 4px; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.article-hero { background: linear-gradient(135deg, #122549 0%, #203560 100%); padding: 72px 0; }
.article-hero-inner { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.article-hero .article-date { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 16px; }
.article-hero h1 { font-family: var(--font-heading); font-size: clamp(28px,3.6vw,44px); font-weight: 700; color: var(--on-primary); line-height: 1.22; }
.article-body { max-width: 780px; margin: 0 auto; padding: 64px var(--gutter) 40px; }
.article-body p { color: var(--on-surface); font-size: 16.5px; line-height: 1.8; margin-bottom: 20px; }
.article-body h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--primary-container); margin: 40px 0 16px; line-height: 1.3; }
.article-body h3 { font-family: var(--font-heading); font-size: 21px; font-weight: 700; color: var(--primary-container); margin: 30px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { color: var(--on-surface); font-size: 16px; line-height: 1.75; margin-bottom: 8px; }
.article-body strong { color: var(--primary-container); }
.article-body a { color: var(--secondary); font-weight: 600; }
.article-body blockquote { border-left: 3px solid var(--secondary); padding: 4px 0 4px 20px; margin: 0 0 20px; font-style: italic; color: var(--on-surface-variant); }
.article-back { display: inline-flex; align-items: center; gap: 6px; color: var(--secondary); font-weight: 600; font-size: 14px; text-decoration: none; margin-bottom: 8px; }

/* ── CHIPS (industry / property types) ── */
.chip-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.chip {
  background: var(--surface-white); border: 1px solid var(--outline-variant);
  border-radius: var(--radius-full); padding: 10px 22px;
  font-size: 14px; font-weight: 600; color: var(--primary);
}
.service-hero--developers::before { background-image: url('images/property-development.webp'); }
.service-hero--construction::before { background-image: url('images/services-construction.webp'); }
.hero-ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 640px; margin: 24px auto 8px; text-align: left; }
.hero-ticks li { color: var(--on-primary-container); font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.hero-ticks li::before {
  content: '✓'; color: var(--secondary); border: 1.5px solid var(--secondary);
  width: 20px; height: 20px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
@media (max-width: 640px) { .hero-ticks { grid-template-columns: 1fr; } }

/* ── TOOLS ── */
.tools-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.tool-badge { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.tool-badge img { height: 34px; width: auto; display: block; }
.xero  { color: #13B5EA; }
.myob  { color: #5B2D8E; }
.qb    { color: #2CA01C; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--outline-variant); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--on-surface); gap: 16px;
  font-family: var(--font-body);
}
.faq-q:hover { color: var(--secondary); }
.faq-chevron { font-size: 12px; transition: transform 0.2s; flex-shrink: 0; color: var(--on-surface-variant); }
.faq-a { display: none; padding: 0 0 20px; color: var(--on-surface-variant); font-size: 14px; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── CTA SECTION ── */
.cta-section { background: var(--primary); padding: 80px var(--gutter); text-align: center; }
.cta-section h2 { font-family: var(--font-heading); font-size: clamp(28px,3.5vw,42px); font-weight: 600; color: var(--on-primary); margin-bottom: 16px; }
.cta-section p { color: var(--on-primary-container); font-size: 16px; margin-bottom: 32px; }

/* ── FOOTER (navy, matches live site) ── */
footer { background: var(--primary); padding: 64px 0 32px; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-row img { width: 34px; height: 34px; border-radius: 7px; }
.footer-logo-text-footer { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--on-primary); display: block; }
.footer-tagline { color: var(--on-primary-container); font-size: 13px; line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-primary); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--on-primary-container); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--secondary); }
.contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.contact-icon .material-symbols-outlined { color: var(--secondary); font-size: 18px; margin-top: 2px; }
.contact-label { color: var(--on-primary-container); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-value { color: var(--on-primary); font-size: 14px; font-weight: 500; text-decoration: none; }
.contact-value:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: var(--on-primary-container); font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--on-primary-container); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--secondary); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner, .two-col, .impact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards-grid-3 { grid-template-columns: 1fr 1fr; }
  .pkg-grid, .payroll-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .team-wrap { grid-template-columns: 1fr; }
  .team-photo-placeholder { width: 100%; height: 200px; }
  .team-photo { width: 100%; height: 340px; object-position: center 20%; }
  .floating-badge { display: none; }
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .impact-pillars { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── LEAD MAGNET (gated PDF download) ── */
.lead-magnet {
  background: var(--secondary-fixed); border: 1px solid var(--secondary);
  border-radius: var(--radius-lg); padding: 32px 36px; margin: 40px 0;
}
.lead-magnet-pill {
  display: inline-block; background: var(--secondary); color: var(--on-secondary);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 14px;
}
.lead-magnet h3 {
  font-family: var(--font-heading); font-size: 23px; font-weight: 700;
  color: var(--primary-container); margin: 0 0 10px; line-height: 1.3;
}
.lead-magnet > p { color: var(--on-surface-variant); font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.lead-magnet-form { display: flex; flex-direction: column; gap: 12px; }
.lead-magnet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-magnet-form input {
  width: 100%; border: 1px solid var(--outline-variant); border-radius: var(--radius);
  padding: 12px 14px; font-size: 15px; font-family: var(--font-body);
  color: var(--on-surface); background: var(--surface-white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-magnet-form input:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(245,159,10,0.18); }
.lead-magnet-form .btn-primary { width: 100%; justify-content: center; }
.lead-magnet-note { font-size: 12.5px; color: var(--on-surface-variant); text-align: center; margin: 0; }
.lead-magnet-success { display: none; text-align: center; padding-top: 8px; }
.lead-magnet-success.show { display: block; }
.lead-magnet-success p { color: #157347; font-weight: 600; font-size: 15px; margin: 0 0 6px; }
@media (max-width: 560px) {
  .lead-magnet { padding: 24px; }
  .lead-magnet-row { grid-template-columns: 1fr; }
}

/* ── CALLOUTS (in-article emphasis) ── */
.callout {
  background: var(--surface-container); border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 0 0 24px;
}
.callout p { margin-bottom: 10px; }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { background: #fdf0ee; border-left-color: #c0392b; }
.callout-warn strong { color: #922b21; }
