/* ==========================================================================
   Plumber in Troy NY - Modern Master Stylesheet
   Designed for High Performance, Mobile First, 95-100 Core Web Vitals
   ========================================================================== */

:root {
  --navy-950: #061527;
  --navy-900: #0c2340;
  --navy-850: #0f2c52;
  --navy-800: #143a6b;
  --copper-600: #c2410c;
  --copper-500: #ea580c;
  --copper-400: #f97316;
  --copper-50: #fff7ed;
  --cyan-600: #0284c7;
  --cyan-500: #0ea5e9;
  --cyan-50: #f0f9ff;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px -2px rgba(12,35,64,0.08), 0 2px 6px -1px rgba(12,35,64,0.05);
  --shadow-lg: 0 12px 28px -6px rgba(12,35,64,0.12), 0 6px 12px -4px rgba(12,35,64,0.06);
  --container-max: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--copper-500);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background-color: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.3);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-phone {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-phone:hover {
  color: var(--copper-400);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

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

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  background-color: var(--slate-100);
  color: var(--copper-500);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1050;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 821px) {
  .nav-menu { gap: 3px; }

  .nav-link {
    position: relative;
    padding: 11px 13px;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 2px;
    border-radius: 3px;
    background: var(--copper-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after,
  .nav-item:focus-within > .nav-link::after { transform: scaleX(1); }

  .has-dropdown > .nav-link span { transition: transform .18s ease; }
  .has-dropdown:hover > .nav-link span,
  .has-dropdown:focus-within > .nav-link span { transform: rotate(180deg); }

  .dropdown-menu {
    top: calc(100% + 10px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 8px;
    width: 590px;
    min-width: 590px;
    padding: 17px;
    border-top: 4px solid var(--copper-500);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 22px 48px rgba(10, 32, 54, .18);
  }

  .dropdown-menu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 14px;
  }

  .nav-item.has-dropdown + .nav-item.has-dropdown .dropdown-menu {
    right: 0;
    left: auto;
  }

  .dropdown-menu > li:has(.dropdown-link strong),
  .dropdown-divider,
  .dropdown-heading { grid-column: 1 / -1; }

  .dropdown-link {
    position: relative;
    padding: 10px 12px 10px 27px;
    border: 1px solid transparent;
    border-radius: 9px;
  }

  .dropdown-link::before {
    content: "›";
    position: absolute;
    left: 11px;
    color: var(--copper-500);
    font-size: 1.05rem;
    font-weight: 800;
  }

  .dropdown-link:hover,
  .dropdown-link:focus-visible {
    border-color: #f4d4bf;
    background: var(--copper-50);
    outline: none;
    transform: translateX(2px);
  }

  .dropdown-heading {
    margin-top: 6px;
    padding: 8px 10px 4px;
    color: var(--navy-700);
    letter-spacing: 1px;
  }

  .dropdown-divider { margin: 5px 0 1px; }

  .nav-item:last-child .nav-link {
    margin-left: 5px;
    background: #fff4ec;
    color: #b84408;
  }
}

.dropdown-link {
  display: block;
  padding: 8px 12px;
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-link:hover {
  background-color: var(--copper-50);
  color: var(--copper-600);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--slate-200);
  margin: 6px 0;
}

.dropdown-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--slate-500);
  padding: 6px 12px 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  line-height: 1.3;
  gap: 8px;
}

.btn-primary {
  background-color: var(--copper-500);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(234,88,12,0.35);
}

.btn-primary:hover {
  background-color: var(--copper-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(234,88,12,0.45);
}

.btn-secondary {
  background-color: var(--navy-900);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--navy-800);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy-900);
  border: 2px solid var(--navy-900);
}

.btn-outline:hover {
  background-color: var(--navy-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-icon {
  width: 26px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--navy-900);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ==========================================================================
   Breadcrumb Bar
   ========================================================================== */
.breadcrumbs-bar {
  background-color: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 10px 0;
  font-size: 0.85rem;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 6px;
  color: var(--slate-600);
}

.breadcrumbs-list li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--slate-400);
}

.breadcrumbs-list a {
  color: var(--slate-700);
  text-decoration: none;
}

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

.breadcrumbs-list span[aria-current="page"] {
  color: var(--navy-900);
  font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-850) 100%);
  color: var(--white);
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(234,88,12,0.18);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--copper-400);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.hero-h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--slate-200);
  margin-bottom: 24px;
}

.hero-trust-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--slate-100);
}

.hero-trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #22c55e;
}

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

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,0.12);
  background-color: var(--navy-800);
}

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

/* ==========================================================================
   Main Content Layout & Typography
   ========================================================================== */
.main-wrapper {
  padding: 56px 0 72px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.section-h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  margin-top: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--slate-200);
}

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

.section-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-850);
  line-height: 1.3;
  margin-top: 24px;
  margin-bottom: 12px;
}

.content-block p {
  font-size: 1.05rem;
  color: var(--slate-700);
  margin-bottom: 18px;
}

.content-block ul, .content-block ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.content-block li {
  margin-bottom: 10px;
  font-size: 1.02rem;
  color: var(--slate-700);
}

.content-block li strong {
  color: var(--navy-900);
}

/* ==========================================================================
   Card Systems: Service (.svc-card) & Location (.loc-card)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 32px 0 44px;
}

.svc-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  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, border-color 0.2s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--copper-400);
}

.svc-card-thumb-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--slate-200);
  aspect-ratio: 16 / 9;
}

.svc-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.svc-card:hover .svc-card-thumb {
  transform: scale(1.04);
}

.svc-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--navy-900);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.svc-card-num {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--copper-500);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.svc-card-title a {
  color: var(--navy-900);
  text-decoration: none;
}

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

.svc-card-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.svc-card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--copper-500);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-card-link:hover {
  color: var(--copper-600);
  gap: 9px;
}

/* Location Cards (.loc-card) */
.loc-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  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, border-color 0.2s ease;
}

.loc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan-500);
}

.loc-card-thumb-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--slate-200);
  aspect-ratio: 16 / 9;
}

.loc-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.loc-card:hover .loc-card-thumb {
  transform: scale(1.04);
}

.loc-card-region {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--navy-900);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.loc-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.loc-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.loc-card-title a {
  color: var(--navy-900);
  text-decoration: none;
}

.loc-card-title a:hover {
  color: var(--cyan-600);
}

.loc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.loc-tag {
  background-color: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.loc-card-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.loc-card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cyan-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.loc-card-link:hover {
  color: var(--copper-500);
  gap: 9px;
}

/* ==========================================================================
   Responsive Tables
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0 36px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background-color: var(--white);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.98rem;
}

.pricing-table thead {
  background-color: var(--navy-900);
  color: var(--white);
}

.pricing-table th {
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pricing-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

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

.pricing-table tbody tr:nth-child(even) {
  background-color: var(--slate-50);
}

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

/* ==========================================================================
   Interactive FAQ Accordion
   ========================================================================== */
.faq-accordion {
  margin: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--copper-400);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--copper-500);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.6;
  border-top: 1px solid var(--slate-100);
  margin-top: 8px;
  padding-top: 14px;
}

/* ==========================================================================
   E-E-A-T Specialist Review Card
   ========================================================================== */
.eeat-badge-card {
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--white) 100%);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 36px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.eeat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.1rem;
}

.eeat-text {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.eeat-title {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ==========================================================================
   Google Map Embed
   ========================================================================== */
.map-section {
  margin: 44px 0 28px;
}

.map-frame-wrapper {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  background-color: var(--slate-200);
}

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

/* ==========================================================================
   Call to Action (CTA) Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  margin: 48px 0;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 680px;
  margin: 0 auto 24px;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Contact Form (/contact/ ONLY)
   ========================================================================== */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
  margin: 32px 0 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--slate-800);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--copper-500);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Visual Canvas CAPTCHA */
.captcha-box {
  background-color: var(--slate-50);
  border: 1.5px dashed var(--slate-300);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

#captchaCanvas {
  background-color: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
}

.captcha-refresh-btn {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--navy-900);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.captcha-refresh-btn:hover {
  background-color: var(--slate-100);
}

.captcha-status {
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 6px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
}

.form-alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-400);
  padding: 64px 0 24px;
  border-top: 3px solid var(--copper-500);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 14px;
}

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

.footer-links a {
  color: var(--slate-300);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--copper-400);
  text-decoration: underline;
}

.footer-nap {
  background-color: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.footer-nap-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--slate-300);
  font-size: 0.88rem;
}

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

.footer-nap-item strong {
  color: var(--white);
}

.footer-legal-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-transparency {
  color: var(--slate-400);
  margin-bottom: 12px;
  font-style: italic;
}

/* ==========================================================================
   Sticky Mobile Bottom Action Bar (<= 820px)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--navy-950);
  border-top: 2px solid var(--copper-500);
  padding: 10px 14px;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}

.mobile-bottom-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  gap: 6px;
}

.mobile-btn-call {
  background-color: var(--copper-500);
  color: var(--white);
}

.mobile-btn-call:hover {
  background-color: var(--copper-600);
  color: var(--white);
}

.mobile-btn-quote {
  background-color: var(--navy-800);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.mobile-btn-quote:hover {
  background-color: var(--navy-700);
  color: var(--white);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 74px; /* Space for sticky bar */
  }
  .mobile-bottom-bar {
    display: block;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 2px solid var(--navy-900);
    flex-direction: column;
    padding: 16px 20px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: 12px 14px;
    justify-content: space-between;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--slate-200);
    margin: 8px 0;
    display: none;
  }
  .nav-item.open .dropdown-menu {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .hero-h1 {
    font-size: 2rem;
  }
  .map-frame-wrapper {
    height: 320px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.before-after {
  margin: 38px 0;
  padding: 28px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--slate-50);
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.comparison-card {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

.comparison-card figcaption {
  padding: 13px 15px 15px;
  color: var(--slate-700);
}

@media (max-width: 720px) {
  .before-after {
    padding: 20px 16px;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-h1 {
    font-size: 1.7rem;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 22px 18px;
  }
}
