/* ================================================
   Liquid Waste Wollongong — Main Stylesheet
   ================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:         #1a5c5a;
  --teal-mid:     #236e6b;
  --teal-light:   #e6f2f1;
  --teal-pale:    #f2faf9;
  --text:         #1a1a1a;
  --text-mid:     #3d3d3d;
  --text-muted:   #5c5c5c;
  --grey-light:   #f5f7f6;
  --grey-border:  #dde5e4;
  --white:        #ffffff;
  --warn-bg:      #fff8e6;
  --warn-border:  #d99a14;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1100px;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; color: var(--teal); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.3rem); margin-bottom: 0.5rem; }
h4 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--text); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--teal); text-decoration: underline; }
a:hover { color: var(--teal-mid); }
ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.3rem; }
strong { font-weight: 600; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid var(--teal);
  transition: background 0.18s, border-color 0.18s;
  line-height: 1.3;
}
.btn:hover { background: var(--teal-mid); border-color: var(--teal-mid); color: var(--white); text-decoration: none; }
.btn-outline { background: transparent; color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-white { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn-white:hover { background: var(--teal-light); border-color: var(--teal-light); color: var(--teal); }
.btn-lg { padding: 15px 34px; font-size: 1.1rem; }

/* --- Navigation --- */
.site-nav {
  background: var(--white);
  border-bottom: 2px solid var(--grey-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--teal-mid); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: block;
  padding: 7px 11px;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--teal-light); color: var(--teal); }
.nav-links .nav-cta a {
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  margin-left: 6px;
}
.nav-links .nav-cta a:hover { background: var(--teal-mid); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--teal);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--grey-border);
    flex-direction: column;
    padding: 12px 16px 16px;
    gap: 3px;
    align-items: stretch;
    box-shadow: 0 6px 16px rgba(0,0,0,0.09);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; }
  .nav-links .nav-cta a { text-align: center; margin-left: 0; margin-top: 4px; }
}

/* --- Hero (homepage) --- */
.hero {
  background: var(--teal);
  color: var(--white);
  padding: 64px 0 56px;
}
.hero h1 { color: var(--white); }
.hero-lead {
  font-size: 1.12rem;
  opacity: 0.92;
  max-width: 600px;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-areas {
  margin-top: 28px;
  font-size: 0.86rem;
  opacity: 0.72;
}

/* --- Page hero (inner pages) --- */
.page-hero {
  background: var(--teal);
  color: var(--white);
  padding: 48px 0 40px;
}
.page-hero h1 { color: var(--white); }
.page-hero .hero-lead { margin-bottom: 1.25rem; }
.page-hero .btn { margin-top: 0.25rem; }

/* --- Breadcrumbs --- */
.breadcrumb {
  background: var(--grey-light);
  border-bottom: 1px solid var(--grey-border);
  padding: 10px 0;
  font-size: 0.84rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  color: var(--text-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--grey-border); }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- Sections --- */
section { padding: 56px 0; }
.section-alt { background: var(--grey-light); }
.section-teal { background: var(--teal-light); }
.section-dark { background: var(--teal); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal-mid);
  margin-bottom: 0.4rem;
}
.section-label-light { color: rgba(255,255,255,0.65); }

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--teal);
}
.card h3 { color: var(--teal); margin-bottom: 0.35rem; font-size: 1.1rem; }
.card p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.card-arrow { font-size: 0.88rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.card-arrow:hover { text-decoration: underline; }

/* Fully-clickable card variant */
.card.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.card.card-link:hover { border-color: var(--teal-mid); box-shadow: 0 4px 16px rgba(26,92,90,0.13); }

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 680px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* --- Step process list --- */
.steps { margin-top: 1.25rem; counter-reset: none; }
.step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step-content h4 { margin-bottom: 0.2rem; }
.step-content p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }

/* --- Who-needs grid --- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
  margin-top: 1.25rem;
}
.who-item {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-align: center;
}

/* --- Factor grid (cost pages) --- */
.factor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
  margin-top: 1.25rem;
}
.factor-item {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px;
}
.factor-item h4 { color: var(--teal); font-size: 0.93rem; }
.factor-item p { font-size: 0.87rem; color: var(--text-muted); margin: 0; }

/* --- Price callout box --- */
.price-callout {
  background: var(--teal-light);
  border: 1px solid #aed0ce;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 1.5rem 0;
}
.price-callout h3 { color: var(--teal); margin-bottom: 0.5rem; }
.price-callout p { font-size: 0.94rem; margin-bottom: 0.5rem; }
.price-callout .price-disclaimer { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* --- Notice boxes --- */
.notice {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1.5rem 0;
  font-size: 0.94rem;
}
.notice-info {
  background: var(--teal-pale);
  border: 1px solid #b0d4d2;
  color: #14403f;
}
.notice-warning {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: #4a3200;
}
.notice strong { display: block; margin-bottom: 0.3rem; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* --- Quote panel (inline) --- */
.quote-panel {
  background: var(--teal-light);
  border: 1px solid #aed0ce;
  border-radius: var(--radius);
  padding: 26px 30px;
  margin: 2rem 0;
}
.quote-panel h3 { color: var(--teal); margin-bottom: 0.5rem; }
.quote-panel p { font-size: 0.94rem; margin-bottom: 1rem; }

/* --- CTA band --- */
.cta-band {
  background: var(--teal);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 1.75rem; font-size: 1.05rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- FAQ accordion --- */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 15px 20px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
  font-family: var(--font);
  line-height: 1.35;
}
.faq-question:hover { background: var(--teal-pale); }
.faq-question[aria-expanded="true"] { background: var(--teal-light); color: var(--teal); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--teal);
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 4px 20px 18px;
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.faq-answer.open { display: block; }
.faq-answer p { margin-bottom: 0.6rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* --- Suburb grid --- */
.suburb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 8px;
  margin-top: 1rem;
}
.suburb-item {
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* --- Related pages grid --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
  margin-top: 1.25rem;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.related-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.related-card h4 { color: var(--teal); font-size: 0.93rem; margin-bottom: 0.2rem; }
.related-card p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

/* --- Checklist --- */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px solid var(--grey-border);
  font-size: 0.94rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* --- Forms --- */
.form-page-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 840px) { .form-page-wrap { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.91rem;
  margin-bottom: 5px;
  color: var(--text-mid);
}
.req { color: #b83232; margin-left: 1px; }
.opt { font-weight: 400; color: var(--text-muted); font-size: 0.86rem; margin-left: 4px; }

.form-control {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,92,90,0.11);
}
textarea.form-control { min-height: 108px; resize: vertical; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231a5c5a' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}

.conditional-fields { display: none; }
.conditional-fields.visible { display: block; }
.conditional-block {
  background: var(--teal-pale);
  border: 1px solid #c2dedd;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}
.conditional-block h4 { color: var(--teal); margin-bottom: 1rem; font-size: 0.93rem; }

.consent-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.consent-group input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
}
.consent-group label { font-size: 0.87rem; color: var(--text-mid); font-weight: 400; }

.form-notice {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--grey-light);
  border-radius: var(--radius);
  line-height: 1.55;
}

.form-submit .btn { width: 100%; padding: 14px; font-size: 1.05rem; border: none; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.sidebar-card h4 { color: var(--teal); font-size: 0.93rem; margin-bottom: 0.65rem; }
.sidebar-card ul { padding-left: 1.15rem; }
.sidebar-card li { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 0.2rem; }

/* --- Footer --- */
.site-footer {
  background: #0d3533;
  color: rgba(255,255,255,0.82);
  padding: 52px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-desc { font-size: 0.87rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-col h4 {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.87rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.81rem; color: rgba(255,255,255,0.48); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }

/* --- Utility classes --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.small { font-size: 0.88rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }

/* --- Legal pages (privacy, terms) --- */
.legal-body h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
  color: var(--teal);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 0.95rem; color: var(--text-mid); margin-bottom: 0.75rem; }
.legal-body ul { margin: 0 0 1rem 1.25rem; }
.legal-body li { font-size: 0.95rem; color: var(--text-mid); margin-bottom: 0.25rem; }

/* --- Thank-you page --- */
.ty-wrap {
  background: #f0f4f3;
  padding: 56px 16px 72px;
  min-height: 65vh;
  display: flex;
  align-items: center;
}
.ty-inner {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.ty-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  padding: 40px 36px 36px;
  text-align: center;
}
.ty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 26px;
  line-height: 60px;
  margin: 0 auto 20px;
  font-weight: 700;
}
.ty-card h1 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin-bottom: 8px;
}
.ty-card > p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.97rem;
}
.ty-notice {
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.92rem;
  text-align: left;
  margin-bottom: 14px;
}
.ty-notice-info {
  background: var(--teal-pale);
  border-left: 4px solid var(--teal);
  color: #14403f;
}
.ty-notice-warn {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-border);
  color: #4a3200;
}
.ty-notice strong { font-weight: 700; }
.ty-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.ty-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.15s, color 0.15s;
}
.ty-btn-outline {
  background: var(--white);
  border: 2px solid var(--teal);
  color: var(--teal);
}
.ty-btn-outline:hover { background: var(--teal); color: var(--white); }
.ty-btn-solid {
  background: var(--teal);
  border: 2px solid var(--teal);
  color: var(--white);
}
.ty-btn-solid:hover { background: var(--teal-mid); border-color: var(--teal-mid); }
@media (max-width: 600px) {
  .ty-card { padding: 32px 20px 28px; }
}

/* --- Responsive adjustments --- */
@media (max-width: 600px) {
  section { padding: 40px 0; }
  .hero { padding: 44px 0 36px; }
  .page-hero { padding: 36px 0 30px; }
  .cta-band { padding: 44px 0; }
}
