/* ==========================================================================
   Dock Pros — single stylesheet
   Brand: black + brushed silver + white, lake-blue accent. Premium marine feel.
   ========================================================================== */

:root {
  --bg:        #0b0e12;
  --bg-2:      #12171d;
  --bg-3:      #171d24;
  --panel:     #141a21;
  --ink:       #eef1f4;
  --muted:     #9aa6b2;
  --muted-2:   #6f7c88;
  --silver:    #c9ced4;
  --silver-hi: #f2f4f6;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.14);
  --accent:    #3fb4d6;   /* lake water */
  --accent-2:  #2b8fad;
  --accent-ink:#062430;
  --good:      #57c98a;
  --warn:      #e6b455;
  --danger:    #e06b6b;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
  --font-serif:'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --maxw:      1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--silver-hi); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 78px 0; }
.section-tight { padding: 52px 0; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-sans); font-weight: 650; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #04222c; box-shadow: 0 8px 24px rgba(63, 180, 214, 0.28);
}
.btn-primary:hover { color: #04222c; box-shadow: 0 10px 30px rgba(63, 180, 214, 0.42); }
.btn-silver {
  background: linear-gradient(180deg, #eef1f3, #c3c9cf);
  color: #14181d; box-shadow: var(--shadow-sm);
}
.btn-silver:hover { color: #14181d; }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--silver-hi); background: rgba(63,180,214,.07); }
.btn-lg { padding: 16px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---- Top bar / Nav ------------------------------------------------------ */
.top-bar {
  background: #070a0d; color: var(--muted); font-size: .84rem;
  border-bottom: 1px solid var(--line);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.top-bar a { color: var(--silver); }
.top-bar a:hover { color: var(--silver-hi); }
.top-bar-phone { flex: none; white-space: nowrap; }

/* Lakes ticker — a news-style scrolling headline of the service area.
   The track holds two identical lists; translating it -50% lands the copy
   exactly where the original started, so the loop is seamless. Each item
   carries its own trailing separator (no flex gap) — that keeps the two
   lists tiling perfectly, which the -50% shift depends on. */
.ticker { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 14px; }
.ticker-label {
  flex: none; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 600;
  color: var(--bg); background: var(--accent); padding: 4px 9px; border-radius: 3px; white-space: nowrap;
}
.ticker-viewport {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 32px), transparent 100%);
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 48s linear infinite; }
.ticker-viewport:hover .ticker-track, .ticker-viewport:focus-within .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-list li { display: flex; align-items: center; white-space: nowrap; color: var(--silver); }
.ticker-list li::after { content: "·"; margin: 0 16px; color: var(--accent); opacity: .75; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* No motion: drop the animation and the duplicate list, and let the reader
   swipe/scroll the lakes instead of chasing a moving target. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; }
  .ticker-dup { display: none; }
  .ticker-viewport { overflow-x: auto; scrollbar-width: none; }
  .ticker-viewport::-webkit-scrollbar { display: none; }
}

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 18, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: auto; }
/* Text wordmark for the nav — stays legible where the stacked logo art would be
   too small. The silver gradient echoes the brushed-metal monogram. */
.brand-word {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem;
  letter-spacing: .13em; text-transform: uppercase; line-height: 1;
  background: linear-gradient(180deg, #f4f6f7 0%, #b9bfc5 55%, #8b9298 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #cfd4d9;
}
.brand-word b { font-weight: 600; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); font-weight: 550; font-size: .96rem; padding: 9px 13px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--silver-hi); background: rgba(255,255,255,.05); }
.nav-cta { color: #04222c !important; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.nav-cta:hover { background: linear-gradient(180deg, var(--accent), var(--accent-2)) !important; box-shadow: 0 6px 18px rgba(63,180,214,.35); }
.mobile-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; padding: 4px 8px; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 75% -10%, rgba(63,180,214,.16), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(63,180,214,.10), transparent 55%),
    linear-gradient(180deg, #070a0d, #0b0e12);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 74px 22px 84px; position: relative; z-index: 2; }
/* Logo art is white/silver on solid black; `screen` blend drops the black box
   so it sits seamlessly on the dark hero gradient (black → transparent). */
.hero-logo { height: 132px; width: auto; margin: 0 0 22px; }
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: 1.24rem; margin-top: 12px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; opacity: .5; }
.hero-wave path { fill: #12171d; }

/* ---- Trust strip -------------------------------------------------------- */
.trust { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.trust-item { padding: 22px 16px; text-align: center; }
.trust-item svg { width: 26px; height: 26px; color: var(--accent); margin: 0 auto 10px; }
.trust-item strong { display: block; font-size: 1rem; color: var(--silver-hi); }
.trust-item span { font-size: .86rem; color: var(--muted); }

/* ---- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--bg-3), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.card .card-icon {
  width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: rgba(63,180,214,.12); border: 1px solid rgba(63,180,214,.25); margin-bottom: 16px;
}
.card .card-icon svg { width: 24px; height: 24px; color: var(--accent); }
.card h3 { margin-bottom: .35em; color: var(--silver-hi); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

.section-head { max-width: 62ch; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---- Split / feature ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; color: var(--muted); border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(63,180,214,.14); border: 1px solid rgba(63,180,214,.4);
}
.checklist li::after { content: ""; position: absolute; left: 7px; top: 15px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checklist li strong { color: var(--silver-hi); font-weight: 600; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(63,180,214,.18), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line); border-radius: 18px; padding: 46px; text-align: center;
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 26px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---- Calculator --------------------------------------------------------- */
.calc-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.calc-form { background: linear-gradient(180deg, var(--bg-3), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.calc-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0 0 4px; padding: 22px 0 6px; }
.calc-form fieldset:first-of-type { border-top: 0; padding-top: 4px; }
.calc-form legend {
  font-family: var(--font-sans); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); padding: 0; margin-bottom: 6px;
}
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--silver-hi); }
.field .hint { font-size: .8rem; color: var(--muted-2); margin-top: 5px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  background: #0d1217; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 11px 13px; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(63,180,214,.18); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa6b2' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }

/* segmented option pills (radio) */
.opts { display: grid; gap: 10px; }
.opts.opts-2 { grid-template-columns: 1fr 1fr; }
.opt {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; background: #0d1217;
  transition: border-color .15s ease, background .15s ease;
}
.opt:hover { border-color: var(--muted-2); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted-2); flex: none; transition: border-color .15s; }
.opt .opt-body { display: flex; flex-direction: column; }
.opt .opt-body b { font-weight: 600; font-size: .96rem; color: var(--ink); }
.opt .opt-body small { color: var(--muted-2); font-size: .8rem; }
.opt:has(input:checked) { border-color: var(--accent); background: rgba(63,180,214,.09); }
.opt:has(input:checked) .dot { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--accent); }

/* add-on checks */
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addon { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; background: #0d1217; font-size: .93rem; }
.addon:has(input:checked) { border-color: var(--accent); background: rgba(63,180,214,.09); }
.addon input { width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.addon .addon-price { margin-left: auto; color: var(--muted-2); font-size: .8rem; }

/* results panel */
.calc-result { position: sticky; top: 88px; background: linear-gradient(180deg, #10161c, #0c1116); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.calc-result h3 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.estimate { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--silver-hi); line-height: 1.1; }
.estimate small { display: block; font-family: var(--font-sans); font-size: .8rem; letter-spacing: .04em; color: var(--muted); font-weight: 500; margin-top: 6px; text-transform: none; }
.result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 20px 0; }
.result-stats div { background: var(--panel); padding: 12px 14px; }
.result-stats dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin-bottom: 3px; }
.result-stats dd { margin: 0; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.breakdown { margin: 18px 0 0; }
.breakdown-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.breakdown-row:last-child { border-bottom: 0; }
.breakdown-row span:first-child { color: var(--muted); }
.breakdown-row span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); }
.result-note { font-size: .78rem; color: var(--muted-2); margin-top: 16px; line-height: 1.5; }

/* ---- Forms / alerts ----------------------------------------------------- */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .94rem; margin: 0 0 16px; border: 1px solid transparent; }
.alert-info    { background: rgba(63,180,214,.10); border-color: rgba(63,180,214,.3); color: #bfe6f2; }
.alert-success { background: rgba(87,201,138,.10); border-color: rgba(87,201,138,.35); color: #b6eccd; }
.alert-error   { background: rgba(224,107,107,.10); border-color: rgba(224,107,107,.35); color: #f2c3c3; }
.alert-warn    { background: rgba(230,180,85,.10); border-color: rgba(230,180,85,.35); color: #f0dcae; }

/* ---- Steps -------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { position: relative; padding-left: 54px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(63,180,214,.12); border: 1px solid rgba(63,180,214,.35); color: var(--accent); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.1rem; margin-bottom: .3em; color: var(--silver-hi); }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: #070a0d; border-top: 1px solid var(--line); padding: 56px 0 30px; color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer-logo img { height: 104px; width: auto; margin-bottom: 8px; }
.footer h4 { font-family: var(--font-sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--silver); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--silver-hi); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--muted-2); }

/* ---- Utility ------------------------------------------------------------ */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(63,180,214,.1); border: 1px solid rgba(63,180,214,.28); color: var(--accent); }
[hidden] { display: none !important; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  /* The chip and the "Call" prefix eat the width the lakes need to scroll in;
     the bar still reads as a phone number + ticker without them. */
  .ticker-label, .phone-pre { display: none; }
  .ticker-list li::after { margin: 0 12px; }
  .top-bar .container { gap: 12px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #0b0e12; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .mobile-toggle { display: block; }
  .grid-3, .grid-2, .trust-grid, .addons, .opts.opts-2 { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
