/*
Theme Name: AAA Leak Finders
Theme URI: https://leakprofinders.com/
Author: Virtual Zen Assistants LLC
Author URI: https://paladinfront.com
Description: Custom fast, zero-bloat WordPress theme for AAA Leak Finders, Inc. (FL LIC. # CPC056949). Built for Palm Coast, Daytona Beach, Jacksonville, St. Augustine, Orlando, Palatka, and Brunswick, GA.
Version: 1.0.0
Text Domain: aaa-leak-finders
*/

:root {
  --alf-canvas: #ffffff;
  --alf-mist: #f4f9fd;
  --alf-mist-deep: #eaf3fb;
  --alf-navy: #0d2b45;
  --alf-navy-deep: #091f33;
  --alf-azure: #0067ff;
  --alf-azure-hover: #0052cc;
  --alf-sky: #2ca2fc;
  --alf-red: #c82333;
  --alf-red-hover: #a71d2a;
  --alf-red-soft: #fdf1f2;
  --alf-gold: #e5a910;
  --alf-sun: #fddc57;
  --alf-ink: #132538;
  --alf-muted: #4b6178;
  --alf-border: #d5e5f4;
  --alf-success-bg: #ecf9f1;
  --alf-success-border: #9adab4;
  --alf-success-ink: #125c36;
  --alf-error-bg: #fdf1f2;
  --alf-error-border: #f2c4c9;
  --alf-error-ink: #a71d2a;
  --alf-shadow-sm: 0 6px 20px rgba(13, 43, 69, 0.06);
  --alf-shadow-lg: 0 20px 44px rgba(13, 43, 69, 0.11);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--alf-ink);
  background: var(--alf-canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .alf-heading {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  color: var(--alf-navy);
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.alf-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Compact Utility Bar */
.alf-utility {
  background: var(--alf-navy-deep);
  color: #dbe9f6;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alf-utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  flex-wrap: wrap;
}

.alf-utility-credentials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.alf-utility-lic {
  color: var(--alf-sun);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.alf-utility-phones {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.alf-phone-link {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s ease;
}

.alf-phone-link:hover {
  color: var(--alf-sun);
}

.alf-phone-area {
  color: var(--alf-sky);
  font-weight: 700;
}

/* Sticky Atlantic Navy Navigation Bar */
.alf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--alf-navy);
  border-bottom: 1px solid #184266;
  box-shadow: 0 4px 18px rgba(9, 31, 51, 0.16);
}

.alf-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.alf-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.alf-brand-logo {
  height: 58px;
  width: auto;
  margin: -6px 0;
}

.alf-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.alf-nav-link {
  color: #e6f1fb;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.18s ease;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.alf-nav-link:hover,
.alf-nav-link.alf-is-active {
  color: var(--alf-sun);
  border-bottom-color: var(--alf-sun);
}

.alf-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.alf-header-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #eef6ff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.alf-header-call {
  background: var(--alf-red);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.alf-header-call:hover {
  background: var(--alf-red-hover);
  transform: translateY(-1px);
}

.alf-menu-toggle {
  display: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 8px;
  padding: 7px 11px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.alf-mobile-drawer {
  display: none;
  background: var(--alf-navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 18px 18px;
}

.alf-mobile-drawer.alf-is-open {
  display: block;
}

.alf-mobile-nav-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alf-mobile-nav-list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #eef6ff;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.alf-mobile-call-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.alf-mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--alf-red);
  color: #ffffff;
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}

/* Subpage Banner */
.alf-page-banner {
  background: linear-gradient(180deg, var(--alf-mist) 0%, var(--alf-canvas) 100%);
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--alf-border);
}

.alf-page-banner h1 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 10px;
}

.alf-page-banner p {
  margin: 0;
  font-size: 16px;
  color: var(--alf-muted);
  max-width: 64ch;
}

/* Sunlit Hero Section (Optimized for 1440x900 Above-the-Fold) */
.alf-hero {
  background: linear-gradient(180deg, var(--alf-mist) 0%, var(--alf-canvas) 100%);
  padding: 24px 0 44px;
  border-bottom: 1px solid var(--alf-border);
}

.alf-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px;
  align-items: start;
}

.alf-right-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alf-mini-proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.alf-mini-proof-item {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  box-shadow: var(--alf-shadow-sm);
}

.alf-mini-proof-val {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--alf-navy);
}

.alf-mini-proof-lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--alf-muted);
  margin-top: 2px;
}

.alf-hero-story {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alf-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--alf-red-soft);
  border: 1px solid #f2c4c9;
  color: var(--alf-red);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.alf-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--alf-red);
  flex-shrink: 0;
}

.alf-hero-title {
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.07;
  color: var(--alf-navy);
  max-width: 17ch;
}

.alf-hero-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.56;
  color: var(--alf-muted);
  max-width: 56ch;
}

.alf-showcase-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--alf-border);
  box-shadow: var(--alf-shadow-sm);
  background: var(--alf-mist-deep);
}

.alf-showcase-img {
  width: 100%;
  aspect-ratio: 758 / 384;
  max-height: 266px;
  object-fit: cover;
  object-position: center;
}

.alf-showcase-tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: rgba(13, 43, 69, 0.88);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.alf-crew-spotlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--alf-shadow-sm);
}

.alf-crew-thumb {
  width: 98px;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 22%;
  flex-shrink: 0;
  border: 1px solid var(--alf-border);
}

.alf-crew-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.alf-crew-kicker {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--alf-azure);
}

.alf-crew-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--alf-navy);
}

.alf-crew-copy {
  margin: 0;
  font-size: 13px;
  color: var(--alf-muted);
  line-height: 1.45;
}

.alf-crew-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.alf-area-chip {
  font-size: 11px;
  font-weight: 700;
  color: var(--alf-navy);
  background: var(--alf-mist);
  border: 1px solid var(--alf-border);
  border-radius: 999px;
  padding: 3px 9px;
}

/* Interactive Fast Leak Quote & Regional Dispatch Card */
.alf-dispatch-card {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--alf-shadow-lg);
}

.alf-dispatch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--alf-mist-deep);
}

.alf-dispatch-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--alf-navy);
  line-height: 1.25;
}

.alf-dispatch-sub {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--alf-muted);
}

.alf-active-branch-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  background: var(--alf-mist);
  border: 1px solid var(--alf-border);
  border-radius: 10px;
  padding: 6px 10px;
}

.alf-branch-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--alf-azure);
}

.alf-branch-tel {
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--alf-navy);
}

.alf-field-block {
  margin-bottom: 11px;
}

.alf-field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--alf-navy);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.alf-region-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.alf-region-tab {
  appearance: none;
  border: 1px solid var(--alf-border);
  background: var(--alf-mist);
  color: var(--alf-navy);
  border-radius: 10px;
  padding: 8px 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.16s ease;
}

.alf-region-tab:hover {
  border-color: var(--alf-sky);
  background: #ffffff;
}

.alf-region-tab.alf-is-selected {
  background: var(--alf-navy);
  border-color: var(--alf-navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 43, 69, 0.18);
}

.alf-region-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.alf-region-code {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--alf-azure);
  margin-top: 2px;
}

.alf-region-tab.alf-is-selected .alf-region-code {
  color: var(--alf-sun);
}

.alf-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.alf-option-chip {
  appearance: none;
  border: 1px solid var(--alf-border);
  background: #ffffff;
  color: var(--alf-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.alf-option-chip:hover {
  border-color: var(--alf-azure);
}

.alf-option-chip.alf-is-selected {
  background: #eef6ff;
  border-color: var(--alf-azure);
  color: var(--alf-azure);
  font-weight: 700;
}

.alf-stepper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 11px;
}

.alf-stepper-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--alf-border);
  background: var(--alf-mist);
  border-radius: 9px;
  padding: 5px 10px;
}

.alf-stepper-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--alf-navy);
}

.alf-stepper-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.alf-step-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--alf-border);
  background: #ffffff;
  color: var(--alf-navy);
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alf-step-btn:hover {
  border-color: var(--alf-azure);
  color: var(--alf-azure);
}

.alf-step-val {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

.alf-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 11px;
}

.alf-input-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 11px;
}

.alf-input-grid-1 {
  grid-template-columns: 1fr;
}

.alf-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.alf-input-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--alf-muted);
}

.alf-text-input,
.alf-select-input,
.alf-textarea-input {
  width: 100%;
  border: 1px solid var(--alf-border);
  background: #ffffff;
  border-radius: 8px;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--alf-ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.alf-textarea-input {
  min-height: 92px;
  resize: vertical;
}

.alf-text-input:focus,
.alf-select-input:focus,
.alf-textarea-input:focus {
  outline: none;
  border-color: var(--alf-azure);
  box-shadow: 0 0 0 3px rgba(0, 103, 255, 0.12);
}

.alf-checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 4px 0;
}

.alf-checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--alf-navy);
  cursor: pointer;
}

.alf-hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.alf-quote-card .alf-hp-wrap input,
.alf-hp-wrap input {
  font-size: 16px;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
}

.alf-attached-bucket {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #eef6ff;
  border: 1px solid #b9d7ff;
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--alf-navy);
  margin-bottom: 11px;
}

.alf-attached-bucket.alf-is-visible {
  display: flex;
}

.alf-submit-btn {
  width: 100%;
  min-height: 48px;
  appearance: none;
  border: none;
  background: var(--alf-red);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 13px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}

.alf-submit-btn:hover {
  background: var(--alf-red-hover);
  transform: translateY(-1px);
}

.alf-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.alf-dispatch-footnote {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--alf-muted);
  text-align: center;
}

.alf-quote-confirm {
  display: none;
  margin-top: 10px;
  background: var(--alf-success-bg);
  border: 1px solid var(--alf-success-border);
  color: var(--alf-success-ink);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.48;
}

.alf-quote-confirm.alf-is-error {
  background: var(--alf-error-bg);
  border-color: var(--alf-error-border);
  color: var(--alf-error-ink);
}

.alf-quote-confirm.alf-is-visible {
  display: block;
}

/* Section Commons */
.alf-section {
  padding: 72px 0;
}

.alf-section-mist {
  background: var(--alf-mist);
  border-top: 1px solid var(--alf-border);
  border-bottom: 1px solid var(--alf-border);
}

.alf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.alf-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--alf-azure);
  margin-bottom: 8px;
}

.alf-section-title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.15;
}

.alf-section-lead {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  color: var(--alf-muted);
}

/* Services 2x2 Editorial Grid */
.alf-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.alf-service-card {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--alf-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.alf-service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--alf-shadow-lg);
}

.alf-service-photo {
  width: 100%;
  aspect-ratio: 758 / 384;
  object-fit: cover;
  object-position: center;
}

.alf-service-body {
  padding: 18px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}

.alf-service-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 5px;
}

.alf-service-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--alf-muted);
}

.alf-service-action {
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--alf-azure);
  background: var(--alf-mist);
  border: 1px solid var(--alf-border);
  padding: 8px 13px;
  border-radius: 8px;
  white-space: nowrap;
}

.alf-service-action:hover {
  background: var(--alf-azure);
  color: #ffffff;
  border-color: var(--alf-azure);
}

/* Interactive 5-Step Bucket Test Section */
.alf-bucket-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.alf-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alf-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 13px;
  padding: 13px 16px;
}

.alf-step-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--alf-navy);
  color: var(--alf-sun);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alf-step-title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.alf-step-copy {
  margin: 0;
  font-size: 13px;
  color: var(--alf-muted);
}

.alf-calc-card {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: var(--alf-shadow-lg);
}

.alf-calc-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}

.alf-calc-sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--alf-muted);
}

.alf-slider-row {
  margin-bottom: 16px;
}

.alf-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--alf-navy);
  margin-bottom: 6px;
}

.alf-slider-readout {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--alf-azure);
}

.alf-range-input {
  width: 100%;
  accent-color: var(--alf-azure);
  cursor: pointer;
}

.alf-calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--alf-mist);
  border: 1px solid var(--alf-border);
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0;
}

.alf-metric-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--alf-muted);
}

.alf-metric-value {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--alf-navy);
  margin-top: 3px;
}

.alf-verdict-banner {
  border-radius: 11px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  background: var(--alf-red-soft);
  border: 1px solid #f2c4c9;
  color: var(--alf-red);
}

.alf-verdict-banner.alf-is-normal {
  background: var(--alf-success-bg);
  border-color: var(--alf-success-border);
  color: var(--alf-success-ink);
}

.alf-calc-cta {
  width: 100%;
  appearance: none;
  border: none;
  background: var(--alf-azure);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.alf-calc-cta:hover {
  background: var(--alf-azure-hover);
}

/* Family Expertise & Regional Coverage Section */
.alf-expertise-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.alf-field-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--alf-border);
  box-shadow: var(--alf-shadow-sm);
}

.alf-field-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.alf-guarantee-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0 22px;
}

.alf-guarantee-card {
  background: var(--alf-mist);
  border: 1px solid var(--alf-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.alf-guarantee-heading {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.alf-guarantee-text {
  margin: 0;
  font-size: 13px;
  color: var(--alf-muted);
}

.alf-coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.alf-city-btn {
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--alf-border);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--alf-navy);
  cursor: pointer;
  transition: all 0.16s ease;
}

.alf-city-btn:hover,
.alf-city-btn.alf-is-selected {
  background: var(--alf-navy);
  border-color: var(--alf-navy);
  color: #ffffff;
}

.alf-city-dispatch-note {
  margin: 12px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--alf-azure);
}

/* Verified Google Reviews Grid */
.alf-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.alf-review-card {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--alf-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.alf-stars {
  color: var(--alf-gold);
  font-size: 15px;
  letter-spacing: 0.1em;
}

.alf-review-quote {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.6;
  color: var(--alf-ink);
}

.alf-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--alf-mist-deep);
  padding-top: 12px;
}

.alf-reviewer-name {
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--alf-navy);
}

.alf-review-source {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--alf-muted);
}

/* Subpage Detail Grids */
.alf-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.alf-detail-card {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: var(--alf-shadow-sm);
}

.alf-area-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.alf-area-card {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--alf-shadow-sm);
}

.alf-checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.alf-checklist li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--alf-ink);
}

.alf-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--alf-azure);
  font-weight: 800;
}

/* Atlantic Navy Footer */
.alf-footer {
  background: var(--alf-navy);
  color: #dce9f7;
  padding: 48px 0 28px;
}

.alf-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.alf-footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
}

.alf-footer-copy {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #bfd4ea;
  max-width: 40ch;
}

.alf-footer-heading {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.alf-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.alf-footer-list a:hover {
  color: var(--alf-sun);
}

.alf-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #9cb8d4;
  flex-wrap: wrap;
}

/* Mobile-Only Condensed Trust Line, Focused Header & Drawer Backdrop */
.alf-utility-mobile-line {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.alf-ads-header-phones {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

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

.alf-menu-toggle.alf-is-open .alf-icon-burger {
  display: none;
}

.alf-menu-toggle.alf-is-open .alf-icon-close {
  display: inline-block;
}

.alf-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 31, 51, 0.45);
  z-index: 38;
}

.alf-drawer-backdrop.alf-is-open {
  display: block;
}

.alf-mobile-drawer {
  position: relative;
  z-index: 41;
}

/* Breadcrumbs */
.alf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--alf-muted);
  margin-bottom: 12px;
}

.alf-breadcrumb a {
  color: var(--alf-azure);
}

.alf-breadcrumb a:hover {
  text-decoration: underline;
}

/* Interactive Leak Symptom Diagnostic Strip */
.alf-symptoms-strip {
  padding: 52px 0;
  background: var(--alf-canvas);
  border-bottom: 1px solid var(--alf-border);
}

.alf-symptoms-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.alf-symptom-tab {
  appearance: none;
  border: 1px solid var(--alf-border);
  background: var(--alf-mist);
  color: var(--alf-navy);
  border-radius: 12px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  line-height: 1.35;
  transition: all 0.16s ease;
  min-height: 54px;
}

.alf-symptom-tab:hover {
  border-color: var(--alf-azure);
  background: #ffffff;
}

.alf-symptom-tab.alf-is-selected {
  background: var(--alf-navy);
  border-color: var(--alf-navy);
  color: #ffffff;
  box-shadow: var(--alf-shadow-sm);
}

.alf-symptom-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--alf-mist);
  border: 1px solid var(--alf-border);
  border-left: 4px solid var(--alf-azure);
  border-radius: 14px;
  padding: 18px 22px;
}

.alf-symptom-heading {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.alf-symptom-copy {
  margin: 0;
  font-size: 14px;
  color: var(--alf-ink);
  max-width: 72ch;
}

.alf-symptom-cta {
  flex-shrink: 0;
  appearance: none;
  border: none;
  background: var(--alf-azure);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 9px;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}

.alf-symptom-cta:hover {
  background: var(--alf-azure-hover);
}

/* 3-Step Non-Invasive Inspection Timeline */
.alf-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.alf-process-card {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 16px;
  padding: 22px 22px 24px;
  box-shadow: var(--alf-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alf-process-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--alf-azure);
}

.alf-process-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--alf-navy);
  color: var(--alf-sun);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Animated Pool vs Bucket SVG Cross-Section */
.alf-bucket-svg-wrap {
  background: #f0f8ff;
  border: 1px solid var(--alf-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.alf-bucket-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Authentic Field Work Gallery + Lightbox */
.alf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.alf-gallery-item {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--alf-shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  font-family: inherit;
}

.alf-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--alf-shadow-lg);
}

.alf-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.alf-gallery-cap {
  display: block;
  padding: 11px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--alf-navy);
  line-height: 1.35;
}

dialog.alf-lightbox {
  border: none;
  border-radius: 18px;
  padding: 0;
  max-width: min(760px, 94vw);
  background: var(--alf-canvas);
  box-shadow: 0 28px 60px rgba(9, 31, 51, 0.35);
}

dialog.alf-lightbox::backdrop {
  background: rgba(9, 31, 51, 0.72);
  backdrop-filter: blur(3px);
}

.alf-lightbox-card {
  padding: 18px 20px 20px;
}

.alf-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.alf-lightbox-title {
  font-size: 16px;
  font-weight: 800;
}

.alf-lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--alf-border);
  background: var(--alf-mist);
  color: var(--alf-navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.alf-lightbox-img {
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 12px;
  background: var(--alf-mist);
}

.alf-lightbox-caption {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--alf-muted);
}

/* Homeowner FAQ Accordion */
.alf-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
}

.alf-faq-item {
  background: var(--alf-canvas);
  border: 1px solid var(--alf-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--alf-shadow-sm);
}

.alf-faq-summary {
  list-style: none;
  padding: 16px 20px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--alf-navy);
  cursor: pointer;
}

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

.alf-faq-summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--alf-azure);
  flex-shrink: 0;
}

.alf-faq-item[open] .alf-faq-summary::after {
  content: "\2212";
}

.alf-faq-answer {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 14px;
  color: var(--alf-muted);
  line-height: 1.6;
}

/* 2-Step Visual Grouping on /quote/ */
.alf-form-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  margin: 4px 0 12px;
  border-bottom: 1px solid var(--alf-mist-deep);
}

.alf-form-step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--alf-navy);
  color: var(--alf-sun);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alf-form-step-title {
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--alf-navy);
}

/* Sticky Mobile Thumb-Zone Bar */
.alf-mobile-sticky-bar {
  display: none;
}

@media (max-width: 1080px) {
  .alf-hero-grid,
  .alf-bucket-layout,
  .alf-expertise-grid,
  .alf-two-col,
  .alf-footer-grid,
  .alf-reviews-grid,
  .alf-area-cards,
  .alf-process-grid {
    grid-template-columns: 1fr;
  }

  .alf-symptoms-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .alf-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .alf-nav-links,
  .alf-ads-header-phones {
    display: none;
  }

  .alf-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 78px;
  }

  .alf-shell {
    padding: 0 14px;
  }

  .alf-utility-desktop-row {
    display: none;
  }

  .alf-utility-mobile-line {
    display: flex;
  }

  .alf-services-grid,
  .alf-input-grid,
  .alf-input-grid-3,
  .alf-calc-results,
  .alf-guarantee-strip,
  .alf-mini-proof-row,
  .alf-stepper-grid {
    grid-template-columns: 1fr;
  }

  /* Keep 3 regional tabs side-by-side in 1 compact row even at 375px & 390px */
  .alf-region-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .alf-region-tab {
    padding: 8px 6px;
    min-height: 48px;
    text-align: center;
  }

  .alf-region-name {
    font-size: 10px;
  }

  .alf-region-code {
    font-size: 11.5px;
  }

  /* Zero iOS Safari auto-zoom (>= 16px) & >= 44px touch targets */
  input:not([type="hidden"]):not([type="checkbox"]):not([type="range"]),
  select,
  textarea,
  .alf-text-input,
  .alf-select-input,
  .alf-textarea-input {
    font-size: 16px;
    min-height: 46px;
    padding: 10px 12px;
  }

  .alf-submit-btn {
    min-height: 48px;
    font-size: 14.5px;
    padding: 13px 16px;
  }

  .alf-hero-proof-pill {
    font-size: 11px;
    line-height: 1.35;
    padding: 7px 12px;
  }

  .alf-gallery-grid {
    gap: 12px;
  }

  .alf-gallery-cap {
    padding: 9px 10px;
    font-size: 12px;
  }

  .alf-bucket-svg-wrap {
    padding: 10px;
  }

  .alf-faq-summary {
    padding: 14px 16px;
    font-size: 14px;
  }

  .alf-faq-answer {
    padding: 0 16px 16px;
    font-size: 13.5px;
  }

  .alf-mobile-menu {
    padding: 12px 14px 20px;
  }

  .alf-option-chip {
    min-height: 44px;
    padding: 8px 12px;
  }

  .alf-step-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .alf-symptoms-tabs {
    grid-template-columns: 1fr;
  }

  .alf-symptom-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .alf-symptom-cta {
    width: 100%;
  }

  .alf-header-badge {
    display: none;
  }

  .alf-nav-row {
    gap: 8px;
    height: 56px;
  }

  .alf-brand-logo {
    height: 36px;
    margin: 0;
  }

  .alf-header-actions {
    gap: 6px;
  }

  .alf-header-call {
    font-size: 11px;
    padding: 8px 10px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .alf-menu-toggle {
    font-size: 11.5px;
    padding: 7px 10px;
    min-height: 40px;
  }

  .alf-hero {
    padding: 18px 0 36px;
  }

  .alf-section {
    padding: 48px 0;
  }

  .alf-crew-spotlight {
    flex-direction: column;
    align-items: flex-start;
  }

  .alf-service-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .alf-mobile-sticky-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--alf-border);
    box-shadow: 0 -8px 24px rgba(13, 43, 69, 0.14);
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    backdrop-filter: blur(8px);
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .alf-mobile-sticky-bar.alf-is-hidden-kb {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }

  .alf-sticky-bar-row {
    display: flex;
    align-items: stretch;
    gap: 7px;
  }

  .alf-sticky-area-btn {
    appearance: none;
    background: var(--alf-mist);
    border: 1px solid var(--alf-border);
    color: var(--alf-navy);
    border-radius: 10px;
    padding: 0 10px;
    min-height: 48px;
    font-family: "Montserrat", sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .alf-sticky-call-btn {
    flex: 1.45;
    min-height: 48px;
    background: var(--alf-red);
    color: #ffffff;
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
    white-space: nowrap;
  }

  .alf-sticky-quote-btn {
    flex: 0.95;
    min-height: 48px;
    background: var(--alf-navy);
    color: #ffffff;
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    white-space: nowrap;
  }

  .alf-sticky-area-sheet {
    margin-bottom: 9px;
    background: var(--alf-navy);
    color: #ffffff;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--alf-shadow-lg);
  }

  .alf-sticky-area-sheet[hidden] {
    display: none;
  }

  .alf-sticky-sheet-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--alf-sun);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 4px;
  }

  .alf-sticky-sheet-opt {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 9px;
    padding: 10px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    font-size: 12.5px;
    cursor: pointer;
  }

  .alf-sticky-sheet-opt.alf-is-selected {
    background: var(--alf-azure);
    border-color: var(--alf-sky);
  }
}

@media (max-width: 400px) {
  .alf-brand-logo {
    height: 32px;
  }

  .alf-header-call {
    padding: 8px 9px;
    font-size: 10.5px;
  }

  .alf-menu-toggle {
    padding: 7px 9px;
    font-size: 11px;
  }
}
