/* ==========================================================================
   PLUMBER IN VISALIA — APPROVED CHARCOAL GREY, WARM IVORY & COPPER-ORANGE THEME
   ========================================================================== */

:root {
  --charcoal: #22252A;
  --charcoal-dark: #181A1E;
  --charcoal-light: #2E3239;
  --ivory: #F8F4EC;
  --ivory-alt: #EFE9DC;
  --ivory-card: #FDFBF7;
  --copper: #C85A28;
  --copper-hover: #AE4A1D;
  --copper-light: #F9EBE4;
  --text-dark: #1E2024;
  --text-muted: #52565E;
  --border-warm: #DFD7C8;
  --border-card: #E6DFD1;
  --placeholder-bg: #E2DBD0;
  --placeholder-border: #CBBFAd;
  --placeholder-text: #5C5549;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 6px rgba(24, 26, 30, 0.05);
  --shadow-md: 0 6px 18px rgba(24, 26, 30, 0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --max-width: 1320px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--ivory);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

a {
  color: var(--copper);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

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

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background-color: var(--charcoal);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-logo:hover {
  color: var(--white);
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.brand-text span:last-child {
  font-size: 0.92rem;
  color: #E2DCD3;
  font-weight: 700;
}

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

.nav-item {
  position: relative;
}

.nav-item-header {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  color: #F0ECE3;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--copper);
}

.submenu-toggle {
  background: none;
  border: none;
  color: #F0ECE3;
  cursor: pointer;
  padding: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.submenu-toggle:hover,
.nav-item:hover .submenu-toggle {
  color: var(--copper);
}

.submenu-toggle:focus-visible,
.nav-link:focus-visible,
.mobile-menu-toggle:focus-visible,
.dropdown-menu a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.submenu-chevron {
  transition: transform 0.22s ease;
  display: block;
}

.nav-item.submenu-open .submenu-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--charcoal-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  min-width: 260px;
  display: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 1010;
}

.dropdown-menu.wide {
  min-width: 540px;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1rem;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  color: #E5E0D8;
  font-size: 0.88rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  display: block;
}

.dropdown-menu a:hover {
  background-color: var(--charcoal-light);
  color: var(--white);
}

.dropdown-heading {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper);
  font-weight: 700;
  padding: 0.4rem 0.65rem 0.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 0.25rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.2;
}

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

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

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--charcoal);
}

.btn-outline-dark:hover {
  background-color: var(--charcoal);
  color: var(--white);
}

.text-explore-link {
  color: var(--white);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.25rem;
}

.text-explore-link:hover {
  color: #F3C4AF;
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--copper);
}

.mobile-menu-toggle .icon-close {
  display: none;
}

.mobile-menu-toggle[aria-expanded="true"] {
  border-color: var(--copper);
  background: rgba(200, 90, 40, 0.18);
}

.mobile-menu-toggle[aria-expanded="true"] .icon-hamburger {
  display: none;
}

.mobile-menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

html.mobile-nav-open,
body.mobile-nav-open {
  overflow: hidden;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumb-bar {
  background-color: var(--charcoal-dark);
  color: #B5AFA6;
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb-list a {
  color: #D8D2C9;
}

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

.breadcrumb-sep {
  color: #77726B;
}

/* ==========================================================================
   HERO SECTION (INTEGRATED BLENDED BACKGROUND IMAGE ON RIGHT)
   ========================================================================== */

.hero-section {
  background-color: #1A1D21;
  color: var(--white);
  padding: 2.85rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--copper);
  min-height: 360px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 590px;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.05rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.9rem;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  font-size: 1.06rem;
  color: #ECE8DF;
  margin-bottom: 1.15rem;
  max-width: 575px;
  line-height: 1.58;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-trust-bullets {
  list-style: none;
  margin-bottom: 1.35rem;
  display: grid;
  gap: 0.42rem;
}

.hero-trust-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #F6F2EA;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-trust-bullets li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var(--copper);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.1rem;
}

.hero-location-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #DCD6CC;
  font-weight: 500;
}

.hero-location-pin svg {
  color: var(--copper);
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE WEBP IMAGES (HERO, CARDS, GALLERIES, SPLIT FEATURE)
   ========================================================================== */

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  z-index: 1;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #1A1D21 0%, rgba(26, 29, 33, 0.96) 14%, rgba(26, 29, 33, 0.58) 32%, rgba(26, 29, 33, 0.14) 55%, rgba(26, 29, 33, 0) 76%);
  pointer-events: none;
}

.hero-figure {
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: transparent;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
  display: block;
}

.service-card-thumb-link {
  display: block;
  width: 38%;
  flex: 0 0 38%;
  min-height: 145px;
  border-radius: 8px;
  overflow: hidden;
  border: none;
  background-color: var(--ivory-alt);
  align-self: stretch;
}

.service-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  transition: transform 0.25s ease;
}

.service-card:hover .service-card-thumb {
  transform: scale(1.03);
}

.split-feature-figure {
  margin: 0;
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.split-feature-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

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

.gallery-card {
  margin: 0;
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--ivory-alt);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--ivory-alt);
  display: block;
}

.gallery-img--cover {
  object-fit: cover;
}

.about-work-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  align-items: center;
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  box-shadow: var(--shadow-sm);
}

.about-work-figure {
  margin: 0;
  width: 240px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-warm);
}

.about-work-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */

.content-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-warm);
}

.content-section.bg-ivory {
  background-color: var(--ivory);
}

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

.content-section.bg-charcoal {
  background-color: var(--charcoal);
  color: var(--white);
}

.section-header {
  margin-bottom: 1.35rem;
}

.section-header.centered {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.content-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

.content-section.bg-charcoal h2,
.content-section.bg-charcoal h3 {
  color: var(--white);
}

.content-section h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1.15rem;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

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

.content-section.bg-charcoal p {
  color: #E6E1D8;
}

/* ==========================================================================
   EVERYDAY PLUMBING PROBLEMS PILLS (MATCHING APPROVED REFERENCE)
   ========================================================================== */

.problems-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.problem-pill {
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.problem-pill:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--copper);
}

.problem-pill-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  overflow-wrap: break-word;
}

.problem-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--copper-light);
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.problem-pill-arrow {
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.problem-pill:hover .problem-pill-arrow {
  color: var(--copper);
}

/* ==========================================================================
   APPROVED SERVICE & LOCATION CARDS (HORIZONTAL: IMAGE LEFT 38%, CONTENT RIGHT)
   ========================================================================== */

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.25rem;
  align-items: stretch;
}

.service-card {
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.7rem;
  gap: 0.9rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.service-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  padding: 0.15rem 0.25rem 0.15rem 0;
}

.service-card:not(:has(.service-card-thumb-link)) .service-card-body {
  padding: 0.65rem 0.75rem;
}

.service-card-body h3 {
  font-size: 1.06rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
  line-height: 1.26;
}

.service-card-body h3 a {
  color: var(--text-dark);
}

.service-card-body h3 a:hover {
  color: var(--copper);
}

.service-card-body p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.service-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.service-card-link:hover {
  color: var(--copper-hover);
  text-decoration: underline;
}

/* ==========================================================================
   SPLIT FEATURE LAYOUT ("WHAT MAKES PLUMBING IN VISALIA DIFFERENT" & SIMILAR)
   ========================================================================== */

.split-feature,
.split-feature-top {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.25rem;
  align-items: center;
}

.split-feature-top {
  margin-bottom: 1.75rem;
}

.split-feature-intro h2 {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.split-feature-intro p:last-child {
  margin-bottom: 0;
}

.split-feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 0;
  align-items: stretch;
}

ul.styled-list.split-feature-cards-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 0;
}

ul.styled-list.split-feature-cards-grid li {
  height: 100%;
  display: block;
  padding: 1.1rem 1.25rem;
  line-height: 1.6;
}

.split-feature-cards-grid .split-info-card {
  margin-top: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.split-feature-cards-grid .split-info-card ul.styled-list.two-col {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.styled-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.styled-list li {
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
}

.styled-list.two-col {
  grid-template-columns: repeat(2, 1fr);
}

/* ==========================================================================
   GALLERY & TESTIMONIAL PLACEHOLDER CARDS
   ========================================================================== */

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

.gallery-placeholder-card {
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.gallery-placeholder-meta {
  padding-top: 0.65rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.testimonials-placeholder-box {
  background-color: var(--ivory-card);
  border: 2px dashed var(--placeholder-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}

.testimonial-cards-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-preview-slot {
  background-color: var(--ivory);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TABLES (PRICING, COMPARISON, WATER DATA)
   ========================================================================== */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--ivory-card);
  text-align: left;
  font-size: 0.95rem;
}

.data-table th {
  background-color: var(--charcoal);
  color: var(--white);
  font-weight: 700;
  padding: 0.9rem 1.1rem;
  border-bottom: 2px solid var(--copper);
}

.data-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-card);
  color: var(--text-dark);
}

.data-table tr:nth-child(even) td {
  background-color: var(--ivory);
}

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

/* ==========================================================================
   SUBSECTION CARDS (H3 BLOCKS)
   ========================================================================== */

.h3-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.h3-card {
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.h3-card h3 {
  margin-top: 0;
  color: var(--charcoal);
  border-bottom: 2px solid var(--copper-light);
  padding-bottom: 0.45rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   FAQ ACCORDION (POLISHED MODERN ACCORDION — WARM IVORY, COPPER & CHARCOAL)
   ========================================================================== */

#faqs {
  background-color: var(--ivory);
}

.faq-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.5rem;
}

.faq-item {
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid transparent;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #D2C5B0;
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  background-color: #FCF7F2;
  border-color: var(--border-card);
  border-left: 4px solid var(--copper);
  box-shadow: var(--shadow-md);
}

.faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

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

.faq-summary::marker {
  display: none;
  content: "";
}

.faq-summary:hover {
  background-color: rgba(200, 90, 40, 0.035);
}

.faq-summary:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: -2px;
  border-radius: 12px;
}

.faq-question-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.faq-q-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: var(--copper-light);
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-q-badge {
  background-color: var(--copper);
  color: var(--white);
}

.faq-q-badge svg {
  width: 17px;
  height: 17px;
}

.faq-question-text {
  margin: 0 !important;
  font-size: 1.08rem !important;
  font-weight: 600 !important;
  color: var(--charcoal) !important;
  line-height: 1.4 !important;
  text-align: left;
  overflow-wrap: break-word;
}

.faq-toggle-control {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--ivory-alt);
  border: 1px solid var(--border-warm);
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-summary:hover .faq-toggle-control {
  border-color: var(--copper);
  color: var(--copper);
}

.faq-item[open] .faq-toggle-control {
  background-color: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}

.faq-toggle-control svg {
  width: 16px;
  height: 16px;
}

.faq-icon-minus {
  display: none;
}

.faq-item[open] .faq-icon-plus {
  display: none;
}

.faq-item[open] .faq-icon-minus {
  display: block;
}

.faq-answer {
  padding: 0 1.4rem 1.35rem 4.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
  border-top: 1px solid rgba(223, 215, 200, 0.45);
  padding-top: 0.9rem;
}

.faq-answer p {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

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

.faq-answer a {
  color: var(--copper);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: var(--copper-hover);
}

@media (max-width: 768px) {
  .faq-summary {
    padding: 1rem 1.1rem;
    min-height: 52px;
    gap: 0.75rem;
  }

  .faq-question-wrap {
    gap: 0.7rem;
  }

  .faq-question-text {
    font-size: 1rem !important;
  }

  .faq-answer {
    padding: 0.85rem 1.1rem 1.15rem 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-summary,
  .faq-q-badge,
  .faq-toggle-control {
    transition: none !important;
  }
}

/* ==========================================================================
   FINAL CALL CTA BANNER
   ========================================================================== */

.final-cta-section {
  background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--charcoal) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  border-top: 4px solid var(--copper);
  text-align: center;
}

.final-cta-inner {
  max-width: 780px;
  margin: 0 auto;
}

.final-cta-section h2 {
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-bottom: 0.85rem;
}

.final-cta-section p {
  color: #E2DDD3;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
}

.cta-button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

/* ==========================================================================
   CONTACT / QUOTE FORM
   ========================================================================== */

.quote-form-card {
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
}

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

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

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

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
}

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

.form-control:focus {
  outline: 2px solid var(--copper);
  border-color: var(--copper);
}

/* ==========================================================================
   MAP SECTION — IMMEDIATELY ABOVE THE FOOTER
   ========================================================================== */

.map-section {
  background-color: var(--ivory-alt);
  padding: 3rem 0;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.map-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.map-badge {
  display: inline-block;
  background-color: var(--copper);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.map-header h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.map-disclaimer {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 780px;
}

.map-actions {
  flex-shrink: 0;
}

.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--ivory-card);
  border: 1px solid var(--border-card);
  color: var(--copper);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.map-open-link:hover {
  background-color: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}

.map-frame-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-card);
  box-shadow: var(--shadow-md);
  background-color: var(--placeholder-bg);
}

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

/* ==========================================================================
   FOOTER & MOBILE STICKY CALL BAR
   ========================================================================== */

.site-footer {
  background-color: var(--charcoal-dark);
  color: #D2CCC2;
  padding: 3.5rem 0 2.5rem;
  font-size: 0.92rem;
}

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

.footer-col h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
  padding-bottom: 0.3rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: #C9C3B8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--copper);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: #9E988E;
}

.mobile-sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--copper);
  color: var(--white);
  text-align: center;
  padding: 0.9rem 1rem;
  font-weight: 800;
  font-size: 1.05rem;
  z-index: 1050;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   ========================================================================== */

@media (max-width: 1200px) {
  .services-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .problems-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-feature-cards-grid,
  ul.styled-list.split-feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-media {
    width: 65%;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 74px);
    height: calc(100dvh - 74px);
    max-height: none;
    background-color: var(--charcoal-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem calc(92px + env(safe-area-inset-bottom, 0px));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1030;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .main-nav .nav-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }

  .main-nav .nav-link {
    min-height: 48px;
    padding: 0.75rem 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    flex: 1;
    display: flex;
    align-items: center;
  }

  .main-nav .submenu-toggle {
    min-width: 44px;
    min-height: 44px;
    margin: 0.15rem 0;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #F0ECE3;
    flex-shrink: 0;
  }

  .main-nav .nav-item.submenu-open .submenu-toggle {
    background-color: var(--copper);
    border-color: var(--copper);
    color: var(--white);
  }

  .nav-item:hover .dropdown-menu,
  .nav-item:focus-within .dropdown-menu {
    display: none;
  }

  .nav-item.submenu-open .dropdown-menu {
    display: grid;
  }

  .dropdown-menu,
  .dropdown-menu.wide {
    position: static;
    min-width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--copper);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 0 8px 8px 0;
    margin: 0.15rem 0 0.85rem 0.5rem;
    padding: 0.45rem 0.5rem 0.55rem 0.9rem;
    gap: 0.2rem;
  }

  .dropdown-menu .dropdown-heading {
    font-size: 0.76rem;
    padding: 0.55rem 0.5rem 0.3rem;
    margin-bottom: 0.15rem;
  }

  .dropdown-menu a {
    min-height: 44px;
    padding: 0.6rem 0.65rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    color: #ECE7DF;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:active {
    background-color: var(--charcoal-light);
    color: var(--white);
  }

  .mobile-sticky-call {
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-section {
    padding: 2rem 0;
    min-height: 310px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 6.2vw, 2.25rem);
    max-width: 82%;
  }

  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.52;
    max-width: 88%;
  }

  .hero-trust-bullets li {
    font-size: 0.88rem;
  }

  .hero-media {
    width: 100%;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(24, 26, 30, 0.95) 0%, rgba(24, 26, 30, 0.86) 50%, rgba(24, 26, 30, 0.48) 80%, rgba(24, 26, 30, 0.3) 100%);
  }

  .hero-img {
    object-position: 86% center;
  }

  .content-section {
    padding: 2rem 0;
  }

  .split-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .split-feature-top {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
  }

  .split-feature-intro {
    order: 1;
  }

  .split-feature-media {
    order: 2;
    width: 100%;
  }

  .split-feature-cards-grid,
  ul.styled-list.split-feature-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .services-card-grid,
  .h3-cards-grid,
  .gallery-grid,
  .gallery-placeholder-grid,
  .testimonial-cards-preview,
  .styled-list.two-col,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: row;
    padding: 0.65rem;
    gap: 0.75rem;
  }

  .service-card-thumb-link {
    width: 37%;
    flex: 0 0 37%;
    min-height: 125px;
  }

  .service-card-body h3 {
    font-size: 1rem;
  }

  .service-card-body p {
    font-size: 0.84rem;
    line-height: 1.46;
    margin-bottom: 0.5rem;
  }

  .problems-pill-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .problem-pill {
    padding: 0.65rem 0.75rem;
    font-size: 0.83rem;
  }

  .problem-pill-icon {
    width: 28px;
    height: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-call {
    display: flex;
  }

  .map-frame-container {
    height: 300px;
  }
}

@media (max-width: 340px) {
  .problems-pill-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    flex-direction: column;
  }
  .service-card-thumb-link {
    width: 100%;
    flex: 0 0 auto;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 480px) {
  .about-work-figure {
    width: 100%;
  }
}
