/* ==========================================================================
   Plumber Chester (plumberchester.com) — Custom Industrial Copper & Navy UI
   Optimized for 98-100 Mobile & Desktop Core Web Vitals (Zero Render Blocking)
   ========================================================================== */

:root {
  --bg-page: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1EFEA;
  --bg-navy: #0B2239;
  --bg-navy-dark: #071626;
  --bg-navy-light: #13385C;
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #475569;
  --copper: #C2410C;
  --copper-bright: #EA580C;
  --copper-hover: #9A3412;
  --copper-tint: #FFF7ED;
  --copper-border: #FDBA74;
  --teal: #0369A1;
  --teal-tint: #F0F9FF;
  --emerald: #15803D;
  --emerald-tint: #F0FDF4;
  --border-light: #E2E8F0;
  --border-warm: #D6D3CD;
  --shadow-sm: 0 2px 6px rgba(11, 34, 57, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 34, 57, 0.09);
  --shadow-lg: 0 16px 36px rgba(11, 34, 57, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: hidden;
}

p, li, td, th, a, h1, h2, h3, span, div {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--bg-navy);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background-color: var(--bg-navy-dark);
  color: #F8FAFC;
  font-size: 0.875rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-phone {
  color: #FDBA74;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-phone:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Header & Mega Menu Navigation (Strict: Logo + Services + Areas + Call CTA)
   ========================================================================== */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 2px solid var(--border-warm);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

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

.brand-logo-img {
  height: 54px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-navy);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  background-color: var(--bg-subtle);
  color: var(--copper);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 780px;
  max-width: 92vw;
  background-color: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-top: 3px solid var(--copper-bright);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1100;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mega-col-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper);
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border-light);
}

.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mega-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  display: block;
}

.mega-links a:hover {
  background-color: var(--copper-tint);
  color: var(--copper);
}

.mega-footer {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mega-footer a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--copper);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--copper-bright);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover {
  background-color: var(--copper-hover);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: var(--bg-navy);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--bg-navy-light);
  color: #FFFFFF;
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background-color: #FFFFFF;
  color: var(--bg-navy);
}

/* Mobile Menu Button & Drawer */
.mobile-menu-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  color: var(--bg-navy);
  cursor: pointer;
  font-weight: 700;
  align-items: center;
  gap: 0.4rem;
}

.mobile-drawer {
  display: none;
  background-color: #FFFFFF;
  border-bottom: 3px solid var(--copper-bright);
  padding: 1.25rem 1.25rem 5.5rem;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 68px);
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

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

.mobile-nav-group {
  margin-bottom: 1.25rem;
}

.mobile-nav-title {
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--copper);
  margin-bottom: 0.5rem;
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.mobile-nav-list a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  background: var(--bg-page);
  border-radius: 6px;
  display: block;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-warm);
  padding: 0.65rem 0;
  font-size: 0.875rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--bg-navy);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--copper);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #94A3B8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--bg-navy-dark) 0%, var(--bg-navy) 60%, var(--bg-navy-light) 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 4rem;
  position: relative;
  border-bottom: 4px solid var(--copper-bright);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(234, 88, 12, 0.2);
  border: 1px solid var(--copper-border);
  color: #FFEDD5;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.1rem;
}

.hero-intro {
  font-size: 1.125rem;
  color: #E2E8F0;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hero-usp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.65rem;
}

.hero-usp-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #F8FAFC;
  font-size: 1rem;
}

.hero-usp-icon {
  width: 20px;
  height: 20px;
  color: #FB923C;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-media-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  box-shadow: var(--shadow-lg);
}

.hero-media-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-media-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.5rem 0.2rem;
  font-size: 0.82rem;
  color: #CBD5E1;
  font-weight: 600;
}

/* ==========================================================================
   Main Content Layout & Answer-First Sections
   ========================================================================== */
.page-main {
  padding: 0 0 2.5rem;
}

.page-main > .container {
  margin-top: 1.65rem !important;
}

.content-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.85rem;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.content-section.section-accent {
  border-left: 5px solid var(--copper-bright);
  background: linear-gradient(to right, #FFFBF7, #FFFFFF);
}

.content-section.section-navy {
  background-color: var(--bg-navy);
  color: #F8FAFC;
  border-color: var(--bg-navy-light);
}

.section-h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 800;
  color: var(--bg-navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.section-navy .section-h2 {
  color: #FFFFFF;
}

.section-h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bg-navy);
  margin-top: 1.1rem;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.content-section p {
  margin-bottom: 0.85rem;
  font-size: 1.02rem;
  color: var(--text-body);
}

.content-section p:last-child {
  margin-bottom: 0;
}

.section-navy p {
  color: #E2E8F0;
}

/* Subsections Grid (when multiple H3s sit under an H2) */
.h3-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.h3-cards-grid > *,
.cards-grid > *,
.hero-grid > *,
.footer-grid > *,
.form-grid > * {
  min-width: 0;
}

.h3-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-warm);
  border-top: 3px solid var(--bg-navy);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.h3-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--copper-bright);
}

.h3-card .section-h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--bg-navy);
  font-size: 1.1rem;
}

.h3-card p {
  font-size: 0.96rem;
  line-height: 1.55;
}

.h3-card .styled-list,
.h3-card .numbered-steps {
  margin: 0.35rem 0 0;
  gap: 0.45rem;
}

.h3-card .styled-list li {
  font-size: 0.95rem;
  line-height: 1.45;
  padding-left: 1.45rem;
}

.h3-card .styled-list li::before {
  top: 0.4rem;
  width: 8px;
  height: 8px;
}

/* Lists (Bullets & Numbered Steps) */
.styled-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.85rem 0;
}

/* Multi-column list grids to eliminate wasted horizontal whitespace */
.styled-list.list-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0.75rem 1.35rem;
}

.styled-list.list-grid-2col > li {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem 0.75rem 2.15rem;
}

.styled-list.list-grid-2col > li::before {
  left: 0.8rem;
  top: 1.1rem;
}

.styled-list.list-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 0.65rem 1rem;
}

.styled-list.list-grid-3col > li {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem 0.65rem 2rem;
}

.styled-list.list-grid-3col > li::before {
  left: 0.75rem;
  top: 1rem;
}

.styled-list.list-subgrid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 0.75rem;
}

.styled-list.list-subgrid-2col > li.span-full {
  grid-column: 1 / -1;
}

.styled-list li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 0.99rem;
  line-height: 1.55;
}

.styled-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--copper-bright);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}

.numbered-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 0.85rem;
  margin: 0.9rem 0;
  counter-reset: step-counter;
}

.h3-card .numbered-steps {
  grid-template-columns: 1fr;
}

.numbered-steps li {
  counter-increment: step-counter;
  position: relative;
  padding: 0.9rem 1.1rem 0.9rem 3.25rem;
  background-color: var(--bg-page);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  font-size: 0.97rem;
  line-height: 1.5;
}

.numbered-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0.85rem;
  top: 0.9rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-navy);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Pricing & Comparison Tables (Semantic HTML Table)
   ========================================================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #FFFFFF;
  text-align: left;
}

.data-table thead th {
  background-color: var(--bg-navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 2px solid var(--copper-bright);
}

.data-table tbody td {
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.96rem;
  color: var(--text-main);
}

.data-table tbody tr:nth-child(even) {
  background-color: var(--bg-page);
}

.data-table tbody tr:hover {
  background-color: var(--copper-tint);
}

.data-table tbody td:nth-child(2) {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--copper);
}

/* ==========================================================================
   Job Showcase / Field Photo Cards (.job-showcase-card)
   ========================================================================== */
.job-showcase-card {
  margin: 1rem 0;
  max-width: 780px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.job-showcase-media {
  position: relative;
}

.job-showcase-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.job-showcase-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background-color: rgba(11, 34, 57, 0.9);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border-left: 3px solid var(--copper-bright);
}

.job-showcase-caption {
  padding: 0.9rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   Service Cards (.svc-card) & Location Cards (.loc-card) — High-Impact UI
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.4rem;
  margin-top: 1.35rem;
}

.svc-card,
.loc-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFCFB 100%);
  border: 1px solid rgba(11, 34, 57, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px -6px rgba(11, 34, 57, 0.08), 0 4px 10px -3px rgba(11, 34, 57, 0.04);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
}

.svc-card::before,
.loc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--copper-bright), #FB923C);
  z-index: 3;
}

.loc-card::before {
  background: linear-gradient(90deg, var(--bg-navy), var(--teal));
}

.svc-card:hover,
.loc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px -8px rgba(11, 34, 57, 0.16), 0 8px 16px -4px rgba(234, 88, 12, 0.08);
  border-color: rgba(234, 88, 12, 0.4);
}

.loc-card:hover {
  border-color: rgba(3, 105, 161, 0.45);
}

.card-thumb-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-navy);
}

.card-thumb-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 38, 0.55) 0%, rgba(7, 22, 38, 0) 42%, rgba(7, 22, 38, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.card-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .card-thumb-link img,
.loc-card:hover .card-thumb-link img {
  transform: scale(1.06);
}

.card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  z-index: 2;
}

.card-num-badge {
  background-color: rgba(7, 22, 38, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.card-cat-badge {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.loc-card .card-cat-badge {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
}

.card-body {
  padding: 1.35rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-title a {
  color: var(--bg-navy);
  text-decoration: none;
  transition: color 0.15s ease;
}

.card-title a:hover {
  color: var(--copper-bright);
}

.svc-card-desc,
.loc-card-desc {
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--text-body);
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.loc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 0.85rem;
}

.loc-tag {
  font-size: 0.73rem;
  font-weight: 700;
  background-color: #F0F9FF;
  color: #0369A1;
  border: 1px solid #BAE6FD;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.card-footer-actions {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--bg-navy);
  text-decoration: none;
  flex: 1 1 110px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.card-cta-link:hover {
  color: var(--copper-bright);
  transform: translateX(2px);
}

.btn.btn-primary.card-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: var(--copper-bright);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  padding: 0.62rem 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.28);
  transition: background-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.btn.btn-primary.card-call-btn:hover {
  background-color: var(--copper-hover);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.36);
}

.btn.btn-primary.card-call-btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   Interactive FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

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

.faq-question-h3 {
  margin: 0;
  font-size: 1.08rem;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  font-family: inherit;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--bg-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-toggle:hover {
  background-color: #FFFFFF;
  color: var(--copper);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--bg-navy);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background-color: var(--copper-bright);
}

.faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-body);
  font-size: 1rem;
  border-top: 1px solid var(--border-light);
  background-color: #FFFFFF;
  padding-top: 0.95rem;
}

/* ==========================================================================
   E-E-A-T Specialist Review Card & Bottom CTA Banner
   ========================================================================== */
.eeat-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.eeat-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.2rem;
  border: 2px solid var(--copper-bright);
}

.eeat-body {
  flex: 1;
}

.eeat-title {
  font-weight: 800;
  color: var(--bg-navy);
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.eeat-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* Map Section */
.map-section {
  background-color: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.map-frame-wrapper {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-warm);
  margin-top: 1rem;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form (Exclusively on /contact/) */
.contact-form-card {
  background-color: #FFFFFF;
  border: 2px solid var(--bg-navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--bg-navy);
}

.form-control {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg-page);
  color: var(--text-main);
}

.form-control:focus {
  outline: 2px solid var(--copper-bright);
  background-color: #FFFFFF;
}

.captcha-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.captcha-canvas {
  border-radius: 6px;
  border: 1px solid var(--border-warm);
  background: #FFFFFF;
}

.btn-refresh-captcha {
  background: var(--bg-navy);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.form-success-banner {
  display: none;
  background-color: var(--emerald-tint);
  border: 2px solid var(--emerald);
  color: #065F46;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.form-error-banner {
  display: none;
  background-color: #FEF2F2;
  border: 2px solid #DC2626;
  color: #991B1B;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

/* ==========================================================================
   Global Footer & Sticky Mobile Bottom Bar
   ========================================================================== */
.site-footer {
  background-color: var(--bg-navy-dark);
  color: #CBD5E1;
  padding: 4rem 0 2.5rem;
  border-top: 4px solid var(--copper-bright);
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

.footer-col-title {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--copper-bright);
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #FDBA74;
  text-decoration: underline;
}

.nap-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: 1rem;
}

.nap-row {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.nap-row:last-child {
  margin-bottom: 0;
}

.nap-row strong {
  color: #FFFFFF;
}

.footer-disclosure {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.75rem;
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Sticky Mobile Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-navy-dark);
  border-top: 2px solid var(--copper-bright);
  padding: 0.6rem 0.85rem;
  z-index: 1200;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.mobile-sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
}

.mobile-sticky-call {
  background-color: var(--copper-bright);
  color: #FFFFFF;
}

.mobile-sticky-quote {
  background-color: #FFFFFF;
  color: var(--bg-navy);
}

/* ==========================================================================
   Responsive Breakpoints (Tablet, Mobile & Small Mobile Viewports)
   ========================================================================== */
@media (max-width: 980px) {
  .hero-section {
    padding: 2.25rem 0 2.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 74px;
  }
  .mobile-sticky-bar {
    display: block;
  }
  .top-bar-left span.hide-sm {
    display: none;
  }
  .content-section {
    padding: 1.5rem 1.25rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .map-frame-wrapper {
    height: 320px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 1rem;
  }
  .top-bar {
    padding: 0.4rem 0;
    font-size: 0.76rem;
  }
  .top-bar-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .top-bar-left {
    min-width: 0;
    flex: 1;
    gap: 0.45rem;
    font-size: 0.75rem;
  }
  .top-bar-left span:not(.live-dot):not(.hide-sm) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-bar-right {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .header-inner {
    min-height: 64px;
    gap: 0.5rem;
  }
  .brand-logo {
    flex-shrink: 1;
    min-width: 0;
  }
  .brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 215px;
  }
  /* Hide duplicate phone button in top header on mobile since top-bar & sticky bottom bar both show Call CTA */
  .header-actions .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    padding: 0.5rem 0.75rem;
    font-size: 0.92rem;
    flex-shrink: 0;
  }
  .mobile-drawer {
    padding: 1rem 1rem 5.5rem;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
  }
  .mobile-nav-list {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .mobile-nav-list a {
    padding: 0.55rem 0.75rem;
    font-size: 0.93rem;
    border: 1px solid var(--border-light);
  }
  .breadcrumb-bar {
    padding: 0.5rem 0;
    font-size: 0.8rem;
  }
  .hero-section {
    padding: 1.65rem 0 2rem;
  }
  .hero-badge {
    font-size: 0.74rem;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
    line-height: 1.35;
    display: inline-block;
    max-width: 100%;
  }
  .hero-h1 {
    font-size: clamp(1.6rem, 6.2vw, 2.05rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }
  .hero-intro {
    font-size: 0.98rem;
    margin-bottom: 1rem;
    line-height: 1.55;
  }
  .hero-usp-list {
    gap: 0.45rem;
    margin-bottom: 1.25rem;
  }
  .hero-usp-list li {
    font-size: 0.93rem;
    align-items: flex-start;
  }
  .hero-usp-icon {
    margin-top: 0.15rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.96rem;
    text-align: center;
  }
  .hero-media-card {
    padding: 0.45rem;
  }
  .hero-media-caption {
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.76rem;
    padding: 0.5rem 0.35rem 0.15rem;
  }
  .page-main {
    padding: 0 0 2rem;
  }
  .page-main > .container {
    margin-top: 1.35rem !important;
  }
  .content-section,
  .map-section {
    padding: 1.35rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
  }
  .section-h2 {
    font-size: clamp(1.3rem, 5vw, 1.55rem);
    margin-bottom: 0.75rem;
  }
  .section-h3 {
    font-size: 1.08rem;
    margin-top: 1.1rem;
  }
  .content-section p,
  .styled-list li {
    font-size: 0.97rem;
  }
  .styled-list li {
    padding-left: 1.45rem;
  }
  .numbered-steps li {
    padding: 0.85rem 0.9rem 0.85rem 2.85rem;
    font-size: 0.95rem;
  }
  .numbered-steps li::before {
    left: 0.65rem;
    top: 0.85rem;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }
  .cards-grid,
  .h3-cards-grid,
  .styled-list.list-grid-2col,
  .styled-list.list-grid-3col,
  .numbered-steps {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1rem;
  }
  .h3-card {
    padding: 1.1rem;
  }
  .card-body {
    padding: 1.1rem;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .card-badges {
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    gap: 0.35rem;
    flex-wrap: wrap;
  }
  .card-num-badge,
  .card-cat-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
  }
  .job-showcase-badge {
    top: 0.55rem;
    left: 0.55rem;
    right: 0.55rem;
    width: fit-content;
    max-width: calc(100% - 1.1rem);
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
  }
  .job-showcase-caption {
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
  }
  .table-wrapper {
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
  }
  .data-table thead th,
  .data-table tbody td {
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
  }
  .faq-toggle {
    padding: 0.9rem 1rem;
    font-size: 0.98rem;
    gap: 0.65rem;
  }
  .faq-answer {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.95rem;
  }
  .eeat-card {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.15rem 1rem;
    margin-bottom: 1.25rem;
  }
  .eeat-avatar {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .contact-form-card {
    padding: 1.15rem 1rem;
  }
  .form-control {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }
  .captcha-box {
    padding: 0.75rem;
    gap: 0.65rem;
  }
  .captcha-box #captcha-input {
    max-width: 100% !important;
    width: 100%;
    flex: 1 1 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
  .site-footer {
    padding: 2.5rem 0 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .mobile-sticky-bar {
    padding: 0.5rem 0.65rem;
  }
  .mobile-sticky-btn {
    padding: 0.68rem 0.4rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 380px) {
  .brand-logo-img {
    height: 38px;
    max-width: 182px;
  }
  .mobile-menu-toggle {
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
  }
  .mobile-sticky-btn {
    font-size: 0.82rem;
    gap: 0.3rem;
  }
  .card-footer-actions {
    grid-template-columns: 1fr;
  }
}
