/* Locksmith in Delaware - locksmithindelaware.com
   Design v9.1: bright green phone buttons
   Type: Bitter (slab display) + Archivo (body) */

:root {
  --navy: #16324F;
  --navy-deep: #0F2438;
  --brass: #2A3934;
  --brass-bright: #596561;
  --buff: #EAEBEB;
  --buff-soft: #F4F5F5;
  --ink: #262D3A;
  --ink-soft: #4B5566;
  --line: #D0D3D2;
  --white: #FFFFFF;
  --bg: #FBFCFA;
  --radius: 12px;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-deep) url('https://images.unsplash.com/photo-1609770231080-e321deccc34c?q=80&w=1920&auto=format&fit=crop') center / cover no-repeat fixed;
}

h1, h2, h3, .wordmark {
  font-family: 'Bitter', Georgia, serif;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 700; margin-bottom: 0.6em; }
h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 0.35em; }

p { margin-bottom: 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em 1.3em; }
li { margin-bottom: 0.4em; }

a { color: var(--navy); text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); text-decoration-color: var(--navy); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

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

/* ---------- Header ---------- */

.topline {
  background: var(--navy-deep);
  color: var(--buff);
  font-size: 0.92rem;
  padding: 7px 0;
}
.topline .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topline a { color: #AEB4B2; text-decoration: none; font-weight: 600; }
.topline a:hover { text-decoration: underline; }

header.site {
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { flex: 0 0 auto; }
.brand .wordmark { font-size: 1.22rem; font-weight: 800; color: var(--navy); display: block; }
.brand .tagline { font-size: 0.8rem; color: var(--ink-soft); display: block; line-height: 1.2; }

nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.main a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
}
nav.main a:hover { background: var(--buff); }
nav.main a[aria-current="page"] { background: var(--navy); color: var(--white); }

.call-btn {
  display: inline-block;
  background: var(--brass);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
  border: 2px solid var(--brass);
}
.call-btn:hover { background: var(--brass-bright); border-color: var(--brass-bright); color: var(--white); }
.call-btn.big { font-size: 1.35rem; padding: 18px 40px; box-shadow: 0 8px 20px rgba(15,36,56,0.25); }
.call-btn.ghost { background: transparent; color: var(--white); border-color: var(--white); box-shadow: none; }
.call-btn.ghost:hover { background: rgba(42,57,52,0.15); color: var(--white); }

/* Mobile nav */
.menu-toggle { display: none; }
@media (max-width: 860px) {
  header.site .wrap { flex-wrap: wrap; }
  .menu-toggle {
    display: block;
    background: var(--navy);
    color: var(--buff);
    border: none;
    font: inherit;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
  }
  nav.main { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 10px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  header.site .call-btn { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(rgba(15,36,56,0.78), rgba(15,36,56,0.7)), url('https://images.unsplash.com/photo-1609770231080-e321deccc34c?q=80&w=1600&auto=format&fit=crop') center / cover;
  color: var(--buff-soft);
  padding: 64px 0 60px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
}
.hero .wrap { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero .lede { font-size: 1.15rem; max-width: 56ch; color: var(--buff); }
.hero .mark { justify-self: center; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.hero .assurance { margin-top: 18px; font-size: 0.98rem; color: var(--buff); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .mark { display: none; }
  .hero { border-radius: 0 0 24px 24px; }
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(rgba(15,36,56,0.78), rgba(15,36,56,0.7)), url('https://images.unsplash.com/photo-1609770231080-e321deccc34c?q=80&w=1600&auto=format&fit=crop') center / cover;
  color: var(--buff-soft);
  padding: 44px 0 40px;
  border-radius: 0 0 36px 36px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: var(--buff); font-size: 1.08rem; max-width: 62ch; margin-bottom: 0; }
.page-hero .cta-row { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 36px; align-items: center; }
.hero-art svg { width: 100%; max-width: 280px; display: block; margin: 0 auto; }
@media (max-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .page-hero { border-radius: 0 0 24px 24px; }
}

/* ---------- Sections ---------- */

section { padding: 56px 0; background: rgba(251,252,250,0.95); }
section.tint { background: rgba(234,243,235,0.96); }
.section-intro { max-width: 68ch; margin-bottom: 28px; }

/* Service cards with illustrations */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.svc {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,36,56,0.12); }
.svc .art { background: linear-gradient(160deg, var(--buff) 0%, #DCEBDF 100%); padding: 14px 18px 6px; }
.svc .art svg { width: 100%; height: 104px; display: block; }
.svc-body { padding: 16px 20px 14px; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.svc p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 0.6em; }
.svc .more { font-weight: 700; font-size: 0.95rem; }

/* Steps - numbered green badges */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; list-style: none; margin-left: 0; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  font-family: 'Bitter', Georgia, serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  background: var(--brass);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.steps h3 { margin-top: 2px; }
.steps p { font-size: 0.97rem; color: var(--ink-soft); }

/* Area columns */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.areas .county {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brass);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.areas ul { list-style: none; margin-left: 0; columns: 1; margin-bottom: 0; }
.areas li { padding: 3px 0; border-bottom: 1px dotted var(--line); font-size: 0.98rem; }
.areas li:last-child { border-bottom: none; }

/* Checklist */
ul.keyed { list-style: none; margin-left: 0; }
ul.keyed li { padding-left: 26px; position: relative; }
ul.keyed li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 14px; height: 6px;
  background: var(--brass);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 75% 100%, 75% 60%, 55% 60%, 55% 100%, 35% 100%, 35% 60%, 0 60%);
}

/* Two-column body layout */
.cols { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }

aside.rail {
  background: var(--buff-soft);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brass);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(15,36,56,0.06);
}
aside.rail h3 { font-size: 1.05rem; }
aside.rail p { font-size: 0.95rem; }
aside.rail .call-btn { display: block; text-align: center; margin-top: 10px; }

/* FAQ */
details.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 10px;
  padding: 0;
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: 'Bitter', Georgia, serif;
  color: var(--navy);
  padding: 14px 16px;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute; right: 16px; top: 10px;
  font-size: 1.4rem; color: var(--brass); font-family: 'Archivo', sans-serif;
}
details.faq[open] summary::after { content: "-"; }
details.faq .answer { padding: 0 16px 14px; color: var(--ink-soft); }
details.faq .answer p { margin-bottom: 0.5em; }

/* Emergency band */
.band {
  background: var(--brass);
  color: var(--white);
  padding: 40px 0;
  border-radius: 36px 36px 0 0;
}
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band h2 { color: var(--white); margin-bottom: 0.2em; }
.band p { margin-bottom: 0; color: var(--white); }

/* Pricing note */
.plain-deal {
  border: 2px solid var(--navy);
  border-radius: 16px;
  padding: 26px;
  background: var(--white);
  max-width: 760px;
  box-shadow: 0 10px 24px rgba(15,36,56,0.08);
}
.plain-deal h2 { margin-bottom: 0.4em; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--navy-deep);
  color: var(--buff);
  padding: 44px 0 90px;
  font-size: 0.95rem;
}
footer.site .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
footer.site h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
footer.site ul { list-style: none; margin-left: 0; }
footer.site a { color: var(--buff); text-decoration: none; }
footer.site a:hover { color: #AEB4B2; text-decoration: underline; }
footer.site .fineprint {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(234,243,235,0.25);
  padding-top: 16px;
  color: rgba(234,243,235,0.7);
  font-size: 0.85rem;
}
@media (max-width: 820px) { footer.site .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site .wrap { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call bar ---------- */

.callbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--brass);
  padding: 10px 14px;
  text-align: center;
  z-index: 60;
  display: none;
  box-shadow: 0 -2px 10px rgba(15,36,56,0.35);
}
.callbar a {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  display: block;
}
@media (max-width: 760px) { .callbar { display: block; } }

/* Service photos */
.svc .art.photo { padding: 0; }
.svc .art.photo img { width: 100%; height: 150px; object-fit: cover; display: block; }
.hero-art img { width: 100%; max-width: 320px; border-radius: 16px; display: block; margin: 0 auto; box-shadow: 0 12px 28px rgba(15,36,56,0.35); }

/* Photo heros */
.photo-hero { background-size: cover; background-position: center; }
.hero.photo-hero { padding: 92px 0 84px; }
.page-hero.photo-hero { padding: 72px 0 64px; }

/* Band button inversion */
.band .call-btn { background: var(--white); border-color: var(--white); color: var(--brass); }
.band .call-btn:hover { background: var(--buff); border-color: var(--buff); color: var(--brass); }


/* Service cards: keyhole-arch shape with round photo medallions */
.svc { border-radius: 999px 999px 18px 18px; }
.svc .art { background: none; padding: 0; }
.svc .art.photo { width: 170px; height: 170px; border-radius: 50%; overflow: hidden; margin: 26px auto 0; border: 5px solid var(--brass); box-shadow: 0 6px 16px rgba(15,36,56,0.18); }
.svc .art.photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.svc-body { text-align: center; padding: 16px 22px 22px; }
.svc p { margin-left: auto; margin-right: auto; }
.svc .more a { display: inline-block; background: var(--buff); color: var(--navy); text-decoration: none; border-radius: 999px; padding: 8px 18px; }
.svc .more a:hover { background: var(--brass); color: var(--white); }

/* Phone number buttons in bright green */
.call-btn { background: #43A047; border-color: #43A047; }
.call-btn:hover { background: #5BBE60; border-color: #5BBE60; }
.band .call-btn { background: #43A047; border-color: #43A047; color: #FFFFFF; }
.band .call-btn:hover { background: #5BBE60; border-color: #5BBE60; color: #FFFFFF; }
.callbar { background: #43A047; }
.callbar a { color: #FFFFFF; }
.topline a { color: #5BBE60; }
