/* ==========================================================================
   CARROLLTON DRAIN MASTERS - Clean, Simple, Professional Stylesheet
   Design: Clean white backgrounds, crisp navy headings, subtle teal accents.
   No over-designing, no heavy dark clutter, fast and easy to read.
   ========================================================================== */

:root {
  --color-primary: #0f2744;
  --color-primary-dark: #09182b;
  --color-accent: #0284c7;
  --color-accent-hover: #0369a1;
  --color-teal: #0f766e;
  --color-teal-hover: #115e59;
  --color-text-main: #1e293b;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-bg-page: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e2e8f0;
  --color-border-subtle: #f1f5f9;
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --max-w: 1140px;
}

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

body {
  font-family: var(--font);
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 64px;
}

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

a {
  color: var(--color-accent);
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
  opacity: 0.9;
}

h1, h2, h3, h4 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
  background: #ccfbf1;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

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

/* Header & Top Bar */
.top-bar {
  background: var(--color-primary-dark);
  color: #f1f5f9;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-phone {
  font-weight: 700;
  color: #38bdf8;
}

.top-bar-phone:hover {
  text-decoration: none !important;
  opacity: 0.9;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.site-header .container {
  max-width: 1320px;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-teal);
  display: block;
  letter-spacing: 0.05em;
}

/* Nav */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
  }
}

@media (min-width: 1220px) {
  .desktop-nav {
    gap: 1.85rem;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
  background: rgba(2, 132, 199, 0.07);
  text-decoration: none;
}

.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
  color: var(--color-accent);
  background: rgba(2, 132, 199, 0.07);
  text-decoration: none !important;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  z-index: 1050;
  max-height: 80vh;
  overflow-y: auto;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text-main);
}

.dropdown-item:hover {
  background: var(--color-bg-alt);
  color: var(--color-accent);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  text-align: center;
}

.btn-primary {
  background: var(--color-teal);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-teal-hover);
}

.btn-secondary {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.8rem 1.5rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  white-space: nowrap;
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-call-btn:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.header-phone-desktop {
  display: inline;
}

.header-phone-mobile {
  display: none;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

@media (max-width: 540px) {
  .header-inner {
    height: 68px;
    gap: 0.5rem;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-tagline {
    font-size: 0.65rem;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  .header-call-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    gap: 5px;
  }
  .header-call-btn svg {
    width: 14px;
    height: 14px;
  }
  .header-phone-desktop {
    display: none;
  }
  .header-phone-mobile {
    display: inline;
  }
}

/* Hero Section - Simple, High Contrast */
.hero-clean {
  background: #ffffff;
  padding: 3.5rem 0 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.hero-clean-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-clean-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.hero-clean-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero-clean-title {
    font-size: 1.9rem;
  }
}

.hero-clean-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-clean-points {
  list-style: none;
  padding: 0;
  margin-bottom: 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 576px) {
  .hero-clean-points {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-clean-points li {
  font-size: 0.95rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-clean-points li svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

.hero-clean-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Simple Hero Form Box */
.hero-form-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.hero-form-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.hero-form-box p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-main);
}

.form-control, .form-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}

/* Simple 4-Grid / Cards */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.card-clean {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card-clean h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-clean p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.card-clean .card-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-teal);
}

/* 4 Simple Steps */
.step-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.step-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* FAQ Simple */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.1rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* CTA Simple Box */
.cta-box-clean {
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.75rem 1.5rem;
  text-align: center;
}

.cta-box-clean h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-box-clean p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

.cta-box-clean .btn-primary {
  background: #0284c7;
}

.cta-box-clean .btn-primary:hover {
  background: #0369a1;
}

/* Footer Simple */
.site-footer {
  background: #09182b;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

.footer-col-title {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Floating Mobile Call Bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 0.65rem 1rem;
  z-index: 1000;
  display: flex;
  gap: 0.65rem;
  box-shadow: 0 -3px 10px rgba(0,0,0,0.06);
}

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

.mobile-call-btn {
  flex: 1;
  background: var(--color-teal);
  color: #ffffff;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none !important;
}

.mobile-inquiry-btn {
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  display: block;
  padding: 0.35rem 0;
}

/* Simple Alerts */
.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: none;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-warning {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
}

.page-hero {
  background: var(--color-bg-alt);
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.15rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

.breadcrumb-nav {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.breadcrumb-separator {
  margin: 0 0.4rem;
}

@media (min-width: 768px) {
  .grid-contact {
    grid-template-columns: 1fr 1.2fr !important;
  }
}

/* Service Page Elements */
.clean-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.clean-table th {
  background: var(--color-navy);
  color: #ffffff;
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.clean-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.clean-table tr:last-child td {
  border-bottom: none;
}

.clean-table tr:hover td {
  background: #f8fafc;
}

.case-study-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.case-study-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
  margin-bottom: 0.4rem;
}

.related-services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.related-pill {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--color-navy);
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-pill:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #ffffff;
}

/* Enhanced Pricing Table & Emergency Hero Styles */
.premium-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #cbd5e1;
  margin: 1.5rem 0 2rem 0;
  background: #ffffff;
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: inherit;
}

.premium-table thead th {
  background: #0f172a;
  color: #ffffff;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.premium-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
}

.premium-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.premium-table tbody tr:hover {
  background: #f1f5f9;
}

.premium-table tbody tr:last-child td {
  border-bottom: none;
}

.price-tag-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
}

.free-tag-badge {
  display: inline-block;
  background: #f0fdf4;
  color: #166534;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
}

/* Unique Emergency Banner with Background Image */
.emergency-unique-card {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.92)), url('../images/emergency-van.jpg') center/cover no-repeat;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.emergency-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Areas Grid - Clean City Names Only */
.clean-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.clean-city-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.clean-city-chip:hover {
  background: var(--color-teal);
  color: #ffffff;
  border-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.clean-city-chip svg {
  color: var(--color-teal);
  transition: color 0.2s ease;
}

.clean-city-chip:hover svg {
  color: #ffffff;
}

/* ==========================================================================
   CHANDLER-INSPIRED LAYOUT & INTERACTIVE SERVICE TABS
   Spacious, bold, perfectly balanced content sections.
   ========================================================================== */

/* Trust Marquee Ribbon */
.trust-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.trust-marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.trust-marquee:hover .trust-marquee-track {
  animation-play-state: paused;
}

.trust-marquee-item {
  color: #93c5fd;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-marquee-item::after {
  content: "•";
  color: #38bdf8;
  font-weight: 800;
  margin-left: 24px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Interactive Services Tab Showcase */
.cdm-tabs-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  margin: 2.5rem 0;
}

.cdm-tabs-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
  margin-bottom: 2rem;
}

.cdm-tab-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cdm-tab-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.cdm-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.cdm-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.cdm-panel-tag {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.cdm-panel-h2 {
  font-size: 1.85rem;
  color: #0f172a;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.cdm-panel-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.75rem;
}

.cdm-bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 24px;
  margin: 1.5rem 0 2rem 0;
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e2e8f0;
}

.cdm-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1e293b;
}

.cdm-bullet-item svg {
  color: #0284c7;
  flex-shrink: 0;
  margin-top: 3px;
}

.cdm-two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 860px) {
  .cdm-two-col {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .cdm-tabs-wrap {
    padding: 1.5rem 1rem;
  }
  .cdm-panel {
    padding: 1.5rem 1.25rem;
  }
}

.cdm-how-box {
  background: #ffffff;
}

.cdm-how-box h3 {
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.cdm-how-box p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.25rem;
}

.cdm-service-faq h3 {
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cdm-faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.cdm-faq-q {
  padding: 12px 16px;
  font-size: 0.93rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.cdm-faq-q:hover {
  background: #f1f5f9;
}

.cdm-faq-toggle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0284c7;
  line-height: 1;
}

.cdm-faq-a {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.25s ease-out;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

.cdm-faq-item.open .cdm-faq-a {
  padding: 12px 16px 14px 16px;
  max-height: 250px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

/* Numbered Case Studies */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.case-study-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-study-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.case-num-circle {
  width: 44px;
  height: 44px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.case-study-card h3 {
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.case-study-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.25rem;
}

.case-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0284c7;
  margin-bottom: 0.25rem;
}

/* Unique Premium Service Cards */
.service-card-premium {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.service-card-premium:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.service-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(56, 189, 248, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
}

.service-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #475569;
}

.service-card-premium.featured {
  border: 2px solid #0284c7;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.service-card-premium.featured .service-badge-pill {
  background: #0284c7;
  color: #ffffff;
}

.service-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.service-card-premium:hover .service-btn-link {
  gap: 10px;
  color: #0369a1;
}

/* Service Areas: Home & Business Split */
.coverage-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.coverage-type-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.coverage-type-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.coverage-type-card.home .coverage-type-icon {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

.coverage-type-card.business .coverage-type-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.neighborhood-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.neighborhood-chip:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
}

.zip-badge {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 6px;
  margin-right: 6px;
  letter-spacing: 0.03em;
}


/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS SUITE (100% MOBILE FRIENDLY)
   Tested across iPhone SE (375px), iPhone 14/15 (390px), Galaxy (412px), iPads (768px)
   ========================================================================== */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

img, video, iframe, svg, canvas {
  max-width: 100% !important;
  height: auto;
}

/* Fluid Tables & Wrappers to prevent any horizontal viewport blowout */
table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrapper, 
.premium-table-wrapper, 
.pricing-table-container,
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin-bottom: 1.5rem;
  display: block;
}

/* Touch Target Sizes - minimum 44px for Google Mobile Standards */
button, 
.btn, 
.header-call-btn, 
.nav-link, 
.mobile-nav-link,
.faq-question {
  min-height: 44px;
}

@media (max-width: 768px) {
  /* Fluid Typography */
  h1, .hero-clean-title, .hero-section h1 {
    font-size: 2.1rem !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em !important;
  }

  h2, .section-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }

  h3 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }

  .container {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }

  .section {
    padding: 2.75rem 0 !important;
  }

  .hero-section {
    padding: 3rem 0 2.5rem 0 !important;
  }

  /* Full-width Stacked Action Buttons on Mobile */
  .hero-clean-actions, 
  .hero-actions,
  div[style*="display: flex"][style*="gap: 1rem"],
  div[style*="display:flex"][style*="gap: 1rem"] {
    flex-direction: column !important;
    width: 100% !important;
  }

  .btn-lg, .btn-primary, .btn-secondary {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 1.05rem !important;
  }

  /* Desktop Nav hidden, Mobile Toggle active */
  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* 2-Column / Multi-Column Layouts collapse to 1 Column */
  .grid-2, .grid-3, .grid-4, 
  .local-layout, 
  .coverage-grid, 
  .footer-grid,
  div[style*="grid-template-columns: 1.35fr 0.65fr"],
  div[style*="grid-template-columns: 1.3fr 1fr"],
  div[style*="grid-template-columns: 1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .top-bar-left {
    display: none !important;
  }

  .top-bar-content {
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  h1, .hero-section h1 {
    font-size: 1.85rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .header-call-btn {
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
  }

  .brand-name {
    font-size: 1.05rem !important;
  }
}


/* ==========================================================================
   EXPERT-LEVEL UI/UX REFINEMENTS & MICRO-INTERACTIONS
   Enhanced typography, modern depth, silky-smooth transitions & mobile conversions
   ========================================================================== */

/* Modern Sticky Header with Glassmorphism */
.site-header {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 2px 10px rgba(15, 39, 68, 0.03) !important;
  transition: all 0.3s ease !important;
}

/* Call Button in Header - Modern High-Converting Elevation */
.header-call-btn {
  background: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
  border-radius: 8px !important;
  padding: 0.6rem 1.15rem !important;
  font-weight: 700 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.header-call-btn:hover {
  background: #0369a1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
  color: #ffffff !important;
}

/* Animated Pulsing Status Dot */
.badge-dot, .pulse-dot {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #10b981 !important;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
  animation: pulseDotEffect 2s infinite !important;
}

@keyframes pulseDotEffect {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Expert Pill Badges */
.hero-badge, .badge-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 0.35rem 0.95rem !important;
  border-radius: 9999px !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.08) !important;
}

/* Buttons - Master Polish */
.btn-primary {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  border-radius: 8px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #0369a1 0%, #075985 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4) !important;
  color: #ffffff !important;
}

.btn-secondary {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f2744 !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0284c7 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
}

/* Service & Feature Cards - Smooth Elevating Hover */
.service-card, 
.feature-card, 
.trust-card,
div[style*="border: 1px solid #e2e8f0"],
div[style*="border: 1px solid #cbd5e1"] {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover, 
.feature-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 28px -6px rgba(15, 39, 68, 0.1) !important;
  border-color: #cbd5e1 !important;
}

/* Modern Input Focus Rings for All Forms */
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
  background-color: #ffffff !important;
}

/* Polished FAQ Accordions */
.faq-item {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  margin-bottom: 0.85rem !important;
  background: #ffffff !important;
  overflow: hidden !important;
  transition: border-color 0.2s ease !important;
}

.faq-item:hover {
  border-color: #cbd5e1 !important;
}

.faq-question {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 1.15rem 1.35rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f2744 !important;
  cursor: pointer !important;
  text-align: left !important;
  background: transparent !important;
  border: none !important;
}

.faq-answer {
  padding: 0 1.35rem 1.25rem 1.35rem !important;
  color: #475569 !important;
  line-height: 1.7 !important;
  font-size: 0.98rem !important;
}

/* Sticky Mobile Quick Action Bar (Bottom of screen on mobile) */
.mobile-sticky-action-bar {
  display: none;
}

@media (max-width: 991px) {
  .mobile-sticky-action-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
    padding: 0.65rem 0.85rem !important;
    gap: 0.75rem !important;
  }

  .mobile-action-btn-call {
    flex: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 0.5rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
  }

  .mobile-action-btn-quote {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #0f2744 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 0.5rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
  }

  body {
    padding-bottom: 72px !important;
  }
}

/* ==========================================================================
   BULLETPROOF MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION
   ========================================================================== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
}

/* Prevent long words or URLs from ever causing horizontal scroll on mobile */
h1, h2, h3, h4, h5, h6, p, a, li, span {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Ensure iOS Safari never auto-zooms into form fields on focus */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Ultra-Compact Mobile Phones (320px - 360px width) */
@media screen and (max-width: 360px) {
  .brand-name {
    font-size: 0.95rem !important;
  }
  .brand-tagline {
    display: none !important;
  }
  .header-call-btn {
    padding: 0.45rem 0.65rem !important;
    font-size: 0.78rem !important;
  }
  .header-call-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
}


/* ==========================================================================
   UNIFORM BLOG CARD BOXES SYSTEM
   ========================================================================== */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .blog-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

.blog-post-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.blog-post-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px -8px rgba(15, 39, 68, 0.12) !important;
  border-color: #0284c7 !important;
}

.blog-post-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.blog-category-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
}

.blog-read-time {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.blog-post-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0f2744;
  margin-bottom: 0.75rem;
}

.blog-post-card-title a {
  color: #0f2744 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.blog-post-card-title a:hover {
  color: #0284c7 !important;
}

.blog-post-card-excerpt {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.blog-post-card-footer {
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  padding: 0.9rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.blog-author-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.blog-read-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0284c7 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.blog-read-link:hover {
  gap: 8px;
  color: #0369a1 !important;
}

/* ==========================================================================
   SIGNATURE HIGH-IMPACT CONTRACTOR HERO & CARD ENHANCEMENTS
   ========================================================================== */

.hero-wrapper-photo {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(15, 26, 46, 0.90) 0%, rgba(26, 39, 68, 0.82) 50%, rgba(15, 26, 46, 0.92) 100%),
    url('../images/hero-plumber.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 3px solid #0284c7;
}

.hero-primary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(2, 132, 199, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-main-h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .hero-main-h1 {
    font-size: 2.25rem;
  }
}

.hero-main-h1 span {
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.hero-text-card {
  max-width: 780px;
  margin: 0 auto 2.25rem;
}

.hero-sub-text {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #e2e8f0;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-sub-text strong {
  color: #38bdf8;
}

.hero-cta-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  justify-content: center;
  margin-bottom: 0;
}

.btn-hero-primary {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  padding: 0.9rem 1.85rem !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
}

.btn-hero-primary:hover {
  background: #dc2626 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.55) !important;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  padding: 0.9rem 1.85rem !important;
  border-radius: 8px !important;
  backdrop-filter: blur(8px) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Translucent Frosted Glass Trust Bar */
.hero-trust-bar-glass {
  margin-top: 3.25rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 5;
  text-align: left;
}

.hero-trust-bar-glass:hover {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

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

@media (min-width: 1024px) {
  .hero-trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0.5rem;
}

.hero-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.hero-trust-title {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.3;
}

.hero-trust-desc {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.3;
  margin-top: 2px;
}

/* ==========================================================================
   MOBILE HEADER + CALL BAR FIX (hamburger was clipped off-screen on phones)
   ========================================================================== */
@media (max-width: 540px) {
  .header-inner { gap: 0.4rem !important; }
  .brand-logo { flex-shrink: 1 !important; min-width: 0; gap: 0.4rem !important; }
  .brand-name { font-size: 0.92rem !important; white-space: nowrap; }
  .brand-tagline { font-size: 0.58rem !important; }
  .logo-icon { width: 28px !important; height: 28px !important; flex-shrink: 0; }
  .header-cta-group { gap: 0.4rem !important; }
  .header-call-btn { padding: 6px 9px !important; font-size: 0.8rem !important; gap: 4px !important; }
  .mobile-toggle { width: 40px !important; height: 40px !important; }
  .mobile-call-bar a, .mobile-call-btn, .mobile-inquiry-btn { white-space: nowrap; font-size: 0.9rem !important; }
}
@media (max-width: 400px) {
  .header-call-btn svg { display: none; }
  .brand-name { font-size: 0.85rem !important; }
  .header-call-btn { font-size: 0.78rem !important; padding: 6px 8px !important; }
  .mobile-call-bar { gap: 0.5rem !important; padding-left: 0.6rem !important; padding-right: 0.6rem !important; }
  .mobile-call-btn svg { display: none; }
  .mobile-call-btn, .mobile-inquiry-btn { font-size: 0.85rem !important; padding-left: 0.4rem !important; padding-right: 0.4rem !important; }
}
@media (max-width: 540px) {
  .mobile-drawer .btn-block { white-space: nowrap; font-size: 0.95rem !important; padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
}
.top-bar-content { justify-content: flex-end; }
@media (max-width: 768px) { .top-bar-content { justify-content: center !important; } }
