/* Bright Coast Pressure Washing — Tier 1 (Launch)
   Template-grade done well: one accent, generous whitespace, one type scale.
   No scroll animation in this tier; hover states only. */

:root {
  --teal-900: #06323a;
  --teal-700: #0c717a;
  --teal-600: #19aeba;
  --teal-50: #e8f6f7;
  --ink: #10232a;
  --ink-70: #46595f;
  --ink-45: #5f7176;
  --sand: #f7f2ea;
  --line: #e3ded5;
  --white: #fff;

  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 40px);

  /* type scale — 1.25 minor third, fluid */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: clamp(1.125rem, 0.4vw + 1.05rem, 1.25rem);
  --t-xl: clamp(1.35rem, 1vw + 1.1rem, 1.6rem);
  --t-2xl: clamp(1.7rem, 1.8vw + 1.3rem, 2.2rem);
  --t-3xl: clamp(2.1rem, 3.2vw + 1.4rem, 3.1rem);

  --r: 10px;
  --shadow: 0 1px 2px rgba(16, 35, 42, 0.06), 0 8px 24px -12px rgba(16, 35, 42, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* room for the sticky mobile call bar */
  padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(52px, 8vw, 92px); }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal-900); color: #dff0f2; }
.section--teal h2 { color: #fff; }
.lede { font-size: var(--t-lg); color: var(--ink-70); max-width: 62ch; }
.section--teal .lede { color: #b9d9dd; }
.eyebrow {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-700); margin: 0 0 0.75em;
}
.section--teal .eyebrow { color: var(--teal-600); }
.center { text-align: center; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font: inherit; font-weight: 650; text-decoration: none;
  padding: 0.8em 1.4em; border-radius: var(--r); border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-600); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: rgba(16, 35, 42, 0.04); }
.section--teal .btn--ghost,
.hero .btn--ghost { color: #dff0f2; }
.section--teal .btn--ghost:hover,
.hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--light { background: #fff; color: var(--teal-900); }

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--teal-600); outline-offset: 2px; border-radius: 4px;
}

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; letter-spacing: -0.02em; }
.brand svg { flex: none; }
.brand b { font-size: 1.05rem; display: block; line-height: 1.1; }
.brand span { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-45); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink-70); font-weight: 600; font-size: var(--t-sm);
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--teal-50); }
.nav a[aria-current="page"] { color: var(--teal-700); }
/* the CTA is an <a> inside .nav, so it needs to out-specify `.nav a` */
.nav a.btn--primary { color: #fff; }
.nav a.btn--primary:hover { color: #fff; }
.nav .btn { margin-left: 8px; padding: 0.6em 1.05em; font-size: var(--t-sm); }

.navtoggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.navtoggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.navtoggle span + span { margin-top: 4px; }

@media (max-width: 800px) {
  .navtoggle { display: block; }
  .nav {
    position: absolute; inset: 68px 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 18px; display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { background: var(--teal-900); color: #fff; position: relative; overflow: hidden; }
.hero__in { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 84px); }
@media (min-width: 900px) { .hero__in { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero p { color: #b9d9dd; font-size: var(--t-lg); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: var(--t-sm); color: #9dc8ce; }
.hero__trust b { color: #fff; font-weight: 650; }
.hero__media { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6); aspect-ratio: 4 / 3; background: #0a4650; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- generic grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--ink-70); font-size: var(--t-sm); }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16,35,42,.07), 0 16px 32px -16px rgba(16,35,42,.28); }
.card__ico { width: 40px; height: 40px; color: var(--teal-700); margin-bottom: 14px; }

.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.check li { position: relative; padding-left: 30px; color: var(--ink-70); }
.check li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c86' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--teal .check li { color: #b9d9dd; }
.section--teal .check li::before { background-color: rgba(255,255,255,.12); }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { counter-increment: s; }
.step::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-size: 1.5rem; font-weight: 750; color: var(--teal-600);
  letter-spacing: -0.03em; margin-bottom: 10px;
}
.step h3 { font-size: var(--t-lg); }
.step p { color: var(--ink-70); font-size: var(--t-sm); }

/* ---------- reviews ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.quote p { font-size: var(--t-lg); margin-bottom: 14px; }
.quote cite { font-style: normal; font-weight: 650; font-size: var(--t-sm); }
.quote cite span { display: block; font-weight: 500; color: var(--ink-45); }
.stars { color: #e0a127; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.95rem; }

/* ---------- form ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: var(--t-sm); }
.field input, .field textarea, .field select {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal-600); outline: none; }
.field textarea { min-height: 128px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formnote { font-size: var(--t-xs); color: var(--ink-45); }
.formmsg { padding: 14px 16px; border-radius: 8px; font-size: var(--t-sm); font-weight: 600; display: none; }
.formmsg[data-state="ok"] { display: block; background: var(--teal-50); color: var(--teal-900); border: 1px solid #b6e0e4; }
.formmsg[data-state="err"] { display: block; background: #fdecec; color: #8a1f1f; border: 1px solid #f3c4c4; }

/* ---------- split ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 54px); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--teal-50); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.ftr { background: var(--teal-900); color: #9dc8ce; font-size: var(--t-sm); padding-block: 54px 30px; }
.ftr a { color: #cfe8eb; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ftr h4 { color: #fff; font-size: var(--t-sm); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr__bot { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: var(--t-xs); }

/* ---------- sticky mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .callbar .btn { justify-content: center; padding: 0.75em 1em; font-size: var(--t-sm); }
}

/* ---------- misc ---------- */
.pagehead { background: var(--sand); padding-block: clamp(38px, 6vw, 62px); border-bottom: 1px solid var(--line); }
.pagehead h1 { margin-bottom: 0.3em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: var(--t-sm); font-weight: 600; }
.section--teal .areas li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #dff0f2; }
