/* PureDock — Michigan lake dock referral matching
   Lakeside aesthetic: navy / teal / white */

:root {
  --navy: #0b2740;
  --navy-deep: #071a2c;
  --navy-mid: #123a5c;
  --teal: #1a8a8a;
  --teal-bright: #22a8a8;
  --teal-soft: #e6f5f5;
  --sand: #f4f1ea;
  --white: #ffffff;
  --gray-100: #f7f8fa;
  --gray-200: #e8ecf0;
  --gray-500: #6b7a8a;
  --gray-700: #3a4654;
  --text: #1a2330;
  --accent: #c45c26;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 39, 64, 0.12);
  --shadow-sm: 0 2px 10px rgba(11, 39, 64, 0.08);
  --max: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.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;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--white); text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(145deg, var(--teal-bright), var(--teal));
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo span { color: #9fd9d9; font-weight: 500; font-size: 0.78rem; display: block; letter-spacing: 0.02em; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.25rem 0;
}
.main-nav a:hover, .main-nav a.active { color: #9fd9d9; text-decoration: none; }
.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-bright) !important; color: white !important; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy-deep);
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .main-nav a { display: block; padding: 0.45rem 0; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
}

/* Hero */
.hero {
  background:
    linear-gradient(160deg, rgba(7,26,44,0.92) 0%, rgba(18,58,92,0.85) 45%, rgba(26,138,138,0.55) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(34,168,168,0.35), transparent 55%),
    var(--navy);
  color: white;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,32 C240,48 480,0 720,16 C960,32 1200,48 1440,24 L1440,48 L0,48 Z'/%3E%3C/svg%3E") no-repeat bottom center / 100% 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #c8eeee;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 { color: white; margin-bottom: 0.75rem; }
.hero .lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.hero-points li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.55rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.55rem; height: 0.55rem;
  background: var(--teal-bright);
  border-radius: 50%;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  line-height: 1.3;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-bright); color: white; }
.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: white; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #d46a30; color: white; }
.btn-block { width: 100%; text-align: center; }
.phone-line {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.phone-line a { color: #9fd9d9; font-weight: 600; text-decoration: none; }
.phone-line a:hover { text-decoration: underline; }

/* Quote card in hero */
.quote-card {
  background: white;
  color: var(--text);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}
.quote-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.quote-card .form-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}
.form-row { margin-bottom: 0.85rem; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 7px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--gray-100);
  transition: border-color 0.15s, background 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: white;
}
.form-row textarea { min-height: 80px; resize: vertical; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 3.25rem 0; }
.section-alt { background: var(--gray-100); }
.section-sand { background: var(--sand); }
.section-teal { background: var(--teal-soft); }
.section-header { max-width: 40rem; margin-bottom: 2rem; }
.section-header.centered { text-align: center; margin-inline: auto; }
.eyebrow {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.lead { font-size: 1.08rem; color: var(--gray-700); }

/* Cards / grids */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; }
}
.card {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.card h3 { margin-bottom: 0.45rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  font-weight: 700;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.trust-item {
  padding: 1rem;
}
.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.trust-item span { color: var(--gray-500); font-size: 0.9rem; }
@media (max-width: 700px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: white;
  padding: 2.5rem 0 2.75rem;
}
.page-hero h1 { color: white; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 40rem; margin: 0; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: #9fd9d9; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Content prose */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.75rem; }
.prose h3 { margin-top: 1.35rem; }
.callout {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.15rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}
.callout strong { color: var(--navy); }
.callout-warn {
  background: #fef6ee;
  border-left-color: var(--accent);
}
.disclaimer {
  font-size: 0.88rem;
  color: var(--gray-500);
  font-style: italic;
}

/* FAQ */
.faq-list { max-width: 44rem; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.1rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0.75rem 0 0.25rem; color: var(--gray-700); }

/* Area cards */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.area-card {
  display: block;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.1s;
}
.area-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.area-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 0.35rem; }
.area-card p { color: var(--gray-500); font-size: 0.92rem; margin: 0; }
.area-card .arrow { color: var(--teal); font-weight: 600; font-size: 0.88rem; margin-top: 0.65rem; display: block; }

/* Two-col layout */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-mid) 60%, var(--teal));
  color: white;
  padding: 2.75rem 0;
  text-align: center;
}
.cta-band h2 { color: white; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 34rem; margin: 0 auto 1.35rem; }
.cta-band .btn-primary { background: white; color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--teal-soft); color: var(--navy); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.8);
  padding: 2.75rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.site-footer a { color: #9fd9d9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: white; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.nap-block { line-height: 1.8; }
.nap-block strong { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Tables */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
}
.simple-table th,
.simple-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--gray-200);
}
.simple-table th {
  background: var(--navy);
  color: white;
  font-weight: 600;
}
.simple-table tr:nth-child(even) td { background: var(--gray-100); }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.muted { color: var(--gray-500); }
