/* =========================================================
   Quick and Easy Locksmith — main stylesheet
   Change brand colors and fonts in the :root block below.
   ========================================================= */
:root {
  /* Brand colors (from the logo) */
  --navy: #06357A;        /* logo blue */
  --green: #8CC63F;       /* logo green */

  --bg: #F4F6F9;          /* page background (light cool grey) */
  --surface: #FFFFFF;     /* cards */
  --ink: #0E1B2E;         /* main text (near-black navy) */
  --muted: #526073;       /* secondary text */
  --line: #DBE1EA;        /* borders */
  --accent: var(--navy);  /* accent text on light backgrounds */
  --accent-soft: #EEF6E4; /* light green fill (offer boxes) */
  --band: #062A5E;        /* dark navy sections */
  --band-2: #0B3A7C;      /* cards inside navy sections */
  --band-line: #1D4C8F;   /* borders inside navy sections */
  --band-ink: #FFFFFF;    /* text on navy */
  --band-muted: #B7C6DC;  /* soft text on navy */
  --band-accent: var(--green); /* green on navy + main buttons */
  --on-accent: #0B1F3A;   /* text on green buttons */

  --display: "Montserrat", "Arial Black", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--band-accent); color: var(--on-accent); padding: 8px 12px; }

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

h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 800; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2.2vw, 21px); max-width: 40ch; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.hl { color: var(--accent); }
.prose { max-width: 65ch; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.logo { display: block; text-decoration: none; flex-shrink: 1; min-width: 0; }
.logo img { width: 220px; height: auto; }
.bar-right { display: flex; align-items: center; gap: 16px; }
.bar-phone { color: var(--navy); text-decoration: none; font-weight: 700; white-space: nowrap; }
.bar-phone span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: block; padding: 11px 12px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--green); }
@media (max-width: 520px) { .logo img { width: 160px; } .bar .btn-sm { padding: 9px 12px; font-size: 14px; } }

/* Google reviews badge */
.gbadge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.gbadge:hover { text-decoration: underline; }
.review-links { display: flex; flex-wrap: wrap; gap: 10px 20px; font-weight: 700; }
.review-links a { color: var(--accent); }
.band .review-links a { color: var(--band-accent); }
.foot-logo { width: 220px; height: auto; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 22px; border-radius: 6px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn-main { background: var(--band-accent); color: var(--on-accent); }
.btn-main:hover { filter: brightness(1.07); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 10px 16px; font-size: 15px; }

/* ---------- Sections ---------- */
section { padding-block: 72px; }
.tight { padding-top: 0; }
.band { background: var(--band); color: var(--band-ink); }
.band .muted { color: var(--band-muted); }
.band .tag, .band .hl { color: var(--band-accent); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.center-y { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Hero ---------- */
.hero { padding-block: 64px 72px; }
.hero h1 .hl { color: var(--band-accent); }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--band-muted); }
.proof b { color: var(--band-ink); }
.stars { color: var(--band-accent); letter-spacing: 2px; }
.phead { padding-block: 52px 48px; }
.phead .lede { margin-top: 16px; color: var(--band-muted); }
.phead .btns { margin-top: 24px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--band-ink); }

/* Work-order card */
.ticket { background: var(--band-2); border: 1px solid var(--band-line); border-radius: 10px; padding: 22px; font-size: 15px; }
.ticket-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); padding-bottom: 14px; border-bottom: 1px dashed var(--band-line); }
.ticket ul { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticket li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.chk { width: 20px; height: 20px; border-radius: 4px; background: var(--band-accent); color: var(--on-accent); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
.ticket .foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--band-line); font-family: var(--mono); font-size: 12px; color: var(--band-muted); }

/* Brand strip */
.served { border-bottom: 1px solid var(--line); padding-block: 22px; background: var(--surface); }
.served-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.served-row .name { font-family: var(--display); font-weight: 800; font-size: 19px; text-transform: uppercase; color: var(--muted); }

.say { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.8vw, 42px); line-height: 1.08; max-width: 22ch; text-wrap: balance; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .g3, .g2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card .more { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; }
.card .more:hover { text-decoration: underline; }
a.card { text-decoration: none; }
a.card:hover { border-color: var(--accent); }

.who { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 800px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .who { grid-template-columns: 1fr; } }
.who div { padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line); }
.who b { display: block; font-size: 18px; }
.who span { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps div { border-top: 3px solid var(--band-accent); padding-top: 16px; }
.steps div::before { counter-increment: s; content: "Step " counter(s); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--band-accent); display: block; margin-bottom: 8px; }
.steps b { display: block; font-size: 20px; margin-bottom: 4px; }

.offer .tag { color: var(--navy); }
.offer { background: var(--accent-soft); border: 2px solid var(--green); border-radius: 12px; padding: 36px; }
.offer .price { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--accent); }

.check { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.check li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.check li::before { content: "✓"; font-weight: 800; color: var(--accent); }
.band .check li::before { color: var(--band-accent); }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; font-weight: 700; font-size: 18px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 20px 20px; max-width: 70ch; color: var(--muted); }
.faq .meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; margin-top: -6px; }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); }

/* ---------- Projects ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--body); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.proj { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.proj-img { aspect-ratio: 16 / 10; max-width: 100%; background: repeating-linear-gradient(135deg, var(--band-2) 0 14px, var(--band) 14px 28px); display: grid; place-items: center; color: var(--band-muted); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; position: relative; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; }
.proj-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.areas a { display: block; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; }
.areas a:hover { border-color: var(--accent); color: var(--accent); }
.area-list { color: var(--muted); max-width: 70ch; }

/* ---------- Forms / contact ---------- */
.form-frame { width: 100%; min-height: 760px; border: 0; background: var(--surface); border-radius: 10px; }
.info { display: flex; flex-direction: column; gap: 22px; }
.info b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.info .v { font-size: 18px; font-weight: 600; }
.info a.v { text-decoration: none; color: var(--accent); }

/* ---------- Footer ---------- */
footer { background: var(--band); color: var(--band-muted); font-size: 14px; padding-block: 48px 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
footer .fh { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--band-ink); margin: 0 0 12px; font-weight: 500; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--band-ink); }
.social { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .bar-phone { display: none; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--band); border-top: 1px solid var(--band-line); }
  .callbar .btn { padding: 13px 10px; }
  body { padding-bottom: 76px; }
  section { padding-block: 52px; }
.offer { padding: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
