:root {
  --paper: #F6F3EA;
  --navy: #1D3D6E;
  --ink: #1B2B45;
  --muted: #4A5A70;
  --cyan: #24C3DB;
  --deep-navy: #12294D;
  --white: #FFFFFF;
  --page-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 160px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--cyan);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.page-shell { width: min(calc(100% - 48px), var(--page-width)); margin: 0 auto; }
.section-pad { padding: 64px 0; }
h1, h2, h3, .card-title {
  margin: 0;
  color: var(--navy);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
}
h1 { font-size: clamp(3.4rem, 6.2vw, 6.4rem); }
h2 { font-size: clamp(2.45rem, 4vw, 4.4rem); }
h3 { font-size: clamp(1.9rem, 2.4vw, 2.8rem); }
p { margin: 0; }

.top-stack { position: sticky; top: 0; z-index: 50; }
.site-header {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 104px;
  padding: 12px max(24px, calc((100vw - var(--page-width)) / 2));
  background: var(--paper);
  border-bottom: 1.5px solid var(--navy);
}
.brand-mark { display: block; width: 76px; height: 76px; }
.brand-mark img { display: block; width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.desktop-nav { display: flex; align-items: stretch; min-height: 50px; }
.desktop-nav a {
  display: flex;
  align-items: center;
  padding: 0 30px;
  color: var(--navy);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  border-left: 1.5px solid var(--navy);
}
.desktop-nav a:last-child { border-right: 1.5px solid var(--navy); }
.desktop-nav a:hover { background: var(--white); }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-cyan, .header-call { background: var(--cyan); border-color: var(--cyan); color: var(--deep-navy); }
.button-outline { border-color: var(--white); color: var(--white); background: transparent; }
.mobile-call { display: none; }
.progress-track { height: 3px; background: var(--navy); }
.progress-track span { display: block; width: 100%; height: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left center; }

.hero {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 72px 0;
  background-image: linear-gradient(90deg, rgba(13, 32, 64, 0.78) 0%, rgba(13, 32, 64, 0.55) 43%, rgba(13, 32, 64, 0.15) 100%), url("/assets/hero-water.jpg");
  background-position: center;
  background-size: cover;
}
.hero-content { max-width: var(--page-width); }
.hero h1 { max-width: 860px; color: var(--white); }
.hero p { max-width: 640px; margin-top: 18px; color: var(--white); font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-actions .button { min-width: 236px; }

.section-heading { display: grid; grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr); gap: 22px; align-items: center; }
.section-heading > span { height: 1.5px; background: var(--navy); }
.section-heading h2 { text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.service-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 20px;
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: 7px;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.service-card:hover { background: var(--white); transform: translateY(-4px); box-shadow: 5px 5px 0 var(--navy); }
.service-card.is-selected { background: var(--white); box-shadow: 5px 5px 0 var(--cyan); }
.service-icon { width: 115px; height: 88px; overflow: visible; }
.service-icon path, .service-icon circle { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .icon-navy { stroke: var(--navy); }
.service-icon .icon-cyan { stroke: var(--cyan); }
.service-icon .filled { fill: var(--cyan); stroke: var(--cyan); }
.card-title { font-size: clamp(1.65rem, 2.4vw, 2.3rem); }
.service-note { max-width: 770px; margin: 26px auto 0; text-align: center; }
.source-note { margin-top: 8px; color: var(--muted); font-size: .94rem; text-align: center; }

.request-section { padding-top: 20px; }
.request-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr); gap: clamp(44px, 7vw, 108px); align-items: start; }
.request-card {
  position: relative;
  padding: 38px clamp(24px, 4vw, 48px) 40px;
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 7px;
}
.request-card::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -10px;
  width: 18px;
  content: "";
  background: radial-gradient(circle at 0 10px, var(--paper) 0 5px, var(--navy) 5.5px 7px, transparent 7.5px) 0 0 / 18px 20px repeat-y;
}
.request-label {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
}
.request-card h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.request-intro { margin-top: 10px; color: var(--muted); font-weight: 600; }
#estimate-form { display: grid; gap: 17px; margin-top: 26px; }
#estimate-form > label, .addr-row > label { display: grid; gap: 7px; color: var(--navy); font-size: 15px; font-weight: 700; line-height: 1.35; }
input:not([type="checkbox"]), select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1.5px solid var(--navy);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.4;
}
textarea { min-height: 102px; resize: vertical; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--cyan); outline-offset: 1px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.addr-row { display: grid; grid-template-columns: 1fr .5fr .65fr; gap: 12px; }
.optional { color: var(--muted); font-weight: 500; }
.photo-field { position: relative; min-height: 114px; padding-bottom: 87px; }
.photo-field::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 76px;
  content: "";
  border: 1.5px dashed var(--navy);
  border-radius: 3px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%231D3D6E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='m8 8 4-4 4 4'/%3E%3Cpath d='M4 16.5V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2.5'/%3E%3C/svg%3E") center no-repeat;
}
.photo-field input[type="file"] { position: absolute; right: 0; bottom: 0; left: 0; width: 100%; height: 76px; margin: 0; cursor: pointer; opacity: 0; }
.photo-hint { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.photo-previews { display: grid; gap: 6px; margin: -4px 0 0; padding: 0; color: var(--muted); font-size: .92rem; list-style: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.safety-note { padding: 12px 0; color: var(--muted); font-size: .96rem; font-weight: 600; }
.consent { grid-template-columns: 22px 1fr; align-items: start; gap: 10px !important; color: var(--muted) !important; font-size: .86rem !important; font-weight: 500 !important; line-height: 1.55 !important; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 700; }
.form-submit { width: 100%; background: var(--navy); border-color: var(--navy); color: var(--white); }
.form-submit:disabled { cursor: wait; opacity: .7; transform: none; }
#form-status { min-height: 1.6em; color: var(--ink); font-weight: 700; }

.how-card { padding-top: 18px; }
.steps { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 18px; padding: 0 0 34px; }
.steps li:not(:last-child)::after { position: absolute; top: 66px; bottom: 8px; left: 32px; width: 1.5px; content: ""; background: var(--navy); }
.step-number { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--deep-navy); font-family: "Barlow Condensed", Impact, sans-serif; font-size: 3.25rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.steps h3 { font-size: clamp(2rem, 3vw, 3rem); }
.steps p { margin-top: 8px; color: var(--muted); }

.area-band { padding: 22px 0; border-top: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); }
.area-band h2 { font-size: clamp(2.15rem, 3.5vw, 3.6rem); text-align: center; }
.safety-line { padding: 23px 0 35px; text-align: center; }
.safety-line p { color: var(--muted); font-weight: 600; }

.site-footer { padding: 36px 0 30px; background: var(--navy); color: var(--white); }
.footer-content { display: grid; grid-template-columns: 100px 1fr auto; gap: 30px; align-items: center; }
.footer-mark { width: 90px; border: 1px solid var(--white); border-radius: 4px; }
.footer-nav { display: flex; align-items: center; gap: 0; }
.footer-nav a { padding: 4px 22px; color: var(--white); font-family: "Barlow Condensed", Impact, sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; line-height: 1; text-decoration: none; border-right: 1px solid var(--white); }
.footer-nav a:first-child { padding-left: 0; }
.footer-nav a:last-child { border-right: 0; }
.footer-call { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 11px 24px; border: 1.5px solid var(--cyan); border-radius: 999px; color: var(--white); font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: .02em; line-height: 1; text-decoration: none; text-transform: uppercase; }
.footer-call:hover { background: var(--deep-navy); }
.footer-call svg, .mobile-call svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.footer-content > p { grid-column: 2 / 4; max-width: 720px; color: var(--white); font-size: .84rem; line-height: 1.45; }
.mobile-bottom-call { display: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 76px 1fr auto; gap: 16px; }
  .desktop-nav a { padding: 0 15px; }
  .desktop-call { padding-inline: 19px; }
  .request-layout { gap: 48px; }
  .footer-content { grid-template-columns: 100px 1fr; }
  .footer-call { grid-column: 2; justify-self: start; }
  .footer-content > p { grid-column: 2; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 140px; }
  body { padding-bottom: 104px; }
  .page-shell { width: 100%; padding-right: 20px; padding-left: 20px; }
  .site-header { grid-template-columns: 56px 1fr 52px; min-height: 80px; padding: 10px 20px; }
  .brand-mark { width: 56px; height: 56px; }
  .desktop-nav, .desktop-call { display: none; }
  .mobile-call { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--deep-navy); }
  .mobile-call svg { width: 24px; height: 24px; }
  .section-pad { padding: 46px 0; }
  .hero { min-height: 465px; padding: 42px 0 46px; background-position: 58% center; }
  .hero h1 { font-size: clamp(3rem, 13vw, 3.8rem); }
  .hero p { margin-top: 14px; font-size: 1.05rem; }
  .hero-actions { display: grid; gap: 12px; margin-top: 26px; }
  .hero-actions .button { width: 100%; min-width: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 0; }
  .section-heading > span { display: none; }
  .section-heading h2 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .service-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .service-card { min-height: 174px; flex-direction: row; justify-content: flex-start; gap: 20px; padding: 20px; text-align: left; }
  .service-card:hover { transform: none; box-shadow: none; }
  .service-icon { flex: 0 0 94px; width: 94px; height: 70px; }
  .card-title { font-size: 2rem; }
  .service-note { margin-top: 22px; }
  .request-section { padding-top: 4px; }
  .request-layout { grid-template-columns: 1fr; gap: 44px; }
  .request-card { padding: 28px 20px 30px; border-radius: 5px; }
  .request-card::before { display: none; }
  .request-card h2 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .addr-row { grid-template-columns: 1fr .5fr .65fr; gap: 8px; }
  .photo-hint { font-size: .9rem; }
  .how-card { padding-top: 0; }
  .steps { gap: 8px; }
  .steps li { grid-template-columns: 60px 1fr; gap: 14px; padding-bottom: 30px; }
  .step-number { width: 52px; height: 52px; font-size: 2.6rem; }
  .steps li:not(:last-child)::after { top: 52px; bottom: 0; left: 25px; }
  .steps h3 { font-size: 2rem; }
  .area-band { padding: 20px 0; }
  .area-band h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .safety-line { padding: 20px 0 26px; }
  .site-footer { padding: 30px 0 26px; }
  .footer-content { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-mark { justify-self: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; row-gap: 11px; }
  .footer-nav a { padding: 2px 12px; font-size: 1.2rem; }
  .footer-nav a:first-child { padding-left: 12px; }
  .footer-call { grid-column: auto; justify-self: center; max-width: 100%; font-size: 1.22rem; }
  .footer-content > p { grid-column: auto; max-width: 500px; justify-self: center; font-size: .8rem; }
  .mobile-bottom-call { position: fixed; right: 88px; bottom: 16px; left: 16px; z-index: 49; display: none; min-height: 52px; align-items: center; justify-content: center; padding: 11px 14px; border-radius: 999px; background: var(--cyan); color: var(--deep-navy); font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(1.12rem, 5vw, 1.4rem); font-weight: 800; letter-spacing: .02em; line-height: 1; text-align: center; text-decoration: none; text-transform: uppercase; box-shadow: 0 5px 0 var(--navy); }
  body.mobile-bar-active .mobile-bottom-call { display: flex; }
}

@media (max-width: 390px) {
  .page-shell { padding-right: 16px; padding-left: 16px; }
  .site-header { padding-right: 16px; padding-left: 16px; }
  .request-card { padding-right: 16px; padding-left: 16px; }
  .consent { font-size: .82rem !important; }
  .footer-nav a { padding-right: 8px; padding-left: 8px; }
  .footer-nav a:first-child { padding-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* photo previews (thumbnails beside each file name) */
.photo-previews li { display: flex; align-items: center; gap: 10px; }
.photo-previews img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; border: 1px solid var(--navy, #1D3D6E); }

/* footer links wrap whole, never squeezed into a column */
.footer-nav { flex-wrap: wrap; row-gap: 12px; }
.footer-nav a { white-space: nowrap; padding: 4px 16px; font-size: 1.2rem; }

/* Production legal, chat and 404 pages */
.legal { max-width: 820px; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 12px; }
.legal h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 36px 0 10px; }
.legal p, .legal li { margin: 0 0 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--navy); font-weight: 600; }
.legal-updated { color: var(--muted); font-size: 15px; }
.chat-placeholder { margin-top: 24px; padding: 16px 20px; border: 2px dashed var(--navy); border-radius: 12px; }
.site-footer p a { color: inherit; }
