/* Swamp City Plumbing — design system
   Voice: gator-country trade signage. Deep bottomland green + polished brass.
   Fonts: Barlow Condensed (display) / Barlow (body). */

:root {
  --brass: oklch(0.68 0.17 45);        /* gator-logo safety orange — CTA surface */
  --brass-bright: oklch(0.75 0.17 50);
  --brass-deep: oklch(0.55 0.14 42);
  --pine: oklch(0.35 0.07 165);        /* bottomland green */
  --pine-deep: oklch(0.26 0.06 168);
  --pine-black: oklch(0.20 0.05 170);
  --ink: oklch(0.24 0.03 165);
  --ink-soft: oklch(0.42 0.03 165);
  --bg: oklch(1 0 0);
  --surface: oklch(0.962 0.01 160);
  --line: oklch(0.88 0.015 160);
  --on-dark: oklch(0.97 0.008 120);
  --on-dark-soft: oklch(0.84 0.02 140);
  --danger: oklch(0.55 0.19 25);
  --radius: 10px;
  --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: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: 0; }
p, li { max-width: 68ch; text-wrap: pretty; }
a { color: var(--pine); }

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

/* ---------- header ---------- */
.topbar {
  background: var(--pine-black);
  color: var(--on-dark-soft);
  font-size: 0.85rem;
  padding: 0.4rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar strong { color: var(--on-dark); font-weight: 600; }

header.site {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
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: 62px; width: auto; }
@media (max-width: 880px) { .logo img { height: 50px; } }
.ghl-embed { width: 100%; border: 0; border-radius: var(--radius); 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;
  border-bottom: 2px solid transparent; padding: 0.2rem 0;
}
nav.main a:hover, nav.main a[aria-current] { border-bottom-color: var(--brass); }
.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.05em; color: var(--ink-soft); }
.head-call .num {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: 1.7rem; line-height: 1; color: var(--pine);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; font-size: 1.25rem; line-height: 1;
  padding: 0.95rem 1.6rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-brass { background: var(--brass); color: var(--pine-black); }
.btn-brass:hover { background: var(--brass-bright); }
.btn-ghost { background: transparent; color: var(--on-dark); border: 2px solid oklch(0.97 0.008 120 / 0.55); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-pine { background: var(--pine); color: var(--on-dark); }
.btn-pine:hover { background: var(--pine-deep); }
.btn-xl { font-size: 1.5rem; padding: 1.1rem 2rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--on-dark);
  background: var(--pine-black);
  overflow: clip;
}
.hero .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.42;
}
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.20 0.05 170 / 0.25), oklch(0.20 0.05 170 / 0.85) 78%);
}
.hero .wrap { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero .kicker {
  font-weight: 600; color: var(--brass-bright); font-size: 1.05rem; margin-bottom: 0.75rem;
}
.hero h1 { max-width: 14ch; }
.hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--on-dark-soft); max-width: 52ch; margin: 1.1rem 0 1.8rem; }
.hero .cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.hero .chips { display: flex; gap: 0.6rem 1.4rem; flex-wrap: wrap; margin-top: 2rem; font-size: 0.95rem; 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; }

/* ---------- sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; margin-top: 0.9rem; }
.on-surface { background: var(--surface); }
.on-pine { background: 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 */
.trust { border-block: 1px solid var(--line); background: var(--bg); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; padding: 1.1rem 0; }
.trust .item { display: flex; flex-direction: column; }
.trust .big { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--pine); }
.trust .small { font-size: 0.85rem; color: var(--ink-soft); }

/* service tiles */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.svc {
  position: relative; border-radius: var(--radius); overflow: clip;
  background: var(--pine-black); color: var(--on-dark); text-decoration: none;
  min-height: 240px; display: flex; align-items: flex-end;
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 0.5s var(--ease), opacity 0.3s var(--ease); }
.svc:hover img { transform: scale(1.04); opacity: 0.7; }
.svc .body { position: relative; padding: 1.1rem 1.2rem; background: linear-gradient(0deg, oklch(0.20 0.05 170 / 0.92), transparent); width: 100%; }
.svc h3 { color: var(--on-dark); margin-bottom: 0.2rem; }
.svc p { font-size: 0.92rem; color: var(--on-dark-soft); }
.svc .go { color: var(--brass-bright); font-weight: 600; font-size: 0.92rem; }

/* 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); width: 100%; height: 100%; object-fit: cover; }
@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.4rem; }
.area-links a {
  text-decoration: none; font-weight: 600; color: var(--pine);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem;
  transition: background 0.18s var(--ease);
}
.area-links a:hover { background: var(--surface); }
.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.9rem 0; }
.faq summary { font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; color: var(--brass-deep); line-height: 1; }
.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-deep); color: var(--on-dark); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: 0.8rem; align-content: start;
}
.phone-panel .num {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.4rem); color: var(--on-dark); text-decoration: none; line-height: 1;
}
.phone-panel .num:hover { color: var(--brass-bright); }

/* CTA band */
.cta-band { background: var(--brass); color: var(--pine-black); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: clamp(2rem, 4vw, 2.8rem) 0; }
.cta-band h2 { max-width: 22ch; }
.cta-band .btn { background: var(--pine-black); color: var(--on-dark); }
.cta-band .btn:hover { background: var(--pine); }

/* 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.site h3 { color: var(--on-dark); font-size: 1.1rem; margin-bottom: 0.7rem; }
footer.site a { color: var(--on-dark-soft); text-decoration: none; }
footer.site a:hover { color: var(--on-dark); }
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 165); 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 165 / 0.18);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: 1.35rem; 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(--ink-soft); padding-top: 1.2rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs .wrap { padding: 0; }

/* page hero (interior) */
.page-hero { background: var(--pine-deep); color: var(--on-dark); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); max-width: 18ch; }
.page-hero .sub { color: var(--on-dark-soft); font-size: 1.12rem; max-width: 56ch; margin-top: 0.9rem; }
.page-hero .cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.4rem; }
.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 */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } 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 (max-width: 880px) {
  nav.main { display: none; }
  .callbar { display: grid; }
  .head-call .num { font-size: 1.45rem; }
}
@media (min-width: 881px) {
  footer.site { padding-bottom: 2.5rem; }
}
