:root {
  --bg: #141619;
  --bg-2: #1c1f23;
  --bg-3: #24282d;
  --line: #33383f;
  --text: #f2f2f0;
  --muted: #a9adb3;
  --accent: #ffb400;      /* recovery beacon amber */
  --accent-ink: #141619;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
section { padding: clamp(56px, 9vw, 104px) 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sub { color: var(--muted); max-width: 46ch; font-size: 1.08rem; }
.muted { color: var(--muted); }
.small { color: var(--muted); font-size: .95rem; max-width: 52ch; margin-inline: auto; }

/* Placeholder highlight: remove the .todo spans once real details are in */
.todo { background: #ffef5c; color: #111; padding: 0 .25em; border-radius: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: #ffc633; }
.btn-ghost { border: 2px solid var(--text); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20,22,25,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .75rem;
}
.brand-text { font-size: 1.05rem; letter-spacing: -0.01em; margin: 0; }
.brand-text strong { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }

/* Hero: drop images/hero.jpg in to use a photo; gradient shows until then */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  background:
    linear-gradient(100deg, rgba(20,22,25,.95) 0%, rgba(20,22,25,.75) 45%, rgba(20,22,25,.35) 100%),
    url("/images/hero.jpg") center / cover no-repeat,
    radial-gradient(1200px 600px at 85% 20%, #3a3220 0%, var(--bg) 60%);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,180,0,.12); color: var(--accent);
  font-weight: 700; font-size: .9rem;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 40ch; color: #d9dbde; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero-actions.center { justify-content: center; }
.rating { color: var(--accent); letter-spacing: 2px; margin: 0; }
.rating span { color: var(--muted); letter-spacing: 0; margin-left: 6px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about { background: var(--bg-2); }
.about p, .promise p { color: #d0d3d7; max-width: 48ch; }
.photo {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius);
  background-color: var(--bg-3);
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
}
.photo-about   { background-image: url("/images/about.jpg"), linear-gradient(135deg, #2a2e34, #1a1c20); }
.photo-promise { background-image: url("/images/promise.jpg"), linear-gradient(135deg, #2a2e34, #1a1c20); }

/* Why cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card p { color: var(--muted); margin: 0; }
.icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: rgba(255,180,0,.12); color: var(--accent); font-weight: 800; font-size: 1.1rem;
  margin-bottom: 18px;
}

/* Services */
.services { background: var(--bg-2); }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.service {
  padding: 26px 28px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.service p { color: var(--muted); margin: 0; }

/* Pricing */
.table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-3); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.note { color: var(--muted); font-size: .95rem; margin-top: 16px; }

/* Promise */
.promise { background: var(--bg-2); }
.big { font-size: 1.35rem; font-weight: 700; color: var(--text) !important; }

/* Contact */
.contact {
  text-align: center;
  background: radial-gradient(900px 400px at 50% 0%, #3a3220 0%, var(--bg) 70%);
}
.contact-inner p { color: #d0d3d7; }
.phone-big {
  display: inline-block; margin: 8px 0 4px;
  font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 800;
  color: var(--accent); text-decoration: none; letter-spacing: -0.02em;
}

/* Footer */
.footer { background: #0e0f11; border-top: 1px solid var(--line); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.footer p { font-size: .95rem; margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.copyright { color: #6c7178; font-size: .85rem; margin-top: 36px; }

/* Sticky mobile call bar */
.callbar { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .topbar-call { margin-left: auto; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .split-rev .photo { order: 2; }
  .cards, .service-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  body { padding-bottom: 76px; }
  .callbar {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(14,15,17,.96); border-top: 1px solid var(--line);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center;
    min-height: 52px; border-radius: 12px; font-weight: 800; text-decoration: none;
  }
  .callbar-call { flex: 1; background: var(--accent); color: var(--accent-ink); }
  .callbar-wa { padding: 0 18px; background: #25d366; color: #0b2e17; }
}

@media (max-width: 600px) {
  table { min-width: 0; }
  thead { display: none; }
  tbody tr {
    display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
    padding: 16px 18px; border-bottom: 1px solid var(--line);
  }
  tbody tr:last-child { border-bottom: 0; }
  td { padding: 0; border: 0; }
  td:first-child { font-weight: 700; }
  td:nth-child(2) { text-align: right; color: var(--accent); }
  td:nth-child(3) { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
}

@media (max-width: 480px) {
  .brand-text { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
