:root {
  color-scheme: light;
  --navy: #12324a;
  --blue: #1f6f9f;
  --blue-dark: #155a83;
  --red: #c93a2f;
  --ink: #14212b;
  --muted: #5d6b76;
  --line: #dbe5ec;
  --soft: #f3f8fb;
  --white: #fff;
  --shadow: 0 18px 45px rgba(18, 50, 74, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.6; }
body::before { content: ""; position: fixed; left: 50%; top: 50%; width: min(82vw, 880px); aspect-ratio: 1; transform: translate(-50%, -50%); background: url("images/tnt-plumbing-logo.png") center / contain no-repeat; opacity: .022; pointer-events: none; z-index: 1; }
main > section > *, .site-footer > * { position: relative; z-index: 3; }
a { color: var(--blue-dark); font-weight: 750; }
a:focus-visible, button:focus-visible { outline: 3px solid #f5bd33; outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: white; padding: .75rem 1rem; z-index: 20; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 8px 22px rgba(18,50,74,.08); }
.topbar { display: none; }
.topbar a { color: white; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .45rem clamp(.75rem, 2.5vw, 2rem); background: rgba(255,255,255,.98); backdrop-filter: blur(10px); }
.conversion-nav { flex-wrap: nowrap; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; min-width: max-content; }
.brand small { display: block; color: var(--muted); font-weight: 650; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; color: white; background: var(--red); font-weight: 900; letter-spacing: .04em; }
.brand-logo { display: block; width: auto; height: 48px; max-width: 112px; object-fit: contain; }
.main-nav { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; font-size: .95rem; }
.main-nav a { color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--blue-dark); }
.problem-nav { display: flex; align-items: center; gap: .6rem; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: .2rem; }
.problem-nav::-webkit-scrollbar { display: none; }
.problem-nav a { flex: 0 0 auto; color: var(--navy); background: white; border: 1px solid #b9ccd8; border-radius: 8px; padding: .52rem .82rem; text-decoration: none; font-size: .86rem; font-weight: 900; line-height: 1.1; white-space: nowrap; box-shadow: 0 5px 14px rgba(18,50,74,.1); }
.problem-nav a:hover { background: var(--navy); color: white; border-color: var(--navy); transform: translateY(-1px); }
.problem-nav a:focus-visible { outline: 3px solid #f5bd33; outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.15rem; border-radius: 7px; text-decoration: none; font-weight: 850; border: 2px solid transparent; text-align: center; }
.btn-call { background: var(--red); color: white; box-shadow: 0 8px 20px rgba(201, 58, 47, .22); }
.header-call { min-height: 42px; padding: .55rem .8rem; white-space: nowrap; }
.header-call span { margin-left: .35rem; }
.btn-secondary { background: var(--navy); color: white; }
.btn-outline { border-color: white; color: white; }
.mobile-sticky { display: none; }
.hero, .service-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .78fr) minmax(520px, 1.08fr); gap: clamp(1.1rem, 3vw, 2.75rem); padding: clamp(1.35rem, 3.5vw, 3rem) clamp(1rem, 4vw, 4rem); background: linear-gradient(120deg, #f7fbfd 0%, #e8f3f8 100%); align-items: center; }
.hero > *, .service-hero > * { position: relative; z-index: 3; }
.home-hero { grid-template-columns: minmax(0, 1fr); }
.home-hero .hero-copy { max-width: 1120px; }
.hero h1, .service-hero h1 { max-width: 860px; margin: .25rem 0 1rem; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: .98; letter-spacing: 0; color: var(--navy); }
.service-hero h1 { font-size: clamp(2rem, 4.5vw, 4rem); }
.hero-text, .service-hero p { max-width: 720px; font-size: clamp(1.06rem, 2vw, 1.25rem); color: #334653; }
.brand-line { display: inline-flex; margin: 0 0 1.1rem; padding: .45rem .75rem; border-radius: 999px; background: #fff4e9; color: #8c2e20; font-weight: 900; }
.eyebrow { margin: 0 0 .35rem; text-transform: uppercase; color: var(--blue-dark); font-size: .82rem; letter-spacing: .09em; font-weight: 900; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.35rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.trust-row li { background: white; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .75rem; font-weight: 750; color: var(--navy); }
.hero-panel, .service-summary { background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 1rem; }
.hero-conversion-panel { display: grid; gap: 1rem; align-self: start; padding: clamp(1.15rem, 2.5vw, 1.65rem); border-top: 0; }
.hero-conversion-panel .btn { width: 100%; }
.hero-conversion-panel .panel-call { width: auto; justify-self: center; }
.conversion-panel-intro { border-bottom: 1px solid var(--line); padding-bottom: .85rem; }
.conversion-panel-intro h2 { margin-bottom: .45rem; font-size: clamp(1.35rem, 2vw, 1.85rem); }
.conversion-panel-intro p { margin: 0; font-size: 1rem; color: var(--muted); }
.panel-call { min-height: 42px; display: inline-flex; gap: .35rem; padding: .55rem .8rem; font-size: .94rem; border-radius: 7px; font-weight: 850; white-space: nowrap; box-shadow: 0 8px 20px rgba(201, 58, 47, .22); }
.panel-call span { display: inline; font-size: inherit; }
.form-card { display: grid; gap: .7rem; padding: clamp(1rem, 2vw, 1.35rem); border: 1px solid var(--line); border-radius: 8px; background: #f8fbfd; }
.form-kicker { margin: 0; color: var(--navy); font-weight: 900; }
.email-link { display: inline-flex; overflow-wrap: anywhere; }
.photo-slot { min-height: 360px; border: 2px dashed #9bb4c4; border-radius: 8px; display: grid; align-content: center; gap: .6rem; padding: 1.25rem; background: #eef6fa; color: var(--navy); text-align: center; }
.photo-slot.small { min-height: 260px; }
.photo-slot span { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 900; color: var(--blue-dark); }
.photo-slot p { margin: 0; color: var(--muted); }
.section, .problem-finder { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem); }
.section-heading { max-width: 820px; margin-bottom: 1.5rem; }
h2 { margin: 0 0 .8rem; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.12; }
h3 { color: var(--navy); margin: 0 0 .45rem; line-height: 1.2; }
p { margin-top: 0; }
.problem-finder { background: var(--navy); color: white; }
.problem-finder h2, .problem-finder .eyebrow { color: white; }
.problem-finder p { color: #d7e6ee; }
.problem-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; }
.hero-problem-finder { margin-top: 1.1rem; }
.hero-problem-finder h2 { font-size: clamp(1.35rem, 2.2vw, 2rem); margin-bottom: .85rem; }
.problem-grid.compact { grid-template-columns: repeat(5, minmax(120px, 1fr)); }
.problem-card { display: block; min-height: 145px; background: white; color: var(--ink); text-decoration: none; border-radius: 8px; padding: 1.1rem; box-shadow: 0 12px 26px rgba(0,0,0,.16); }
.problem-grid.compact .problem-card { min-height: 112px; border: 2px solid var(--line); box-shadow: 0 10px 22px rgba(18,50,74,.1); }
.problem-card strong { display: block; font-size: 1.12rem; color: var(--navy); margin-bottom: .45rem; }
.problem-card span { color: var(--muted); font-weight: 600; }
.card-grid, .trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card, .trust-grid div, .three-up article, .callout, .review-slot, .related, .service-summary { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 1.2rem; }
.service-card { box-shadow: 0 8px 22px rgba(18,50,74,.07); }
.section-copy { max-width: 920px; margin-top: 1.4rem; font-size: 1.08rem; }
.split, .image-section, .two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.image-section.reverse { grid-template-columns: minmax(300px, .8fr) minmax(0, 1fr); }
.callout { background: var(--soft); border-left: 5px solid var(--red); }
.three-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; background: var(--soft); }
.trust-section { background: #f9fbfc; }
.review-slot { margin-top: 1rem; background: var(--soft); }
.google-reviews { margin-top: 1.5rem; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.review-card { border: 1px solid var(--line); border-radius: 8px; background: white; padding: clamp(1.1rem, 2.5vw, 1.35rem); box-shadow: 0 10px 24px rgba(18,50,74,.08); }
.review-card .stars { margin: 0 0 .65rem; color: var(--red); letter-spacing: .08em; font-size: 1.05rem; font-weight: 900; }
.review-card h3 { margin-bottom: .6rem; }
.review-card p:last-child { margin-bottom: 0; color: #334653; }
.review-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.review-note { margin: .75rem 0 0; color: var(--muted); font-weight: 700; }
.service-area { background: var(--navy); color: white; }
.service-area h2, .service-area a { color: white; }
.service-area p { max-width: 980px; color: #d7e6ee; }
.service-area .section-heading { max-width: 980px; }
.service-map-card { margin: 1.5rem 0; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: clamp(.75rem, 2vw, 1.1rem); background: rgba(255,255,255,.08); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.service-map { display: block; width: 100%; height: auto; border-radius: 8px; overflow: hidden; }
.city-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.city-groups article { border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.08); padding: 1.1rem; }
.city-groups h3 { color: white; }
.city-groups ul { display: grid; gap: .35rem; padding-left: 1.1rem; margin: .6rem 0 0; color: #d7e6ee; }
.service-area-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin: 1.5rem 0 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: clamp(1rem, 2.5vw, 1.35rem); background: rgba(255,255,255,.1); }
.service-area-cta h3 { color: white; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.service-area-cta p { margin: 0; }
.service-area-cta .btn { flex: 0 0 auto; }
.service-area-cta .btn span { margin-left: .35rem; }
.faq details { border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.1rem; margin-bottom: .75rem; background: white; }
.faq summary { cursor: pointer; }
.faq summary h3 { display: inline; font-size: 1.05rem; }
.check-list { padding: 0; margin: 0; list-style: none; }
.check-list li { padding: .72rem .8rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; }
.conversion-cta { display: grid; grid-template-columns: minmax(0, .85fr) minmax(340px, .72fr); gap: clamp(1.25rem, 3vw, 2.4rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem); background: var(--navy); color: white; }
.conversion-cta h2, .conversion-cta .eyebrow { color: white; }
.conversion-cta p { color: #d7e6ee; max-width: 680px; }
.conversion-cta .btn-call { min-height: 42px; padding: .55rem .8rem; border-radius: 7px; font-size: .94rem; }
.quick-form { display: grid; gap: 1rem; background: white; color: var(--ink); border-radius: 8px; padding: clamp(1.15rem, 3vw, 1.55rem); box-shadow: var(--shadow); }
.compact-form { gap: .72rem; padding: 0; box-shadow: none; border: 0; background: transparent; }
.form-card .compact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-card .compact-form label:nth-of-type(3), .form-card .compact-form .btn { grid-column: 1 / -1; }
.quick-form label { display: grid; gap: .4rem; font-weight: 850; color: var(--navy); }
.quick-form input, .quick-form textarea { width: 100%; border: 1px solid #b9ccd8; border-radius: 8px; padding: .72rem .85rem; font: inherit; color: var(--ink); background: #fff; box-shadow: inset 0 1px 0 rgba(18,50,74,.04); }
.quick-form input:focus, .quick-form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(31,111,159,.18); outline-offset: 0; }
.quick-form textarea { resize: vertical; }
.quick-form .btn { width: 100%; cursor: pointer; border-radius: 8px; }
.related ul, .site-footer ul { padding-left: 1.1rem; }
.footer-contact { margin-top: .75rem; }
.site-footer { background: #0f2536; color: white; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem) 2rem; }
.site-footer h2, .site-footer h3, .site-footer a { color: white; }
.footer-cta { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1.5rem; padding-top: 2rem; }
.fine-print { margin-top: 2rem; color: #b8cad5; font-size: .9rem; }
@media (min-width: 1180px) {
  .hero-conversion-panel { max-width: 760px; width: 100%; justify-self: end; }
  .form-card { min-width: 0; }
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .conversion-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .55rem; }
  .problem-nav { grid-column: 1 / -1; order: 3; padding-bottom: .2rem; flex-wrap: wrap; overflow-x: visible; }
  .hero, .service-hero, .split, .image-section, .image-section.reverse, .two-column, .conversion-cta { grid-template-columns: 1fr; }
  .problem-grid, .card-grid, .trust-grid, .three-up, .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .city-groups { grid-template-columns: 1fr 1fr; }
  .service-area-cta { align-items: flex-start; flex-direction: column; }
  .problem-grid.compact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-wrap { padding: .35rem .65rem .45rem; }
  .brand small { display: none; }
  .brand-logo { height: 40px; max-width: 92px; }
  .brand strong { font-size: .95rem; }
  .header-call { min-height: 38px; padding: .42rem .58rem; font-size: .82rem; }
  .header-call span { margin-left: .25rem; }
  .problem-nav { gap: .42rem; }
  .problem-nav a { font-size: .78rem; padding: .42rem .56rem; }
  .mobile-sticky { display: none; }
  body::before { width: min(118vw, 560px); opacity: .018; }
  .form-card .compact-form { grid-template-columns: 1fr; }
  .form-card .compact-form label:nth-of-type(3), .form-card .compact-form .btn { grid-column: auto; }
  .hero, .service-hero { padding-top: 1rem; }
  .problem-grid, .card-grid, .trust-grid, .three-up, .footer-grid { grid-template-columns: 1fr; }
  .city-groups { grid-template-columns: 1fr; }
  .review-actions .btn { width: 100%; }
  .service-map-card { margin-top: 1rem; padding: .55rem; }
  .service-area-cta .btn { width: 100%; }
  .service-area-cta .btn span { display: block; margin-left: 0; }
  .hero-problem-finder h2 { font-size: 1.25rem; }
  .problem-grid.compact { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .problem-grid.compact .problem-card { min-height: 92px; padding: .8rem; }
  .problem-grid.compact .problem-card strong { font-size: 1rem; margin-bottom: .25rem; }
  .problem-grid.compact .problem-card span { font-size: .9rem; }
  .footer-cta { display: block; }
  .hero h1, .service-hero h1 { font-size: 2.05rem; }
}
