/* Trades & Repairs — industrial dark + urgency + dual sticky CTA */
:root,
[data-palette="ocean"] {
  --bg: #0b1220;
  --surface: #111827;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: #1e293b;
  --brand: #38bdf8;
  --brand-dark: #0ea5e9;
  --warn: #fbbf24;
  --cta: #22c55e;
  --cta-ink: #052e16;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI", system-ui, sans-serif;
}
[data-palette="forest"] {
  --brand: #4ade80;
  --brand-dark: #22c55e;
  --cta: #fbbf24;
  --cta-ink: #422006;
  --warn: #fbbf24;
}
[data-palette="sunset"] {
  --brand: #fb923c;
  --brand-dark: #f97316;
  --cta: #38bdf8;
  --cta-ink: #0c4a6e;
  --warn: #fbbf24;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.55; font-size: 16px;
  padding-bottom: 1.5rem;
}
body:has(.sticky-bar) {
  padding-bottom: 5.5rem;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { width: min(1000px, 100% - 1.75rem); margin-inline: auto; }
.muted { color: var(--muted); }
.mt { margin-top: 0.85rem; }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(11 18 32 / 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.85rem 0;
}
.logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.logo__mark {
  width: 36px; height: 36px; border-radius: 8px; overflow: hidden;
  background: var(--brand); color: #0b1220;
  display: grid; place-items: center; font-weight: 800;
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; flex-wrap: wrap; gap: 0.85rem; font-size: 0.85rem; font-weight: 700; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; padding: 0.75rem 1.1rem; font-weight: 800;
  font-size: 0.9rem; text-decoration: none; border: none;
}
.btn-cta { background: var(--cta); color: var(--cta-ink); }
.btn-warn { background: var(--warn); color: #1c1917; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-block { width: 100%; margin-bottom: 0.55rem; }
/* Mobile/touch: mailto button. Desktop (fine pointer + hover): plain copyable address */
.email-cta--plain { display: none; margin: 0.35rem 0 0; font-size: 0.9rem; font-weight: 600; line-height: 1.4; color: var(--muted); }
.email-cta__addr { color: var(--ink); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; word-break: break-word; }
.email-cta__label { font-weight: 700; margin-right: 0.35rem; }
@media (hover: hover) and (pointer: fine) {
  .email-cta--mailto { display: none !important; }
  .email-cta--plain { display: block; }
}

.hero {
  position: relative; min-height: 340px; display: grid; align-items: end;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(2 6 23 / 0.45), rgb(2 6 23 / 0.92));
}
.hero__bg--fallback {
  background:
    radial-gradient(600px 280px at 80% 20%, rgb(56 189 248 / 0.2), transparent 55%),
    linear-gradient(135deg, #0b1220, #1e293b);
}
.hero__content { position: relative; padding: 2.75rem 0 2.25rem; }
.urgency {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgb(251 191 36 / 0.12); border: 1px solid rgb(251 191 36 / 0.45);
  color: var(--warn); border-radius: 999px; padding: 0.35rem 0.8rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.urgency::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--warn);
  box-shadow: 0 0 0 4px rgb(251 191 36 / 0.2);
}
.hero h1 {
  font-family: var(--display); font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.65rem;
  text-transform: uppercase; max-width: 16ch;
}
.hero .lead { margin: 0; color: var(--muted); max-width: 36rem; font-size: 1.05rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 1.2rem; }
.chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.25rem 0.65rem; font-size: 0.78rem; font-weight: 700; color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.strip {
  border-block: 1px solid var(--line); background: var(--surface);
  padding: 0.85rem 0;
}
.strip__inner {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  font-size: 0.88rem; color: var(--muted); font-weight: 600;
}
.strip__inner strong { color: var(--ink); }

section { padding: 3rem 0; }
.section-kicker {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 0.35rem;
}
.section-title {
  font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 0 0 0.45rem;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.section-lead { color: var(--muted); margin: 0 0 1.5rem; max-width: 36rem; }

.services {
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.service__photo {
  aspect-ratio: 5 / 3;
  background: #1a2336 center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.service__body { padding: 1.1rem 1.1rem 1.2rem; }
.service__num {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--brand); margin-bottom: 0.55rem;
}
.service h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.service .price { margin: 0 0 0.4rem; font-weight: 800; color: var(--warn); font-size: 1.05rem; }
.service p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.about { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid {
  display: grid; gap: 1.5rem; align-items: start;
  grid-template-columns: 1.15fr 0.85fr;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.prose p { margin: 0; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li {
  position: relative; padding: 0.4rem 0 0.4rem 1.5rem; font-size: 0.95rem;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--cta); font-weight: 800;
}
.panel {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem;
}
.panel h3 { margin: 0 0 0.5rem; }
.panel .muted { margin: 0 0 1rem; font-size: 0.95rem; }

.gallery {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line);
}

.split {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--muted); font-weight: 700; }

.cta-band {
  background:
    linear-gradient(135deg, rgb(15 23 42 / 0.95), rgb(15 23 42 / 0.85));
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: 2.25rem 1.5rem; text-align: center;
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.4);
}
.cta-band h2 {
  margin: 0 0 0.45rem; font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.cta-band p { margin: 0 0 1.2rem; color: var(--muted); }
.cta-band .btn-warn { margin-left: 0.45rem; }
.social-row { text-align: center; margin: 1rem 0 0; font-weight: 600; font-size: 0.92rem; }

.sticky-bar {
  position: fixed; bottom: 0; z-index: 60;
  left: 50%; transform: translateX(-50%);
  width: min(520px, 100%);
  background: rgb(2 6 23 / 0.95); border-top: 2px solid var(--warn);
  padding: 0.65rem 0.85rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 40px rgb(0 0 0 / 0.45);
}
.sticky-bar .btn { width: 100%; padding: 0.75rem 0.5rem; font-size: 0.82rem; }

.site {
  padding: 1.5rem 0 2rem; text-align: center; font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--line);
}
.site a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 600;
}
.site a:hover { color: var(--brand, #0f766e); }
