/* ==========================================================================
   NY PLUMBING — HUNTS POINT, BRONX BOILER REPAIR & HEATING SERVICES
   Design System: Deep Bronx Industrial Navy (#14283F) & Safety Gold Accent (#F4A62A)
   Prefix: .hp-
   ========================================================================== */

:root {
  --hp-primary: #14283F;
  --hp-primary-dark: #0B1B2B;
  --hp-primary-light: #1E3756;
  --hp-primary-subtle: #2A486F;
  --hp-accent: #F4A62A;
  --hp-accent-hover: #D98B13;
  --hp-accent-light: #FEF3C7;
  --hp-steel: #0284C7;
  --hp-steel-light: #E0F2FE;
  --hp-bg-page: #F4F7FA;
  --hp-bg-card: #FFFFFF;
  --hp-bg-alt: #EBF1F6;
  --hp-text-main: #253447;
  --hp-text-muted: #5D6B7A;
  --hp-text-light: #8C9BAE;
  --hp-text-inverse: #FFFFFF;
  --hp-border: #D9E2EC;
  --hp-border-dark: #1E3756;
  --hp-footer-bg: #091827;
  --hp-footer-text: #F4F7FB;
  --hp-danger-bg: #FEF2F2;
  --hp-danger-border: #F87171;
  --hp-danger-text: #991B1B;
  --hp-radius-sm: 6px;
  --hp-radius-md: 10px;
  --hp-radius-lg: 16px;
  --hp-radius-full: 9999px;
  --hp-shadow-sm: 0 1px 3px rgba(20, 40, 63, 0.08);
  --hp-shadow-md: 0 4px 14px rgba(20, 40, 63, 0.1);
  --hp-shadow-lg: 0 12px 28px -6px rgba(20, 40, 63, 0.16);
  --hp-shadow-xl: 0 20px 40px -10px rgba(11, 27, 43, 0.28);
  --hp-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hp-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --hp-container: 1200px;
  --hp-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--hp-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hp-text-main);
  background-color: var(--hp-bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: 72px; /* Space for sticky mobile call bar */
}

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

/* Accessibility Focus Indicators */
:focus-visible {
  outline: 3px solid var(--hp-accent);
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--hp-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin-top: 2rem;
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--hp-text-main);
}

p.lead, .hp-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--hp-text-muted);
}

a {
  color: var(--hp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--hp-transition);
}

a:hover {
  color: var(--hp-accent-hover);
}

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

li {
  margin-bottom: 0.5rem;
}

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

/* Layout Utilities */
.hp-container {
  width: 100%;
  max-width: var(--hp-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.hp-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hp-section-alt {
  background-color: var(--hp-bg-alt);
}

.hp-section-dark {
  background-color: var(--hp-primary);
  color: var(--hp-text-inverse);
}

.hp-section-dark h2,
.hp-section-dark h3,
.hp-section-dark p {
  color: var(--hp-text-inverse);
}

/* Header & Navigation */
.hp-header {
  background-color: var(--hp-primary);
  border-bottom: 1px solid var(--hp-primary-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.hp-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--hp-text-inverse);
}

.hp-brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  stroke: var(--hp-accent);
}

.hp-brand-text {
  display: flex;
  flex-direction: column;
}

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

.hp-brand-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Navigation List */
.hp-nav {
  display: flex;
  align-items: center;
}

.hp-nav-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  align-items: center;
}

@media (min-width: 840px) {
  .hp-nav-list {
    display: flex;
  }
}

.hp-nav-item,
.hp-has-dropdown {
  position: relative;
  margin: 0;
}

.hp-nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--hp-radius-sm);
  transition: var(--hp-transition);
  min-height: 44px;
}

.hp-nav-link:hover,
.hp-nav-link.active,
.hp-nav-link[aria-expanded="true"] {
  color: #FFFFFF;
  background-color: var(--hp-primary-light);
}

.hp-nav-dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.hp-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.hp-nav-link[aria-expanded="true"] .hp-chevron,
.hp-nav-item:hover .hp-chevron,
.hp-has-dropdown:hover .hp-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.hp-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background-color: var(--hp-primary-light);
  border: 1px solid var(--hp-primary-subtle);
  border-radius: var(--hp-radius-md);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  margin-top: 0.25rem;
  display: none;
  z-index: 1050;
  list-style: none;
}

/* Invisible hover bridge to prevent menu from closing when moving cursor across gap */
.hp-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -10px;
  right: -10px;
  height: 20px;
  display: block;
}

/* Dropdown display on hover, focus, or JS .show class */
.hp-nav-item:hover > .hp-dropdown-menu,
.hp-has-dropdown:hover > .hp-dropdown-menu,
.hp-nav-item:focus-within > .hp-dropdown-menu,
.hp-has-dropdown:focus-within > .hp-dropdown-menu,
.hp-nav-dropdown-toggle:hover + .hp-dropdown-menu,
.hp-dropdown-menu:hover,
.hp-dropdown-menu.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.hp-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  color: #E2E8F0;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--hp-radius-sm);
  transition: var(--hp-transition);
  min-height: 44px;
}

.hp-dropdown-link:hover,
.hp-dropdown-link.active {
  color: #FFFFFF;
  background-color: var(--hp-primary-subtle);
}

.hp-dropdown-icon {
  width: 18px;
  height: 18px;
  stroke: var(--hp-accent);
  flex-shrink: 0;
}

/* Header Single Phone CTA */
.hp-header-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hp-phone-btn-header {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--hp-accent);
  color: #0B1B2B;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--hp-radius-full);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(244, 166, 42, 0.4);
  transition: var(--hp-transition);
  min-height: 44px;
}

@media (min-width: 576px) {
  .hp-phone-btn-header {
    display: inline-flex;
  }
}

.hp-phone-btn-header:hover {
  background-color: var(--hp-accent-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(217, 139, 19, 0.5);
}

.hp-phone-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Mobile Hamburger Toggle */
.hp-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--hp-primary-subtle);
  border-radius: var(--hp-radius-sm);
  color: #FFFFFF;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 840px) {
  .hp-menu-toggle {
    display: none;
  }
}

.hp-menu-icon {
  width: 24px;
  height: 24px;
}

/* Mobile Drawer */
.hp-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--hp-primary);
  border-left: 1px solid var(--hp-primary-subtle);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 1.5rem;
}

.hp-mobile-drawer.open {
  right: 0;
}

.hp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hp-primary-subtle);
}

.hp-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--hp-primary-subtle);
  border-radius: var(--hp-radius-sm);
  color: #FFFFFF;
  cursor: pointer;
}

.hp-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hp-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #E2E8F0;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--hp-radius-sm);
  min-height: 44px;
}

.hp-drawer-link:hover,
.hp-drawer-link.active {
  background-color: var(--hp-primary-light);
  color: #FFFFFF;
}

.hp-drawer-section-label {
  color: #94A3B8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding-top: 1rem;
  padding-left: 0.5rem;
}

.hp-drawer-submenu {
  padding-left: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid var(--hp-primary-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hp-drawer-sublink {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #CBD5E1;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--hp-radius-sm);
  min-height: 44px;
}

.hp-drawer-sublink:hover,
.hp-drawer-sublink.active {
  color: #FFFFFF;
  background-color: var(--hp-primary-light);
}

.hp-drawer-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hp-primary-subtle);
}

.hp-drawer-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--hp-accent);
  color: #0B1B2B;
  font-weight: 800;
  padding: 0.85rem;
  border-radius: var(--hp-radius-md);
  text-decoration: none;
  min-height: 48px;
}

.hp-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1999;
  display: none;
  backdrop-filter: blur(2px);
}

.hp-drawer-overlay.active {
  display: block;
}

/* Breadcrumbs */
.hp-breadcrumbs-wrap {
  background-color: var(--hp-bg-alt);
  border-bottom: 1px solid var(--hp-border);
  padding: 0.75rem 0;
}

.hp-breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.hp-breadcrumbs-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hp-text-muted);
  margin: 0;
}

.hp-breadcrumbs-item a {
  color: var(--hp-primary);
  text-decoration: none;
  font-weight: 500;
}

.hp-breadcrumbs-item a:hover {
  text-decoration: underline;
  color: var(--hp-accent-hover);
}

.hp-breadcrumbs-item[aria-current="page"] {
  color: var(--hp-text-main);
  font-weight: 700;
}

.hp-breadcrumbs-separator {
  width: 14px;
  height: 14px;
  stroke: var(--hp-text-light);
}

/* Hero Section */
.hp-hero {
  background: linear-gradient(135deg, #14283F 0%, #0B1B2B 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 4rem;
  position: relative;
  border-bottom: 4px solid var(--hp-accent);
}

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

@media (min-width: 992px) {
  .hp-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(244, 166, 42, 0.15);
  border: 1px solid rgba(244, 166, 42, 0.45);
  color: #FCD34D;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--hp-radius-full);
  margin-bottom: 1.25rem;
}

.hp-badge-icon {
  width: 16px;
  height: 16px;
  stroke: #F4A62A;
}

.hp-hero-title {
  color: #FFFFFF;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hp-hero-title {
    font-size: 2.9rem;
  }
}

.hp-hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #E2E8F0;
  margin-bottom: 2rem;
}

.hp-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 576px) {
  .hp-hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--hp-accent);
  color: #0B1B2B;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--hp-radius-md);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(244, 166, 42, 0.45);
  transition: var(--hp-transition);
  min-height: 48px;
}

.hp-btn-primary:hover {
  background-color: var(--hp-accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 139, 19, 0.55);
}

.hp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid #475569;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--hp-radius-md);
  text-decoration: none;
  transition: var(--hp-transition);
  min-height: 48px;
}

.hp-btn-outline:hover {
  border-color: #CBD5E1;
  background-color: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}

/* Hero Media Card & Technical Diagnostic Panel */
.hp-hero-card {
  background-color: var(--hp-primary-light);
  border: 1px solid var(--hp-primary-subtle);
  border-radius: var(--hp-radius-lg);
  overflow: hidden;
  box-shadow: var(--hp-shadow-xl);
}

.hp-hero-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-bottom: 2px solid var(--hp-accent);
}

.hp-hero-caption {
  padding: 1.25rem;
  background-color: var(--hp-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hp-hero-caption-icon {
  width: 28px;
  height: 28px;
  stroke: var(--hp-accent);
  flex-shrink: 0;
}

.hp-hero-caption-text {
  font-size: 0.875rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.hp-hero-caption-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.95rem;
}

/* Diagnostic Card for Zero-Image Pages */
.hp-diagnostic-hero {
  background: linear-gradient(145deg, #1E3756, #0B1B2B);
  border: 1.5px solid var(--hp-primary-subtle);
  border-radius: var(--hp-radius-lg);
  padding: 2rem;
  box-shadow: var(--hp-shadow-xl);
}

.hp-dh-badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hp-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.hp-dh-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.hp-dh-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hp-dh-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hp-primary-subtle);
}

.hp-dh-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hp-accent);
  line-height: 1.1;
}

.hp-dh-stat-label {
  display: block;
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Feature Image Block (Inner Pages with Matched Image) */
.hp-feature-image-block {
  margin: 2rem 0;
  border-radius: var(--hp-radius-lg);
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid var(--hp-border);
  box-shadow: var(--hp-shadow-md);
}

.hp-feature-image-block img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.hp-feature-caption {
  padding: 1rem 1.25rem;
  background-color: var(--hp-bg-alt);
  font-size: 0.875rem;
  color: var(--hp-text-muted);
  border-top: 1px solid var(--hp-border);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Section Header */
.hp-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.hp-section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hp-accent-hover);
  margin-bottom: 0.5rem;
}

.hp-section-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--hp-primary);
  margin-bottom: 0.75rem;
}

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

/* Two-Column Grid */
.hp-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .hp-two-col {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* Service Grid & Cards */
.hp-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

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

.hp-service-card {
  background-color: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-md);
  padding: 1.75rem;
  box-shadow: var(--hp-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--hp-transition);
}

.hp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
  border-color: #94A3B8;
}

.hp-service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--hp-radius-md);
  background-color: var(--hp-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hp-service-icon {
  width: 24px;
  height: 24px;
  stroke: #D98B13;
}

.hp-service-card h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hp-service-card p {
  font-size: 0.925rem;
  color: var(--hp-text-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hp-service-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--hp-primary);
  text-decoration: none;
}

.hp-service-link:hover {
  color: var(--hp-accent-hover);
}

/* Process Timeline (4-Step Workflow) */
.hp-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

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

.hp-process-card {
  background-color: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-md);
  padding: 1.5rem;
  position: relative;
}

.hp-process-num {
  font-family: var(--hp-font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hp-accent-hover);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.hp-process-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

/* Technical Comparison & Matrix Cards */
.hp-matrix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .hp-matrix-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hp-matrix-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--hp-shadow-sm);
  display: flex;
  flex-direction: column;
}

.hp-matrix-highlight {
  border-color: var(--hp-accent);
  box-shadow: 0 6px 20px rgba(244, 166, 42, 0.2);
}

.hp-matrix-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--hp-radius-full);
  background-color: var(--hp-steel-light);
  color: #0369A1;
  margin-bottom: 1rem;
}

.hp-matrix-badge-amber {
  background-color: var(--hp-accent-light);
  color: #92400E;
}

.hp-matrix-card h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.hp-matrix-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--hp-border);
  padding-top: 1rem;
}

.hp-matrix-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--hp-text-main);
}

.hp-matrix-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--hp-accent-hover);
  font-weight: bold;
}

/* Gas Safety Warning Banner */
.hp-alert-box {
  background-color: var(--hp-danger-bg);
  border: 1.5px solid var(--hp-danger-border);
  border-radius: var(--hp-radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hp-alert-icon {
  width: 28px;
  height: 28px;
  stroke: #DC2626;
  flex-shrink: 0;
  margin-top: 2px;
}

.hp-alert-content h4 {
  color: var(--hp-danger-text);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.hp-alert-content p {
  color: var(--hp-danger-text);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.55;
}

/* Callout Section (Inter-section CTA Banner) */
.hp-cta-banner {
  background: linear-gradient(135deg, #14283F 0%, #0B1B2B 100%);
  color: #FFFFFF;
  border-radius: var(--hp-radius-lg);
  padding: 2.5rem 2rem;
  margin: 3.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--hp-shadow-lg);
  border-left: 4px solid var(--hp-accent);
}

@media (min-width: 768px) {
  .hp-cta-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.hp-cta-banner h3 {
  color: #FFFFFF;
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.hp-cta-banner p {
  color: #E2E8F0;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  max-width: 600px;
}

@media (min-width: 768px) {
  .hp-cta-banner p {
    margin-bottom: 0;
  }
}

/* FAQ Accordion */
.hp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.hp-faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-md);
  overflow: hidden;
  box-shadow: var(--hp-shadow-sm);
}

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

.hp-faq-btn:hover {
  background-color: var(--hp-bg-alt);
}

.hp-faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--hp-accent-hover);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.hp-faq-btn[aria-expanded="true"] .hp-faq-icon {
  transform: rotate(180deg);
}

.hp-faq-answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--hp-text-main);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--hp-border);
  padding-top: 1rem;
}

.hp-faq-answer[hidden] {
  display: none;
}

/* Service Areas Grid */
.hp-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .hp-area-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hp-area-card {
  background-color: #FFFFFF;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-md);
  padding: 1.75rem;
  box-shadow: var(--hp-shadow-sm);
  transition: var(--hp-transition);
}

.hp-area-card:hover {
  border-color: #94A3B8;
  box-shadow: var(--hp-shadow-md);
}

.hp-area-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: var(--hp-primary);
}

.hp-pin-icon {
  width: 22px;
  height: 22px;
  stroke: var(--hp-accent-hover);
  flex-shrink: 0;
}

.hp-area-card p {
  color: var(--hp-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Contact Prep Checklist Card */
.hp-prep-card {
  background-color: #FFFFFF;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-lg);
  padding: 2rem;
  box-shadow: var(--hp-shadow-md);
  margin-bottom: 2rem;
}

.hp-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.hp-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.975rem;
  line-height: 1.55;
}

.hp-check-icon {
  width: 20px;
  height: 20px;
  stroke: #10B981;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Footer Section */
.hp-footer {
  background-color: var(--hp-footer-bg);
  color: var(--hp-footer-text);
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--hp-accent);
  margin-top: auto;
}

.hp-footer h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

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

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

@media (min-width: 1024px) {
  .hp-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.hp-footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  display: block;
}

.hp-footer-desc {
  font-size: 0.925rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hp-footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--hp-accent);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  transition: var(--hp-transition);
}

.hp-footer-phone:hover {
  color: #FCD34D;
  text-decoration: underline;
}

.hp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-footer-links li {
  margin-bottom: 0.65rem;
}

.hp-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.925rem;
  transition: var(--hp-transition);
}

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

.hp-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--hp-primary-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94A3B8;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hp-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.hp-partner-tag {
  color: #CBD5E1;
  font-size: 0.875rem;
}

.hp-partner-tag a {
  color: #38BDF8;
  font-weight: 600;
  text-decoration: none;
}

.hp-partner-tag a:hover {
  text-decoration: underline;
}

/* Sticky Mobile Call Bar */
.hp-mobile-callbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--hp-primary-dark);
  border-top: 2px solid var(--hp-accent);
  padding: 0.65rem 1rem;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) {
  .hp-mobile-callbar {
    display: none;
  }
}

.hp-mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--hp-accent);
  color: #0B1B2B;
  font-weight: 800;
  font-size: 1.05rem;
  width: 100%;
  max-width: 400px;
  padding: 0.75rem;
  border-radius: var(--hp-radius-full);
  text-decoration: none;
  min-height: 48px;
  box-shadow: 0 2px 8px rgba(244, 166, 42, 0.4);
}

.hp-mobile-call-btn:hover {
  background-color: var(--hp-accent-hover);
  color: #FFFFFF;
}

/* Generic Vector SVG Icon Utility */
.hp-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
}

/* Print Styles */
@media print {
  .hp-header,
  .hp-mobile-callbar,
  .hp-cta-banner,
  .hp-menu-toggle {
    display: none !important;
  }
  body {
    padding-bottom: 0;
    color: #000;
    background: #fff;
  }
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
