/* Barberton Plumber Pros — Production Static CSS
   Mobile-First, Zero Images, System Typography, High-Contrast Navy & Emerald Palette */

:root {
  --navy-950: #091526;
  --navy-900: #0f2342;
  --navy-800: #183661;
  --navy-100: #e8eef6;
  --navy-50: #f4f7fb;
  --green-700: #116b3b;
  --green-600: #15803d;
  --green-500: #16a34a;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --amber-100: #fef3c7;
  --amber-800: #92400e;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(9, 21, 38, 0.08);
  --shadow-md: 0 6px 18px rgba(9, 21, 38, 0.10);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --max-width: 1140px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.65;
  padding-bottom: 68px;
}

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

a {
  color: var(--navy-800);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-700);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--navy-900);
  color: var(--white);
  z-index: 9999;
  border-radius: var(--radius-sm);
}

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

/* Top Disclosure Strip */
.disclosure-bar {
  background-color: var(--navy-950);
  color: #dbe7f8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.disclosure-bar p {
  margin: 0;
  text-align: center;
}

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

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

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy-900);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--slate-600);
  font-weight: 500;
}

.nav-toggle {
  background: var(--navy-50);
  border: 1.5px solid var(--navy-800);
  color: var(--navy-900);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (min-width: 920px) {
  .nav-toggle {
    display: none;
  }
}

.main-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-200);
}

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

@media (min-width: 920px) {
  .main-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding-top: 0;
    border-top: none;
  }
}

.main-nav a {
  text-decoration: none;
  color: var(--slate-900);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 6px 4px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--green-600);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--green-700);
  white-space: nowrap;
}

.header-cta:hover {
  background-color: var(--green-700);
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--slate-100);
  border-bottom: 1px solid var(--slate-200);
  padding: 10px 0;
  font-size: 0.86rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--slate-600);
  font-weight: 700;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
  padding: 44px 0 48px;
  border-bottom: 4px solid var(--green-500);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e2f5ea;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.1rem;
  color: #e2e8f0;
  max-width: 760px;
  margin: 0 0 24px;
}

.hero-lead a {
  color: #86efac;
  font-weight: 700;
}

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

.btn-call-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--green-500);
  color: var(--white) !important;
  text-decoration: none !important;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 15px 26px;
  border-radius: var(--radius-md);
  border: 2px solid #22c55e;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-call-lg:hover {
  background-color: var(--green-600);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.hero-note {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin: 0;
  max-width: 720px;
}

/* AI Overview Quick Answer Box */
.aio-box {
  background: var(--navy-50);
  border-left: 5px solid var(--navy-800);
  border-top: 1px solid var(--slate-200);
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 28px 0;
}

.aio-box h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.aio-box p:last-child,
.aio-box ul:last-child {
  margin-bottom: 0;
}

/* Sections & Grids */
.section {
  padding: 44px 0;
}

.section-alt {
  background-color: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--navy-900);
  margin: 0 0 10px;
  line-height: 1.25;
}

.section-header p {
  color: var(--slate-700);
  margin: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

/* Cards */
.card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: var(--navy-900);
}

.card p {
  margin: 0 0 14px;
  color: var(--slate-700);
  font-size: 0.96rem;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}

.card-link-primary {
  font-weight: 700;
  color: var(--navy-800);
}

.card-link-call {
  font-weight: 700;
  color: var(--green-700);
}

/* Mid-Content Call Banner */
.call-banner {
  background: var(--green-50);
  border: 2px solid var(--green-600);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  margin: 34px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 820px) {
  .call-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.call-banner h2,
.call-banner h3 {
  margin: 0 0 6px;
  color: var(--navy-900);
  font-size: 1.32rem;
}

.call-banner p {
  margin: 0;
  color: var(--slate-700);
  max-width: 620px;
}

.btn-call-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--green-600);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.btn-call-banner:hover {
  background-color: var(--green-700);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.94rem;
}

th, td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid var(--slate-200);
}

th {
  background-color: var(--navy-900);
  color: var(--white);
  font-weight: 700;
}

tr:nth-child(even) td {
  background-color: var(--navy-50);
}

/* Lists & Callouts */
.checklist {
  padding-left: 20px;
  margin: 14px 0;
}

.checklist li {
  margin-bottom: 8px;
}

.disclosure-box {
  background: var(--amber-100);
  border: 1.5px solid #f59e0b;
  color: var(--slate-900);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 0.94rem;
}

.disclosure-box strong {
  color: var(--amber-800);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq-item {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

details.faq-item[open] {
  border-color: var(--navy-800);
}

details.faq-item summary {
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

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

details.faq-item summary::before {
  content: "➕ ";
  color: var(--green-700);
  font-weight: 800;
}

details.faq-item[open] summary::before {
  content: "➖ ";
}

details.faq-item p {
  margin: 12px 0 0;
  color: var(--slate-700);
}

/* Article Layout for Service Pages */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 36px 0 52px;
}

@media (min-width: 940px) {
  .content-layout {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.article-body h2 {
  color: var(--navy-900);
  font-size: 1.48rem;
  margin: 30px 0 12px;
  border-bottom: 2px solid var(--slate-200);
  padding-bottom: 6px;
}

.article-body h3 {
  color: var(--navy-800);
  font-size: 1.16rem;
  margin: 20px 0 8px;
}

.sidebar-box {
  background: var(--navy-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-box h3 {
  margin-top: 0;
  font-size: 1.12rem;
  color: var(--navy-900);
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  border-bottom: 1px solid var(--slate-200);
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: block;
  padding: 9px 4px;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy-900);
}

.sidebar-nav a:hover {
  color: var(--green-700);
}

/* Footer */
.site-footer {
  background-color: var(--navy-950);
  color: #cbd5e1;
  padding: 46px 0 32px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

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

.site-footer h3 {
  color: var(--white);
  font-size: 1.04rem;
  margin: 0 0 12px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: #86efac;
  text-decoration: underline;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Mobile Sticky Call Bar */
.mobile-sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--green-600);
  border-top: 2px solid #22c55e;
  padding: 10px 16px;
  box-shadow: 0 -4px 14px rgba(9, 21, 38, 0.22);
}

.mobile-sticky-call a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 1.06rem;
}

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

/* Form Styles (Static / Configurable Endpoint) */
.form-group {
  margin-bottom: 16px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}

.btn-submit {
  background: var(--navy-900);
  color: var(--white);
  border: none;
  padding: 13px 22px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--navy-800);
}
