/* ==========================================================================
   HVAC HAVERTOWN (hvachavertown.com) — Custom Heritage Brick & Thermal Slate Theme
   Zero External Fonts / 100% System Stack / Mobile-First Responsive Layout
   ========================================================================== */

:root {
  --bg-primary: #fbfaf8;
  --bg-card: #ffffff;
  --bg-subtle: #f3f1ed;
  --bg-navy: #0c233c;
  --bg-navy-dark: #071628;
  --bg-navy-light: #153558;
  --text-main: #182433;
  --text-muted: #4b5a6c;
  --text-light: #f8fafc;
  --brand-hearth: #c2410c;
  --brand-hearth-hover: #9a3412;
  --brand-amber: #ea580c;
  --brand-frost: #0284c7;
  --brand-frost-light: #e0f2fe;
  --brand-green: #15803d;
  --brand-green-bg: #dcfce7;
  --border-color: #e2ddd5;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 2px 6px rgba(12, 35, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 35, 60, 0.09);
  --shadow-lg: 0 16px 40px rgba(12, 35, 60, 0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max-w: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-frost);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--brand-hearth);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & ARCHITECTURAL HEADER NAVIGATION
   ========================================================================== */
.top-bar {
  background-color: var(--bg-navy-dark);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.top-badge {
  background-color: var(--brand-hearth);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.16rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.top-address-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0;
  font-weight: 500;
}

.top-address-item svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-cred-item {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
}

.top-divider {
  color: rgba(255, 255, 255, 0.18);
  user-select: none;
}

.top-bar-phone {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.top-bar-phone:hover {
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   MAIN STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px -2px rgba(12, 35, 60, 0.06);
}

.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;
  transition: opacity 0.18s ease;
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* Center Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.45rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.65rem 1.05rem;
  color: var(--bg-navy);
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.16s ease, background-color 0.16s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  color: var(--brand-hearth);
  background-color: var(--bg-subtle);
}

.nav-caret {
  width: 13px;
  height: 13px;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-item:hover .nav-caret,
.nav-item.open .nav-caret {
  transform: rotate(180deg);
  color: var(--brand-hearth);
}

/* ==========================================================================
   ARCHITECTURAL MEGA-MENU DROPDOWNS
   ========================================================================== */
.mega-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--brand-hearth);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 24px 48px -12px rgba(12, 35, 60, 0.18), 0 4px 12px rgba(12, 35, 60, 0.05);
  padding: 1.5rem 1.5rem 1.25rem;
  display: none;
  z-index: 1100;
}

/* Invisible hover bridge so cursor movement never drops menu */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.mega-menu.mega-services {
  width: 900px;
  left: -110px;
  transform: none;
}

.mega-menu.mega-areas {
  width: 640px;
  left: auto;
  right: -60px;
  transform: none;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.open .mega-menu {
  display: block;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.mega-grid.mega-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mega-col-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-hearth);
  text-decoration: none;
  margin-bottom: 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--bg-subtle);
}

.mega-col-title:hover {
  color: var(--bg-navy);
}

.mega-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.mega-links li a {
  display: block;
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
  padding: 0.34rem 0.5rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.mega-links li a:hover {
  background-color: var(--brand-frost-light);
  color: var(--bg-navy);
  font-weight: 600;
  padding-left: 0.7rem;
}

.mega-links li a.mega-link-hub {
  font-weight: 700;
  color: var(--bg-navy);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  margin-bottom: 0.2rem;
}

.mega-links li a.mega-link-hub:hover {
  background-color: var(--bg-subtle);
  border-color: var(--brand-hearth);
  color: var(--brand-hearth);
}

.mega-footer {
  margin: 1.25rem -1.5rem -1.25rem;
  padding: 0.85rem 1.5rem;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 11px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mega-footer-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mega-hub-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-hearth);
  text-decoration: none;
  white-space: nowrap;
}

.mega-hub-link:hover {
  color: var(--bg-navy);
  text-decoration: underline;
}

/* ==========================================================================
   SIGNATURE HEADER CALL CTA & GLOBAL BUTTONS
   ========================================================================== */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 1rem 0.45rem 0.55rem;
  background-color: var(--bg-navy);
  border: 1px solid var(--bg-navy-light);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(12, 35, 60, 0.14);
  transition: all 0.2s ease;
}

.header-call-btn:hover {
  background-color: var(--brand-hearth);
  border-color: var(--brand-hearth);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(194, 65, 12, 0.28);
}

.header-call-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-hearth);
  color: #ffffff;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-call-btn:hover .header-call-icon {
  background-color: #ffffff;
  color: var(--brand-hearth);
}

.header-call-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.header-call-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.header-call-btn:hover .header-call-label {
  color: rgba(255, 255, 255, 0.9);
}

.header-call-number {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Global Buttons (.btn, .btn-primary, .btn-secondary, .btn-outline) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--brand-hearth);
  color: #ffffff;
  border-color: var(--brand-hearth);
}

.btn-primary:hover {
  background-color: var(--brand-hearth-hover);
  border-color: var(--brand-hearth-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-navy);
  color: #ffffff;
  border-color: var(--bg-navy);
}

.btn-secondary:hover {
  background-color: var(--bg-navy-light);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--bg-navy);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.55rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--bg-navy);
}

.mobile-nav-toggle:hover {
  background-color: #e2ddd5;
}

.hamburger-box {
  width: 20px;
  height: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--bg-navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   RESPONSIVE NAVIGATION BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .mega-menu.mega-services {
    width: 780px;
    left: -80px;
  }
  .mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-link {
    padding: 0.55rem 0.65rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 980px) {
  .top-cred-item,
  .top-divider {
    display: none;
  }

  .header-inner {
    position: relative;
    min-height: 68px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  /* Animated Hamburger State */
  .mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 3px solid var(--brand-hearth);
    box-shadow: 0 20px 38px rgba(12, 35, 60, 0.22);
    padding: 1rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1050;
  }

  .main-nav.active,
  .main-nav.is-open {
    display: flex !important;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.65rem;
    font-size: 1.02rem;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 6px;
  }

  .mega-menu,
  .mega-menu.mega-services,
  .mega-menu.mega-areas {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--brand-hearth);
    border-radius: 8px;
    margin-top: 0.35rem;
    padding: 0.85rem;
    background-color: #fbfaf8;
    display: none;
  }

  .mega-menu::before {
    display: none;
  }

  .nav-item.open .mega-menu {
    display: block !important;
  }

  .mega-grid,
  .mega-grid.mega-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .mega-footer {
    margin: 0.85rem 0 0;
    padding: 0.75rem 0 0;
    background: transparent;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

@media (max-width: 640px) {
  .top-bar {
    font-size: 0.75rem;
    padding: 0.35rem 0;
  }

  .top-badge {
    display: none;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 175px;
  }

  .header-call-label {
    display: none;
  }

  .header-call-btn {
    padding: 0.4rem 0.75rem 0.4rem 0.45rem;
    gap: 0.45rem;
  }

  .header-call-icon {
    width: 28px;
    height: 28px;
  }

  .header-call-number {
    font-size: 0.86rem;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 36px;
    max-width: 150px;
  }

  .header-call-btn {
    display: none; /* Sticky mobile bottom action bar provides instant 1-tap Call & Quote buttons */
  }
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumb-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 0.65rem 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  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(--brand-hearth);
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #94a3b8;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--bg-navy-dark) 0%, var(--bg-navy) 60%, #163a5f 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  position: relative;
  border-bottom: 4px solid var(--brand-hearth);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.1rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-intro {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.hero-intro a {
  color: #7dd3fc;
  font-weight: 700;
}

.hero-usp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.hero-usp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: #f1f5f9;
  font-weight: 500;
}

.hero-usp-icon {
  color: #f97316;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-media-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero-media-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.5rem 0.2rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* ==========================================================================
   MAIN CONTENT SECTIONS & TYPOGRAPHY
   ========================================================================== */
.content-section {
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--border-color);
}

.content-section:nth-child(even) {
  background-color: #ffffff;
}

.content-section:nth-child(odd) {
  background-color: var(--bg-primary);
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-inner.wide {
  max-width: var(--max-w);
}

.section-h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 800;
  color: var(--bg-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
  position: relative;
  padding-bottom: 0.55rem;
}

.section-h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background-color: var(--brand-hearth);
  border-radius: 2px;
}

.body-p {
  font-size: 1.04rem;
  color: var(--text-main);
  margin-bottom: 1.1rem;
  line-height: 1.72;
}

.subsection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.sub-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--bg-navy);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.sub-h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--bg-navy);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.feature-list li {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-hearth);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.15rem;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.feature-list li strong {
  color: var(--bg-navy);
}

/* ==========================================================================
   TABLES (PRICING, SPECS, QUOTES)
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.96rem;
}

.data-table thead {
  background-color: var(--bg-navy);
  color: #ffffff;
}

.data-table th {
  padding: 0.9rem 1.15rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.data-table tbody tr:nth-child(even) {
  background-color: var(--bg-subtle);
}

.data-table tbody tr:hover {
  background-color: var(--brand-frost-light);
}

/* ==========================================================================
   CARD SYSTEMS: SERVICE CARDS (.svc-card) & LOCATION CARDS (.loc-card)
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.svc-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.svc-card-img-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-navy);
}

.svc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.svc-card:hover .svc-card-img {
  transform: scale(1.04);
}

.svc-card-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem 0.25rem;
}

.svc-num-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-hearth);
  background-color: #ffedd5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.svc-cat-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bg-navy);
  background-color: var(--bg-subtle);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.svc-card-body {
  padding: 0.5rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  line-height: 1.3;
  color: var(--bg-navy);
}

.svc-card-title a {
  color: var(--bg-navy);
  text-decoration: none;
}

.svc-card-title a:hover {
  color: var(--brand-hearth);
}

.svc-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.svc-card-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-hearth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.svc-card-cta:hover {
  color: var(--bg-navy);
}

/* Location Cards (.loc-card) */
.loc-card {
  background-color: #ffffff;
  border: 1px solid var(--border-strong);
  border-bottom: 4px solid var(--brand-frost);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.loc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.loc-card-img-link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.loc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loc-region-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background-color: rgba(12, 35, 60, 0.88);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.loc-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.loc-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--bg-navy);
}

.loc-card-title a {
  color: var(--bg-navy);
  text-decoration: none;
}

.loc-card-title a:hover {
  color: var(--brand-frost);
}

.loc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.loc-tag {
  font-size: 0.74rem;
  background-color: var(--brand-frost-light);
  color: #0369a1;
  font-weight: 600;
  padding: 0.12rem 0.48rem;
  border-radius: 4px;
}

.loc-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.loc-card-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-frost);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   JOB SHOWCASE / FIELD PHOTOGRAPHY CARD (.job-showcase-card)
   ========================================================================== */
.job-showcase-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.job-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
}

.job-img-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.job-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background-color: var(--bg-navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.job-caption-box {
  padding: 0.5rem 0;
}

.job-caption-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-hearth);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   VERIFIED CUSTOMER FEEDBACK / E-E-A-T SPECIALIST BLOCK
   ========================================================================== */
.customer-note-box {
  background-color: var(--bg-subtle);
  border-left: 4px solid var(--brand-frost);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  margin: 1.25rem 0;
  font-size: 0.96rem;
  color: var(--text-main);
}

.eeat-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--bg-navy);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  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;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.eeat-meta {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.eeat-title {
  font-weight: 800;
  color: var(--bg-navy);
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-q-wrap {
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-q-wrap:hover {
  background-color: var(--bg-subtle);
}

.faq-h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--bg-navy);
  margin: 0;
}

.faq-toggle-icon {
  font-weight: 800;
  color: var(--brand-hearth);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-a-wrap {
  padding: 0 1.25rem 1.1rem;
  border-top: 1px solid var(--bg-subtle);
  padding-top: 0.85rem;
}

/* ==========================================================================
   RELATED LINKS BAR & CONTEXTUAL SILO LINKS
   ========================================================================== */
.related-links-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-top: 1.5rem;
}

.related-links-title {
  font-weight: 800;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bg-navy);
  margin-bottom: 0.75rem;
}

.related-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.related-pills a {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--bg-navy);
  padding: 0.42rem 0.85rem;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.related-pills a:hover {
  background-color: var(--brand-hearth);
  border-color: var(--brand-hearth);
  color: #ffffff;
}

/* ==========================================================================
   GOOGLE MAP EMBED SECTION
   ========================================================================== */
.map-section {
  padding: 3rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.map-frame-wrapper {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 1.25rem;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   CONTACT FORM (EXCLUSIVELY ON /contact/index.html)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: start;
  margin-top: 1.5rem;
}

.form-card {
  background-color: #ffffff;
  border: 2px solid var(--border-color);
  border-top: 5px solid var(--brand-hearth);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bg-navy);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-size: 16px;
  font-family: var(--font-sans);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  color: var(--text-main);
}

.form-control:focus {
  outline: 2px solid var(--brand-frost);
  background-color: #ffffff;
}

.captcha-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

#captchaCanvas {
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background-color: #ffffff;
}

.btn-refresh-captcha {
  background-color: #ffffff;
  border: 1px solid var(--border-strong);
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--bg-navy);
}

.form-alert {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.form-alert.success {
  display: block;
  background-color: var(--brand-green-bg);
  color: var(--brand-green);
  border: 1px solid #86efac;
}

.form-alert.error {
  display: block;
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.nap-card {
  background-color: var(--bg-navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
}

.nap-card a {
  color: #38bdf8;
}

.nap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.15rem;
}

.nap-list li strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

/* ==========================================================================
   BOTTOM CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-navy) 0%, var(--bg-navy-dark) 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  border-top: 4px solid var(--brand-hearth);
}

.cta-banner .section-h2 {
  color: #ffffff;
}

.cta-banner .body-p {
  color: #e2e8f0;
  font-size: 1.1rem;
}

/* ==========================================================================
   GLOBAL FOOTER (WITH ABOUT, CONTACT, PRIVACY, TERMS, SITEMAP GROUPED)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-navy-dark);
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-disclosure {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* ==========================================================================
   STICKY MOBILE ACTION BAR (<= 820px)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-navy-dark);
  border-top: 2px solid var(--brand-hearth);
  padding: 0.55rem 0.75rem;
  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.6rem;
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
}

.mobile-sticky-call {
  background-color: var(--brand-hearth);
  color: #ffffff;
}

.mobile-sticky-quote {
  background-color: #ffffff;
  color: var(--bg-navy);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (COMPREHENSIVE MOBILE & TABLET OPTIMIZATION)
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid,
  .contact-layout,
  .job-showcase-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 72px; /* Prevent sticky bar from overlapping footer */
  }

  .mobile-sticky-bar {
    display: block;
  }
  .map-frame-wrapper {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 2.25rem 0 2.5rem;
  }

  .hero-h1 {
    font-size: 1.7rem;
    line-height: 1.22;
    margin-bottom: 0.85rem;
    word-break: break-word;
  }

  .hero-intro {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.96rem;
  }

  .hero-usp-list {
    margin: 1.15rem 0;
    gap: 0.55rem;
  }

  .hero-usp-list li {
    font-size: 0.88rem;
  }

  .hero-media-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.76rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
  }

  .svc-card,
  .loc-card {
    width: 100%;
    max-width: 100%;
  }

  .svc-card-body,
  .loc-card-body {
    padding: 1.15rem 1rem 1rem;
  }

  .job-showcase-card {
    padding: 1rem;
    margin: 1.25rem 0;
  }

  .job-showcase-grid {
    gap: 1rem;
  }

  .job-caption-box {
    margin-top: 0.5rem;
  }

  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.25rem 0;
  }

  .data-table th,
  .data-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .form-card {
    padding: 1.35rem 1rem;
  }

  .contact-layout {
    gap: 1.5rem;
  }

  .captcha-row {
    flex-direction: column;
    align-items: stretch;
  }

  #captchaCanvas {
    width: 100% !important;
    max-width: 220px;
  }

  .customer-note-box {
    padding: 1rem;
    margin: 1.25rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand-logo-img {
    height: 34px;
    max-width: 140px;
  }

  .header-cta .btn {
    display: none; /* Hide header call button on small phones since bottom sticky bar is always visible! */
  }

  .section-h2 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.85rem;
  }

  .sub-h3 {
    font-size: 1.1rem;
    margin-top: 1.35rem;
    margin-bottom: 0.55rem;
  }

  .body-p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .faq-q-wrap {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .faq-h3 {
    font-size: 0.96rem;
  }

  .faq-a-wrap {
    padding: 0 1rem 0.85rem;
    font-size: 0.9rem;
  }

  .map-frame-wrapper {
    height: 260px;
  }

  .mobile-sticky-btn {
    font-size: 0.85rem;
    padding: 0.65rem 0.35rem;
  }
}

/* ===== PREMIUM POLISH LAYER (site-wide) ===== */
:root { --ease-out: cubic-bezier(.22,1,.36,1); }
body { background: radial-gradient(1200px 500px at 85% -5%, rgba(2,132,199,.06), transparent 60%), radial-gradient(900px 500px at -5% 20%, rgba(194,65,12,.05), transparent 60%), var(--bg-primary); }
::selection { background: var(--brand-hearth); color: #fff; }

/* ---------- NAV (desktop) ---------- */
@media (min-width: 981px) {
  .site-header { background: linear-gradient(180deg,#fff 0%,#fbfaf8 100%); box-shadow: 0 10px 30px -12px rgba(12,35,60,.18); }
  .site-header::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background: linear-gradient(90deg, transparent, var(--brand-hearth) 20%, var(--brand-frost) 80%, transparent); opacity:.55; }
  .nav-link { position:relative; background:transparent !important; }
  .nav-link::after { content:""; position:absolute; left:1.05rem; right:1.05rem; bottom:.28rem; height:2px; border-radius:2px; background:linear-gradient(90deg,var(--brand-hearth),var(--brand-amber)); transform:scaleX(0); transform-origin:left; transition:transform .28s var(--ease-out); }
  .nav-item:hover > .nav-link::after, .nav-item:focus-within > .nav-link::after { transform:scaleX(1); }
  .mega-menu { border:0; border-radius:16px; padding:1.75rem 1.75rem 0; box-shadow:0 40px 80px -20px rgba(12,35,60,.35), 0 0 0 1px rgba(12,35,60,.06); overflow:hidden; animation:megaIn .26s var(--ease-out); }
  .mega-menu::after { content:""; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg,var(--brand-hearth),var(--brand-amber),var(--brand-frost)); }
  @keyframes megaIn { from { opacity:0; margin-top:10px; } to { opacity:1; margin-top:0; } }
  .mega-col-title { color:var(--bg-navy); border-bottom:0; position:relative; padding-bottom:.7rem; }
  .mega-col-title::after { content:""; position:absolute; left:0; bottom:0; width:28px; height:3px; border-radius:3px; background:var(--brand-hearth); transition:width .25s ease; }
  .mega-col:hover .mega-col-title::after { width:56px; }
  .mega-links li a:hover { background:linear-gradient(90deg,var(--brand-frost-light),transparent); padding-left:.85rem; }
  .mega-links li a.mega-link-hub { background:linear-gradient(135deg,var(--bg-navy),var(--bg-navy-light)); color:#fff; border:0; box-shadow:0 6px 14px -6px rgba(12,35,60,.5); }
  .mega-links li a.mega-link-hub:hover { color:#fff; padding-left:.5rem; background:linear-gradient(135deg,var(--brand-hearth),var(--brand-amber)); }
  .mega-footer { margin:1.5rem -1.75rem 0; padding:1rem 1.75rem; background:linear-gradient(90deg,var(--bg-navy-dark),var(--bg-navy)); border-top:0; border-radius:0; }
  .mega-footer-text { color:#cbd5e1; }
  .mega-hub-link { color:#fff; background:var(--brand-hearth); padding:.5rem 1rem; border-radius:999px; }
  .mega-hub-link:hover { background:var(--brand-amber); color:#fff; text-decoration:none; }
}
.header-call-btn { background:linear-gradient(135deg,#b91c1c,#dc2626 55%,#ea580c); border:0; box-shadow:0 10px 24px -8px rgba(220,38,38,.65), inset 0 1px 0 rgba(255,255,255,.25); position:relative; overflow:hidden; }
.header-call-btn::before { content:""; position:absolute; top:0; left:-60%; width:40%; height:100%; background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent); transform:skewX(-20deg); transition:left .6s ease; }
.header-call-btn:hover { background:linear-gradient(135deg,#991b1b,#b91c1c 55%,#c2410c); box-shadow:0 16px 30px -10px rgba(220,38,38,.75); }
.header-call-btn:hover::before { left:120%; }
.header-call-icon, .header-call-btn:hover .header-call-icon { background:#fff; color:#b91c1c; }
.header-call-label, .header-call-btn:hover .header-call-label { color:rgba(255,255,255,.9); }
.top-bar { background:linear-gradient(90deg,#050f1c,#0c233c 50%,#050f1c); border-bottom:1px solid rgba(56,189,248,.18); }

/* ---------- HERO ---------- */
.hero-section { background: radial-gradient(900px 500px at 90% 10%, rgba(56,189,248,.22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(194,65,12,.28), transparent 60%), linear-gradient(135deg,#050f1c 0%,#0c233c 55%,#163a5f 100%); overflow:hidden; padding:4.5rem 0; }
.hero-section::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:48px 48px; mask-image:radial-gradient(ellipse at 70% 40%,#000 0%,transparent 70%); -webkit-mask-image:radial-gradient(ellipse at 70% 40%,#000 0%,transparent 70%); pointer-events:none; }
.hero-section .container { position:relative; z-index:1; }
.hero-h1 { font-size:clamp(2rem,4.2vw,3.4rem); line-height:1.08; letter-spacing:-.025em; font-weight:900; background:linear-gradient(180deg,#fff 30%,#bfe3f7 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero-kicker { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); backdrop-filter:blur(8px); padding:.4rem .9rem; border-radius:999px; }
.hero-intro { color:#d6e2ee; font-size:1.12rem; }
.hero-section img { border-radius:18px; box-shadow:0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); transition:transform .5s var(--ease-out); }
.hero-section img:hover { transform:scale(1.02) rotate(-.4deg); }

/* ---------- BUTTONS ---------- */
.btn { border-radius:10px; transition:transform .2s var(--ease-out), box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform:translateY(-2px); }
.btn-primary { background:linear-gradient(135deg,var(--brand-hearth),var(--brand-amber)); border-color:transparent; box-shadow:0 12px 24px -10px rgba(194,65,12,.7); }
.btn-primary:hover { background:linear-gradient(135deg,var(--brand-hearth-hover),var(--brand-hearth)); box-shadow:0 18px 32px -12px rgba(194,65,12,.85); }

/* ---------- SECTIONS & TYPE ---------- */
.section-h2 { letter-spacing:-.02em; position:relative; padding-bottom:.85rem; }
.section-h2::after { content:""; position:absolute; left:0; bottom:0; width:56px; height:4px; border-radius:4px; background:linear-gradient(90deg,var(--brand-hearth),var(--brand-amber)); }

/* ---------- CARDS ---------- */
.svc-card, .loc-card { border:0; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 1px 2px rgba(12,35,60,.06), 0 12px 28px -14px rgba(12,35,60,.22); transition:transform .35s var(--ease-out), box-shadow .35s ease; position:relative; }
.svc-card::after, .loc-card::after { content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:linear-gradient(90deg,var(--brand-hearth),var(--brand-amber),var(--brand-frost)); transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease-out); }
.svc-card:hover, .loc-card:hover { transform:translateY(-8px); box-shadow:0 2px 4px rgba(12,35,60,.06), 0 32px 56px -18px rgba(12,35,60,.38); }
.svc-card:hover::after, .loc-card:hover::after { transform:scaleX(1); }
.svc-card img, .loc-card img { transition:transform .7s var(--ease-out); }
.svc-card:hover img, .loc-card:hover img { transform:scale(1.07); }

/* ---------- FAQ / TABLES / NOTES ---------- */
.faq-q-wrap { transition:background-color .2s ease, padding-left .2s ease; }
.faq-q-wrap:hover { background:var(--brand-frost-light); }
.data-table { border-radius:14px; overflow:hidden; box-shadow:0 10px 30px -16px rgba(12,35,60,.3); }
.data-table thead th { background:linear-gradient(135deg,var(--bg-navy),var(--bg-navy-light)); color:#fff; }
.data-table tbody tr:hover { background:var(--brand-frost-light); }
.customer-note-box, .job-showcase-card { border-radius:18px; box-shadow:0 14px 36px -18px rgba(12,35,60,.3); }

/* ---------- CTA + FOOTER ---------- */
.cta-banner { background: radial-gradient(700px 360px at 85% 0%, rgba(194,65,12,.4), transparent 60%), linear-gradient(135deg,#0c233c,#050f1c); position:relative; overflow:hidden; }
.site-footer { background:linear-gradient(180deg,#071628,#050f1c); position:relative; }
.site-footer::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--brand-hearth),var(--brand-amber),var(--brand-frost)); }
.footer-col-title { position:relative; padding-bottom:.6rem; }
.footer-col-title::after { content:""; position:absolute; left:0; bottom:0; width:28px; height:3px; border-radius:3px; background:var(--brand-hearth); }
.footer-links a { transition:color .2s ease, padding-left .2s ease; }
.footer-links a:hover { padding-left:6px; text-decoration:none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation:none !important; transition:none !important; } }

/* ===== CARD FOOTER CTA (explore link + call button) ===== */
.svc-card, .loc-card { display:flex; flex-direction:column; }
.svc-card-body, .loc-card-body { display:flex; flex-direction:column; flex:1; }
.card-footer-actions { margin-top:auto; padding-top:1rem; border-top:1px solid var(--border-color); display:flex; align-items:center; justify-content:space-between; gap:.75rem; flex-wrap:wrap; }
.svc-card-cta, .loc-card-cta { display:inline-flex; align-items:center; gap:.3rem; flex:1 1 120px; font-weight:800; font-size:.88rem; line-height:1.3; color:var(--bg-navy); text-decoration:none; transition:color .15s ease, transform .15s ease; }
.svc-card-cta:hover, .loc-card-cta:hover { color:var(--brand-hearth); transform:translateX(3px); }
.card-call-btn { padding:.62rem .95rem; font-size:.88rem; white-space:nowrap; flex-shrink:0; border-radius:10px; }
@media (max-width:420px) { .card-footer-actions { flex-direction:column; align-items:stretch; } .card-call-btn { width:100%; } }

/* ===== MOTION + POLISH LAYER 2 ===== */
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.is-scrolled { box-shadow: 0 14px 34px -14px rgba(12,35,60,.3); }
.site-header.is-scrolled .header-inner { min-height: 66px; }
.header-inner { transition: min-height .25s var(--ease-out); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.hero-usp-list li { transition: transform .25s var(--ease-out); }
.hero-usp-list li:hover { transform: translateX(6px); }
.svc-num-badge { background: linear-gradient(135deg,var(--brand-hearth),var(--brand-amber)); color:#fff; box-shadow:0 6px 14px -4px rgba(194,65,12,.6); }
.svc-cat-badge, .loc-tag { backdrop-filter: blur(6px); }
.loc-tag { transition: background-color .2s ease, color .2s ease; }
.loc-card:hover .loc-tag { background: var(--brand-frost-light); color: var(--bg-navy); }
.form-card, .nap-card { border-radius: 20px; box-shadow: 0 24px 50px -22px rgba(12,35,60,.35); }
.form-control:focus { outline: none; border-color: var(--brand-frost); box-shadow: 0 0 0 4px rgba(2,132,199,.18); }
.mobile-sticky-bar { backdrop-filter: blur(10px); }
.mobile-sticky-call { background: linear-gradient(135deg,#b91c1c,#ea580c); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
