/* ============================================================
   EZ Locksmith Inc. — ezlocksmithinc.com
   Design system: deep navy + warm amber + off-white
   Mobile-first. No frameworks, no build step.
   ============================================================ */

:root {
  --navy: #0f2a43;
  --navy-deep: #0a1e32;
  --navy-soft: #16344f;
  --amber: #f5a623;
  --amber-deep: #d98a0b;
  --amber-soft: #fdf1dc;
  --cream: #faf7f1;
  --white: #ffffff;
  --ink: #22303e;
  --muted: #5d6e7f;
  --line: #e8e0d3;
  --green: #2e9e5b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.10);
  --shadow-sm: 0 4px 14px rgba(15, 42, 67, 0.08);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--amber-deep); }

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; }
ul, ol { margin-bottom: 1em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.75rem 1.25rem; z-index: 200;
}
.skip-link:focus { left: 0; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: #e8eef5; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #c6d3e0; }

.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--amber-deep); margin-bottom: 0.75rem;
}
.section-navy .eyebrow { color: var(--amber); }
.lead { font-size: 1.125rem; color: var(--muted); }
.section-navy .lead { color: #c6d3e0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 0.9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1.2;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: scale(0.98); }
.btn-amber { background: var(--amber); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(245, 166, 35, 0.35); }
.btn-amber:hover { background: var(--amber-deep); color: #fff; box-shadow: 0 8px 22px rgba(217, 138, 11, 0.4); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }
.btn-lg { font-size: 1.15rem; padding: 1.05rem 2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 0;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 46px; width: auto; }
.footer-brand .logo img { height: 52px; }

.main-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; }
.main-nav a {
  text-decoration: none; font-weight: 600; color: var(--ink);
  padding: 0.55rem 0.85rem; border-radius: 8px; font-size: 0.95rem;
}
.main-nav a:hover { background: var(--amber-soft); color: var(--navy); }
.main-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }

.open-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700; white-space: nowrap;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: #eef5ef; color: #1d6b3c; border: 1px solid #cde6d4;
}
.open-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.open-badge.is-closed { background: #f6efe4; color: #8a5a00; border-color: #ecd9ae; }
.open-badge.is-closed .dot { background: var(--amber-deep); }

.btn-call { padding: 0.7rem 1.25rem; font-size: 0.95rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 0.6rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%); color: #fff; overflow: hidden; }
.hero-inner {
  display: grid; gap: 2.5rem; align-items: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .accent { color: var(--amber); }
.hero p.hero-sub { font-size: 1.15rem; color: #c9d6e3; max-width: 34rem; margin-bottom: 1.75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.hero-note { font-size: 0.9rem; color: #9fb2c6; display: flex; align-items: center; gap: 0.5rem; }
.hero-note svg { width: 1em; height: 1em; color: var(--amber); flex: none; }
.hero-media { position: relative; }
.hero-media img {
  border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-badge-card {
  position: absolute; left: -1rem; bottom: 1.5rem;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.9rem 1.1rem;
  display: flex; align-items: center; gap: 0.8rem; max-width: 260px;
}
.hero-badge-card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-deep); display: grid; place-items: center; flex: none; }
.hero-badge-card .icon svg { width: 24px; height: 24px; }
.hero-badge-card strong { display: block; font-size: 0.95rem; color: var(--navy); line-height: 1.3; }
.hero-badge-card small { color: var(--muted); font-size: 0.82rem; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-items {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  padding: 1.5rem 0; list-style: none; margin: 0;
}
.trust-items li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.trust-items .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-deep); display: grid; place-items: center; flex: none; }
.trust-items .icon svg { width: 22px; height: 22px; }

/* ---------- Cards / services grid ---------- */
.cards { display: grid; gap: 1.25rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none; color: inherit;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy); color: var(--amber);
  display: grid; place-items: center; margin-bottom: 0.4rem;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin: 0; }
.card h3 a { text-decoration: none; color: var(--navy); }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; flex: 1; }
.card .card-link { font-weight: 700; color: var(--amber-deep); display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }
.card .card-link svg { width: 1em; height: 1em; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 1.75rem; position: relative;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--amber); color: var(--navy-deep);
  font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center; margin-bottom: 0.9rem;
}
.step h3 { color: #fff; }
.step p { color: #c6d3e0; margin: 0; }

/* ---------- Areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.area-chips li a, .area-chips li span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1rem; font-size: 0.92rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
}
.area-chips li a:hover { border-color: var(--amber); background: var(--amber-soft); }
.area-chips svg { width: 1em; height: 1em; color: var(--amber-deep); }

.city-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-bottom: 1.25rem; }
.city-block h3 { display: flex; align-items: center; gap: 0.6rem; }
.city-block h3 svg { width: 1.2em; height: 1.2em; color: var(--amber-deep); }
.city-block p { color: var(--muted); margin-bottom: 0.5rem; }

/* ---------- Reviews ---------- */
.review-placeholder {
  background: var(--white); border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 2.5rem 2rem; text-align: center; max-width: 640px; margin-inline: auto;
}
.review-placeholder .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--amber-soft); color: var(--amber-deep); display: grid; place-items: center; margin: 0 auto 1rem; }
.review-placeholder .icon svg { width: 30px; height: 30px; }
.review-placeholder p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.75rem; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.02rem; font-weight: 700; color: var(--navy);
  padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-deep); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a-inner { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(140deg, var(--amber) 0%, #f7b733 100%); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; color: var(--navy-deep); }
.cta-band h2 { color: var(--navy-deep); margin-bottom: 0.5rem; }
.cta-band p { font-weight: 600; margin-bottom: 1.5rem; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 75%); color: #fff; }
.page-hero-inner { padding: clamp(2.5rem, 6vw, 4rem) 0; max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: #c9d6e3; font-size: 1.1rem; margin-bottom: 0; }
.breadcrumbs { font-size: 0.85rem; color: #9fb2c6; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--amber); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Two column content ---------- */
.split { display: grid; gap: 2.5rem; align-items: start; }
.split-media img { border-radius: 24px; box-shadow: var(--shadow); }
.checklist { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist svg { width: 1.4em; height: 1.4em; color: var(--green); flex: none; margin-top: 0.15em; }

/* ---------- Hours table ---------- */
.hours-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { color: var(--navy); font-weight: 700; }
.hours-table td { color: var(--muted); }
.hours-table tr.today { background: var(--amber-soft); }
.hours-table tr.today th, .hours-table tr.today td { color: var(--navy-deep); }
.shabbat-note {
  margin-top: 1.25rem; background: var(--amber-soft); border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; font-size: 0.95rem; color: var(--navy-deep);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.25rem; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  display: flex; gap: 1.1rem; align-items: flex-start; text-decoration: none; color: inherit;
}
a.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--amber); display: grid; place-items: center; flex: none; }
.contact-card .icon svg { width: 26px; height: 26px; }
.contact-card h3 { margin-bottom: 0.25rem; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .big { font-size: 1.35rem; font-weight: 800; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c7d5; margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; padding: 3.5rem 0 2.5rem; }
.footer-brand .logo img { height: 52px; }
.footer-brand p { font-size: 0.95rem; margin-top: 1rem; max-width: 22rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #b9c7d5; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.footer-contact li > a, .footer-contact li > span { overflow-wrap: anywhere; min-width: 0; }
.footer-contact svg { width: 1.1em; height: 1.1em; flex: none; margin-top: 0.25em; color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.25rem 0; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--navy); line-height: 1; }
.notfound .code span { color: var(--amber); }

/* ---------- Floating call button (mobile) ---------- */
.fab-call {
  display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--amber); color: var(--navy-deep);
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.5);
  align-items: center; justify-content: center; text-decoration: none;
}
.fab-call svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust-items { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .open-badge { display: none; }
}
@media (max-width: 719px) {
  body.nav-open .site-header { z-index: 200; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    background: var(--navy-deep); padding: 5rem 1.75rem 2rem;
    transform: translateX(105%); transition: transform 0.28s ease;
    z-index: 150; box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  body.nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0.35rem; }
  .main-nav a { color: #fff; font-size: 1.1rem; padding: 0.8rem 1rem; display: block; }
  .main-nav a:hover { background: rgba(255,255,255,0.1); color: var(--amber); }
  .main-nav a[aria-current="page"] { background: var(--amber); color: var(--navy-deep); }
  .nav-toggle { display: flex; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(10, 30, 50, 0.55); z-index: 140;
    opacity: 0; pointer-events: none; transition: opacity 0.28s;
  }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .btn-call { display: none; }
  .fab-call { display: inline-flex; }
  .hero-badge-card { left: 0.75rem; }
}

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

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px;
}
