/* ===== Clear Plumbing — stylesheet ===== */

:root {
  --navy: #0a0e14;
  --navy-2: #12181f;
  --navy-3: #1b232c;
  --blue: #1ea7e0;
  --blue-dark: #0e84b8;
  --blue-light: #6ecdf2;
  --white: #ffffff;
  --gray-50: #f6f9fb;
  --gray-100: #eef2f5;
  --gray-300: #cfd8e0;
  --gray-600: #5b6774;
  --gray-800: #1c232c;
  --shadow-sm: 0 2px 10px rgba(10, 14, 20, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 14, 20, 0.14);
  --shadow-lg: 0 20px 50px rgba(10, 14, 20, 0.35);
  --radius: 14px;
  --max-width: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-alt {
  background: var(--gray-50);
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

h1, h2, h3, h4 {
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-head p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin: 0;
}
.section-dark .section-head p { color: #aab6c2; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(30, 167, 224, 0.35);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 10px 28px rgba(30, 167, 224, 0.45); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  position: relative;
  color: #dbe3ea;
  font-weight: 600;
  font-size: 0.96rem;
  padding-bottom: 4px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  transition: right 0.2s ease;
}
.main-nav a.is-active {
  color: var(--white);
}
.main-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.call-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.call-link svg { width: 19px; height: 19px; color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  width: 42px;
  height: 42px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(100deg, rgba(6, 9, 13, 0.94) 30%, rgba(6, 9, 13, 0.55) 75%),
    linear-gradient(0deg, var(--navy) 0%, rgba(6, 9, 13, 0.35) 30%),
    url("../img/branded-van.jpg") center 38% / cover no-repeat;
  padding: 140px 0 80px;
}

.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 167, 224, 0.16);
  border: 1px solid rgba(30, 167, 224, 0.4);
  color: var(--blue-light);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 18px;
}
.hero h1 span { color: var(--blue-light); }

.hero-sub {
  font-size: 1.15rem;
  color: #cbd5df;
  max-width: 560px;
  margin: 0 0 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: #dbe3ea;
  font-weight: 600;
}
.hero-trust svg { width: 18px; height: 18px; color: var(--blue-light); flex-shrink: 0; }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 46px;
  padding-bottom: 46px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.trust-item .icon-circle { flex-shrink: 0; }
.trust-item h4 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.trust-item p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(30, 167, 224, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg { width: 22px; height: 22px; color: var(--blue); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card .icon-circle { margin-bottom: 18px; width: 52px; height: 52px; }
.service-card .icon-circle svg { width: 25px; height: 25px; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { margin: 0; color: var(--gray-600); font-size: 0.92rem; }

.services-cta {
  text-align: center;
  margin-top: 46px;
}
.services-cta p { color: var(--gray-600); margin-bottom: 18px; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-3);
  border: none;
  padding: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
#galleryGrid .gallery-item:first-child img { object-position: 72% center; }
.gallery-item:hover img { transform: scale(1.07); }

.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gallery-item:hover .cap,
.gallery-item:focus-visible .cap {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.lightbox .lb-cap {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: #cfd8e0;
  font-size: 0.95rem;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.2); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 20px; height: 20px; }

/* ===== Reviews ===== */
.reviews-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 52px 40px;
  box-shadow: var(--shadow-sm);
}
.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
}
.stars svg { width: 26px; height: 26px; color: #f5a623; }
.reviews-card p.lede {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-800);
  max-width: 520px;
  margin: 0 auto 10px;
}
.reviews-card p.sub {
  color: var(--gray-600);
  margin: 0 0 28px;
}
.reviews-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.thumbtack-note {
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 40px auto 0;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.review-card .stars { justify-content: flex-start; margin-bottom: 12px; }
.review-card .stars svg { width: 16px; height: 16px; }
.review-card p.quote {
  color: var(--gray-800);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0 0 16px;
}
.review-card .author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--gray-600);
  font-weight: 600;
}
.review-card .author .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(30, 167, 224, 0.14);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.review-placeholder {
  border-style: dashed;
  border-color: var(--gray-300);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gray-600);
  gap: 10px;
  min-height: 150px;
}
.review-placeholder svg { width: 22px; height: 22px; color: var(--gray-300); }
.review-placeholder span { font-size: 0.86rem; }

/* ===== Service area ===== */
.area-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
}
.area-pill {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 999px;
}
.area-note {
  text-align: center;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { color: #b7c1cb; margin-bottom: 34px; }

.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 34px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon-circle { background: rgba(30, 167, 224, 0.18); }
.contact-list h4 { margin: 0 0 3px; font-size: 0.98rem; }
.contact-list a, .contact-list span { color: #cbd5df; font-size: 0.95rem; }
.contact-list a:hover { color: var(--white); }

.emergency-callout {
  background: rgba(30, 167, 224, 0.1);
  border: 1px solid rgba(30, 167, 224, 0.3);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.emergency-callout h4 { color: var(--blue-light); margin-bottom: 6px; font-size: 0.98rem; }
.emergency-callout p { margin: 0; color: #cbd5df; font-size: 0.9rem; }
.emergency-phone { color: var(--white); font-weight: 700; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 { color: var(--gray-800); margin-bottom: 6px; }
.contact-form-card > p { color: var(--gray-600); margin: 0 0 26px; font-size: 0.93rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 9px;
  border: 1.5px solid var(--gray-300);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 167, 224, 0.14);
}
.field textarea { resize: vertical; min-height: 100px; }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 14px;
  text-align: center;
}
.form-note svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; color: var(--blue); }

/* ===== Thank-you page ===== */
.thanks-hero { min-height: 60vh; display: flex; align-items: center; }
.thanks-content { text-align: center; max-width: 560px; margin: 0 auto; }
.thanks-icon { width: 72px; height: 72px; margin: 0 auto 24px; background: rgba(47, 191, 113, 0.16); }
.thanks-icon svg { width: 34px; height: 34px; color: #2fbf71; }
.thanks-lede { color: #b7c1cb; font-size: 1.05rem; margin-bottom: 34px; }
.thanks-ctas { justify-content: center; }
.footer-bottom-plain { border-top: none; padding-top: 0; }

/* ===== Footer ===== */
.site-footer {
  background: #060a0f;
  color: #9aa7b3;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }

.social-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin: 24px 0 12px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(30, 167, 224, 0.14);
  border: 1px solid rgba(30, 167, 224, 0.4);
  color: var(--blue-light);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social-link svg { width: 19px; height: 19px; }
.social-link:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-2px); }
.social-link.is-placeholder { cursor: default; pointer-events: none; }
.social-link.is-placeholder:hover { transform: none; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 260px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 0.82rem;
}

/* ===== Utility / animation ===== */
.mobile-nav { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.visually-hidden:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  clip: auto;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border-radius: 8px;
  z-index: 999;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .call-link span { display: none; }

  .mobile-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    display: none;
    flex-direction: column;
    padding: 30px 24px;
    gap: 4px;
    z-index: 190;
    overflow-y: auto;
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a {
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
  }
  .mobile-nav a.is-active {
    color: var(--blue-light);
    text-decoration: underline;
    text-decoration-color: var(--blue);
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
  }
  .mobile-nav .btn { margin-top: 20px; }

  .hero { padding: 120px 0 60px; text-align: left; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }

  .trust-strip .container { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .reviews-card { padding: 36px 22px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) and (min-width: 761px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
