/* ============================================
   SHARED STYLES — Randwick Electrical
   Imported by all service/area/core pages
   ============================================ */
:root {
  --charcoal: #22263E;
  --charcoal-deep: #181B2E;
  --charcoal-light: #2D3150;
  --gold: #EEB14F;
  --gold-dim: #D4993F;
  --gold-glow: rgba(238, 177, 79, 0.15);
  --amber: #FFBC7D;
  --white: #FFFFFF;
  --off-white: #F5F5F0;
  --cream: #ECEEEF;
  --grey-100: #F4F4F4;
  --grey-200: #E2E2E2;
  --grey-400: #9A9A9A;
  --grey-600: #5B5B5B;
  --grey-800: #2A2A2A;
  --black: #0A0A0A;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --section-pad: clamp(64px, 10vw, 120px);
  --container: 1200px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--grey-800); background: var(--white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(24, 27, 46, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(238, 177, 79, 0.1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.site-header.header-hidden { transform: translateY(-100%); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.header-logo { display: flex; align-items: center; gap: 12px; }
.header-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.header-nav a:hover { color: var(--gold); }
.header-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--charcoal-deep);
  padding: 7px 14px; border-radius: 6px;
  font-weight: 700; font-size: 12px;
  transition: all 0.3s ease;
}
.header-cta:hover { background: var(--amber); }
.header-cta svg { width: 13px; height: 13px; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

/* Page Hero (inner pages) */
.page-hero {
  background: var(--charcoal-deep);
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.breadcrumbs {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.breadcrumbs a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.page-hero .hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 700px;
}
.page-hero .hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--charcoal-deep);
  padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  margin-top: 24px;
  transition: all 0.3s ease;
}
.page-hero .hero-cta:hover { background: var(--amber); transform: translateY(-2px); }

/* Content Sections */
.content-section { padding: var(--section-pad) 0; }
.content-section.alt { background: var(--off-white); }
.content-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.content-section h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--charcoal);
  margin: 32px 0 12px;
}
.content-section p {
  font-size: 16px;
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 800px;
}
.content-section ul.check-list {
  padding: 0; margin: 16px 0 24px;
}
.content-section ul.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.6;
}
.content-section ul.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
}

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

/* Sidebar */
.sidebar-card {
  background: var(--grey-100);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.sidebar-card p, .sidebar-card li {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
}
.sidebar-card a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--grey-600);
  transition: color 0.2s;
}
.sidebar-card a:hover { color: var(--gold-dim); }
.sidebar-cta {
  background: var(--charcoal);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 16px; }
.sidebar-cta .phone {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  font-weight: 800;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.sidebar-cta .btn-gold {
  display: inline-block;
  background: var(--gold); color: var(--charcoal-deep);
  padding: 12px 24px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  transition: all 0.3s;
}
.sidebar-cta .btn-gold:hover { background: var(--amber); }

/* FAQ Section */
.faq-section { padding: var(--section-pad) 0; background: var(--off-white); }
.faq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--grey-100); }
.faq-q::after { content: '+'; font-size: 20px; color: var(--gold); font-weight: 700; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.7;
}

/* Internal CTA band */
.cta-band {
  background: var(--charcoal);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-band p { color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.cta-band .phone {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-band .phone a { color: var(--gold); }
.cta-band .phone a:hover { color: var(--amber); }

/* Related Links Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
}
.related-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.related-card h4 { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.related-card p { font-size: 13px; color: var(--grey-400); margin: 0; }

/* Footer */
.site-footer {
  background: var(--charcoal-deep);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(238, 177, 79, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 32px; width: auto; filter: brightness(0) invert(1); object-fit: contain; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.3);
}

/* Floating CTA */
.floating-cta {
  display: none;
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 999;
  background: var(--gold); color: var(--charcoal-deep);
  padding: 14px 28px; border-radius: 100px;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  gap: 8px; align-items: center;
}

/* Mobile menu animation */
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-toggle span { transition: all 0.3s ease; }

/* Responsive */
@media (max-width: 900px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(24, 27, 46, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 0;
    border-bottom: 1px solid rgba(238, 177, 79, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  .header-nav.mobile-open { display: flex; }
  .header-nav a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }
  .header-nav a:last-child { border-bottom: none; }
  .header-cta { display: none; }
  .site-header.menu-open { transform: none !important; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .floating-cta { display: flex; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
