/* Fort Worth Leak Detection — styles */
:root {
  --text: #1d1d1f;
  --text-2: #515154;
  --text-3: #6e6e73;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --line: rgba(0, 0, 0, 0.09);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.07);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.03), 0 6px 18px rgba(0, 0, 0, 0.05);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --wrap: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.028em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(760px + var(--gutter) * 2); }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow); }

/* Top bar */
.topbar { background: var(--bg-alt); font-size: 12.5px; color: var(--text-3); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar a { color: var(--text-2); }
.topbar-links { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.topbar-sep { color: #b0b0b5; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.logo:hover { text-decoration: none; opacity: 0.85; }
.logo-mark { color: var(--text); display: inline-flex; }
.logo-mark svg { display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-2); font-size: 14px; letter-spacing: -0.005em; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav .nav-call { color: var(--accent); font-weight: 600; }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px 0; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 18px; border-radius: 980px; border: 0;
  background: var(--accent); color: #fff; font: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 50px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; min-height: 48px; font-size: 16px; }
.link-arrow { font-weight: 500; white-space: nowrap; }
.link-arrow::after { content: " \203A"; font-size: 1.15em; }

/* Eyebrow / badge */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); letter-spacing: -0.005em; margin-bottom: 18px; }
.eyebrow svg { color: var(--accent); flex: none; }

/* Hero */
.hero { padding: 88px 0 0; text-align: center; }
.hero h1 { margin: 0 auto; }
.hero h1 .line { display: block; }
.hero .sub { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4rem); line-height: 1.45; color: var(--text-2); max-width: 36em; margin: 22px auto 34px; letter-spacing: -0.01em; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-line { font-size: 15px; color: var(--text-3); margin: 0; }
.phone-line a { font-weight: 600; white-space: nowrap; }
.hero-media { margin: 64px auto 0; }
.hero-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Captions */
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--text-3); margin-top: 12px; line-height: 1.4; }
.hero-media figcaption, .band-media figcaption { text-align: center; }

/* Sections */
.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 19px; color: var(--text-2); margin: 16px 0 0; line-height: 1.5; }

/* Statement */
.statement { text-align: center; }
.statement p.big { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); line-height: 1.25; letter-spacing: -0.025em; font-weight: 600; max-width: 26em; margin: 0 auto; }
.statement p.big span { color: var(--text-3); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; text-align: left; }
.fact { border-top: 1px solid var(--line); padding-top: 20px; }
.fact h3 { margin-bottom: 8px; }
.fact p { color: var(--text-2); font-size: 16px; margin: 0; }

/* Split (alternating image/text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 112px; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-copy h2 { margin-bottom: 20px; }
.split-copy > p { color: var(--text-2); font-size: 18px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 28px; }
.checklist li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); font-size: 16.5px; }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 28px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 48px; margin: 0 0 20px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps li strong { display: block; color: var(--text); }

/* Service index */
.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 32px; align-items: center; padding: 28px 4px; color: var(--text); transition: background 0.2s var(--ease); }
.service-list a:hover { text-decoration: none; background: rgba(0, 0, 0, 0.02); }
.service-list .s-title { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.service-list .s-desc { color: var(--text-2); font-size: 16px; }
.service-list .s-go { color: var(--accent); font-size: 15px; font-weight: 500; white-space: nowrap; }

/* Wide band image + areas */
.band-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; padding: 0; list-style: none; }
.areas a { display: inline-block; padding: 9px 18px; border-radius: 980px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font-size: 15px; }
.areas a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.note { text-align: center; color: var(--text-3); font-size: 15px; margin-top: 24px; }

/* Request section */
.request { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 72px; align-items: start; }
.request-copy h2 { margin-bottom: 20px; }
.request-copy p { color: var(--text-2); font-size: 18px; }

/* Panel + form */
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.panel h2 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.panel > p { color: var(--text-2); font-size: 15px; margin-bottom: 20px; }
form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin: 14px 0 6px; }
form input, form select, form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 46px; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
form select { background-image: linear-gradient(45deg, transparent 50%, #6e6e73 50%), linear-gradient(135deg, #6e6e73 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
form textarea { resize: vertical; min-height: 96px; }
form input::placeholder, form textarea::placeholder { color: #8e8e93; }
form input:focus, form select:focus, form textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
form .btn-block { margin-top: 22px; }
.form-note { font-size: 13.5px; color: var(--text-3); margin: 14px 0 0; text-align: center; }
.form-note a { font-weight: 600; white-space: nowrap; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--text-3); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); margin: -6px 0 22px; padding-right: 40px; }
.prose .faq summary { font-size: 17px; }

/* CTA band */
.cta-band { padding: 104px 0; background: var(--bg-alt); text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-2); font-size: 19px; max-width: 34em; margin: 0 auto 30px; }
.cta-band .phone-line { margin-top: 18px; }

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 0; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin: 0 0 18px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem); max-width: 18ch; }
.page-hero .lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.5; color: var(--text-2); max-width: 40em; margin: 22px 0 18px; letter-spacing: -0.01em; }
.page-media { margin-top: 48px; }
.page-media img { width: 100%; aspect-ratio: 2.25 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-hero .eyebrow { margin-bottom: 14px; }

/* Content grid */
.content { padding: 80px 0 112px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: start; }
.sidebar { position: sticky; top: 92px; }
.prose { max-width: 700px; font-size: 17.5px; line-height: 1.7; color: #333336; }
.prose > p:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem); margin: 56px 0 16px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; margin: 0 0 10px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: #a1a1a6; }
.prose ol.steps li { margin-bottom: 18px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .phone-line { margin: 0 0 24px; }
.callout { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 20px 22px; margin: 32px 0; font-size: 16px; color: var(--text-2); }
.callout strong { color: var(--text); }
.inline-links a { white-space: nowrap; }
.btn-row { margin-top: 36px; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 13px; color: var(--text-3); line-height: 1.55; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-size: 13px; font-weight: 600; color: var(--text); margin: 0 0 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.footer-logo:hover { text-decoration: none; }
.veteran-line { font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.sister { margin-top: 12px; }
.disclosure { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.disclosure strong { color: var(--text-2); }
.copy { margin: 16px 0 0; font-size: 12px; }

/* Responsive */
@media (max-width: 1023px) {
  .content-grid { grid-template-columns: 1fr; gap: 56px; }
  .sidebar { position: static; max-width: 560px; }
  .prose { max-width: none; }
  .request { grid-template-columns: 1fr; gap: 40px; }
  .request .panel { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
  }
  .nav.is-open { display: flex; }
  .site-header:has(.nav.is-open) { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav a { font-size: 17px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav .nav-call { border-bottom: 0; }
  .nav .btn { margin-top: 8px; min-height: 46px; font-size: 16px; border-bottom: 0; }
  .site-header .wrap { position: relative; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .split + .split { margin-top: 88px; }
  .facts { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
  .fact { padding: 20px 0; }
  .service-list a { grid-template-columns: 1fr auto; gap: 6px 20px; padding: 22px 2px; }
  .service-list .s-desc { grid-column: 1 / 2; grid-row: 2; }
  .service-list .s-go { grid-row: 1 / 3; grid-column: 2; }
}
@media (max-width: 599px) {
  :root { --gutter: 20px; }
  body { font-size: 16.5px; }
  .topbar-hide-sm { display: none; }
  .topbar .wrap { justify-content: center; }
  .logo { font-size: 14px; }
  .hero { padding-top: 56px; }
  .hero .sub { margin: 18px auto 28px; }
  .hero-media { margin-top: 44px; }
  .hero-media img, .band-media img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .page-hero { padding-top: 40px; }
  .page-media { margin-top: 32px; }
  .page-media img { aspect-ratio: 3 / 2; border-radius: var(--radius); }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .content { padding: 56px 0 80px; }
  .cta-band { padding: 80px 0; }
  .panel { padding: 24px 20px; }
  .prose { font-size: 17px; }
  .prose h2 { margin-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-lg { width: 100%; max-width: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.prose > h2:first-child, .prose > figure:first-child + h2 { margin-top: 0; }
