/* ==========================================================================
   Bayside Plumbing & Rooter — Global Stylesheet
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-dark: #071527;
  --navy-light: #12294d;
  --orange: #f5821f;
  --orange-dark: #d9691a;
  --orange-text: #c2410c;
  --blue: #0175e0;
  --blue-light: #019af8;
  --charcoal: #1c1c1c;
  --red: #b91c1c;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --gray-100: #eef1f5;
  --gray-300: #cfd8e2;
  --gray-500: #7d8a99;
  --gray-700: #3d4a58;
  --text: #16232f;

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-tech: "Orbitron", "Poppins", "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.14);
  --shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.2);

  --header-h: 76px;
  --mobile-bar-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: var(--mobile-bar-h);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--gray-700); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }

.section-tag {
  display: inline-block;
  color: var(--orange-text);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { margin-top: 12px; font-size: 1.05rem; }

.credibility-band { padding: 44px 0; }
.credibility-band .section-head { margin-bottom: 0; }
.discover-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--orange-text);
  transition: gap 0.2s ease;
}
.discover-link:hover { gap: 12px; }
.hero .discover-link { color: var(--orange); }

.bg-light { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: var(--gray-300); }

.bg-navy-grid {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  color: var(--white);
}
.bg-navy-grid > .container > .section-head h2 { color: var(--white); }
.bg-navy-grid > .container > .section-head p { color: var(--gray-300); }
.bg-navy-grid::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 340px;
  height: 340px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='0.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.07;
  transform: rotate(20deg);
  pointer-events: none;
}
.bg-navy-grid > .container { position: relative; z-index: 1; }

.section-tag-light { color: var(--orange); }
.section-tag-blue { color: var(--blue); }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-call {
  background: var(--orange);
  color: var(--navy);
  box-shadow: var(--shadow-md);
  animation: pulse 2.4s infinite;
}
.btn-call:hover { background: var(--orange-dark); }

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 130, 31, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(245, 130, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 130, 31, 0); }
}

.icon-phone { width: 18px; height: 18px; flex-shrink: 0; }
.ico-inline { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; flex-shrink: 0; }
.ico-inline-lg { width: 22px; height: 22px; vertical-align: -6px; margin-right: 6px; flex-shrink: 0; }

/* Top utility bar ---------------------------------------------------------- */

.top-bar {
  background: var(--navy-dark);
  color: var(--gray-300);
  font-size: 0.82rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}
.top-bar a { color: var(--gray-300); }
.top-bar .top-bar-right { display: flex; gap: 18px; align-items: center; }
.top-bar strong { color: var(--orange); }

/* Header ------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--blue);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 10px 0;
}

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

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand-text { font-family: var(--font-head); line-height: 1.1; }
.brand-text .name { font-weight: 800; font-size: 1.55rem; color: var(--navy); display: block; }
.brand-text .tagline { font-size: 0.76rem; letter-spacing: 1.5px; color: var(--blue); text-transform: uppercase; font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.96rem;
  padding: 6px 0;
  position: relative;
}
.mobile-only-link { display: none; }
.main-nav a.active,
.main-nav a:hover { color: var(--orange-text); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-family: var(--font-head);
}
.header-phone .label { font-size: 0.72rem; color: var(--gray-500); font-weight: 600; }
.header-phone .number { font-size: 1.15rem; font-weight: 800; color: var(--navy); white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; }

/* Emergency strip ------------------------------------------------------------ */

.emergency-strip {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}
.emergency-strip a { text-decoration: underline; }

/* Hero ----------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  color: var(--white);
  padding: 90px 0 100px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(11,31,58,0.94), rgba(11,31,58,0.88));
}

.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero .container { display: block; position: relative; z-index: 2; }
.hero-copy-centered { max-width: 780px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,0.28); }
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

.hero-dots { display: flex; gap: 4px; margin-top: 8px; }
.hero-dot {
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.active::after { background: var(--orange); transform: scale(1.35); }

.hero-logo-badge {
  width: 108px;
  height: 108px;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35)) drop-shadow(0 0 22px rgba(1,117,224,0.55));
  opacity: 0;
  animation: heroPop 0.6s ease forwards;
}
.hero-logo-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 30px;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-family: var(--font-tech);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
.hero h1 span { color: var(--orange); }
.hero .lead { font-size: 1.15rem; color: var(--gray-300); max-width: 620px; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.btn-lg { padding: 19px 38px; font-size: 1.1rem; }

.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .stat { }
.hero-trust .stat .num { font-family: var(--font-tech); font-size: 1.7rem; font-weight: 800; letter-spacing: 0.5px; color: var(--orange); }
.hero-trust .stat .lbl { font-size: 0.8rem; color: var(--gray-300); text-transform: uppercase; letter-spacing: 0.5px; }

/* Trust bar ------------------------------------------------------------------ */

.trust-bar { background: var(--off-white); padding: 26px 0; border-bottom: 1px solid var(--gray-100); border-top: 1px solid var(--gray-100); }
.trust-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.trust-item .ico {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--orange-text);
}

/* Services grid ---------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card .ico {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}
.service-card.water .ico { background: var(--blue); }
.service-card.drain .ico { background: var(--charcoal); }
.service-card.gas .ico { background: var(--red); }
.service-card.sewer .ico { background: var(--navy); }

.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; margin-bottom: 18px; flex: 1; }
.service-card .card-link { font-weight: 700; color: var(--orange-text); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease; }
.service-card .card-link:hover { gap: 10px; }

.service-card.project-card { padding: 0; overflow: hidden; }
.service-card.project-card img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.service-card.project-card:hover img { transform: scale(1.06); }
.service-card.project-card .project-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card.project-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card.project-card p { font-size: 0.9rem; margin-bottom: 16px; flex: 1; }

/* Service card photo variant (homepage "What We Do" grid) ------------------------- */

.service-card.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 0;
  justify-content: flex-end;
}
.service-card.photo-card .card-bg {
  position: absolute;
  inset: -6px;
  background-size: cover;
  background-position: center;
  filter: blur(0) brightness(1) saturate(1);
  transition: transform 0.55s ease, filter 0.55s ease;
}
.service-card.photo-card:hover .card-bg { transform: scale(1.12); filter: blur(3px) brightness(0.7) saturate(1.15); }
.service-card.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.1) 0%, rgba(11,31,58,0.55) 55%, rgba(11,31,58,0.94) 100%);
  transition: background 0.4s ease;
}
.service-card.photo-card:hover::after {
  background: linear-gradient(180deg, rgba(11,31,58,0.4) 0%, rgba(11,31,58,0.72) 55%, rgba(11,31,58,0.96) 100%);
}
.service-card.photo-card .card-content {
  position: relative;
  z-index: 1;
  padding: 24px 24px 26px;
  width: 100%;
}
.service-card.photo-card .ico {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(3px);
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  transition: transform 0.35s ease, background 0.35s ease;
}
.service-card.photo-card:hover .ico { transform: scale(1.1) rotate(-4deg); background: rgba(255,255,255,0.24); }
.service-card.photo-card h3 { color: var(--white); }
.service-card.photo-card p { color: rgba(255,255,255,0.88); }
.service-card.photo-card .card-link { color: var(--orange); transition: gap 0.25s ease, color 0.25s ease; }
.service-card.photo-card:hover .card-link { gap: 11px; color: var(--white); }

/* Why us ------------------------------------------------------------------------ */

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.why-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.why-list { display: grid; gap: 22px; margin-top: 28px; }
.why-item { display: flex; gap: 16px; }
.why-item .num {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--navy); color: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-head);
}
.why-item h4 { color: var(--navy); margin-bottom: 4px; font-size: 1.05rem; }
.why-item p { font-size: 0.92rem; margin: 0; }

/* Process steps ------------------------------------------------------------------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { text-align: center; position: relative; }
.step .step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

/* Testimonials --------------------------------------------------------------------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.stars { color: #ffb400; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: var(--gray-700); margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-head);
}
.testimonial-author .name { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.testimonial-author .loc { font-size: 0.8rem; color: var(--gray-500); }

/* Service areas teaser ---------------------------------------------------------------- */

.areas-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.areas-list span {
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

/* Final CTA banner --------------------------------------------------------------------- */

.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 60px 0;
}
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: var(--gray-300); }
.cta-banner .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------------------- */

.site-footer { background: var(--charcoal); color: var(--gray-300); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-text .name { color: var(--white); }
.footer-brand p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--orange); }

.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.site-footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer ul li a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }

.footer-areas { padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-areas h4 { color: var(--white); font-size: 0.85rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-areas p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.9; margin-bottom: 4px; }
.footer-areas .btn { margin-top: 14px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--orange); }

/* Mobile sticky call bar ------------------------------------------------------------------ */

.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy);
  padding: 10px 14px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.mobile-call-bar .row { display: flex; gap: 10px; }
.mobile-call-bar .btn { flex: 1; padding: 13px 10px; font-size: 0.95rem; }
.mobile-call-bar .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); background: rgba(255,255,255,0.06); }

/* Page hero (interior pages) --------------------------------------------------------------- */

.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumbs { font-size: 0.85rem; color: var(--gray-300); }
.breadcrumbs a { color: var(--orange); }

/* Service detail blocks ------------------------------------------------------------------- */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--gray-100);
}
.service-detail:nth-child(even) .detail-media { order: 2; }
.detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.detail-list { margin: 18px 0; display: grid; gap: 10px; }
.detail-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--gray-700); }
.detail-list li .check { color: var(--orange-text); font-weight: 800; flex-shrink: 0; }

/* Team / About ------------------------------------------------------------------------------ */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 26px 18px; }
.value-card .ico {
  width: 60px; height: 60px; margin: 0 auto 16px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-text);
}

/* Service areas page -------------------------------------------------------------------------- */

.areas-county-head { margin: 0 0 18px; }
.areas-county-head:not(:first-of-type) { margin-top: 44px; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.area-card h4 { margin-bottom: 4px; }
.area-card h4 a { color: inherit; }
.area-card h4 a:hover { color: var(--orange-text); }
.area-card p { font-size: 0.82rem; margin: 0; }
.area-card a { color: var(--orange-text); font-weight: 700; font-size: 1.2rem; display: inline-flex; }

/* Contact page ------------------------------------------------------------------------------- */

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-info-card-solo { max-width: 520px; margin: 0 auto; }
.contact-info-card h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-card .row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-card .row .ico { color: var(--orange); flex-shrink: 0; }
.contact-info-card .row strong { display: block; color: var(--white); margin-bottom: 2px; }
.contact-info-card .row span, .contact-info-card .row a { color: var(--gray-300); font-size: 0.92rem; }
.contact-info-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 24px 0; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* FAQ ------------------------------------------------------------------------------------------ */

.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-q .plus { color: var(--orange-text); font-size: 1.3rem; transition: transform 0.2s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }
.faq-a p { font-size: 0.92rem; }

/* Hero load-in animation (pure CSS, plays immediately on page load, no JS needed) -------------------- */

@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroPop {
  from { opacity: 0; transform: translateY(14px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes textSwapFlash {
  0% { filter: brightness(1.5); }
  100% { filter: brightness(1); }
}
/* Purely a brightness cue — never animates opacity/visibility, so the
   hero headline can never render blank while a slide transition plays. */
.text-swap-flash { animation: textSwapFlash 0.4s ease; }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(245,130,31,0.25), 0 0 0 rgba(245,130,31,0); }
  50% { box-shadow: 0 0 22px rgba(245,130,31,0.55), 0 0 40px rgba(245,130,31,0.18); }
}

.hero-badge {
  opacity: 0;
  animation: heroPop 0.6s ease forwards, glowPulse 3.4s ease-in-out infinite;
  animation-delay: 0.1s, 0.7s;
}
.hero-badge:nth-child(2) { animation-delay: 0.2s, 0.85s; }
.hero-badge:nth-child(3) { animation-delay: 0.3s, 1s; }

.hero h1 { opacity: 0; animation: heroUp 0.7s ease forwards; animation-delay: 0.35s; }
.hero .lead { opacity: 0; animation: heroUp 0.7s ease forwards; animation-delay: 0.5s; }
.hero-actions { opacity: 0; animation: heroUp 0.7s ease forwards; animation-delay: 0.65s; }

.hero-trust .stat { opacity: 0; animation: heroUp 0.6s ease forwards; }
.hero-trust .stat:nth-child(1) { animation-delay: 0.8s; }
.hero-trust .stat:nth-child(2) { animation-delay: 0.88s; }
.hero-trust .stat:nth-child(3) { animation-delay: 0.96s; }
.hero-trust .stat:nth-child(4) { animation-delay: 1.04s; }

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-logo-badge, .hero h1, .hero .lead, .hero-actions, .hero-trust .stat {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-badge { box-shadow: 0 0 14px rgba(245,130,31,0.3); }
}

/* Glow effects — badges, medallions, service cards -------------------------------------------------- */

.trust-item .ico {
  box-shadow: var(--shadow-sm), 0 0 16px rgba(245,130,31,0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.trust-item:hover .ico { box-shadow: var(--shadow-sm), 0 0 28px rgba(245,130,31,0.55); transform: scale(1.08); }

/* Alternate trust-bar icons blue/orange — trust vs. urgency, and a nod to the logo's blue drop */
.trust-item:nth-child(1) .ico,
.trust-item:nth-child(3) .ico,
.trust-item:nth-child(4) .ico {
  color: var(--blue);
  box-shadow: var(--shadow-sm), 0 0 16px rgba(1,117,224,0.32);
}
.trust-item:nth-child(1):hover .ico,
.trust-item:nth-child(3):hover .ico,
.trust-item:nth-child(4):hover .ico {
  box-shadow: var(--shadow-sm), 0 0 28px rgba(1,117,224,0.55);
}

.why-item .num {
  box-shadow: 0 0 18px rgba(245,130,31,0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.why-item:hover .num { box-shadow: 0 0 28px rgba(245,130,31,0.65); transform: scale(1.08); }

.step .step-num {
  box-shadow: 0 0 20px rgba(245,130,31,0.45);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.step:hover .step-num { box-shadow: 0 0 34px rgba(245,130,31,0.7); transform: scale(1.08); }

.value-card .ico {
  box-shadow: 0 0 16px rgba(245,130,31,0.28);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.value-card:hover .ico { box-shadow: 0 0 28px rgba(245,130,31,0.55); transform: scale(1.08); }

.service-card.photo-card {
  box-shadow: var(--shadow-sm), 0 0 22px rgba(245,130,31,0.16);
  transition: transform 0.2s ease, box-shadow 0.4s ease;
}
.service-card.photo-card:hover {
  box-shadow: var(--shadow-md), 0 0 50px rgba(245,130,31,0.6);
}

@media (prefers-reduced-motion: reduce) {
  .trust-item .ico, .why-item .num, .step .step-num, .value-card .ico, .service-card.photo-card { transition: none; }
}

/* Scroll reveal ------------------------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.services-grid > .reveal:nth-child(1), .values-grid > .reveal:nth-child(1), .steps-grid > .reveal:nth-child(1) { transition-delay: 0ms; }
.services-grid > .reveal:nth-child(2), .values-grid > .reveal:nth-child(2), .steps-grid > .reveal:nth-child(2) { transition-delay: 90ms; }
.services-grid > .reveal:nth-child(3), .values-grid > .reveal:nth-child(3), .steps-grid > .reveal:nth-child(3) { transition-delay: 180ms; }
.services-grid > .reveal:nth-child(4), .values-grid > .reveal:nth-child(4), .steps-grid > .reveal:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Subtle section textures (plumbing-flavored, low-contrast so text stays primary) ------------------- */

.bg-light {
  background-color: var(--off-white);
  background-image: radial-gradient(circle at 1px 1px, rgba(11,31,58,0.07) 1px, transparent 0);
  background-size: 24px 24px;
}

.bg-texture {
  position: relative;
  overflow: hidden;
  background-color: var(--off-white);
  background-image: radial-gradient(circle at 1px 1px, rgba(11,31,58,0.07) 1px, transparent 0);
  background-size: 24px 24px;
}
.bg-texture::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B1F3A'%3E%3Cpath d='M12 2C8 8 5 11.5 5 15a7 7 0 0 0 14 0c0-3.5-3-7-7-13z'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.bg-texture > .container,
.bg-texture > .container.section-head { position: relative; z-index: 1; }

.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before {
  content: "";
  position: absolute;
  left: -50px;
  top: -50px;
  width: 280px;
  height: 280px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='0.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.08;
  transform: rotate(-15deg);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }

/* Utility ---------------------------------------------------------------------------------------- */

.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* Responsive ------------------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 0.9rem; }
  .header-phone { display: none; }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(1, 1fr); }
  .why-grid, .about-grid, .service-detail { grid-template-columns: 1fr; }
  .service-detail .detail-media, .service-detail:nth-child(even) .detail-media { order: -1; }
  .detail-media img, .about-grid img, .why-grid img { max-height: 260px; width: 100%; object-fit: cover; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { justify-content: space-between; }
}

@media (max-width: 780px) {
  .top-bar { display: none; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 30px 24px; gap: 22px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; width: 100%; border-bottom: 1px solid var(--gray-100); padding-bottom: 14px; }
  .mobile-only-link { display: block; }
  .nav-toggle { display: flex; width: 44px; height: 44px; }
  .hero-arrow { display: none; }
  .hero { padding: 50px 0 60px; }
  .hero-top-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
  .hero-logo-badge { flex-shrink: 0; width: 92px; height: 92px; margin-bottom: 0; }
  .hero-badges { flex: 1; flex-direction: column; align-items: flex-start; gap: 5px; margin-bottom: 0; }
  .hero-badges .hero-badge { font-size: 0.6rem; padding: 4px 10px; }
  .hero-dots { justify-content: center; }
  .hero-trust { gap: 18px 24px; }
  .credibility-band { padding: 34px 0; }
  .footer-areas p { font-size: 0.8rem; }
  .header-phone { display: none; }
  .header-cta .btn-call span.txt { display: none; }
  .header-cta .btn-call { padding: 12px; border-radius: 50%; }
  .brand-text .name { font-size: 1.05rem; line-height: 1.15; max-width: 170px; }
  .brand-text .tagline { display: none; }
  .site-header .container { gap: 8px; }
  .header-cta { gap: 10px; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: calc(var(--mobile-bar-h) + 12px); }
  .services-grid, .steps-grid, .footer-grid, .values-grid, .areas-grid { grid-template-columns: 1fr; }
  section { padding: 46px 0; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .trust-bar .container { justify-content: center; text-align: center; }
}
