/* Swamp City Plumbing — design system v3 "Trade Signage, Loud" in Gator colors
   Voice: gator-country trade signage turned up. UF brand palette per brandcenter.ufl.edu:
   Core Orange #FA4616 (PMS 172) + Core Blue #0021A5 (PMS 287) + Dark Blue #002657 (PMS 655).
   Signature motif: orange hazard stripe (truck tape / caution tape — the trade's own material).
   Fonts: Barlow Condensed (display, up to 800) / Barlow (body). */

:root {
  --brass: oklch(0.653 0.223 34.4);    /* UF Core Orange #FA4616, PMS 172 — CTA surface */
  --brass-bright: oklch(0.71 0.21 38);
  --brass-deep: oklch(0.56 0.19 32);
  --pine: oklch(0.355 0.207 264);      /* UF Core Blue #0021A5, PMS 287 */
  --pine-deep: oklch(0.278 0.098 257); /* UF Dark Blue #002657, PMS 655 */
  --pine-black: oklch(0.21 0.06 260);
  --ink: oklch(0.24 0.03 264);
  --ink-soft: oklch(0.42 0.03 264);
  --bg: oklch(1 0 0);
  --surface: oklch(0.962 0.008 260);
  --line: oklch(0.88 0.012 260);
  --on-dark: oklch(0.97 0.005 260);
  --on-dark-soft: oklch(0.84 0.02 262);
  --danger: oklch(0.55 0.19 25);
  --radius: 6px;
  --radius-card: 12px;
  --stripe: repeating-linear-gradient(-45deg,
      var(--brass) 0 14px, var(--pine-black) 14px 28px);
  --z-sticky: 40;
  --z-nav: 50;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

h1, h2, h3, .display {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
  text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 8.5vw, 6rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); letter-spacing: 0; font-weight: 700; }
p, li { max-width: 68ch; text-wrap: pretty; }
a { color: var(--pine); }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* section heading slab — signage underline */
section > .wrap > h2 { position: relative; padding-bottom: 0.55rem; }
section > .wrap > h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 4.5rem; height: 0.45rem; background: var(--brass);
}
.on-pine > .wrap > h2::after { background: var(--brass-bright); }

/* ---------- header ---------- */
.topbar {
  background: var(--pine-black);
  color: var(--on-dark-soft);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 5px solid transparent;
  border-image: var(--stripe) 1;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar strong { color: var(--brass-bright); font-weight: 600; }

header.site {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px oklch(0.2 0.02 260 / 0.06);
}
header.site .wrap {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.65rem 0;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 76px; width: auto; }
@media (max-width: 880px) { .logo img { height: 58px; } }
@media (max-width: 480px) { .logo img { height: 50px; } }
.ghl-embed { width: 100%; border: 0; border-radius: var(--radius-card); min-height: 580px; background: var(--bg); }
nav.main { margin-left: auto; display: flex; gap: 1.4rem; }
nav.main a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.98rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 3px solid transparent; padding: 0.2rem 0;
}
nav.main a:hover, nav.main a[aria-current] { border-bottom-color: var(--brass); }
.menu-toggle { display: none; }
.nav-call { display: none; }
.head-call {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.1rem;
  text-decoration: none; margin-left: 1rem;
}
.head-call .label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.head-call .num {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: 1.8rem; line-height: 1; color: var(--pine);
  transition: color 0.18s var(--ease);
}
.head-call:hover .num { color: var(--brass-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 1.3rem; line-height: 1;
  padding: 1rem 1.8rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-brass {
  background: var(--brass); color: var(--pine-black);
  box-shadow: 0 6px 18px oklch(0.55 0.19 33 / 0.35);
}
.btn-brass:hover { background: var(--brass-bright); transform: translateY(-2px); box-shadow: 0 10px 24px oklch(0.55 0.19 33 / 0.4); }
.btn-ghost { background: transparent; color: var(--on-dark); border: 2px solid oklch(0.97 0.005 260 / 0.55); }
.btn-ghost:hover { border-color: var(--brass-bright); color: var(--brass-bright); }
.btn-pine { background: var(--pine); color: var(--on-dark); }
.btn-pine:hover { background: var(--pine-deep); }
.btn-xl { font-size: 1.6rem; padding: 1.15rem 2.2rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--on-dark);
  background: var(--pine-black);
  overflow: clip;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(1.5rem, 3.5vw, 3rem)), 0 100%);
}
.hero .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.38;
  animation: hero-drift 18s var(--ease) both;
}
.hero .scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 15% 30%, oklch(0.20 0.06 260 / 0) 0%, oklch(0.20 0.06 260 / 0.4) 100%),
    linear-gradient(180deg, oklch(0.20 0.06 260 / 0.3), oklch(0.18 0.06 260 / 0.92) 82%);
}
.hero .wrap { position: relative; padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero h1 { max-width: 13ch; text-shadow: 0 2px 24px oklch(0.15 0.05 260 / 0.5); }
.hero h1 .hl { color: var(--brass-bright); }
.hero .sub { font-size: clamp(1.1rem, 2.3vw, 1.35rem); color: var(--on-dark-soft); max-width: 52ch; margin: 1.3rem 0 2.1rem; }
.hero .cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.hero .chips { display: flex; gap: 0.6rem 1.5rem; flex-wrap: wrap; margin-top: 2.4rem; font-size: 0.98rem; color: var(--on-dark-soft); }
.hero .chips span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero .chips svg { color: var(--brass-bright); flex: none; }

@keyframes hero-drift { from { transform: scale(1.07); } to { transform: scale(1); } }

/* ---------- sections ---------- */
section { padding: clamp(3.2rem, 7.5vw, 6rem) 0; }
section.tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 62ch; margin-top: 1.1rem; }
.on-surface { background: var(--surface); }
.on-pine {
  background:
    radial-gradient(120% 140% at 85% 0%, oklch(0.33 0.13 262 / 0.9) 0%, transparent 55%),
    var(--pine-deep);
  color: var(--on-dark);
}
.on-pine p, .on-pine li { color: var(--on-dark-soft); }
.on-pine h2, .on-pine h3 { color: var(--on-dark); }

/* trust strip — brass numbers on blackwater */
.trust { background: var(--pine-black); color: var(--on-dark); }
.trust .wrap {
  display: flex; flex-wrap: wrap; gap: 1.4rem 3rem; justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
}
.trust .item { display: flex; flex-direction: column; }
.trust .big {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--brass-bright);
  text-transform: uppercase;
}
.trust .small { font-size: 0.88rem; color: var(--on-dark-soft); margin-top: 0.3rem; }

/* service tiles */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; margin-top: 2.4rem; }
.svc {
  position: relative; border-radius: var(--radius-card); overflow: clip;
  background: var(--pine-black); color: var(--on-dark); text-decoration: none;
  min-height: 300px; display: flex; align-items: flex-end;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 16px 36px oklch(0.2 0.03 260 / 0.28); }
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0.4rem;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.svc:hover::after { transform: scaleX(1); }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 0.6s var(--ease), opacity 0.3s var(--ease); }
.svc:hover img { transform: scale(1.05); opacity: 0.72; }
.svc .body { position: relative; padding: 1.3rem 1.3rem 1.4rem; background: linear-gradient(0deg, oklch(0.18 0.06 260 / 0.95) 30%, transparent); width: 100%; }
.svc h3, .svc .body h2 { color: var(--on-dark); margin-bottom: 0.25rem; font-size: clamp(1.45rem, 2.8vw, 1.8rem); }
.svc p { font-size: 0.94rem; color: var(--on-dark-soft); }
.svc .go { display: inline-block; margin-top: 0.5rem; color: var(--brass-bright); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split img { border-radius: var(--radius-card); width: 100%; height: 100%; object-fit: cover; border: 3px solid var(--brass); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* checklist */
ul.checks { list-style: none; margin-top: 1rem; display: grid; gap: 0.55rem; }
ul.checks li { padding-left: 1.7rem; position: relative; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.95rem; height: 0.55rem;
  border-left: 3px solid var(--brass-deep); border-bottom: 3px solid var(--brass-deep);
  transform: rotate(-45deg);
}
.on-pine ul.checks li::before { border-color: var(--brass-bright); }

/* areas */
.area-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.area-links a {
  text-decoration: none; font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--pine);
  border: 2px solid var(--line); border-radius: var(--radius); padding: 0.5rem 1.1rem;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.area-links a:hover { background: var(--brass); border-color: var(--brass); color: var(--pine-black); }
.area-plain { margin-top: 1.2rem; font-size: 0.95rem; color: var(--ink-soft); max-width: none; }

/* faq */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.95rem 0; }
.faq summary { font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--brass-deep); line-height: 1; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.6rem; color: var(--ink-soft); }

/* contact / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
form.request { display: grid; gap: 0.9rem; margin-top: 1.2rem; }
form.request label { font-weight: 600; font-size: 0.95rem; display: grid; gap: 0.35rem; }
form.request input, form.request textarea {
  font: inherit; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line);
  border-radius: var(--radius); background: var(--bg); color: var(--ink); width: 100%;
}
form.request input:focus, form.request textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass-deep); }
form.request ::placeholder { color: var(--ink-soft); }

.phone-panel {
  background: var(--pine-black); color: var(--on-dark); border-radius: var(--radius-card);
  padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: 0.8rem; align-content: start;
}
.phone-panel .num {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.8rem); color: var(--brass-bright); text-decoration: none; line-height: 1;
}
.phone-panel .num:hover { color: var(--brass); }

/* CTA band — hazard-stripe top edge, the site's loudest moment */
.cta-band { position: relative; background: var(--brass); color: var(--pine-black); }
.cta-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: var(--stripe);
}
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: clamp(2.4rem, 5vw, 3.4rem) 0; }
.cta-band h2 { max-width: 22ch; font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.cta-band .btn { background: var(--pine-black); color: var(--on-dark); box-shadow: 0 6px 18px oklch(0.4 0.12 33 / 0.5); }
.cta-band .btn:hover { background: var(--pine); transform: translateY(-2px); }

/* footer */
footer.site { background: var(--pine-black); color: var(--on-dark-soft); font-size: 0.95rem; padding: clamp(2.5rem, 5vw, 4rem) 0 6.5rem; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; }
@media (max-width: 820px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site .cols { grid-template-columns: 1fr; } }
.footer-logo { height: 58px; width: auto; margin-bottom: 1rem; display: block; }
footer.site h3 { color: var(--on-dark); font-size: 1.15rem; margin-bottom: 0.7rem; }
footer.site a { color: var(--on-dark-soft); text-decoration: none; }
footer.site a:hover { color: var(--brass-bright); }
footer.site ul { list-style: none; display: grid; gap: 0.4rem; }
footer.site .legal { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid oklch(0.35 0.04 260); font-size: 0.83rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }

/* sticky mobile call bar */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-sticky);
  display: none; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 8px oklch(0.2 0.02 260 / 0.18);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 1.4rem; padding: 0.95rem 0.5rem; text-decoration: none;
}
.callbar .call { background: var(--brass); color: var(--pine-black); }
.callbar .book { background: var(--pine); color: var(--on-dark); }

/* breadcrumbs */
.crumbs { font-size: 0.88rem; color: var(--on-dark-soft); padding-top: 1.2rem; }
.crumbs a { color: var(--on-dark-soft); }
.crumbs .wrap { padding: 0; }

/* page hero (interior) */
.page-hero {
  position: relative;
  background:
    radial-gradient(100% 160% at 90% 0%, oklch(0.33 0.13 262 / 0.85) 0%, transparent 55%),
    var(--pine-deep);
  color: var(--on-dark);
  padding: clamp(3rem, 7vw, 5rem) 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(1rem, 2.5vw, 2rem)), 0 100%);
}
.page-hero h1 { font-size: clamp(2.5rem, 6.5vw, 4.4rem); max-width: 18ch; position: relative; padding-bottom: 0.6rem; }
.page-hero h1::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 4.5rem; height: 0.45rem; background: var(--brass);
}
.page-hero .sub { color: var(--on-dark-soft); font-size: 1.15rem; max-width: 56ch; margin-top: 1.1rem; }
.page-hero .cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p { margin-top: 0.9rem; }
.prose ul { margin: 0.9rem 0 0 1.2rem; }
.prose li { margin-top: 0.35rem; }

/* motion — hero entrance is the one authored moment */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .hero .sub.rise { animation-delay: 0.08s; }
  .hero .cta-row.rise { animation-delay: 0.16s; }
  .hero .chips.rise { animation-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .bg { animation: none; }
}

@media (max-width: 880px) {
  .callbar { display: grid; }
  /* Mobile topbar: family-owned line only, smaller. License stays desktop-only
     (and in the footer fine print everywhere). */
  .topbar span:first-child { display: none; }
  .topbar { font-size: 0.72rem; padding: 0.3rem 0; }
  .topbar .wrap { justify-content: center; }
  /* Mobile header = logo + hamburger only. The phone number lives in the
     always-visible bottom call bar and inside the menu, so nothing in the
     header can wrap no matter how large the user's text size is. */
  .head-call { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.45rem;
    margin-left: auto; min-height: 44px; padding: 0.5rem 0.7rem;
    background: none; border: 0; cursor: pointer;
    font-family: "Barlow Condensed", sans-serif; font-weight: 800;
    font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em;
    color: var(--pine);
  }
  .menu-toggle .i-close, html.nav-open .menu-toggle .i-open { display: none; }
  html.nav-open .menu-toggle .i-close { display: block; }
  nav.main {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px oklch(0.2 0.02 260 / 0.15);
    padding: 0.4rem 0 0.6rem;
  }
  html.nav-open nav.main { display: flex; }
  nav.main a {
    padding: 0.9rem clamp(1rem, 5vw, 1.5rem); font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  nav.main a:hover, nav.main a[aria-current] { border-bottom-color: var(--line); background: oklch(0.96 0.01 260); }
  .nav-call { display: block; border-bottom: 0; color: var(--pine); }
  .nav-call strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.3rem; font-weight: 800; }
  header.site .wrap { position: relative; }
  /* keep the hero CTA and chips clear of the fixed bottom bar */
  .hero .wrap { padding-bottom: calc(3rem + 76px + env(safe-area-inset-bottom)); }
  .callbar { padding-bottom: env(safe-area-inset-bottom); background: var(--pine); }
  .callbar a { white-space: nowrap; }
}
@media (max-width: 480px) {
  .callbar a { font-size: 1.15rem; }
}
@media (min-width: 881px) {
  footer.site { padding-bottom: 2.5rem; }
}

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.review {
  margin: 0; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 1.5rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.review .stars { color: var(--brass-deep); font-size: 1.05rem; letter-spacing: 0.18em; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-size: 0.97rem; line-height: 1.6; }
.review figcaption { font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- accessibility: skip link, focus rings, target sizes ---------- */
.skip {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 60;
  background: var(--pine-black); color: var(--on-dark);
  padding: 0.85rem 1.3rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transform: translateY(calc(-100% - 1.5rem));
}
.skip:focus { transform: none; outline: 3px solid var(--brass-bright); outline-offset: 2px; }

:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
.hero :focus-visible, .page-hero :focus-visible, .on-pine :focus-visible,
footer.site :focus-visible, .phone-panel :focus-visible, .cta-band :focus-visible,
.svc:focus-visible, .callbar :focus-visible {
  outline-color: var(--brass-bright);
}

.crumbs a { display: inline-block; padding: 0.3rem 0.2rem; margin: -0.3rem -0.2rem; }

/* SMS consent disclosure under the request form (A2P 10DLC requirement) */
.sms-consent { font-size: 0.78rem; line-height: 1.5; color: var(--ink-soft); margin-top: 0.75rem; }
.prose blockquote { margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--pine); background: rgba(0,0,0,0.035); }
.prose blockquote p { margin: 0; }
