/* ============================================================
   LocalLocksmith365 — Professional Redesign
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:      #111827;
  --ink2:     #374151;
  --ink3:     #6B7280;
  --rule:     #E5E7EB;
  --bg:       #FFFFFF;
  --bg2:      #F9FAFB;
  --bg3:      #F3F4F6;
  --blue:     #1D4ED8;
  --blue2:    #2563EB;
  --blue-lt:  #EFF6FF;
  --dark:     #0F172A;
  --dark2:    #1E293B;
  --radius:   8px;
  --radius-lg:16px;
  --shadow-sm:0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:   0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:0 12px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo-name {
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink); letter-spacing: -.02em;
}
.logo-name span { color: var(--blue); }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-tagline { color: var(--ink3); font-size: .82rem; font-weight: 400; }

.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  font-size: .9rem; font-weight: 600;
  padding: 10px 20px; border-radius: var(--radius);
  transition: background .18s, transform .15s;
  white-space: nowrap; letter-spacing: -.01em;
}
.btn-call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn-call:hover { background: #1A44C4; transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  background: var(--dark);
  position: relative; overflow: hidden;
  padding: 80px 0 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(29,78,216,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-end;
  position: relative; z-index: 2;
}
.hero-text { padding-bottom: 80px; }

.hero-label {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #94A3B8; font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 50px; margin-bottom: 24px;
}
.hero-label-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
  flex-shrink: 0;
}
.hero-location-text { font-size: .75rem; }

h1.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: #fff; margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: #60A5FA; }

.hero-sub {
  font-size: 1rem; color: #94A3B8; line-height: 1.75;
  margin-bottom: 36px; font-weight: 400;
  max-width: 440px;
}

.hero-cta-group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blue); color: #fff;
  font-size: 1rem; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius);
  transition: background .18s, transform .15s, box-shadow .18s;
  box-shadow: 0 4px 20px rgba(29,78,216,.35);
  letter-spacing: -.01em;
}
.btn-primary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.btn-primary:hover { background: #1A44C4; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,78,216,.45); }

@keyframes pulse-ring {
  0%   { box-shadow: 0 4px 20px rgba(29,78,216,.35), 0 0 0 0 rgba(37,99,235,.5); }
  70%  { box-shadow: 0 4px 20px rgba(29,78,216,.35), 0 0 0 14px rgba(37,99,235,0); }
  100% { box-shadow: 0 4px 20px rgba(29,78,216,.35), 0 0 0 0 rgba(37,99,235,0); }
}
.btn-primary--pulse { animation: pulse-ring 2.4s ease-out infinite; }

.hero-note { font-size: .78rem; color: #64748B; margin-top: 16px; }
.hero-note span { color: #94A3B8; }

.hero-img-wrap {
  align-self: flex-end;
  position: relative;
}
.hero-img-wrap img {
  width: 100%; max-width: 500px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  object-fit: cover; object-position: center top;
  max-height: 520px;
  display: block; margin-left: auto;
  box-shadow: 0 -8px 40px rgba(0,0,0,.3);
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  divide-x: 1px solid var(--rule);
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px;
  border-right: 1px solid var(--rule);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--blue-lt);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-text strong { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.trust-text span { font-size: .75rem; color: var(--ink3); }

/* ── Section shared ── */
.section { padding: 80px 0; }
.section--alt { background: var(--bg2); }
.section--dark { background: var(--dark); }

.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px; display: block;
}
.eyebrow--lt { color: #60A5FA; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--ink); line-height: 1.15; margin-bottom: 14px;
}
.section-title--white { color: #fff; }
.section-desc { color: var(--ink3); font-size: .95rem; max-width: 540px; line-height: 1.7; }
.section-desc--white { color: #94A3B8; }

/* ── Services ── */
.services-layout {
  display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start;
}
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.service-card {
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 24px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover {
  border-color: var(--blue2);
  box-shadow: 0 4px 24px rgba(29,78,216,.1);
  transform: translateY(-2px);
}
.sc-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.sc-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.service-card p { font-size: .8rem; color: var(--ink3); line-height: 1.6; }

.service-panel {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky; top: 88px;
}
.panel-title { font-size: .85rem; font-weight: 600; color: #94A3B8; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .08em; }
.panel-list { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.panel-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: #CBD5E1;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.panel-list li:last-child { border-bottom: none; }
.panel-list li svg { width: 15px; height: 15px; stroke: #60A5FA; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── Why ── */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; }
.why-card {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .2s, transform .2s;
}
.why-card:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.wc-icon {
  width: 44px; height: 44px;
  background: rgba(29,78,216,.25); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.wc-icon svg { width: 22px; height: 22px; stroke: #60A5FA; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-size: .92rem; font-weight: 700; color: #F1F5F9; margin-bottom: 8px; }
.why-card p { font-size: .82rem; color: #64748B; line-height: 1.65; }

/* ── How It Works ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 48px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.67% + 14px); right: calc(16.67% + 14px);
  height: 1px; background: var(--rule);
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.step-num {
  width: 56px; height: 56px;
  background: var(--bg); border: 2px solid var(--rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: var(--blue);
  margin-bottom: 20px;
  position: relative; z-index: 1;
  transition: border-color .2s, background .2s;
}
.step:hover .step-num { border-color: var(--blue); background: var(--blue-lt); }
.step h3 { font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: .82rem; color: var(--ink3); line-height: 1.65; }
.how-cta { text-align: center; margin-top: 48px; }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item { background: rgba(255,255,255,.04); padding: 40px 24px; text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .8rem; color: #64748B; font-weight: 500; }

/* ── Footer CTA ── */
.footer-cta { background: var(--blue); padding: 72px 0; text-align: center; }
.footer-cta-loc { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.footer-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -.03em; }
.footer-cta p { color: rgba(255,255,255,.7); font-size: .95rem; max-width: 460px; margin: 0 auto 32px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--blue);
  font-size: 1rem; font-weight: 700;
  padding: 14px 28px; border-radius: var(--radius);
  transition: background .18s, transform .15s;
}
.btn-white svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.btn-white:hover { background: #EFF6FF; transform: translateY(-1px); }

/* ── Footer ── */
.site-footer { background: var(--dark); padding: 40px 0 28px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-logo .logo-name { color: #F1F5F9; }
.footer-logo .logo-mark { background: rgba(29,78,216,.6); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.footer-links a { color: #475569; font-size: .82rem; font-weight: 500; transition: color .18s; }
.footer-links a:hover { color: #94A3B8; }
.footer-disclaimer { color: #334155; font-size: .76rem; max-width: 640px; line-height: 1.75; }
.footer-disclaimer a { color: #60A5FA; }
.footer-address { color: #334155; font-size: .8rem; font-style: normal; margin-bottom: .35rem; }
.footer-copy { color: #1E293B; font-size: .73rem; }

/* ── Modals ── */
.modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,23,42,.75); backdrop-filter: blur(4px);
  overflow-y: auto; padding: 40px 16px;
}
.modal:target { display: flex; align-items: flex-start; justify-content: center; }
.modal-box {
  background: var(--bg); border-radius: var(--radius-lg);
  max-width: 640px; width: 100%; padding: 48px 40px;
  position: relative; margin: auto;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 18px; right: 20px;
  font-size: 1rem; color: var(--ink3);
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-weight: 500; transition: background .15s;
}
.modal-close:hover { background: var(--bg3); }
.modal-box h2 { font-size: 1.45rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; letter-spacing: -.02em; }
.modal-updated { font-size: .75rem; color: var(--ink3); margin-bottom: 24px; }
.modal-box h3 { font-size: .9rem; font-weight: 700; color: var(--ink); margin: 22px 0 7px; }
.modal-box p { font-size: .88rem; color: var(--ink2); line-height: 1.78; margin-bottom: 10px; }
.modal-box a { color: var(--blue); }
.modal-box ul { padding-left: 18px; margin-bottom: 12px; }
.modal-box ul li { font-size: .88rem; color: var(--ink2); line-height: 1.7; margin-bottom: 5px; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .hero-text { padding-bottom: 72px; }
  .trust-bar-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .services-layout { grid-template-columns: 1fr; }
  .service-panel { position: static; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .header-tagline { display: none; }
  .btn-call { font-size: .82rem; padding: 9px 16px; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 16px; }
  .service-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1px; }
  .modal-box { padding: 32px 20px; }
}
