@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@500;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ═══════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   Palette derived from West Coast Plumbing/Pipelines brand:
   - Primary: near-black charcoal (logo colour, site nav)
   - Accent: mid-blue (CTA buttons, hover states visible on live site)
   - Neutral greys for backgrounds, text
═══════════════════════════════════════════════ */
:root {
  --primary:      #1c2b39;   /* dark navy-charcoal — logo/nav */
  --primary-dark: #131e28;   /* darker shade for topbar/footer */
  --accent:       #2c6fad;   /* mid-blue — CTA buttons, highlights */
  --accent-dark:  #235a8e;
  --accent-light: #e8f1f9;
  --light-bg:     #f4f5f7;
  --border:       #dde1e7;
  --text:         #1c2b39;
  --text-muted:   #5a6472;
  --white:        #ffffff;

  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --container:    1280px;
  --pad-section:  88px;
  --radius:       3px;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.25s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.4rem; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 52px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  :root { --pad-section: 56px; }
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  border-radius: var(--radius);
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* ═══════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════ */
.topbar {
  background: var(--primary-dark);
  padding: 0;
  border-bottom: 2px solid var(--accent);
}
.topbar .container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  padding: 10px 0;
}
.topbar-left svg { flex-shrink: 0; opacity: 0.4; }
.topbar-right {
  display: flex;
  align-items: stretch;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 10px 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.topbar-contact svg { opacity: 0.4; flex-shrink: 0; color: var(--white); }
.topbar-contact-label {
  color: rgba(255,255,255,0.45);
}
.topbar-contact a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.topbar-contact a:hover { color: rgba(255,255,255,0.75); }
.topbar-contact strong { display: none; }
.topbar-divider { display: none; }
@media (max-width: 768px) {
  .topbar-left { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-right { flex-direction: row; align-items: center; width: 100%; justify-content: center; }
  .topbar-contact { padding: 8px 12px; border-left: 1px solid rgba(255,255,255,0.1); border-bottom: none; font-size: 0.72rem; }
  .topbar-contact:first-child { border-left: none; }
  .topbar-contact-label { display: none; }
}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.site-nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  will-change: box-shadow;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  transition: height 0.3s ease;
}
.site-nav.scrolled .container {
  height: 100px;
}
.nav-logo img {
  height: 150px;
  width: auto;
  transition: height 0.3s ease;
  will-change: height;
}
.site-nav.scrolled .nav-logo img {
  height: 90px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links a {
  padding: 8px 13px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  border-radius: var(--radius);
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta-link {
  margin-left: 10px;
  padding: 9px 18px !important;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius);
}
.nav-cta-link:hover {
  background: var(--accent-dark);
  color: var(--white) !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--primary);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #131e28;
  z-index: 200;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-overlay.open { display: block; }
.nav-overlay-inner {
  padding: 100px 24px 40px;
  box-sizing: border-box;
}
.nav-overlay a {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 0;
  line-height: 1;
  text-align: center;
  display: block;
  transition: color 0.18s;
  width: 100%;
}
.nav-overlay a:hover,
.nav-overlay a:active { color: var(--accent); }
.nav-overlay-close {
  position: fixed;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 8px;
  z-index: 202;
}
.nav-overlay-close:hover { color: var(--white); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.38;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(19,30,40,0.88) 40%,
    rgba(19,30,40,0.25) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 88px 0 120px;
}
.hero-content {
  max-width: 580px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.77rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.05;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 480px;
}
/* No buttons in hero above trust bar — per feedback */

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 56px 0 64px; }
  .hero-overlay { background: rgba(19,30,40,0.82); }
}

/* ═══════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════ */
.trust-bar {
  background: var(--accent);
  padding: 0;
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.trust-item {
  padding: 26px 16px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.trust-item:last-child { border-right: none; }
.trust-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.72);
}
@media (max-width: 640px) {
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.18); }
  .trust-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.18); }
}

/* ═══════════════════════════════════════════════
   ABOUT INTRO
═══════════════════════════════════════════════ */
.about-intro {
  padding: var(--pad-section) 0;
  background: var(--white);
}
.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images { position: relative; padding-bottom: 40px; }
.about-img-main {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img-secondary {
  position: absolute;
  bottom: 0; right: -24px;
  width: 42%;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 5px solid var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.about-img-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 18px; }
.about-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.97rem;
}
.about-checklist {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--primary);
}
.check-item::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='white'%3E%3Cpath fill-rule='evenodd' d='M14.7 4.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3.5-3.5a1 1 0 111.4-1.4L7 10.59l6.3-6.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.about-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-badges img {
  display: block;
  width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.2s;
}
.about-badges img:hover { opacity: 0.8; }

@media (max-width: 880px) {
  .about-intro .container { grid-template-columns: 1fr; gap: 60px; }
  .about-img-secondary { right: -12px; }
}

/* ═══════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════ */
.why-us {
  padding: var(--pad-section) 0;
  background: var(--primary);
}
.why-us .eyebrow { color: rgba(255,255,255,0.45); }
.why-us h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.why-intro {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 40px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 30px 26px;
  transition: background 0.18s;
}
.why-card:hover { background: rgba(255,255,255,0.09); }
.why-card h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
.services-section {
  padding: var(--pad-section) 0;
  background: var(--light-bg);
}
.section-header {
  margin-bottom: 40px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  color: var(--text-muted);
  max-width: 500px;
  font-size: 0.97rem;
}

/* Featured card — Drain Laying */
.service-card--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}
.service-card--featured .service-img {
  aspect-ratio: auto;
  min-height: 360px;
}
.service-card--featured .service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.service-card--featured .service-body {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card--featured h3 { font-size: 1.6rem; margin-bottom: 12px; }
.service-card--featured p { margin-bottom: 20px; }

.service-featured-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
  width: fit-content;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.service-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.service-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Secondary two-column grid */
.services-grid-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.service-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 26px 26px 30px; }
.service-body h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.service-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}
.service-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.18s;
}
.service-link:hover { gap: 9px; }

.about-link { margin-top: 20px; }

@media (max-width: 880px) {
  .service-card--featured { grid-template-columns: 1fr; }
  .service-card--featured .service-img { min-height: 240px; }
  .service-card--featured .service-body { padding: 28px 24px; }
  .services-grid-secondary { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   COMMUNITY
═══════════════════════════════════════════════ */
.community-section {
  padding: var(--pad-section) 0;
  background: var(--white);
}
.community-section .container-OLD {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.community-text h2 { margin-bottom: 18px; }
.community-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 14px;
}
.community-text .btn { margin-top: 14px; }
.community-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.comm-tile {
  background: var(--light-bg);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 22px 20px;
}
.comm-tile-wide { grid-column: 1 / -1; }
.comm-tile h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  margin-bottom: 7px;
}
.comm-tile p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .community-section .container-OLD { grid-template-columns: 1fr; gap: 48px; }
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact-section {
  padding: var(--pad-section) 0;
  background: var(--light-bg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; }
.contact-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { color: var(--white); }
.contact-detail-text strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.55;
}
.contact-detail-text a {
  color: var(--accent);
}
.contact-detail-text a:hover {
  text-decoration: underline;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: 5px;
  padding: 38px 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.18s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .btn { width: 100%; text-align: center; }

@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════ */
.cta-band {
  background: var(--primary-dark);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p {
  color: rgba(255,255,255,0.6);
  font-size: 0.97rem;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img {
  height: 110px; width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 270px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.18s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-col p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer-col strong { color: rgba(255,255,255,0.8); }
.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: inherit; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ═══════════════════════════════════════════════
   COMMUNITY — updated layout with image
═══════════════════════════════════════════════ */
.community-image {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.community-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.community-text > p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* override community grid to image left, text right */
.community-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.community-tiles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
/* Community section — tighter, image natural not stretched */
.community-section {
  padding: 64px 0;
}
.community-image {
  aspect-ratio: unset;
  align-self: center;
}
.community-image img {
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
}
.community-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 12px; }
.community-text > p { font-size: 0.92rem; margin-bottom: 18px; }
.comm-tile { padding: 13px 16px; }
.comm-tile h4 { font-size: 0.82rem; margin-bottom: 3px; }
.comm-tile p { font-size: 0.82rem; }

/* Community mobile — image stacks above text */
@media (max-width: 880px) {
  .community-section .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .community-image {
    order: -1;
  }
  .community-image img {
    max-height: 300px;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════
   INNER PAGE SHARED STYLES
═══════════════════════════════════════════════ */
.page-hero {
  position: relative;
  background: var(--primary-dark);
  border-bottom: 4px solid var(--accent);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.3;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(19,30,40,0.85) 50%, rgba(19,30,40,0.4) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-hero-inner {
  padding: 56px 0 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.page-hero .eyebrow { color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  padding-bottom: 4px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.18s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }

/* Two-col content layout */
.page-content {
  padding: var(--pad-section) 0;
  background: var(--white);
}
.page-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 72px;
  align-items: start;
}
.page-content-grid.wide {
  grid-template-columns: 1fr;
}

/* Inline content styles */
.prose h2 { margin-bottom: 16px; }
.prose h3 {
  font-size: 1.2rem;
  margin: 32px 0 10px;
  color: var(--primary);
}
.prose p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.prose blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--light-bg);
  border-radius: 0 4px 4px 0;
}
.prose blockquote p {
  color: var(--primary);
  font-style: italic;
  margin: 0 0 8px;
}
.prose blockquote cite {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: normal;
}
.prose ul {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.prose ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Sidebar card */
.sidebar-card {
  background: var(--light-bg);
  border-radius: 4px;
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 12px;
}
.sidebar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.sidebar-card .btn { width: 100%; text-align: center; }

/* Vision/Mission cards */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}
.vm-card {
  background: var(--primary);
  border-radius: 4px;
  padding: 28px 24px;
}
.vm-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}
.vm-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Service detail blocks */
.service-detail {
  padding: var(--pad-section) 0;
}
.service-detail:nth-child(even) { background: var(--light-bg); }
.service-detail:nth-child(odd)  { background: var(--white); }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-detail-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.service-detail-text .eyebrow { margin-bottom: 8px; }
.service-detail-text h2 { margin-bottom: 14px; }
.service-detail-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.service-detail-list li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='white'%3E%3Cpath fill-rule='evenodd' d='M14.7 4.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3.5-3.5a1 1 0 111.4-1.4L7 10.59l6.3-6.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Community page */
.community-story {
  padding: var(--pad-section) 0;
  background: var(--white);
}
.community-story + .community-story {
  background: var(--light-bg);
}
.community-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.community-story-inner.reverse { direction: rtl; }
.community-story-inner.reverse > * { direction: ltr; }
.community-story-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.community-story-img img { width: 100%; height: 100%; object-fit: cover; }
.community-story-text .eyebrow { margin-bottom: 8px; }
.community-story-text h2 { margin-bottom: 14px; }
.community-story-text p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* KOI quote block */
.koi-quote {
  background: var(--primary);
  border-radius: 4px;
  padding: 32px 36px;
  margin: 32px 0;
  position: relative;
}
.koi-quote::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.4;
  position: absolute;
  top: 8px; left: 24px;
  line-height: 1;
}
.koi-quote p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.75;
  font-style: italic;
  padding-left: 8px;
}

/* Guarantee page */
.guarantee-intro {
  padding: var(--pad-section) 0;
  background: var(--white);
}
.guarantee-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.guarantee-points {
  padding: var(--pad-section) 0;
  background: var(--light-bg);
}
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.guarantee-card {
  background: var(--white);
  border-radius: 4px;
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.guarantee-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.guarantee-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.guarantee-badge-section {
  padding: var(--pad-section) 0;
  background: var(--primary);
  text-align: center;
}
.guarantee-badge-section h2 { color: var(--white); margin-bottom: 12px; }
.guarantee-badge-section p { color: rgba(255,255,255,0.65); max-width: 540px; margin: 0 auto 36px; font-size: 0.97rem; }
.guarantee-badge-section img { height: 100px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); opacity: 0.85; }

/* Map embed */
.map-embed {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 4px;
  display: block;
  margin-top: 32px;
  filter: grayscale(0.2);
}

@media (max-width: 880px) {
  .page-content-grid { grid-template-columns: 1fr; gap: 40px; }
  .vm-grid { grid-template-columns: 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; gap: 36px; }
  .service-detail-inner.reverse { direction: ltr; }
  .community-story-inner { grid-template-columns: 1fr; gap: 36px; }
  .community-story-inner.reverse { direction: ltr; }
  .guarantee-intro .container { grid-template-columns: 1fr; gap: 40px; }
  .guarantee-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 540px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}

/* Clean service card hover — accent left edge on hover, no static border */
.service-card {
  border-left: 3px solid transparent;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.service-card:hover {
  border-left-color: var(--accent);
}

/* Guarantee cards — numbered style */
.guarantee-card h3::before {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(44,111,173,0.12);
  line-height: 1;
  margin-bottom: 8px;
}
.guarantee-grid .guarantee-card:nth-child(1) h3::before { content: '01'; }
.guarantee-grid .guarantee-card:nth-child(2) h3::before { content: '02'; }
.guarantee-grid .guarantee-card:nth-child(3) h3::before { content: '03'; }
.guarantee-grid .guarantee-card:nth-child(4) h3::before { content: '04'; }
.guarantee-grid .guarantee-card:nth-child(5) h3::before { content: '05'; }
.guarantee-grid .guarantee-card:nth-child(6) h3::before { content: '06'; }

/* Community logos grid */
.community-logos {
  padding: 56px 0;
  background: var(--light-bg);
  text-align: center;
}
.community-logos h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-family: var(--font-body);
  font-weight: 600;
}
.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logos-grid img {
  height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: opacity 0.2s, filter 0.2s;
}
.logos-grid img:hover {
  filter: none;
  opacity: 1;
}

/* Community sustainability images */
.sustainability-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.sustainability-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Three-column secondary services grid */
.services-grid-secondary--three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px) {
  .services-grid-secondary--three { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   NAV DROPDOWN
═══════════════════════════════════════════════ */
.nav-has-dropdown {
  position: relative;
}
.nav-has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.5;
  transition: transform 0.18s;
}
.nav-has-dropdown:hover > a::after {
  transform: rotate(180deg);
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 240px;
  z-index: 99;
  list-style: none;
  padding: 8px 0;
}
.nav-has-dropdown:hover .nav-dropdown {
  display: block;
}
.nav-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  transition: color 0.18s, background 0.18s;
  border-radius: 0;
  white-space: nowrap;
}
.nav-dropdown li a:hover {
  color: var(--accent);
  background: var(--light-bg);
}

/* Mobile overlay sub-links */
.nav-overlay-sub {
  font-size: 1.1rem !important;
  padding: 5px 0 !important;
  color: rgba(255,255,255,0.5) !important;
  letter-spacing: 0.02em !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  text-transform: none !important;
}
.nav-overlay-sub:hover {
  color: var(--accent) !important;
}

/* ═══════════════════════════════════════════════
   FORMSPREE AJAX STATES
═══════════════════════════════════════════════ */
.fs-success {
  display: none;
  background: #f0faf4;
  border: 1px solid #a8dbb8;
  border-radius: var(--radius);
  padding: 20px 20px;
  margin-bottom: 20px;
  color: #1a6b3a;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}
.fs-error-global {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
  color: #b91c1c;
  font-size: 0.88rem;
}
.fs-field-error {
  display: none;
  color: #b91c1c;
  font-size: 0.8rem;
  margin-top: 4px;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #fca5a5;
}

/* ═══════════════════════════════════════════════
   MOBILE MENU — simple dropdown, anchored to nav
   .site-nav is position: sticky, which makes it a
   positioning context for this panel. top: 100% means
   the dropdown always sits directly under the nav's
   own box — whether the nav is at full height or
   shrunk via .scrolled — so it never sits in the wrong
   place after scrolling.
═══════════════════════════════════════════════ */
.mob-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 75vh;
  overflow-y: auto;
  background: #131e28;
  box-shadow: 0 14px 24px rgba(0,0,0,0.18);
  z-index: 150;
  -webkit-overflow-scrolling: touch;
}
.mob-menu.is-open {
  display: block;
}
.mob-menu-links {
  padding: 12px 24px 24px;
  box-sizing: border-box;
}
.mob-menu-links a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
}
.mob-menu-links a:last-child { border-bottom: none; }
.mob-menu-sub {
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: rgba(255,255,255,0.45) !important;
  padding: 6px 0 6px 14px !important;
  border-bottom: none !important;
}

/* Hero tagline */
.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  font-style: italic;
}

/* ── Scroll anchor offset — accounts for sticky nav height ── */
[id] {
  scroll-margin-top: 170px;
}


