/* ==========================================================================
   NY Plumbing — Marine Park, Brooklyn Design System & Stylesheet
   Specialized Boiler Repair & Residential Mechanical Services
   Modern, Mobile-First, Accessible, High-Performance CSS
   ========================================================================== */

:root {
  --primary-navy: #0e2038;
  --primary-navy-dark: #081426;
  --primary-navy-light: #193358;
  --accent-cta: #d9480f;
  --accent-cta-hover: #b83807;
  --accent-warm: #f76707;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-warm-light: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #f1f5f9;
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --alert-red: #dc2626;
  --alert-bg: #fef2f2;
  --alert-border: #fca5a5;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 76px;
  --mobile-bar-height: 64px;
}

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

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--mobile-bar-height);
}

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

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

a {
  color: var(--primary-navy-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover, a:focus-visible {
  color: var(--accent-cta);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 2px;
}

/* ==========================================================================
   Accessibility: Skip Link
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background-color: var(--primary-navy);
  color: #ffffff !important;
  padding: 0.75rem 1.25rem;
  z-index: 99999;
  font-weight: 700;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: var(--primary-navy);
  color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #ffffff;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}

.brand-dot {
  color: var(--accent-warm);
}

.brand-location {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  font-weight: 600;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link,
.dropdown-trigger {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: inherit;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.dropdown-trigger:hover,
.dropdown-trigger:focus-visible,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-warm);
  border-radius: 2px;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.dropdown-container {
  position: relative;
}

.dropdown-container:hover .dropdown-chevron,
.dropdown-container:focus-within .dropdown-chevron,
.dropdown-container[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background-color: var(--primary-navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  list-style: none;
  min-width: 250px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container:focus-within .dropdown-menu,
.dropdown-container[aria-expanded="true"] .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background-color: var(--primary-navy-light);
  color: #ffffff;
}

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

.btn-header-call {
  background-color: var(--accent-cta);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(217, 72, 15, 0.35);
  transition: background-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-header-call:hover,
.btn-header-call:focus-visible {
  background-color: var(--accent-cta-hover);
  transform: translateY(-1px);
}

.btn-header-call svg {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Navigation Breakpoint */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 3rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-link,
  .dropdown-trigger {
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--accent-warm);
    margin: 0.25rem 0 0.75rem 0.75rem;
    display: none;
  }

  .dropdown-container[aria-expanded="true"] .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
  }

  .btn-header-call .call-text {
    display: none;
  }

  .btn-header-call {
    padding: 0.6rem;
  }
}

@media (min-width: 540px) and (max-width: 900px) {
  .btn-header-call .call-text {
    display: inline;
  }
  .btn-header-call {
    padding: 0.65rem 1.15rem;
  }
}

/* ==========================================================================
   Breadcrumb Bar
   ========================================================================== */
.breadcrumb-nav {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6rem 0;
  font-size: 0.85rem;
}

.breadcrumb-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--border-subtle);
}

.breadcrumb-list a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.breadcrumb-list li[aria-current="page"] {
  color: var(--primary-navy);
  font-weight: 600;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
  color: #ffffff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(247, 103, 7, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

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

.hero-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

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

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  color: #f1f5f9;
}

.hero-bullet-icon {
  width: 20px;
  height: 20px;
  fill: var(--accent-warm);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-primary-call {
  background-color: var(--accent-cta);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.9rem 1.65rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 14px rgba(217, 72, 15, 0.45);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-primary-call:hover,
.btn-primary-call:focus-visible {
  background-color: var(--accent-cta-hover);
  transform: translateY(-2px);
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.15);
  background-color: var(--primary-navy-dark);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Page Hero for Inner Pages */
.page-hero {
  background-color: var(--primary-navy);
  color: #ffffff;
  padding: 2.75rem 0 3rem;
  border-bottom: 3px solid var(--accent-warm);
}

.page-hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-hero-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

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

.page-hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 820px;
}

/* ==========================================================================
   Main Content Layout & Typography
   ========================================================================== */
.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 4.5rem;
  flex: 1;
  width: 100%;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

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

.article-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--primary-navy-light);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.article-body h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1.25rem;
  margin-bottom: 0.45rem;
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body strong {
  color: var(--primary-navy-dark);
}

/* Cards & Feature Grids */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

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

.info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-subtle);
}

.info-card h4 {
  color: var(--primary-navy);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.info-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.feature-image-block img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.feature-image-caption {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  font-style: italic;
}

/* Contextual In-Article Callout */
.contextual-callout {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  margin: 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

@media (min-width: 650px) {
  .contextual-callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.callout-content h3 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
}

.callout-content p {
  color: #e2e8f0;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.btn-callout-call {
  background-color: var(--accent-cta);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 3px 10px rgba(217, 72, 15, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-callout-call:hover,
.btn-callout-call:focus-visible {
  background-color: var(--accent-cta-hover);
  transform: translateY(-2px);
}

/* Safety & Emergency Notice Boxes */
.safety-alert-box {
  background-color: var(--alert-bg);
  border-left: 4px solid var(--alert-red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  color: #7f1d1d;
}

.safety-alert-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--alert-red);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.safety-alert-box p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #991b1b;
}

.safety-alert-box ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.safety-alert-box li {
  font-size: 0.92rem;
  color: #991b1b;
  margin-bottom: 0.35rem;
}

.gas-emergency-banner {
  background-color: #fef2f2;
  border: 2px solid var(--alert-red);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.emergency-icon {
  background-color: var(--alert-red);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emergency-content h3 {
  color: #991b1b;
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.emergency-content p {
  color: #7f1d1d;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* FAQ Accordion Styling */
.faq-section {
  margin: 2.75rem 0 2rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

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

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

.faq-question:hover,
.faq-question:focus-visible {
  background-color: var(--bg-card);
}

.faq-icon {
  width: 18px;
  height: 18px;
  fill: var(--accent-cta);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Service Nav Links & Related Links */
.service-nav-links {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin: 2.5rem 0;
}

.service-nav-links p {
  margin-bottom: 0.65rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.service-nav-links ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.service-nav-links li {
  margin-bottom: 0.4rem;
}

/* Legal sections within Contact page */
.legal-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.legal-section h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--primary-navy);
}

.legal-section p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.owner-note {
  font-size: 0.85rem !important;
  color: var(--text-light) !important;
  border-left: 3px solid var(--border-subtle);
  padding-left: 0.75rem;
  margin-top: 0.85rem;
}

/* ==========================================================================
   Sidebar Styling
   ========================================================================== */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.sidebar-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.sidebar-list li {
  font-size: 0.92rem;
  color: var(--text-main);
  padding-left: 1.25rem;
  position: relative;
}

.sidebar-list li::before {
  content: "•";
  color: var(--accent-cta);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.btn-sidebar-call {
  background-color: var(--accent-cta);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 3px 8px rgba(217, 72, 15, 0.35);
  transition: background-color 0.15s ease, transform 0.1s ease;
  width: 100%;
}

.btn-sidebar-call:hover,
.btn-sidebar-call:focus-visible {
  background-color: var(--accent-cta-hover);
  transform: translateY(-1px);
}

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

.sidebar-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-features li::before {
  content: "✓";
  color: var(--accent-warm);
  font-weight: 800;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-navy-dark);
  color: #cbd5e1;
  padding: 3.5rem 0 2rem;
  border-top: 3px solid var(--accent-warm);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

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

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

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.footer-address strong {
  color: #ffffff;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-warm);
}

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

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-address-block {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-address-block strong {
  color: #ffffff;
}

.footer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-cta);
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.85rem;
  transition: background-color 0.15s ease;
}

.footer-phone-btn:hover {
  background-color: var(--accent-cta-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

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

.footer-bottom a {
  color: #94a3b8;
}

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

/* ==========================================================================
   Sticky Mobile Call Bar
   ========================================================================== */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-navy-dark);
  border-top: 2px solid var(--accent-warm);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
}

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

.sticky-bar-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.sticky-bar-subtext {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}

.btn-sticky-call {
  background-color: var(--accent-cta);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 6px rgba(217, 72, 15, 0.4);
}

.btn-sticky-call:hover, .btn-sticky-call:active {
  background-color: var(--accent-cta-hover);
  color: #ffffff;
}
