:root {
  color-scheme: light;
  --ink: #14201e;
  --muted: #5a6864;
  --line: #d7e0db;
  --paper: #f6f7f3;
  --panel: #ffffff;
  --brand: #12362f;
  --brand-2: #1f4f47;
  --gold: #d99a2b;
  --orange: #c7682c;
  --steel: #1e2b2f;
  --blue: #e8f3f5;
  --shadow: 0 16px 40px rgba(23, 33, 31, .12);
  --hard-shadow: 0 10px 0 rgba(18, 54, 47, .1), 0 20px 48px rgba(23, 33, 31, .14);
  --radius: 10px;
  --fast: .15s ease;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto auto auto;
  align-items: center; gap: 12px;
  padding: 10px clamp(14px, 4vw, 40px);
  background: rgba(246,247,243,.94);
  border-bottom: 1px solid rgba(18,54,47,.1);
  box-shadow: 0 8px 24px rgba(23,33,31,.06);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }
.logo-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px;
  color: white; background: linear-gradient(145deg, var(--brand), var(--steel));
  box-shadow: 0 8px 18px rgba(18,54,47,.22);
}
.logo-mark svg { width: 30px; height: 30px; fill: currentColor; }
.logo-accent { fill: var(--gold); }
nav { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
nav a, footer a, .text-link { text-decoration: none; font-weight: 800; }
nav a {
  padding: 9px 12px; border-radius: 8px;
  transition: background var(--fast), color var(--fast), transform var(--fast);
}
nav a:hover { color: var(--brand); background: white; transform: translateY(-1px); }
.global-search { position: relative; }
.global-search input {
  width: 100%; min-height: 42px; border-radius: 8px; border: 1px solid #c9d5cf;
  padding: 10px 12px; font: inherit; background: white;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.global-search input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(36,88,79,.15); outline: none; }
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden;
}
.search-results a { display: block; padding: 11px 13px; text-decoration: none; border-bottom: 1px solid #eef2ef; }
.search-results a:hover { background: var(--blue); }
.weather-pill {
  min-height: 36px; display: grid; place-items: center; padding: 7px 10px;
  border-radius: 8px; background: var(--blue); color: #173b42; font-weight: 800; font-size: 12px;
}

/* Buttons */
.call-button, .primary, .secondary, .depth-card .primary, .depth-card .secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 18px; border-radius: 8px;
  font-weight: 900; text-decoration: none; border: 1px solid transparent;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast);
}
.call-button, .primary {
  color: white; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 18px rgba(18,54,47,.2);
}
.secondary { color: var(--brand); background: white; border-color: var(--line); }
.primary:hover, .secondary:hover, .call-button:hover {
  transform: translateY(-2px); box-shadow: 0 14px 28px rgba(18,54,47,.2);
}
.depth-card .primary, .depth-card .secondary { margin-top: 12px; width: 100%; font-size: 14px; }

/* Hero */
.hero {
  position: relative; min-height: min(680px, 82vh); display: grid; align-items: end;
  overflow: hidden; background: var(--steel);
}
.hero picture, .hero img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture { z-index: 0; }
.hero-video { z-index: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(8,19,17,.9), rgba(8,19,17,.4) 55%, rgba(8,19,17,.12)),
              linear-gradient(0deg, rgba(0,0,0,.28), transparent 48%);
}
.hero-content {
  position: relative; z-index: 3; width: min(760px, calc(100% - 32px));
  margin: 0 0 clamp(28px, 8vh, 64px) clamp(16px, 5vw, 56px); color: white;
  animation: rise-in .45s ease both;
}
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .04em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(38px, 8vw, 88px); line-height: .94; }
h2 { font-size: clamp(26px, 4.2vw, 44px); line-height: 1.05; }
h3 { font-size: 19px; margin-bottom: 8px; }
.hero p, .page-hero p { max-width: 640px; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-proof span {
  padding: 7px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px;
  background: rgba(255,255,255,.1); font-weight: 800; font-size: 13px;
}

/* Strips & sections */
.quick-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.quick-strip a {
  padding: 18px clamp(14px, 3vw, 32px); background: white; text-decoration: none;
  transition: background var(--fast), transform var(--fast);
}
.quick-strip a:hover { background: var(--blue); transform: translateY(-1px); }
.quick-strip strong, .quick-strip span { display: block; }
.quick-strip span { color: var(--muted); margin-top: 4px; font-size: 14px; }
.section, .page-hero { padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 56px); }
.page-hero { background: linear-gradient(135deg, #fafbf7, #eaf2ee); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 860px; margin-bottom: 24px; }
.section-heading p, .split p, .video-band p, .depth-card p, .service-table li, .faq-list p {
  color: var(--muted); font-size: 16px; line-height: 1.6;
}
.tight-top { padding-top: 0; }
.audit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.audit-row div {
  padding: 16px; border-radius: var(--radius); color: white;
  background: linear-gradient(145deg, var(--steel), var(--brand)); box-shadow: var(--hard-shadow);
}
.audit-row strong, .audit-row span { display: block; }
.audit-row span { margin-top: 6px; color: rgba(255,255,255,.82); line-height: 1.45; font-size: 14px; }

/* Cards */
.price-grid, .story-grid, .scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.depth-card {
  position: relative; background: white; border: 1px solid rgba(18,54,47,.12);
  border-radius: var(--radius); padding: 20px;
  box-shadow: 0 6px 0 rgba(18,54,47,.06), 0 14px 32px rgba(23,33,31,.08);
  transition: transform var(--fast), box-shadow var(--fast), border-color var(--fast);
}
.depth-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--brand-2));
  border-radius: var(--radius) var(--radius) 0 0; opacity: .85;
}
.depth-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hard-shadow);
  border-color: #a9c4b8;
}
.scope-card {
  overflow: hidden; background: white; border: 1px solid rgba(18,54,47,.12);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 rgba(18,54,47,.06), 0 14px 32px rgba(23,33,31,.08);
  transition: transform var(--fast), box-shadow var(--fast);
}
.scope-card:hover { transform: translateY(-5px); box-shadow: var(--hard-shadow); }
.scope-card img, .scope-card video {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e8eeea;
}
.scope-card div { padding: 18px; }
.scope-card p { color: var(--muted); line-height: 1.55; font-size: 15px; }
.scope-card a { display: inline-flex; margin-top: 8px; color: var(--brand); font-weight: 900; text-decoration: none; }
.price { color: var(--brand); font-size: 32px !important; font-weight: 950; line-height: 1; margin-bottom: 8px; }
.deal { border-top: 4px solid var(--gold); }
.text-link { display: inline-flex; margin-top: 18px; color: var(--brand); }

/* Service media blocks */
.service-media {
  margin: 10px 0 14px; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: #e8eeea;
}
.service-media img, .service-media video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
}

/* Video band */
.video-band {
  position: relative; min-height: 420px; display: grid; align-items: end;
  padding: clamp(32px, 6vw, 64px); color: white; overflow: hidden; background: var(--brand);
}
.video-wall {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  opacity: .5; filter: saturate(.9) contrast(1.04);
}
.video-wall span:nth-child(1) { background: url("/media/crew.jpg") center / cover; animation: pan 14s ease-in-out infinite alternate; }
.video-wall span:nth-child(2) { background: url("/media/tools.jpg") center / cover; animation: pan 18s ease-in-out infinite alternate-reverse; }
.video-wall span:nth-child(3) { background: url("/media/outdoor.jpg") center / cover; animation: pan 16s ease-in-out infinite alternate; }
.video-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(4,17,15,.88), rgba(4,17,15,.12));
}
.video-band > div:last-child { position: relative; z-index: 1; max-width: 780px; }
.video-band p { color: rgba(255,255,255,.86); }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.map { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-panel, .service-table article, .faq-list details {
  padding: 20px; background: white; border: 1px solid rgba(18,54,47,.12);
  border-radius: var(--radius); box-shadow: 0 6px 0 rgba(18,54,47,.06), 0 14px 32px rgba(23,33,31,.08);
}
.ad-slot {
  margin: 0 clamp(16px, 4vw, 56px); padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius); color: white;
  background: linear-gradient(135deg, var(--steel), var(--brand-2)); box-shadow: var(--shadow);
}
.ad-slot p { max-width: 680px; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.55; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.swatches span { height: 44px; border-radius: 8px; }
.swatches span:nth-child(1) { background: var(--brand); }
.swatches span:nth-child(2) { background: var(--gold); }
.swatches span:nth-child(3) { background: var(--steel); }
.swatches span:nth-child(4) { background: var(--blue); }
.service-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Forms */
.estimate { background: #eaf2ed; }
form:not(.global-search):not(#chat-form) {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 960px;
}
label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #c5d3cc;
  border-radius: 8px; color: var(--ink); background: white; font: inherit;
  transition: border-color var(--fast), box-shadow var(--fast);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(36,88,79,.14); outline: none;
}
textarea { resize: vertical; min-height: 120px; }
.wide { grid-column: 1 / -1; }
button { cursor: pointer; font: inherit; }
button:disabled { cursor: not-allowed; opacity: .65; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
}
.form-success {
  grid-column: 1 / -1; padding: 14px 16px; border-radius: 8px;
  background: #e6f6ea; border: 1px solid #9dcea8; color: #1a4a2a; font-weight: 800;
}

.faq-list { display: grid; gap: 10px; }
summary { cursor: pointer; font-weight: 900; font-size: 18px; }

/* Chat */
.chatbot { position: fixed; right: 14px; bottom: 72px; z-index: 25; width: min(340px, calc(100vw - 28px)); }
.chat-toggle {
  width: 100%; min-height: 46px; border: 0; border-radius: 8px; color: white;
  background: var(--steel); font-weight: 950; box-shadow: var(--shadow);
}
.chat-panel {
  margin-top: 6px; overflow: hidden; background: white; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: var(--shadow);
}
.chat-log { max-height: 260px; overflow: auto; padding: 12px; font-size: 14px; }
#chat-form { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 8px; border-top: 1px solid var(--line); }
#chat-form button {
  border: 0; border-radius: 8px; padding: 0 14px; color: white; background: var(--brand); font-weight: 900;
}

/* Modal */
.discount-modal {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px;
  background: rgba(15,22,20,.55); animation: fade-in .18s ease both;
}
.discount-card {
  position: relative; width: min(460px, 100%); padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius); background: white; box-shadow: 0 24px 64px rgba(0,0,0,.26);
}
.discount-card h2 { font-size: clamp(26px, 4vw, 40px); }
.icon-btn {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 8px; background: white; font-weight: 900;
}

/* Footer */
footer {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center;
  padding: 24px clamp(16px, 4vw, 56px) 88px; color: white; background: var(--brand);
}
footer span, footer a { display: block; color: rgba(255,255,255,.82); margin-top: 4px; font-size: 14px; }
.payment-row { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-row span {
  padding: 6px 9px; border-radius: 6px; background: rgba(255,255,255,.12); font-weight: 800; font-size: 12px;
}
.ticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; gap: 20px; overflow: hidden; padding: 7px 0; color: white; background: var(--steel); white-space: nowrap;
}
.ticker span { animation: ticker 20s linear infinite; font-weight: 800; font-size: 13px; }
.mobile-cta { display: none; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  nav { grid-column: 1 / -1; justify-content: center; }
  .weather-pill { display: none; }
  .price-grid, .story-grid, .scope-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr; padding: 10px 12px; }
  .brand { justify-content: center; }
  nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; width: 100%; font-size: 12px; }
  nav a {
    display: grid; place-items: center; min-height: 36px; background: white;
    border: 1px solid var(--line); border-radius: 8px; padding: 6px;
  }
  .call-button { display: none; }
  .hero { min-height: 70vh; }
  .hero::after { background: linear-gradient(0deg, rgba(9,24,21,.94), rgba(9,24,21,.4)); }
  .hero-content { margin: 0 14px 28px; width: calc(100% - 28px); }
  .hero-actions a, .quick-strip, .price-grid, .story-grid, .scope-grid, .audit-row, .split, .service-table,
  form:not(.global-search):not(#chat-form) { grid-template-columns: 1fr; width: 100%; }
  .quick-strip { display: grid; }
  .section, .page-hero { padding: 36px 14px; }
  .video-band { min-height: 360px; padding: 28px 14px; }
  .video-wall { grid-template-columns: 1fr; }
  .video-wall span:nth-child(2), .video-wall span:nth-child(3) { display: none; }
  footer { grid-template-columns: 1fr; padding-bottom: 100px; }
  .chatbot { right: 10px; bottom: 110px; width: min(160px, calc(100vw - 20px)); }
  .chatbot:has(.chat-panel:not([hidden])) { width: calc(100vw - 20px); }
  .mobile-cta {
    position: fixed; right: 10px; bottom: 32px; left: 10px; z-index: 24;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
    background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  }
  .mobile-cta a {
    min-height: 46px; display: grid; place-items: center; border-radius: 7px;
    color: white; background: var(--brand); font-weight: 950; text-decoration: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@keyframes pan { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-120vw); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
