:root {
  --navy: #0F1E2E;
  --navy-2: #16283B;
  --navy-3: #22374D;
  --porcelain: #F8FAFC;
  --tint: #EEF2F6;
  --copper: #C86D2D;
  --copper-dark: #A4541C;
  --copper-soft: #FBEADB;
  --copper-btn: #A4541C;
  --copper-btn-hover: #884314;
  --ink: #0F1E2E;
  --muted: #475569;
  --line: #D8E0E8;
  --radius: 14px;
  --header-h: 56px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--porcelain);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--copper-btn); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: .5rem; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.1rem; border-radius: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-lg { min-height: 54px; padding: .8rem 1.4rem; font-size: 1.0625rem; }
.btn-primary, .btn-call { background: var(--copper-btn); color: #fff; }
.btn-primary:hover, .btn-call:hover { background: var(--copper-btn-hover); color: #fff; }
.btn-ghost { border-color: rgba(248,250,252,.55); color: var(--porcelain); }
.btn-ghost:hover { background: var(--porcelain); color: var(--navy); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,30,46,.97);
  box-shadow: 0 1px 0 rgba(248,250,252,.08);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--porcelain); flex-shrink: 0; }
.brand:hover { color: var(--porcelain); }
.logo-mark { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand-sub { font-size: .74rem; font-weight: 600; color: #F2B98C; letter-spacing: .02em; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.btn-call { min-height: 44px; padding: .5rem .9rem; font-size: .95rem; }
.call-long { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; color: var(--porcelain); border: 1px solid rgba(248,250,252,.25); border-radius: 10px; cursor: pointer;
}
.menu-toggle path { transition: transform .2s ease, opacity .2s ease; transform-origin: 12px 12px; }
.menu-toggle[aria-expanded="true"] .m1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .m2 { opacity: 0; }
.menu-toggle[aria-expanded="true"] .m3 { transform: translateY(-5px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--porcelain); text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav a:hover { color: #F2B98C; }

@media (max-width: 899px) {
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid rgba(248,250,252,.1);
    box-shadow: 0 16px 30px rgba(15,30,46,.35);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { width: min(1180px, 100% - 2.5rem); margin-inline: auto; padding: .5rem 0 1rem; }
  .site-nav li + li { border-top: 1px solid rgba(248,250,252,.08); }
  .site-nav a { display: flex; align-items: center; min-height: 48px; }
}
@media (min-width: 900px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: none; }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .call-short { display: none; }
  .call-long { display: inline; }
  .logo-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.15rem; }
}

/* Hero */
.hero { background: var(--navy); color: var(--porcelain); padding: 2.5rem 0 3.5rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.25rem; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-dark); margin-bottom: .8rem; }
.hero .eyebrow, .section-dark .eyebrow { color: #F2B98C; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.lede { font-size: 1.08rem; color: #D5DEE8; max-width: 38em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.5rem; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; color: #CBD5E1; font-size: .98rem; }
.hero-facts li { position: relative; padding-left: 1.1rem; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.hero-facts strong { color: #fff; }
.hero-photo {
  margin: 0; border-radius: 20px; overflow: hidden;
  background: var(--navy-3); border: 1px solid rgba(248,250,252,.14);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1.1rem; background: var(--navy-3); color: #E2E8F0;
  font-size: .92rem; font-weight: 600; line-height: 1.35;
  border-top: 3px solid var(--copper);
}

@media (max-width: 599px) {
  .hero { padding: 1.75rem 0 2.5rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .lede { font-size: 1rem; }
  .hero .eyebrow { letter-spacing: .08em; }
}
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; }
}

/* Sections */
.section { padding: 4rem 0; }
.section-dark { background: var(--navy-2); color: var(--porcelain); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #D5DEE8; }
.section-tint { background: var(--tint); }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p:last-child { color: #CBD5E1; }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }

/* Service cards */
.card-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem; box-shadow: 0 1px 2px rgba(15,30,46,.04);
}
.card .icon { width: 56px; height: 56px; color: var(--copper); background: var(--copper-soft); border-radius: 14px; padding: 8px; margin-bottom: 1rem; }
.card p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1.1rem; counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--navy-3); border: 1px solid rgba(248,250,252,.08); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.step p { margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--copper-btn); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.trenchless { display: grid; gap: 1.5rem; background: var(--navy); border: 1px solid rgba(200,109,45,.45); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.trenchless p { margin: 0; }
@media (min-width: 900px) { .trenchless { grid-template-columns: 1.2fr 1fr; gap: 3rem; padding: 2.25rem 2.5rem; align-items: center; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; color: #E2E8F0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* Promises */
.promise-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.promise { border-top: 3px solid var(--copper); padding: 1.2rem .25rem 0; }
.promise p { color: var(--muted); margin: 0; }

/* Areas */
.areas-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.areas-grid p { color: var(--muted); }
.area-contact { font-weight: 700; }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.area-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem;
  font-weight: 600; display: flex; align-items: center; gap: .55rem;
}
.area-list li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--copper); }

/* FAQ */
.faq-list { display: grid; gap: .75rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.08rem; text-wrap: pretty; flex: 1; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--copper-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23A4541C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60% no-repeat;
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(180deg); }
.faq p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.contact-info > p { color: var(--muted); }
.nap { background: var(--navy); color: var(--porcelain); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; }
.nap h3 { color: #fff; margin-bottom: .5rem; }
.nap p { margin: 0 0 .4rem; color: #D5DEE8; }
.nap a { color: #F2B98C; font-weight: 700; }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 10px 30px rgba(15,30,46,.06); }
@media (min-width: 600px) { .quote-form { padding: 2rem; } }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 700; font-size: .95rem; }
.opt { font-weight: 500; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  min-height: 48px; padding: .65rem .8rem; border: 1.5px solid #B6C2CF; border-radius: 10px; background: #fff;
}
textarea { resize: vertical; min-height: 120px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(200,109,45,.45); outline-offset: 0; border-color: var(--copper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .92rem; color: var(--muted); margin: .9rem 0 0; }

/* Footer */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 3rem 0 1.5rem; font-size: .98rem; }
.site-footer a { color: #F2B98C; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: .4rem; }
.footer-label { color: #fff; font-weight: 700; margin-bottom: .4rem; }
.footer-base { border-top: 1px solid rgba(248,250,252,.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .9rem; }
.footer-base p { margin: 0; }

/* Thank-you page */
.thanks { min-height: calc(100vh - var(--header-h) - 160px); display: grid; place-items: center; padding: 4rem 0; text-align: center; }
.thanks-card { max-width: 36rem; margin-inline: auto; }
.thanks-icon { width: 72px; height: 72px; margin: 0 auto 1.5rem; }
.thanks p { color: var(--muted); }
.thanks-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
