/* Apex Flow Plumbing — Styling */
:root {
  --blue-primary: #0066FF;
  --blue-dark: #07152B;
  --blue-navy: #0F254A;
  --accent-orange: #FF6B00;
  --text-dark: #0F172A;
  --text-light: #F8FAFC;
  --gray-bg: #F1F5F9;
  --border-color: #E2E8F0;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background: #FAFCFF;
  line-height: 1.6;
}

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

/* Demo Badge Bar */
.demo-badge-bar {
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.demo-badge-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.back-to-onlidesk { color: #38BDF8; font-weight: 600; text-decoration: none; }

/* Emergency Bar */
.emergency-bar {
  background: #DC2626;
  color: #fff;
  padding: 10px 0;
  font-size: 0.9rem;
}
.emergency-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.emergency-status { display: flex; align-items: center; gap: 8px; }
.live-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px #fff;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.emergency-phone { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.05rem; }

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { font-size: 28px; }
.brand-name { font-size: 1.3rem; font-weight: 800; color: var(--blue-dark); display: block; line-height: 1.1; }
.brand-sub { font-size: 0.68rem; font-weight: 700; color: var(--blue-primary); letter-spacing: 2px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.92rem; }
.nav-links a:hover { color: var(--blue-primary); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.btn-primary { background: var(--blue-primary); color: #fff; }
.btn-primary:hover { background: #0052cc; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--blue-primary); color: var(--blue-primary); }
.btn-outline:hover { background: rgba(0, 102, 255, 0.08); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0A192F 0%, #172A45 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.hero-chip {
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: #CBD5E1; margin-bottom: 30px; }
.hero-cta-group { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.trust-tags { display: flex; gap: 20px; font-size: 0.88rem; color: #94A3B8; flex-wrap: wrap; }

/* Booking Card */
.hero-form-card {
  background: #fff;
  color: var(--text-dark);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.form-header { margin-bottom: 20px; text-align: center; }
.form-header h3 { font-size: 1.35rem; color: var(--blue-dark); margin-bottom: 4px; }
.form-header p { font-size: 0.88rem; color: #64748B; margin-bottom: 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
}
.form-subtext { font-size: 0.78rem; color: #94A3B8; text-align: center; margin-top: 12px; margin-bottom: 0; }

/* Services */
.services-section { padding: 90px 0; background: #FAFCFF; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 50px auto; }
.sub-title { font-size: 0.85rem; font-weight: 800; color: var(--blue-primary); letter-spacing: 2px; display: block; margin-bottom: 8px; }
.section-title h2 { font-size: 2.2rem; font-weight: 800; color: var(--blue-dark); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0, 102, 255, 0.08); border-color: var(--blue-primary); }
.s-icon { font-size: 32px; margin-bottom: 16px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--blue-dark); }
.service-card p { font-size: 0.92rem; color: #64748B; }

/* Calculator */
.calculator-section { padding: 80px 0; background: #F1F5F9; }
.calculator-box { background: #fff; padding: 50px 40px; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.calc-header { text-align: center; max-width: 600px; margin: 0 auto 36px auto; }
.calc-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 30px; }
.calc-option {
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.92rem;
}
.calc-option.active, .calc-option:hover { border-color: var(--blue-primary); background: #EFF6FF; color: var(--blue-primary); }
.calc-result-display {
  background: var(--blue-dark);
  color: #fff;
  padding: 28px;
  border-radius: 14px;
  text-align: center;
}
.result-label { font-size: 0.85rem; color: #94A3B8; text-transform: uppercase; letter-spacing: 1px; }
.result-price { font-size: 2.6rem; font-weight: 800; color: #38BDF8; margin: 6px 0; }
.result-meta { font-size: 0.92rem; color: #CBD5E1; }

/* Reviews */
.reviews-section { padding: 90px 0; background: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: #F8FAFC; border: 1px solid var(--border-color); border-radius: 12px; padding: 28px; }
.review-stars { color: #F59E0B; font-size: 18px; margin-bottom: 12px; }
.review-card p { font-size: 0.95rem; color: #334155; margin-bottom: 16px; font-style: italic; }
.reviewer-info strong { color: var(--blue-dark); }

/* Footer */
.demo-footer { background: #07152B; color: #94A3B8; padding: 40px 0; font-size: 0.9rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-content strong { color: #fff; }
.back-link { color: #38BDF8; text-decoration: none; font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
