/* ==========================================================================
   RAPIDFLOW PLUMBING & GAS — STYLESHEET (1-PAGE HIGH CONVERSION LANDING)
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #38bdf8;
  --accent-call: #f97316;
  --accent-call-hover: #ea580c;
  --bg-dark: #0a1128;
  --bg-darker: #050b1a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.15);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: #f1f5f9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Emergency Alert */
.emergency-top-alert {
  background: #dc2626;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.emergency-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulseAlert 1.5s infinite;
}

@keyframes pulseAlert {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
  color: var(--bg-dark);
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary), #0369a1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-header-btn {
  background: var(--accent-call);
  color: #fff;
  padding: 10px 18px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  transition: all 0.2s;
}

.phone-header-btn:hover {
  background: var(--accent-call-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-landing {
  background: linear-gradient(135deg, #071739 0%, #0c2b5e 100%);
  color: #fff;
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero-landing::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-headline span {
  color: #38bdf8;
}

.hero-lead {
  font-size: 1.12rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.trust-check {
  color: #10b981;
  font-size: 16px;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-call {
  background: var(--accent-call);
  color: #fff;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.45);
  transition: all 0.25s;
}

.btn-hero-call:hover {
  background: var(--accent-call-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.55);
}

.btn-hero-quote {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-hero-quote:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Fast Lead Form Card in Hero */
.lead-form-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header {
  margin-bottom: 20px;
  text-align: center;
}

.form-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.form-header p {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.urgency-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.urgency-pills label {
  border: 1px solid #cbd5e1;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s;
}

.urgency-pills input[type="radio"] {
  display: none;
}

.urgency-pills input[type="radio"]:checked + span {
  color: #fff;
}

.urgency-pills label:has(input:checked) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-form-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transition: all 0.2s;
  margin-top: 8px;
}

.btn-form-submit:hover {
  background: var(--primary-dark);
}

.form-footer-guarantee {
  text-align: center;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 10px;
}

/* Highlight Emergency Callout Bar */
.urgent-callout-strip {
  background: #fef2f2;
  border-top: 1px solid #fecaca;
  border-bottom: 1px solid #fecaca;
  padding: 20px 0;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.strip-text h4 {
  color: #991b1b;
  font-size: 18px;
  font-weight: 800;
}

.strip-text p {
  color: #7f1d1d;
  font-size: 13.5px;
}

.btn-strip-call {
  background: #dc2626;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-strip-call:hover {
  background: #b91c1c;
}

/* Services Grid */
.section-pad {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  background: rgba(2, 132, 199, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #0f172a;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.service-cta-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Proof & Guarantees */
.proof-section {
  background: #ffffff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proof-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.proof-num {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.proof-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0f172a;
}

.proof-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Suburb Coverage */
.suburb-section {
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.suburb-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.suburb-pill {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.stars {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 17px;
}

.review-text {
  font-size: 14px;
  color: #334155;
  font-style: italic;
  margin-bottom: 16px;
}

.reviewer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.reviewer-name {
  font-weight: 800;
  font-size: 13.5px;
}

.reviewer-loc {
  font-size: 12px;
  color: #64748b;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  color: #0f172a;
}

.faq-item p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Footer & Mobile Sticky Bar */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 32px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-col p {
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
}

/* Mobile Sticky Lead Bar */
.sticky-mobile-lead-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-call-btn {
  background: var(--accent-call);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-quote-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sticky-mobile-lead-bar {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
}

