/* ============================================
   Blocked Drains Newcastle — Global Stylesheet
   Palette: Cream #F6F3ED | Indigo #221D63 | Yellow #FFD338 | Dark #1A1A2E | White #FFFFFF
   Type: Bricolage Grotesque (display) | Inter (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --cream: #F6F3ED;
  --indigo: #221D63;
  --indigo-light: #2E2880;
  --yellow: #FFD338;
  --yellow-dark: #E6BC20;
  --dark: #1A1A2E;
  --mid: #4A4570;
  --muted: #7A7599;
  --white: #FFFFFF;
  --border: #DDD9CF;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(34,29,99,0.08);
  --shadow-md: 0 4px 24px rgba(34,29,99,0.12);
  --max-w: 1160px;
  --section-pad: 80px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-light); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--indigo);
  line-height: 1.15;
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--yellow); color: var(--indigo); }
.btn-primary:hover { background: var(--yellow-dark); color: var(--indigo); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--indigo); }
.btn-indigo { background: var(--indigo); color: var(--white); }
.btn-indigo:hover { background: var(--indigo-light); color: var(--white); }

/* ---- Header / Nav ---- */
.site-header {
  background: var(--indigo);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  text-decoration: none;
}
.nav-logo span { color: var(--yellow); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.nav-cta { background: var(--yellow); color: var(--indigo) !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--yellow-dark) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ---- Mobile Call Bar ---- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--yellow);
  padding: 14px 20px;
  text-align: center;
}
.mobile-call-bar a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--indigo);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ---- Hero ---- */
.hero {
  background: var(--indigo);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,211,56,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,211,56,0.15);
  border: 1px solid rgba(255,211,56,0.3);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--yellow); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.hero-trust-item strong { color: var(--white); }

/* Hero form card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.hero-form-card h3 {
  color: var(--indigo);
  margin-bottom: 6px;
  font-size: 1.3rem;
}
.hero-form-card p { color: var(--mid); font-size: 0.9rem; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--indigo); margin-bottom: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--indigo); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; font-size: 1rem; padding: 14px; justify-content: center; margin-top: 4px; }

/* ---- Section styles ---- */
.section { padding: var(--section-pad) 0; }
.section-sm { padding: 50px 0; }
.section-dark { background: var(--indigo); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-white { background: var(--white); }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(34,29,99,0.07);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-dark .section-label { color: var(--yellow); background: rgba(255,211,56,0.12); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-header p { color: var(--mid); font-size: 1.05rem; margin-top: 14px; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ---- Service Cards Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px; height: 48px;
  background: rgba(34,29,99,0.07);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.1rem; color: var(--indigo); margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--mid); margin: 0; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.85rem; font-weight: 600; color: var(--indigo);
  margin-top: 14px;
}

/* ---- Why Us / Feature list ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.feature-item h4 { color: var(--indigo); margin-bottom: 4px; }
.feature-item p { font-size: 0.9rem; color: var(--mid); margin: 0; }
.section-dark .feature-item p { color: rgba(255,255,255,0.65); }
.section-dark .feature-item h4 { color: var(--white); }

/* ---- Suburb strips ---- */
.suburb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.suburb-pill {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.suburb-pill:hover { background: var(--indigo); color: var(--white); border-color: var(--indigo); }

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.stars { color: var(--yellow); font-size: 1rem; margin-bottom: 12px; }
.testimonial-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 16px; }
.testimonial-author { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.testimonial-author strong { color: var(--yellow); display: block; }

/* ---- CTA Band ---- */
.cta-band {
  background: var(--yellow);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--indigo); margin-bottom: 12px; }
.cta-band p { color: var(--indigo); opacity: 0.75; margin-bottom: 28px; font-size: 1.05rem; }
.cta-band .btn-indigo { font-size: 1.1rem; padding: 16px 36px; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1.5px solid var(--border);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1.5px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}
.faq-question h4 { color: var(--indigo); font-size: 1rem; font-weight: 700; }
.faq-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-answer { display: none; padding-top: 12px; color: var(--mid); font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ---- Blog cards ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--indigo);
  background: rgba(34,29,99,0.07);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.05rem; color: var(--indigo); margin-bottom: 10px; line-height: 1.35; }
.blog-card p { font-size: 0.88rem; color: var(--mid); flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--indigo);
  padding: 60px 0 50px;
  color: var(--white);
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.page-hero .breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--yellow); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 24px; }

/* Quote sidebar card */
.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  position: sticky;
  top: 88px;
}
.quote-card h3 { color: var(--indigo); font-size: 1.1rem; margin-bottom: 6px; }
.quote-card > p { color: var(--mid); font-size: 0.85rem; margin-bottom: 18px; }

/* ---- Content / Prose ---- */
.prose-section { padding: 60px 0; }
.prose-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.prose h2 { margin-top: 36px; margin-bottom: 14px; font-size: 1.5rem; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; font-size: 1.2rem; }
.prose p { color: var(--mid); margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.5rem; color: var(--mid); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--dark); }
.prose a { color: var(--indigo); text-decoration: underline; }

/* Info box */
.info-box {
  background: rgba(34,29,99,0.06);
  border-left: 4px solid var(--indigo);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin: 24px 0;
}
.info-box p { color: var(--dark); font-size: 0.95rem; margin: 0; }

/* Sidebar sticky */
.sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-widget h4 { color: var(--indigo); margin-bottom: 14px; }
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}
.sidebar-links a:hover { color: var(--indigo); }

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand span { color: var(--yellow); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; }
.footer-col h5 { color: var(--white); font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }

/* ---- Blog / Article page ---- */
.article-header {
  background: var(--indigo);
  padding: 60px 0 50px;
  color: var(--white);
}
.article-header .breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.article-header .breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.article-header h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.article-meta { display: flex; gap: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body {
  padding: 60px 0;
}
.article-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}
.article-content h2 { margin-top: 40px; margin-bottom: 14px; }
.article-content h3 { margin-top: 28px; margin-bottom: 10px; color: var(--indigo); }
.article-content p { color: var(--mid); margin-bottom: 1.1rem; line-height: 1.75; }
.article-content ul, .article-content ol { margin: 0 0 1.1rem 1.5rem; color: var(--mid); }
.article-content li { margin-bottom: 8px; line-height: 1.65; }
.article-content strong { color: var(--dark); }
.article-content a { color: var(--indigo); }
.article-content .info-box { margin: 28px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; }
.article-content th { background: var(--indigo); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; }
.article-content td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--mid); }
.article-content tr:nth-child(even) td { background: rgba(34,29,99,0.03); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-card { display: none; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .quote-card { display: none; }
  .prose-inner { grid-template-columns: 1fr; }
  .article-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { display: none; }
}
@media (max-width: 640px) {
  :root { --section-pad: 52px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--indigo);
    padding: 16px 20px 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav-toggle { display: flex; }
  .mobile-call-bar { display: block; }
  .hero { padding-bottom: 80px; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
