/* ============================================================
   Jones Drainage & Septic — Stylesheet
   Palette: deep slate + safety orange + clean white
   ============================================================ */

:root {
  --navy: #0f2a43;
  --navy-2: #16395a;
  --steel: #2d557d;
  --orange: #f47b20;
  --orange-dk: #d9650f;
  --fb: #1877f2;
  --ink: #1b2733;
  --muted: #5b6a7a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --shadow: 0 10px 30px rgba(15, 42, 67, .08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 67, .16);
  --radius: 14px;
  --maxw: 1160px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.05;
  letter-spacing: .2px;
  color: var(--navy);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  font-size: .95rem;
  margin-bottom: 12px;
}
.eyebrow--light { color: #ffb877; }

.hl { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.15rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(244,123,32,.35); }
.btn--primary:hover { background: var(--orange-dk); }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--facebook { background: var(--fb); color: #fff; box-shadow: 0 8px 20px rgba(24,119,242,.3); }
.btn--facebook:hover { background: #1461c9; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cfdae6;
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 38px;
}
.topbar__item { font-weight: 500; }
.topbar__item--dot { position: relative; }
.topbar__phone {
  margin-left: auto;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
}
.topbar__phone:hover { color: var(--orange); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: var(--shadow); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { color: var(--orange); display: flex; }
.brand__text { display: flex; flex-direction: column; font-family: var(--head); line-height: .95; }
.brand__text strong { font-size: 1.4rem; color: var(--navy); text-transform: uppercase; font-weight: 700; }
.brand__text span { font-size: 1rem; color: var(--orange); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 6px 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .2s ease;
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { width: 100%; }

.header__cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 22px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.mobile-nav a.btn { border: none; margin-top: 10px; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--steel) 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(244,123,32,.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding: clamp(70px, 11vw, 140px) 22px clamp(70px, 10vw, 120px);
}
.hero__content { max-width: 760px; }
.hero h1 { color: #fff; margin: 6px 0 22px; }
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #d6e2ef;
  max-width: 620px;
  margin-bottom: 32px;
}
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #ffd9b3;
  font-size: 1.05rem;
}

/* ---------- Trust strip ---------- */
.trust { background: var(--orange); }
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  color: #fff;
}
.trust__item {
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.22);
}
.trust__item:last-child { border-right: none; }
.trust__item strong { font-family: var(--head); font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.trust__item span { font-size: .9rem; opacity: .92; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__sub { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.section__cta {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.section__cta p { font-family: var(--head); font-size: 1.4rem; color: var(--navy); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d4dde7; }
.card__icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: #fff;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card__list li {
  padding-left: 26px;
  position: relative;
  font-size: .96rem;
  color: var(--ink);
}
.card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- Service area ---------- */
.areas__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.areas__text p { color: var(--muted); margin-bottom: 16px; }
.areas__text p strong { color: var(--ink); }
.areas__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 6px 0 18px;
}
.areas__list li {
  padding-left: 24px;
  position: relative;
  font-weight: 500;
}
.areas__list li::before {
  content: "📍";
  position: absolute;
  left: 0;
  font-size: .9rem;
}
.areas__note { font-style: italic; }
.areas__map {
  background: linear-gradient(140deg, var(--navy), var(--steel));
  border-radius: var(--radius);
  min-height: 360px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.areas__map::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 26px);
}
.areas__map-inner {
  position: relative;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.areas__pin { font-size: 3rem; }
.areas__map-inner strong { font-family: var(--head); font-size: 2rem; text-transform: uppercase; }
.areas__map-inner span { color: #cfdae6; }

/* ---------- Why ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why__item {
  padding: 30px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow);
}
.why__num {
  font-family: var(--head);
  font-size: 2.4rem;
  font-weight: 700;
  color: #e8edf3;
  line-height: 1;
}
.why__item h3 { margin: 6px 0 10px; }
.why__item p { color: var(--muted); font-size: .98rem; }

/* ---------- Facebook ---------- */
.fb__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.fb-page, .fb-page span, .fb-page iframe { width: 100% !important; }
.fb__wrap > .fb-page {
  display: flex;
  justify-content: center;
  min-height: 500px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.fb__fallback {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow);
  align-self: stretch;
}
.fb__fallback h3 { margin-bottom: 12px; }
.fb__fallback p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--steel) 100%);
  color: #fff;
  position: relative;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.contact h2 { color: #fff; }
.contact__text > p { color: #d6e2ef; font-size: 1.1rem; margin: 14px 0 30px; max-width: 560px; }
.contact__methods { display: flex; flex-direction: column; gap: 14px; }
.contact__method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 16px 20px;
  transition: background .2s ease, transform .15s ease;
}
.contact__method:not(.contact__method--static):hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.contact__icon { font-size: 1.6rem; }
.contact__method small { display: block; color: #aac2db; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }
.contact__method strong { font-family: var(--head); font-size: 1.4rem; }

.contact__card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__card h3 { color: var(--navy); }
.contact__card > p { color: var(--muted); margin-bottom: 6px; }
.contact__hours {
  text-align: center;
  font-family: var(--head);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Footer ---------- */
.footer { background: #0b2138; color: #b8c6d6; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 60px 22px 44px;
}
.footer__brand strong { font-family: var(--head); font-size: 1.5rem; color: #fff; text-transform: uppercase; display: block; margin-bottom: 12px; }
.footer__brand p { font-size: .95rem; max-width: 320px; margin-bottom: 16px; }
.footer__fb {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--fb);
  color: #fff;
  border-radius: 10px;
  transition: background .2s;
}
.footer__fb:hover { background: #1461c9; }
.footer__col h4 {
  color: #fff;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col a { display: block; padding: 6px 0; font-size: .95rem; color: #b8c6d6; transition: color .2s; }
.footer__col a:hover { color: var(--orange); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 22px;
  font-size: .85rem;
  color: #8298ad;
}

/* ---------- Sticky mobile call ---------- */
.sticky-call {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 60;
  background: var(--orange);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 10px 28px rgba(244,123,32,.5);
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .areas__grid, .contact__inner, .fb__wrap { grid-template-columns: 1fr; }
  .areas__map { min-height: 260px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-right: none; }
}

@media (max-width: 560px) {
  .topbar__item--dot { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .sticky-call { display: inline-flex; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
