/* ═══════════════════════════════════════════
   INNER WEST PROPERTY INSPECTIONS
   inspectoreducation.com.au
   Shared Design System
═══════════════════════════════════════════ */

:root {
  --navy:        #0B1F3A;
  --navy-mid:    #152D50;
  --navy-light:  #1E3D68;
  --copper:      #B87333;
  --copper-lt:   #D4924A;
  --copper-pale: #F5E6D3;
  --cream:       #FAF8F4;
  --white:       #FFFFFF;
  --g100:        #F2EFE9;
  --g300:        #C8C3B8;
  --g500:        #8A8478;
  --g700:        #4A4640;
  --text:        #1A1714;
  --serif:       'DM Serif Display', Georgia, serif;
  --sans:        'DM Sans', sans-serif;
  --mono:        'DM Mono', monospace;
  --r:           4px;
  --rlg:         10px;
  --shadow:      0 4px 24px rgba(11,31,58,.12);
  --shadowlg:    0 12px 48px rgba(11,31,58,.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Utilities */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.section         { padding: 96px 0; }
.section--tight  { padding: 64px 0; }
.section--dark   { background: var(--navy); color: var(--white); }
.section--white  { background: var(--white); }
.section--cream  { background: var(--cream); }
.section--gray   { background: var(--g100); }
.section--copper { background: var(--copper); }
.text-center     { text-align: center; }

/* Typography */
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p  { font-size: 1rem; line-height: 1.75; color: var(--g700); }
p.lead { font-size: 1.15rem; line-height: 1.7; }

.label {
  font-family: var(--sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 14px; display: block;
}
.label--light { color: var(--copper-lt); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; font-family: var(--sans);
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  border-radius: var(--r); transition: all .2s;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn--primary  { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn--primary:hover { background: var(--copper-lt); border-color: var(--copper-lt); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--navy     { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-light); border-color: var(--navy-light); }
.btn--ghost    { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--white    { background: var(--white); color: var(--copper); border-color: var(--white); }
.btn--white:hover { background: var(--cream); }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(11,31,58,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px; max-width: 1120px; margin: 0 auto;
}
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-family: var(--serif); font-size: 1.1rem; color: var(--white); }
.logo-sub  { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-lt); }
.main-nav  { display: flex; align-items: center; gap: 28px; list-style: none; }
.main-nav a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: .02em; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.nav-cta {
  background: var(--copper) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: var(--r);
  font-weight: 600 !important; transition: background .2s !important;
}
.nav-cta:hover { background: var(--copper-lt) !important; }
.header-phone { font-size: 13px; font-weight: 600; color: var(--copper-lt); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: all .3s; }

/* FOOTER */
.site-footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; margin-top: 12px; }
.footer-col h5 {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover { color: var(--copper-lt); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; }
.lic-txt { font-size: 12px; color: var(--copper-lt); }

/* ACCREDITATION BAR */
.accred-bar { background: var(--white); padding: 22px 0; border-bottom: 1px solid var(--g100); }
.accred-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.accred-item { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 150px; }
.accred-icon {
  width: 38px; height: 38px; background: var(--navy);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.accred-icon svg { width: 17px; height: 17px; stroke: var(--copper-lt); stroke-width: 1.8; fill: none; }
.accred-text strong { display: block; font-size: 12px; font-weight: 600; color: var(--navy); }
.accred-text span  { font-size: 11px; color: var(--g500); }
.accred-div { width: 1px; height: 36px; background: var(--g100); }

/* PAGE HERO (interior pages) */
.page-hero {
  background: var(--navy); padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(184,115,51,.1) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.breadcrumb a, .breadcrumb span { font-size: 12px; color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: var(--copper-lt); }
.breadcrumb .sep { color: rgba(255,255,255,.25); }
.page-hero h1 { color: var(--white); margin-bottom: 20px; max-width: 700px; }
.page-hero p.lead { color: rgba(255,255,255,.72); max-width: 580px; margin-bottom: 32px; }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-item svg { width: 16px; height: 16px; stroke: var(--copper-lt); stroke-width: 2; fill: none; flex-shrink: 0; }
.hero-meta-item span { font-size: 13px; color: rgba(255,255,255,.65); }

/* SERVICE CARDS */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card {
  background: var(--white); border-radius: var(--rlg);
  padding: 34px 28px; border: 1px solid var(--g100);
  transition: all .25s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--copper);
  transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.service-card:hover { box-shadow: var(--shadowlg); transform: translateY(-3px); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 50px; height: 50px; background: var(--copper-pale);
  border-radius: var(--rlg); display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px;
}
.service-icon svg { width: 23px; height: 23px; stroke: var(--copper); stroke-width: 1.6; fill: none; }
.service-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.service-card p  { font-size: 14px; line-height: 1.65; color: var(--g500); margin-bottom: 18px; }
.svc-link { font-size: 13px; font-weight: 600; color: var(--copper); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.svc-link:hover { gap: 10px; }
.svc-link svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.5; fill: none; }

/* CHECKLIST */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--g700); line-height: 1.5; }
.chk {
  width: 20px; height: 20px; background: var(--copper-pale);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.chk svg { width: 11px; height: 11px; stroke: var(--copper); stroke-width: 2.5; fill: none; }

/* REVIEW CARDS */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review-card { background: var(--white); border-radius: var(--rlg); padding: 30px; border: 1px solid var(--g100); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.star { width: 15px; height: 15px; fill: var(--copper); }
.review-text { font-size: 14px; line-height: 1.75; color: var(--g700); margin-bottom: 18px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.r-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: .95rem; color: var(--copper-lt); flex-shrink: 0; }
.r-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.r-sub  { font-size: 11px; color: var(--g500); }

/* FAQ */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--g100); }
.faq-q {
  width: 100%; background: none; border: none; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; text-align: left; font-family: var(--serif);
  font-size: 1.05rem; color: var(--navy); transition: color .2s;
}
.faq-q:hover { color: var(--copper); }
.faq-q svg { width: 18px; height: 18px; stroke: var(--copper); stroke-width: 2; fill: none; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }
.faq-a p { font-size: 15px; color: var(--g700); line-height: 1.75; }

/* CTA STRIP */
.cta-strip { background: var(--copper); padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-strip p  { color: rgba(255,255,255,.82); font-size: 15px; margin-top: 6px; }

/* PROCESS STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; margin-top: 52px; }
.steps-grid::before { content: ''; position: absolute; top: 27px; left: calc(12.5% + 27px); right: calc(12.5% + 27px); height: 1px; background: var(--copper-pale); }
.step { text-align: center; padding: 0 16px; }
.step-n { width: 54px; height: 54px; background: var(--white); border: 2px solid var(--copper-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-family: var(--serif); font-size: 1.25rem; color: var(--copper); position: relative; z-index: 1; }
.step h4 { color: var(--navy); margin-bottom: 8px; font-size: .95rem; }
.step p  { font-size: 13px; color: var(--g500); }

/* LOCATION PILLS */
.loc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 44px; }
.loc-pill { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 13px 14px; font-size: 13px; color: rgba(255,255,255,.75); text-align: center; transition: all .2s; display: block; }
.loc-pill:hover { background: rgba(184,115,51,.15); border-color: rgba(184,115,51,.3); color: var(--copper-lt); }

/* STAT BOXES */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat-box { text-align: center; padding: 36px 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--rlg); }
.stat-num { font-family: var(--serif); font-size: 2.8rem; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; }

/* COMPARISON TABLE */
.compare-wrap { overflow-x: auto; margin-top: 44px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th { padding: 14px 22px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; border-bottom: 2px solid var(--g100); white-space: nowrap; }
.compare-table th.us { color: var(--copper); border-bottom-color: var(--copper); }
.compare-table td { padding: 13px 22px; border-bottom: 1px solid var(--g100); color: var(--g700); vertical-align: middle; }
.compare-table td:first-child { font-weight: 500; color: var(--navy); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: #2D7A4F; font-weight: 600; }
.compare-table .no  { color: #BABABA; }
.compare-table .hl  { background: var(--copper-pale); }
.compare-table .hl td:first-child { border-left: 3px solid var(--copper); }

/* PRICING CARDS */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 52px; }
.price-card { background: var(--white); border: 1px solid var(--g100); border-radius: var(--rlg); padding: 36px 30px; position: relative; }
.price-card.featured { border-color: var(--copper); box-shadow: var(--shadowlg); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--copper); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.price-type  { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); margin-bottom: 8px; }
.price-name  { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin-bottom: 4px; }
.price-from  { font-size: 13px; color: var(--g500); margin-bottom: 20px; }
.price-amt   { font-family: var(--serif); font-size: 2.6rem; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.price-amt sup { font-size: 1.2rem; vertical-align: super; }
.price-note  { font-size: 12px; color: var(--g500); margin-bottom: 28px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li { font-size: 14px; color: var(--g700); display: flex; align-items: center; gap: 8px; }
.price-features li::before { content: '✓'; color: var(--copper); font-weight: 700; flex-shrink: 0; }

/* CONTENT BODY */
.content-body h2 { color: var(--navy); margin: 2rem 0 1rem; }
.content-body h3 { color: var(--navy); margin: 1.5rem 0 .75rem; font-size: 1.2rem; }
.content-body p  { margin-bottom: 1.2rem; }
.content-body ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.content-body ul li { margin-bottom: .5rem; color: var(--g700); font-size: 15px; }

/* FORMS */
.form-wrap { background: var(--white); border-radius: var(--rlg); padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--g700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px; background: var(--g100); border: 1px solid var(--g300);
  border-radius: var(--r); font-family: var(--sans); font-size: 14px; color: var(--text);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--copper); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up  { animation: fadeUp .65s ease both; }
.fd2 { animation-delay: .12s; }
.fd3 { animation-delay: .24s; }
.fd4 { animation-delay: .36s; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .services-grid{ grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-row    { grid-template-columns: 1fr 1fr; }
  .steps-grid   { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .loc-grid     { grid-template-columns: repeat(3,1fr); }
  .price-grid   { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .loc-grid { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
