/* Shared stylesheet for the local and service landing pages.
 *
 * One file rather than six copies of the same rules, and it deliberately reuses
 * the homepage's own tokens — same palette, same type pairing — so a landing
 * page reads as part of the site rather than as something bolted on.
 *
 * Everything here is fluid. No element carries a fixed width, every grid track
 * is minmax(0, 1fr) so a long word cannot force a track wider than its column,
 * and the page body therefore never scrolls sideways at 390px. */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #EFF6FF;
  --green: #22C55E;
  --green-dark: #16A34A;
  --text: #111827;
  --text-muted: #6B7280;
  --bg: #F9FAFB;
  --white: #ffffff;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  /* The last line of defence: no landing page may scroll sideways. */
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: .65rem 1rem; background: #111827; color: #fff; border-radius: 6px;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 1rem; }

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; min-height: 64px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); min-width: 0; }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.brand strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; line-height: 1.2; }
.header-links { display: flex; align-items: center; gap: .35rem 1rem; flex-wrap: wrap; }
.header-links a { font-size: .875rem; font-weight: 600; text-decoration: none; }
.header-links a.call { color: var(--text); }

/* ── Breadcrumb ── */
.crumbs { padding: .85rem 0 0; font-size: .8rem; color: var(--text-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; }
.crumbs li::after { content: "›"; margin-left: .3rem; color: #9CA3AF; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { text-decoration: none; }

/* ── Hero ── */
.hero { padding: 1.5rem 0 2rem; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.75rem, 6vw, 2.6rem); line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: .75rem; overflow-wrap: break-word;
}
.lede { font-size: clamp(1rem, 2.4vw, 1.1rem); color: #374151; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: .95rem; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--white); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: #CBD5E1; background: #F3F4F6; }

/* ── Sections ── */
section.block { padding: 1.75rem 0; border-top: 1px solid var(--border); }
section.block:first-of-type { border-top: 0; }
h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, 4vw, 1.75rem); line-height: 1.25;
  letter-spacing: -.015em; margin-bottom: .75rem;
}
h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
p + p, p + ul, p + ol, h3 + p { margin-top: .7rem; }
ul, ol { padding-left: 1.15rem; }
li { margin-top: .35rem; overflow-wrap: break-word; }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .85rem; margin-top: 1rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); min-width: 0; }
.card p { font-size: .9rem; color: #374151; }

/* Included / add-on / deposit are never left to colour alone: each carries its
 * own word, so a paid add-on can never be mistaken for something included. */
.tag {
  display: inline-block; margin-bottom: .5rem; padding: .2rem .55rem;
  border-radius: 999px; font-size: .68rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.tag-included { color: #166534; background: #DCFCE7; }
.tag-addon { color: #9A3412; background: #FFEDD5; }
.tag-deposit { color: #1E40AF; background: var(--blue-light); }

/* ── Steps ── */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: .75rem; margin-top: 1rem; }
.steps li {
  position: relative; counter-increment: step;
  padding: .9rem 1rem .9rem 3rem; margin: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1rem; top: .95rem;
  width: 1.5rem; height: 1.5rem; display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue-dark);
  border-radius: 50%; font-size: .78rem; font-weight: 800;
}

/* ── FAQ ── */
.faq details {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .85rem 1rem; margin-top: .6rem;
}
.faq summary { font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--text-muted); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .6rem; font-size: .93rem; color: #374151; }

/* ── Callout ── */
.callout {
  background: var(--blue-light); border: 1px solid #BFDBFE;
  border-radius: var(--radius); padding: 1.1rem; margin-top: 1rem;
}
.callout p { font-size: .93rem; }

/* ── Related ── */
.related { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.related a {
  padding: .5rem .85rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--text);
}
.related a:hover { border-color: var(--blue); color: var(--blue-dark); }

/* ── Footer ── */
.site-footer {
  margin-top: 2rem; padding: 1.75rem 0;
  background: var(--white); border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--text-muted);
}
.site-footer a { text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; margin-bottom: .9rem; }

@media (max-width: 430px) {
  .site-header .wrap { min-height: 56px; padding-top: .5rem; padding-bottom: .5rem; }
  .brand strong { font-size: .95rem; }
  .header-links { width: 100%; justify-content: space-between; }
  .hero { padding: 1.1rem 0 1.5rem; }
  .hero-actions .btn { width: 100%; }
}
