/* Rite-A-Way Plumbing - Sleek Vibrant SEO Design System */
:root {
  --bg-dark: #091124;
  --bg-navy: #0F1C3A;
  --bg-card: #152447;
  --bg-light: #F4F8FC;
  --white: #FFFFFF;
  --cyan: #00C2E8;
  --cyan-dark: #0088B8;
  --cyan-glow: rgba(0, 194, 232, 0.28);
  --orange: #FF5A1F;
  --orange-hover: #E04810;
  --orange-glow: rgba(255, 90, 31, 0.35);
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #E2E8F0;
  --text-light-muted: #94A3B8;
  --border-light: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 35px rgba(9, 17, 36, 0.12);
  --shadow-lg: 0 22px 50px rgba(9, 17, 36, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

.top-ribbon {
  background: linear-gradient(90deg, #060C1A 0%, #0F1C3A 50%, #060C1A 100%);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
}

.top-ribbon span.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #10B981;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 17, 36, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--cyan) 0%, #0077B6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.brand span.accent {
  color: var(--cyan);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.92rem;
}

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

@media (min-width: 980px) {
  .nav-links {
    display: flex;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange) 0%, #FF7847 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.94rem;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 20px var(--orange-glow);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px var(--orange-glow);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dark);
  color: var(--white);
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 980px) {
  .menu-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  background: var(--bg-navy);
  padding: 16px 20px 24px;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  color: var(--white);
  padding: 10px 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mobile-drawer .drawer-label {
  color: var(--cyan);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 14px;
  margin-bottom: 4px;
  font-weight: 800;
}

.breadcrumb-bar {
  background: #EBF2FA;
  border-bottom: 1px solid #D6E4F2;
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-bar a {
  color: var(--cyan-dark);
  font-weight: 700;
}

.breadcrumb-bar a:hover {
  color: var(--orange);
}

.hero {
  background: radial-gradient(circle at 85% 15%, rgba(0, 194, 232, 0.24) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(255, 90, 31, 0.18) 0%, transparent 45%),
              linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-navy) 100%);
  color: var(--white);
  padding: 60px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.85fr;
  }
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 194, 232, 0.14);
  border: 1px solid rgba(0, 194, 232, 0.4);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--cyan) 0%, #67E8F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 640px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, #FF7847 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 15px 26px;
  border-radius: 12px;
  box-shadow: 0 10px 28px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px 24px;
  border-radius: 12px;
}

.btn-secondary:hover {
  background: rgba(0, 194, 232, 0.16);
  border-color: var(--cyan);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 0.9rem;
  color: var(--text-light-muted);
  font-weight: 600;
}

.trust-strip strong {
  color: var(--cyan);
}

.dispatch-card {
  background: rgba(21, 36, 71, 0.88);
  border: 1px solid rgba(0, 194, 232, 0.35);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.dispatch-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}

.dispatch-card p {
  font-size: 0.94rem;
  color: var(--text-light-muted);
  margin-bottom: 18px;
}

.dispatch-list {
  list-style: none;
  margin-bottom: 20px;
}

.dispatch-list li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.94rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dispatch-list li span:last-child {
  color: var(--cyan);
  font-weight: 700;
  text-align: right;
}

.section {
  padding: 72px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-eyebrow {
  color: var(--cyan-dark);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section-dark .section-eyebrow {
  color: var(--cyan);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: var(--text-light-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 680px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 820px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 194, 232, 0.16) 0%, rgba(0, 119, 182, 0.16) 100%);
  color: var(--cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.card-link {
  color: var(--cyan-dark);
  font-weight: 800;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  color: var(--orange);
}

.gbp-matrix {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-top: 32px;
}

.gbp-matrix h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--bg-navy);
}

.gbp-matrix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 680px) {
  .gbp-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .gbp-matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gbp-item {
  background: #F8FBFF;
  border: 1px solid #DCE8F5;
  border-radius: 12px;
  padding: 14px 16px;
}

.gbp-item strong {
  display: block;
  color: var(--bg-navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.gbp-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.card-dark {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px;
}

.card-dark h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-dark p {
  color: var(--text-light-muted);
  font-size: 0.96rem;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 720px) {
  .city-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.city-pill {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.city-pill:hover {
  border-color: var(--cyan);
  background: #F0FAFF;
  transform: translateY(-2px);
}

.city-pill span.arrow {
  color: var(--orange);
  font-weight: 900;
}

.step-box {
  background: var(--white);
  border-left: 5px solid var(--cyan);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.step-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 14px;
}

.faq-item h4 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--bg-navy);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

.related-links-box {
  background: #F8FBFF;
  border: 1px solid #DCE8F5;
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
}

.related-links-box h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--bg-navy);
  margin-bottom: 10px;
}

.related-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-chip {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cyan-dark);
}

.related-chip:hover {
  border-color: var(--cyan);
  color: var(--orange);
}

.cta-banner {
  background: linear-gradient(135deg, #0077B6 0%, #091124 100%);
  border-radius: 22px;
  padding: 44px 28px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-banner p {
  max-width: 640px;
  margin: 0 auto 24px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.footer {
  background: #060C1A;
  color: var(--text-light-muted);
  padding: 60px 0 36px;
  border-top: 1px solid var(--border-dark);
}

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

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 9px;
  font-size: 0.92rem;
}

.footer ul li a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 22px;
  text-align: center;
  font-size: 0.86rem;
}

.mobile-sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: linear-gradient(90deg, var(--orange) 0%, #FF7847 100%);
  color: var(--white);
  text-align: center;
  padding: 15px 16px;
  font-weight: 900;
  font-size: 1.06rem;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .mobile-sticky-call {
    display: none;
  }
}


/* === 24/7 Self-Serve Housecall Pro Booking & Emergency-Only Gating === */
button.btn-primary,
button.nav-cta,
button.card-link-btn,
button.mobile-sticky-book {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

.emergency-bar {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.16) 0%, rgba(255, 90, 31, 0.14) 100%);
  border: 1px solid rgba(255, 90, 31, 0.45);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.emergency-bar-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.45;
}

.emergency-bar-text strong {
  color: #FCA5A5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 2px;
}

.emergency-call-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(220, 38, 38, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.55);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.emergency-call-pill:hover {
  background: #DC2626;
  border-color: #FCA5A5;
}

.emergency-notice-light {
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  border-left: 5px solid var(--orange);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.emergency-notice-light strong {
  color: #9A3412;
  font-size: 1rem;
  display: block;
  margin-bottom: 3px;
}

.emergency-notice-light p {
  color: #7C2D12;
  font-size: 0.92rem;
  margin: 0;
}

.emergency-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #EA580C;
  color: #C2410C;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 10px;
  white-space: nowrap;
}

.emergency-btn-outline:hover {
  background: #EA580C;
  color: #FFFFFF;
}

.self-serve-band {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 56px 0;
}

.self-serve-box {
  background: linear-gradient(135deg, #F0FAFF 0%, #F8FAFC 100%);
  border: 1.5px solid #BAE6FD;
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: var(--shadow);
}

.self-serve-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 880px) {
  .self-serve-grid {
    grid-template-columns: 1.35fr 0.85fr;
  }
}

.self-serve-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

@media (min-width: 640px) {
  .self-serve-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.self-serve-step {
  background: var(--white);
  border: 1px solid #DCE8F5;
  border-radius: 12px;
  padding: 14px 16px;
}

.self-serve-step strong {
  display: block;
  color: var(--bg-navy);
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.self-serve-step span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.card-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-navy);
  color: var(--white);
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 9px 15px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
}

.card-book-btn:hover {
  background: var(--orange);
  color: var(--white);
}

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.32);
}

.mobile-sticky-book {
  background: linear-gradient(90deg, var(--orange) 0%, #FF7847 100%);
  color: var(--white);
  text-align: center;
  padding: 15px 12px;
  font-weight: 900;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.mobile-sticky-emerg {
  background: #991B1B;
  color: #FFFFFF;
  text-align: center;
  padding: 15px 10px;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-left: 1px solid rgba(255,255,255,0.2);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}
