@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --harbor: #1B3450;
  --harbor-deep: #14263C;
  --steel: #4B5A6B;
  --steel-light: #8494A3;
  --signal: #C89B3C;
  --signal-deep: #A87F2C;
  --dock-teal: #2E7B85;
  --paper: #F6F3EC;
  --paper-dim: #EBE6DA;
  --ink: #14263C;
  --line: rgba(20, 38, 60, 0.14);
  --line-on-dark: rgba(246, 243, 236, 0.18);
  --radius: 2px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  color: var(--harbor-deep);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.3rem; }

p { max-width: 62ch; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: block;
  text-decoration: none;
}
.logo img {
  display: block;
  height: 42px;
  width: auto;
}
nav.links {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav.links a {
  text-decoration: none;
  color: var(--steel);
  font-size: 0.95rem;
  font-weight: 500;
}
nav.links a:hover { color: var(--harbor-deep); }
.btn {
  display: inline-block;
  background: var(--signal);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--signal-deep); }
.btn.ghost {
  background: transparent;
  border: 1.5px solid var(--harbor);
  color: var(--harbor-deep);
}
.btn.ghost:hover { background: var(--harbor); color: #fff; }
.btn.on-dark { background: var(--signal); }
.btn.ghost.on-dark { border-color: var(--line-on-dark); color: var(--paper); }
.btn.ghost.on-dark:hover { background: var(--paper); color: var(--harbor-deep); }

/* ---------- Hero ---------- */
.hero {
  background: var(--harbor-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  padding: 88px 0 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.hero h1 { color: var(--paper); }
.hero .tag {
  color: var(--signal);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.hero p.lead {
  color: var(--steel-light);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.skyline {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 40px;
}

.stat-row {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--line-on-dark);
  padding: 26px 0;
  flex-wrap: wrap;
}
.stat-row .stat b {
  display: block;
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-size: 1.8rem;
  color: var(--paper);
}
.stat-row .stat span {
  color: var(--steel-light);
  font-size: 0.9rem;
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head p { color: var(--steel); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
}
.card .tag-code {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dock-teal);
  border: 1px solid var(--dock-teal);
  padding: 3px 9px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--steel); font-size: 0.98rem; margin-bottom: 0; }

.band {
  background: var(--paper-dim);
}
.band-dark {
  background: var(--harbor);
  color: var(--paper);
}
.band-dark h2, .band-dark h3 { color: var(--paper); }
.band-dark p { color: var(--steel-light); }

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-check li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
  color: var(--steel);
}
.list-check li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--signal);
  font-weight: 700;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-size: 1.4rem;
  color: var(--harbor-deep);
}
.route-line .dots {
  flex: 1;
  height: 1px;
  background-image: linear-gradient(to right, var(--steel-light) 40%, rgba(255,255,255,0) 0%);
  background-position: bottom;
  background-size: 10px 1px;
  background-repeat: repeat-x;
  position: relative;
  top: -6px;
}
.route-line .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

table.pricing {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
table.pricing th, table.pricing td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
table.pricing th {
  color: var(--steel);
  font-weight: 600;
  font-size: 0.85rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--steel); margin: 0; }

.cta-block {
  background: var(--harbor-deep);
  color: var(--paper);
  padding: 64px 0;
  text-align: left;
}
.cta-block h2 { color: var(--paper); max-width: 20ch; }
.cta-block p { color: var(--steel-light); max-width: 46ch; }
.cta-row { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

footer.site {
  background: var(--harbor-deep);
  color: var(--steel-light);
  padding: 56px 0 30px;
  font-size: 0.92rem;
}
footer.site .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-on-dark);
}
footer.site h4 {
  color: var(--paper);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}
footer.site a {
  color: var(--steel-light);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
footer.site a:hover { color: var(--paper); }
.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.foot-bottom a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.foot-bottom a:hover { color: var(--signal); }
.form-note a {
  color: var(--dock-teal);
  text-decoration: underline;
}

/* ---------- Quote form ---------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}
#quote-result {
  display: none;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 4px 0 18px;
  font-size: 1.1rem;
  color: var(--harbor-deep);
}
#quote-result span {
  display: block;
  font-size: 0.82rem;
  color: var(--steel);
  font-weight: 400;
  margin-top: 2px;
}
#quote-status { display: none; }
.form-note {
  font-size: 0.82rem;
  color: var(--steel-light);
  margin-top: 12px;
}

/* ---------- Location/Route page specific ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--dock-teal); text-decoration: none; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .grid-3, .grid-2, .two-col { grid-template-columns: 1fr; }
  nav.links { display: none; }
  footer.site .foot-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Chat widget ---------- */
#wf-chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 200;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
#wf-chat-toggle:hover { background: var(--signal-deep); }

/* Prompt bubble beside the launcher */
#wf-chat-bubble {
  position: fixed;
  bottom: 38px;
  right: 96px;
  z-index: 200;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 9px 14px 9px 18px;
  box-shadow: 0 6px 20px rgba(20,38,60,0.18);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  animation: wf-bubble-in 0.45s ease both 1.2s;
}
#wf-chat-bubble::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid var(--paper);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
#wf-chat-bubble-close {
  background: none;
  border: none;
  color: var(--steel-light);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
#wf-chat-bubble-close:hover { color: var(--ink); }
#wf-chat-bubble.hidden { display: none; }
@keyframes wf-bubble-in {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* No entrance animation for anyone who's asked for reduced motion */
@media (prefers-reduced-motion: reduce) {
  #wf-chat-bubble { animation: none; }
}

#wf-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 500px;
  max-height: calc(100vh - 140px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
}
#wf-chat-panel.open { display: flex; }

#wf-chat-header {
  background: var(--harbor-deep);
  color: var(--paper);
  padding: 14px 16px;
  font-family: 'Big Shoulders Display', Impact, sans-serif;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#wf-chat-identity {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
#wf-chat-name {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
#wf-chat-role {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--steel-light);
  letter-spacing: 0.02em;
}
#wf-chat-header button {
  background: none;
  border: none;
  color: var(--paper);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}
#wf-chat-disclosure {
  font-size: 0.72rem;
  color: var(--steel-light);
  padding: 6px 16px;
  background: var(--harbor);
}

#wf-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wf-msg {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.wf-msg.user {
  align-self: flex-end;
  background: var(--harbor);
  color: var(--paper);
}
.wf-msg.assistant {
  align-self: flex-start;
  background: var(--paper-dim);
  color: var(--ink);
  border: 1px solid var(--line);
}
/* Long payment URLs must wrap rather than force the bubble wide */
.wf-msg a {
  word-break: break-all;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wf-msg.assistant a { color: var(--dock-teal); }
.wf-msg.user a { color: var(--signal); }
.wf-msg.pending {
  align-self: flex-start;
  color: var(--steel-light);
  font-style: italic;
  font-size: 0.85rem;
}

#wf-chat-input-row {
  display: flex;
  border-top: 1px solid var(--line);
  padding: 10px;
  gap: 8px;
}
#wf-chat-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 11px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  resize: none;
}
#wf-chat-input:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
#wf-chat-send {
  background: var(--signal);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0 16px;
  font-weight: 600;
  cursor: pointer;
}
#wf-chat-send:hover { background: var(--signal-deep); }
#wf-chat-send:disabled { background: var(--steel-light); cursor: not-allowed; }

@media (max-width: 480px) {
  #wf-chat-panel { right: 16px; bottom: 88px; width: calc(100vw - 32px); }
  #wf-chat-toggle { right: 16px; bottom: 16px; }
  #wf-chat-bubble { right: 86px; bottom: 30px; font-size: 0.85rem; }
}


/* ---------- Utility bar (carrier credentials above the nav) ---------- */
.utility-bar {
  background: var(--ink);
  color: var(--paper-dim);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.utility-claims {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--steel-light);
}
.utility-flag {
  color: var(--signal);
  font-weight: 600;
}
.utility-phone {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.utility-phone:hover { color: var(--signal); }

/* ---------- Hero: proof list + the estimate form itself ---------- */
.hero-proof {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 10px;
}
.hero-proof li {
  position: relative;
  padding-left: 26px;
  color: var(--paper-dim);
  font-size: 0.97rem;
  line-height: 1.45;
}
.hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal);
  transform: rotate(-45deg);
}
.hero-form-wrap {
  background: var(--paper);
  border-radius: 14px;
  padding: 26px 26px 30px;
  box-shadow: 0 18px 44px rgba(12,32,40,0.28);
}
.hero-form-head { margin-bottom: 20px; }
.hero-form-head h3 {
  color: var(--harbor-deep);
  margin: 10px 0 6px;
  font-size: 1.5rem;
}
.hero-form-head p {
  color: var(--steel);
  font-size: 0.92rem;
  margin: 0;
}
.hero-form-wrap .form-note { color: var(--steel); }

@media (max-width: 860px) {
  .utility-inner { justify-content: center; text-align: center; }
  .utility-claims { justify-content: center; gap: 12px; font-size: 0.74rem; }
  .utility-phone { display: none; } /* the nav already carries the number on mobile */
  .hero-form-wrap { padding: 20px 18px 24px; }
}

.foot-mark {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(246,243,236,0.12);
}
.foot-mark img { height: 28px; width: auto; opacity: 0.92; }


/* ---------- Real-job clips (portrait 9:16 source) ---------- */
.proof-band {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.clip-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 720px;
  margin: 0 auto;
}
.clip { margin: 0; }
.clip video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;   /* reserves the space so nothing jumps while loading */
  object-fit: cover;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(12,32,40,0.18);
}
.clip figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--steel);
}
@media (max-width: 620px) {
  .clip-row { grid-template-columns: 1fr; max-width: 340px; gap: 30px; }
}
/* An autoplaying loop is exactly what reduced-motion is asking us not to do.
   The poster frame still carries the message. */
@media (prefers-reduced-motion: reduce) {
  .clip video[autoplay] { display: none; }
  .clip:first-child::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    background: var(--ink) url("media/crew-entrance-loop-poster.jpg") center/cover no-repeat;
  }
}


/* ---------- Photography bands ----------
   Deliberately CSS background-images rather than <img>: if a photo file
   isn't in place yet the tile falls back to a brand colour with its
   caption still readable, instead of showing a broken-image icon. These
   are decorative - every claim they illustrate is also in the text. */
.photo-band {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4px;
  background: var(--line);
}
.photo-tile {
  position: relative;
  min-height: 300px;
  background-color: var(--harbor-deep);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.photo-tile span {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0,0,0,0.65);
}
.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,32,40,0.72), rgba(12,32,40,0) 55%);
}
.photo-fleet    { background-image: url("media/photo-fleet.jpg"); }
.photo-wrapping { background-image: url("media/photo-wrapping.jpg"); }
.photo-loaded   { background-image: url("media/photo-loaded.jpg"); }

.service-banner {
  min-height: 340px;
  background-color: var(--harbor-deep);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.service-banner span {
  position: relative;
  z-index: 2;
  padding: 22px 28px;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0,0,0,0.65);
}
.service-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,32,40,0.72), rgba(12,32,40,0) 55%);
}
.photo-commercial  { background-image: url("media/photo-commercial.jpg"); }
.photo-residential { background-image: url("media/photo-residential.jpg"); }
.photo-storage     { background-image: url("media/photo-storage.jpg"); }

@media (max-width: 760px) {
  .photo-band { grid-template-columns: 1fr 1fr; }
  .photo-fleet { grid-column: 1 / -1; }
  .photo-tile { min-height: 200px; }
  .service-banner { min-height: 220px; }
}

.step-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin: 0 0 16px;
}
.consent-note {
  font-size: 0.76rem;
  line-height: 1.5;
  margin: 14px 0 16px;
}
