/* Nicholas Crossley · Appliance Repair & Maintenance
   Navy / gold / cream — matches the NC badge and NextDoor cover */

:root {
  --navy: #14213d;
  --navy-2: #1c2d52;
  --navy-3: #21345c;
  --gold: #c9a227;
  --gold-soft: #806e36;
  --cream: #f4efe6;
  --paper: #faf8f3;
  --ink: #1b2233;
  --muted: #5a6275;
  --line: #e3ddd0;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1080px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold-soft); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-name {
  font-family: var(--serif); font-weight: 600; color: var(--cream);
  font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1;
}
.brand-sub {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: .68rem; letter-spacing: .22em; color: var(--gold); margin-top: 3px;
}
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  color: var(--cream); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 12px; border-radius: 6px;
}
.nav a:hover { background: var(--navy-3); color: var(--cream); }
.nav a[aria-current="page"] { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 40%, var(--navy-3) 0%, var(--navy) 70%);
  color: var(--cream);
  text-align: center;
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero::before {               /* gold double frame, like the cover */
  content: ""; position: absolute; inset: 18px;
  border: 2px solid var(--gold); pointer-events: none;
  box-shadow: inset 0 0 0 8px var(--navy), inset 0 0 0 9px var(--gold-soft);
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .25em;
}
.hero .kicker {
  color: var(--gold); font-weight: 500; letter-spacing: .3em;
  text-transform: uppercase; font-size: clamp(.78rem, 2vw, .95rem);
}
.hero .lede { max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; color: #d9dbe3; }
.hero.small { padding: 52px 0 56px; }
.hero.small h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }

.rule {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 22px auto 24px; max-width: 360px;
}
.rule::before, .rule::after { content: ""; flex: 1; height: 2px; background: var(--gold); }
.rule span { width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Buttons ---------- */
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px; font-weight: 600; text-decoration: none;
  font-size: 1rem; border: 2px solid var(--gold); transition: transform .08s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8b23a; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--cream); }
.btn-ghost:hover { background: rgba(201,162,39,.12); color: var(--cream); }
.btn-navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-3); color: var(--cream); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy); }
.section-title p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.eyebrow {
  display: block; color: var(--gold-soft); font-weight: 600; font-size: .78rem;
  letter-spacing: .25em; text-transform: uppercase; margin-bottom: 8px;
}
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 24px;
}
.alt .card { background: var(--paper); }
.card h3 { font-size: 1.2rem; color: var(--navy); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; margin: 0 0 1em; }
.card li { margin-bottom: .3em; }

.brands {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
  list-style: none; padding: 0; margin: 0;
}
.brands li {
  font-family: var(--serif); font-weight: 600; color: var(--navy);
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-left: 52px; margin-bottom: 22px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-family: var(--serif); font-weight: 600;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--gold);
}
.steps strong { display: block; color: var(--navy); }

.callout {
  background: var(--navy); color: var(--cream); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; border: 2px solid var(--gold);
}
.callout h2 { color: var(--cream); }
.callout p { color: #d9dbe3; }

.contact-big { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.contact-big:hover { color: var(--gold-soft); }
.muted { color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c4c8d4; border-top: 3px solid var(--gold); padding: 36px 0 28px; font-size: .92rem; }
.site-footer .wrap { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer strong { color: var(--cream); font-family: var(--serif); letter-spacing: .06em; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--navy-3); padding-top: 16px; font-size: .82rem; color: #8f96a8; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--navy); border-top: 2px solid var(--gold);
  }
  .callbar .btn { justify-content: center; padding: 11px 10px; }
  .site-header .wrap { justify-content: center; }
  .nav { justify-content: center; }
  .hero { padding: 56px 0 60px; }
  .hero::before { inset: 10px; }
  section { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
