/* ============================================================
   DayPro Services — Modern draft (Option B)
   Structure/typography modeled on the Renaissance Homes build
   (Marcellus serif + Montserrat, editorial spacing, squared edges).
   Colors are DayPro's own brand: #005a76 teal, #00223c navy.
   ============================================================ */
:root {
  --navy: #00223c;
  --navy-dark: #001729;
  --teal: #005a76;
  --teal-dark: #004159;
  --accent: #d9822b;
  --accent-dark: #b0651a;
  --ice: #cfe7f0;
  --ice-bg: #f7fafb;
  --teal-tint: #e9f2f6;
  --ink: #17242e;
  --muted: #5b6b75;
  --line: #dde6ea;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(0, 34, 60, 0.14);
  --shadow-sm: 0 4px 14px rgba(0, 34, 60, 0.10);
  --font-head: "Marcellus", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.18;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.container { width: min(1160px, 92%); margin: 0 auto; }
section { padding: clamp(2.2rem, 5vw, 3.8rem) 0; }

/* Eyebrow with flanking rule lines — "— LABEL —" motif */
.eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.eyebrow::before, .eyebrow::after { content: ""; height: 1px; width: 32px; background: currentColor; opacity: 0.55; }
.section-head.center .eyebrow { justify-content: center; }
.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  transition: all 0.22s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ice-bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }

.main-nav ul { display: flex; gap: 1.4rem; flex-wrap: nowrap; }
.main-nav a {
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
  padding: 0.4rem 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--teal); transition: width 0.25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--teal); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 1.4rem; flex-shrink: 0; }
.header-phone {
  font-family: var(--font-body); font-weight: 700; color: var(--navy);
  font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem;
}
.header-phone svg { color: var(--teal); }

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

/* ---------- Hero (centered, full-bleed photo) ---------- */
.hero {
  position: relative; color: #fff;
  padding: clamp(6rem, 15vw, 10.5rem) 0 !important;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,23,41,0.25) 0%, rgba(0,23,41,0.45) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; margin: 0 auto; }
.hero .eyebrow { color: var(--ice); justify-content: center; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero h1 { color: #fff; margin-bottom: 1.3rem; font-weight: 400; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.hero p.lead { font-size: 1.15rem; color: #e3eef3; margin: 0 auto 2.2rem; max-width: 580px; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-chips { display: none; }
.chip {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  color: #eaf2f6; display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ---------- Wave divider (Real Pools signature motif) ---------- */
.section-wave {
  position: relative; z-index: 5; line-height: 0;
  margin-top: -52px; pointer-events: none;
}
.section-wave svg { display: block; width: 100%; height: 52px; }
.section-wave.wave--navy path { fill: var(--navy); }
.section-wave.wave--white path { fill: var(--bg); }

/* ---------- Trust bar → dark stat strip ---------- */
.trust-bar { background: var(--navy); border: 0; }
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; padding: 0;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.5rem; padding: 2.4rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-item:last-child { border-right: 0; }
.trust-item .service-icon {
  width: 44px; height: 44px; margin: 0; flex-shrink: 0;
  background: none; color: var(--ice); display: grid; place-items: center;
}
.trust-item strong {
  font-family: var(--font-head); font-weight: 400; display: block;
  font-size: 1.15rem; color: #fff; letter-spacing: 0.02em;
}
.trust-item span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #a9c2cf;
}

/* ---------- Split / story ---------- */
.featured { background: var(--bg-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.split-media { position: relative; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); }
.media-badge {
  position: absolute; bottom: 1.1rem; left: 1.1rem;
  background: #fff; border-radius: 999px; padding: 0.7rem 1.1rem;
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy);
  z-index: 2;
}
.media-badge svg { color: var(--teal); }
.split-copy .check-list { margin: 1.5rem 0 2rem; display: grid; gap: 0.8rem; }
.check-list { display: grid; gap: 0.8rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink); }
.check-list svg { color: var(--teal); flex-shrink: 0; margin-top: 0.25rem; }

/* ---------- Service cards (photo-first) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: all 0.25s ease; position: relative; overflow: hidden;
  padding: 1.6rem 1.5rem;
}
.service-card:hover { box-shadow: var(--shadow); border-color: var(--teal); transform: none; }
.service-card.has-photo { padding: 0; display: flex; flex-direction: column; }
.service-card.has-photo .card-photo {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.service-card.has-photo:hover .card-photo { transform: scale(1.05); }
.service-card.has-photo .card-body {
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex; flex-direction: column; flex: 1; align-items: flex-start;
}
.service-card h3 { margin-bottom: 0.5rem; font-size: 1.18rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; }
.service-card .card-link {
  display: inline-block; margin-top: auto; padding-top: 1rem; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal);
}
.service-card .service-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.service-card.featured-card { border-color: var(--navy); background: #fff; }
.service-card.featured-card .card-body { background: var(--navy); }
.service-card.featured-card h3 { color: #fff; }
.service-card.featured-card p { color: #a9c2cf; }
.service-card.featured-card .card-link { color: var(--ice); }
.pill {
  position: absolute; top: 0.9rem; right: 0.9rem; left: auto; z-index: 2;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--teal); color: #fff; padding: 0.3rem 0.75rem; border-radius: 999px;
  backdrop-filter: none;
}
.num-badge { display: none; }

/* ---------- Values: numbered narrative list on navy ---------- */
.values { background: var(--navy); color: #fff; }
.values .eyebrow { color: var(--ice); }
.values h2 { color: #fff; }
.values .section-head p { color: #a9c2cf; }
.values-grid { display: grid; gap: 0; counter-reset: why; }
.value-card {
  display: flex; gap: 1.4rem; padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: none; border-left: 0; border-right: 0; border-top: 0; border-radius: 0;
}
.value-card:last-child { border-bottom: 0; }
.value-card .service-icon { display: none; }
.value-card h3 { color: #fff; font-size: 1.08rem; }
.value-card p { color: #a9c2cf; font-size: 0.94rem; margin-top: 0.4rem; }
.value-card::before {
  counter-increment: why;
  content: counter(why, decimal-leading-zero);
  font-family: var(--font-head); font-size: 1.6rem; color: var(--ice);
  flex-shrink: 0; width: 2.8rem;
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.process-step {
  position: relative; padding: 2rem 1.6rem 1.8rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num {
  font-family: var(--font-head); font-weight: 400; font-size: 2.4rem;
  color: var(--teal); line-height: 1; margin-bottom: 0.8rem;
}
.process-step h3 { margin-bottom: 0.4rem; font-size: 1.02rem; }
.process-step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Service area ---------- */
.area-strip { background: var(--bg-soft); padding: 2.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.area-label {
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); display: flex; align-items: center; gap: 0.5rem;
}
.area-label svg { color: var(--teal); }
.area-list { display: flex; flex-wrap: wrap; gap: 0 1.4rem; justify-content: center; }
.area-list .chip {
  background: none; border: 0; padding: 0; color: var(--ink);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff; border-radius: var(--radius); padding: clamp(2.8rem, 6vw, 4.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: #a9c2cf; max-width: 480px; }
.cta-band.has-photo { position: relative; background: var(--navy); overflow: hidden; isolation: isolate; }
.cta-band.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--bg-url); background-size: cover; background-position: center;
}
.cta-band.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(0,23,41,0.93) 30%, rgba(0,23,41,0.58));
}
.cta-band.has-photo > * { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Page hero (interior pages, centered) ---------- */
.page-hero {
  background: var(--navy); color: #fff;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero.with-photo {
  background-image:
    linear-gradient(180deg, rgba(0,23,41,0.62) 0%, rgba(0,23,41,0.8) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
}
.page-hero::after { content: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-weight: 400; }
.page-hero p { color: #dbe8ee; max-width: 560px; margin: 0.9rem auto 0; }
.page-hero .eyebrow { color: var(--ice); justify-content: center; }

/* ---------- About ---------- */
.story-quote {
  background: none; border-left: 3px solid var(--teal); border-radius: 0;
  padding: 0.3rem 0 0.3rem 1.8rem; margin-top: 2rem;
  font-family: var(--font-head); font-weight: 400; font-size: 1.3rem;
  color: var(--navy); font-style: italic;
}
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 2.8rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.stat { text-align: center; padding: 1.8rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat strong { font-family: var(--font-head); font-size: 2.1rem; font-weight: 400; color: var(--teal); display: block; }
.stat span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Before & After featured cards ---------- */
.ba-projects { display: grid; gap: 2.5rem; }
.ba-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: none; transition: box-shadow 0.25s ease;
}
.ba-card:hover { box-shadow: var(--shadow-sm); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.5rem; }
.ba-pair figure { margin: 0; }
.ba-pair .gallery-item { aspect-ratio: 4/3; }
.ba-pair.portrait .gallery-item { aspect-ratio: 3/4; }
.ba-info { padding: 1.2rem 1.5rem 1.5rem; }
.ba-info h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 0.35rem; }
.ba-info p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Portfolio project groups ---------- */
.project-group { margin-bottom: 3.2rem; }
.project-group:last-child { margin-bottom: 0; }
.project-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--line); padding-bottom: 0.7rem; margin-bottom: 1.1rem;
}
.project-head h3 { color: var(--navy); font-size: 1.35rem; }
.project-cat {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); white-space: nowrap;
}
.strip-label {
  font-family: var(--font-body); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin: 1.2rem 0 0.7rem; display: flex; align-items: center; gap: 0.7rem;
}
.strip-label.after { color: var(--teal); }
.strip-label::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-body); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.55rem 1.2rem; border-radius: 999px; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); }
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--bg-soft); box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.tag {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  font-family: var(--font-body); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 3px; color: #fff;
  background: rgba(0,23,41,0.78); backdrop-filter: blur(4px);
}
.tag.after { background: rgba(0,90,118,0.88); }
.gallery-item .zoom {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,23,41,0); transition: background 0.3s; color: transparent;
}
.gallery-item:hover .zoom { background: rgba(0,23,41,0.35); color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(0, 13, 24, 0.93); place-items: center; padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 84vh;
  border-radius: 3px; object-fit: contain;
}
.lightbox-caption { color: #cfe2ea; text-align: center; margin-top: 0.9rem; font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 3px;
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s;
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.info-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 2.4rem 2.2rem; position: sticky; top: 112px;
}
.info-card h3 { color: #fff; margin-bottom: 1.5rem; font-size: 1.4rem; }
.info-row { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.info-row:last-of-type { border-bottom: 0; }
.info-row svg { color: var(--ice); flex-shrink: 0; margin-top: 0.2rem; }
.info-row strong { font-family: var(--font-body); display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.info-row a, .info-row span { color: #bfd4de; font-size: 0.95rem; }
.info-row a:hover { color: #fff; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.6rem; font-size: 0.95rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.95rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--bg-soft);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.ghl-embed { width: 100%; }
.ghl-embed iframe { width: 100% !important; border: 0; height: 700px !important; min-height: 700px !important; border-radius: 6px; display: block; }
@media (max-width: 720px) {
  .ghl-embed iframe { height: 950px !important; min-height: 950px !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9c2cf; padding: 3.8rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2.4rem;
  padding-bottom: 2.8rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h4 { color: var(--ice); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--font-body); }
.site-footer a { color: #a9c2cf; font-size: 0.93rem; }
.site-footer a:hover { color: #fff; }
.footer-grid ul { display: grid; gap: 0.6rem; }
.footer-about p { font-size: 0.93rem; margin-top: 1rem; max-width: 300px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.5rem 0; font-size: 0.82rem;
}
.footer-verse { font-family: var(--font-head); font-style: italic; color: #cfe2ea; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
/* Nav collapses to hamburger well before the inline nav can overflow. */
@media (max-width: 1180px) {
  .main-nav {
    position: fixed; inset: 92px 0 auto 0; background: var(--ice-bg);
    border-bottom: 1px solid var(--line); padding: 1rem 4%;
    transform: translateY(-130%); transition: transform 0.3s ease; z-index: 90;
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0.2rem; flex-wrap: nowrap; }
  .main-nav a { display: block; padding: 0.8rem 0.4rem; font-size: 0.95rem; white-space: normal; }
  .nav-toggle { display: flex; }
}
/* Phone number stays; the "Free Estimate" button gives way on narrow phones. */
@media (max-width: 520px) {
  .header-cta .btn { display: none; }
  .header-phone span { display: none; }
  .header-cta { gap: 0.7rem; }
}
@media (max-width: 980px) {
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .services-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout, .service-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-card { position: static; }
  .ba-projects { grid-template-columns: 1fr !important; }
}
@media (min-width: 860px) {
  .ba-projects { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .trust-item:last-child { border-bottom: 0; }
  .services-grid, .process-grid, .stat-row { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* ---------- Misc leftovers from Option A markup ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }

/* ============================================================
   Real Pools — structural signature (split hero, zig-zag rows,
   connected timeline, footer-integrated CTA). Not shared with
   any other client build.
   ============================================================ */

/* ---------- Split hero ---------- */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; padding: 0 !important; }
.hero-split-content {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem); position: relative; z-index: 2;
}
.hero-split-content .eyebrow { color: var(--ice); }
.hero-split-content h1 { color: #fff; font-weight: 400; margin-bottom: 1.2rem; }
.hero-split-content p.lead { color: #cfe0e8; font-size: 1.1rem; max-width: 480px; margin-bottom: 2rem; }
.hero-split-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-split-badges { display: flex; flex-direction: column; gap: 0.8rem; }
.hero-split-badges .hs-badge {
  display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem;
  color: #dce9ef; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.hero-split-badges .hs-badge:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-split-badges .hs-badge svg { color: var(--accent); flex-shrink: 0; }
.hero-split-media { position: relative; overflow: hidden; min-height: 320px; }
.hero-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split-media { min-height: 280px; order: -1; }
}

/* ---------- Zig-zag service rows ---------- */
.zigzag-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center; padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
}
.zigzag-row:last-child { border-bottom: 0; }
.zigzag-row.flip { direction: rtl; }
.zigzag-row.flip > * { direction: ltr; }
.zigzag-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.2; }
.zigzag-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zigzag-index {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--font-head); font-size: 1.3rem; color: var(--navy);
  background: #fff; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.zigzag-copy .eyebrow { margin-bottom: 0.9rem; }
.zigzag-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 0.8rem; color: var(--navy); font-family: var(--font-head); font-weight: 400; }
.zigzag-copy p { color: var(--muted); margin-bottom: 1.2rem; }
@media (max-width: 860px) {
  .zigzag-row, .zigzag-row.flip { grid-template-columns: 1fr; direction: ltr; }
}

/* ---------- Connected timeline (process) ---------- */
.timeline { display: flex; align-items: flex-start; gap: 0; position: relative; }
.timeline-step { flex: 1; text-align: center; position: relative; padding: 0 1rem; }
.timeline-step .tl-dot {
  width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; margin: 0 auto 1.2rem; position: relative; z-index: 2;
  font-family: var(--font-head); font-size: 1.2rem; box-shadow: 0 0 0 6px var(--bg);
}
.timeline-step::before {
  content: ""; position: absolute; top: 27px; left: -50%; width: 100%; height: 2px;
  background: var(--line); z-index: 1;
}
.timeline-step:first-child::before { content: none; }
.timeline-step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.timeline-step p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 780px) {
  .timeline { flex-direction: column; gap: 2rem; }
  .timeline-step::before { content: none; }
}

/* ---------- Footer-integrated CTA ---------- */
.footer-cta {
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding: clamp(2.4rem, 5vw, 3.5rem) 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.footer-cta p { color: #a9c2cf; max-width: 440px; }
.footer-cta .cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Full-bleed showcase strip (services) ---------- */
.showcase-strip { padding: 0 !important; }
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.showcase-panel {
  position: relative; overflow: hidden; display: flex;
  align-items: flex-end; justify-content: center;
  min-height: clamp(400px, 58vh, 620px); text-decoration: none;
}
.showcase-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.showcase-panel:hover img { transform: scale(1.06); }
.showcase-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,23,41,0.05) 40%, rgba(0,23,41,0.72) 100%);
}
.showcase-copy {
  position: relative; z-index: 2; text-align: center;
  padding: 0 1.4rem 2.6rem; color: #fff; width: 100%;
}
.showcase-copy h3 {
  font-family: var(--font-head); font-weight: 400; color: #fff;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem); letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding-bottom: 0.9rem; margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.55);
}
.showcase-copy h3 svg { color: var(--accent); flex-shrink: 0; }
.showcase-copy p { color: #e3eef3; font-size: 0.95rem; }
.showcase-cta { text-align: center; padding: clamp(2rem, 4vw, 3rem) 0; }
@media (max-width: 1100px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } .showcase-panel { min-height: 380px; } }
@media (max-width: 640px) { .showcase-grid { grid-template-columns: 1fr; } .showcase-panel { min-height: 320px; } }

/* ---------- Split page-hero with photo (subpages) ---------- */
.page-hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 62vh; padding: 0 !important; }
.page-hero-split .phs-content {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 5vw, 4rem);
}
.page-hero-split .phs-content .eyebrow { color: var(--ice); }
.page-hero-split .phs-content h1 { color: #fff; font-weight: 400; }
.page-hero-split .phs-content p { color: #cfe0e8; margin-top: 0.9rem; max-width: 460px; }
.page-hero-split .phs-media { position: relative; overflow: hidden; min-height: 240px; }
.page-hero-split .phs-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
@media (max-width: 860px) {
  .page-hero-split { grid-template-columns: 1fr; min-height: 0; }
  .page-hero-split .phs-media { min-height: 220px; order: -1; }
}

/* ============================================================
   Design polish pass — depth, motion, brand accents.
   No structural/layout changes; visual refinement only.
   ============================================================ */

/* Selection + focus */
::selection { background: var(--teal); color: #fff; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Hero: slow cinematic drift */
.hero { isolation: isolate; }
.hero-bg { animation: heroDrift 22s ease-out forwards; will-change: transform; }
@keyframes heroDrift { from { transform: scale(1); } to { transform: scale(1.08); } }

/* Buttons: lift on hover, gradient primary */
.btn { transition: all 0.22s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(170deg, var(--accent) 0%, var(--accent-dark) 100%); }
.btn-primary:hover { box-shadow: 0 10px 22px rgba(217, 130, 43, 0.35); }
.btn-navy:hover { box-shadow: 0 10px 22px rgba(0, 34, 60, 0.35); }

/* Logo hover */
.logo img { transition: transform 0.25s ease; }
.logo:hover img { transform: scale(1.04); }

/* Zig-zag media: framed images + gentle zoom */
.zigzag-media { outline: 1px solid rgba(0, 90, 118, 0.22); outline-offset: 10px; }
.zigzag-media img { transition: transform 0.6s ease; }
.zigzag-row:hover .zigzag-media img { transform: scale(1.04); }
.zigzag-index { box-shadow: var(--shadow-sm), 0 0 0 4px rgba(217, 130, 43, 0.35); }
.zigzag-copy .card-link { transition: color 0.2s ease, padding-left 0.2s ease; }
.zigzag-copy .card-link:hover { color: var(--accent); padding-left: 0.35rem; }

/* Split media (specialty / map / about photo): matching frame */
.split-media { outline: 1px solid rgba(0, 90, 118, 0.22); outline-offset: 10px; }

/* Trust bar: gold icons, soft hover, subtle depth */
.trust-bar { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); }
.trust-item { transition: background 0.25s ease; }
.trust-item:hover { background: rgba(255, 255, 255, 0.045); }
.trust-item .service-icon { color: var(--accent); }

/* Navy sections: soft glow texture (pool-light feel) */
.values, .site-footer {
  background-image:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(0, 90, 118, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(217, 130, 43, 0.08), transparent 70%);
  background-color: var(--navy);
}

/* Value cards: accent number + hover shift */
.value-card { transition: transform 0.25s ease; }
.value-card:hover { transform: translateX(6px); }
.value-card::before { color: var(--accent); }

/* Process timeline: accent dot ring + hover pop */
.timeline-step .tl-dot { box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(217, 130, 43, 0.4); transition: transform 0.25s ease; }
.featured .timeline-step .tl-dot { box-shadow: 0 0 0 6px var(--bg-soft), 0 0 0 7px rgba(217, 130, 43, 0.4); }
.timeline-step:hover .tl-dot { transform: scale(1.08); }

/* Strip chips: accent check marks */
.area-list .chip::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 0.45rem; }

/* Cards & gallery: hover lift */
.process-step { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.gallery-item { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Staggered reveals in grids */
.trust-bar-inner .trust-item:nth-child(2), .process-grid > :nth-child(2), .values-grid > :nth-child(2), .gallery-grid > :nth-child(2) { transition-delay: 0.08s; }
.trust-bar-inner .trust-item:nth-child(3), .process-grid > :nth-child(3), .values-grid > :nth-child(3), .gallery-grid > :nth-child(3) { transition-delay: 0.16s; }
.trust-bar-inner .trust-item:nth-child(4), .process-grid > :nth-child(4), .values-grid > :nth-child(4), .gallery-grid > :nth-child(4) { transition-delay: 0.24s; }

/* Footer CTA: subtle accent rule above heading */
.footer-cta h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .btn, .value-card, .process-step, .gallery-item, .zigzag-media img, .timeline-step .tl-dot, .logo img { transition: none; }
}
