/* =========================================================
   West Key Locksmith — Site Stylesheet
   Brand: Navy #0C2D50 / Gray #727274 / White
   Accent: Gold #E3A83B (used sparingly for CTAs — pairs with
   navy for a premium, trustworthy "security + service" feel)
   ========================================================= */

:root {
  --navy: #0c2d50;
  --navy-dark: #081f38;
  --navy-light: #163a63;
  --gray: #727274;
  --gray-light: #f4f5f7;
  --gray-border: #e2e5ea;
  --white: #ffffff;
  --accent: #e3a83b;
  --accent-dark: #c98f22;
  --text: #1e2430;
  --text-soft: #4a5160;
  --success: #2e8b57;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(12, 45, 80, 0.10);
  --shadow-lg: 0 12px 40px rgba(12, 45, 80, 0.16);
  --maxw: 1180px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }

/* Inline icon defaults */
svg.i { width: 1em; height: 1em; vertical-align: -0.15em; }
.btn svg.i { width: 19px; height: 19px; vertical-align: -4px; margin-right: 2px; }
.nav-toggle svg.i { width: 26px; height: 26px; vertical-align: -6px; }
.hero-badges svg.i { width: 18px; height: 18px; vertical-align: -4px; margin-right: 2px; color: var(--accent); }
.check svg { width: 18px; height: 18px; display: block; }

/* Icon badges (service cards, trust bar) */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(12, 45, 80, 0.22);
  flex: 0 0 auto;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.lg {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  margin-bottom: 18px;
}
.icon-badge.lg svg { width: 30px; height: 30px; }
p { margin: 0 0 16px; color: var(--text-soft); }
section { padding: 72px 0; }
.section-alt { background: var(--gray-light); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(227, 168, 59, 0.14);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-call {
  background: var(--accent);
  color: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(227, 168, 59, 0.35);
}
.btn-call:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.icon-phone { font-size: 1.1em; }

/* Top utility bar */
.top-bar {
  background: var(--navy-dark);
  color: #cdd7e5;
  font-size: 0.82rem;
  padding: 7px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.top-bar a { color: #cdd7e5; }
.top-bar strong { color: var(--accent); }

/* Header */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 2px 14px rgba(12, 45, 80, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text .name { font-weight: 900; color: var(--navy); font-size: 1.12rem; letter-spacing: 0.01em; }
.brand-text .tag { font-weight: 700; color: var(--accent-dark); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }

nav.main-nav { display: flex; gap: 30px; }
nav.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--navy); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 0.78rem;
  color: var(--gray);
}
.header-phone strong { font-size: 1.05rem; color: var(--navy); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 68px),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -16px 30px -20px rgba(0,0,0,0.35);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(227,168,59,0.20) 0%, transparent 70%);
}
.hero::before {
  content: "";
  position: absolute;
  left: -60px; bottom: -140px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .lede { color: #dbe4f0; font-size: 1.15rem; max-width: 540px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.86rem; color: #cdd7e5; }
.hero-badges span { display: flex; align-items: center; gap: 8px; }
.hero-badges b { color: var(--white); }
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(2px);
}
.hero-panel h3 { color: var(--white); margin-bottom: 18px; font-size: 1.1rem; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; }
.hero-panel li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #dbe4f0; font-size: 0.94rem;
}
.hero-panel li:last-child { border-bottom: none; }
.hero-panel .check { color: var(--accent); font-weight: 900; }

/* Trust bar */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--gray-border); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 30px 0;
}
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-item .icon-badge { width: 48px; height: 48px; border-radius: 12px; }
.trust-item .icon-badge svg { width: 23px; height: 23px; }
.trust-item div strong { display: block; color: var(--navy); font-size: 0.95rem; }
.trust-item div span { font-size: 0.82rem; color: var(--gray); }

/* Services grid */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(227,168,59,0.4); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.94rem; margin-bottom: 14px; }
.service-card a.learn { font-weight: 700; color: var(--navy); font-size: 0.9rem; letter-spacing: 0.01em; }
.service-card a.learn:hover { color: var(--accent-dark); }

/* Detailed service sections (services.html) */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-media { order: 2; }
.service-detail-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 340px; object-fit: cover; }
.service-detail ul.includes { list-style: none; padding: 0; margin: 18px 0; }
.service-detail ul.includes li { padding: 6px 0; padding-left: 26px; position: relative; font-size: 0.95rem; color: var(--text-soft); }
.service-detail ul.includes li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }

/* Areas */
.areas-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.area-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.area-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(227,168,59,0.4); }
.area-chip svg { width: 16px; height: 16px; color: var(--accent-dark); flex: 0 0 auto; }
.area-detail {
  padding: 34px 0;
  border-bottom: 1px solid var(--gray-border);
}
.area-detail:last-child { border-bottom: none; }
.area-detail h2 { margin-bottom: 10px; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-grid a:hover img { transform: scale(1.08); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
details.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-dark); }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { margin-top: 12px; margin-bottom: 0; font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cdd7e5; max-width: 560px; margin: 0 auto 26px; }

/* Team / About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.team-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius);
  padding: 24px; text-align: center; box-shadow: var(--shadow);
}
.team-card .avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.3rem; margin: 0 auto 14px;
}
.credentials-list { list-style: none; padding: 0; margin: 20px 0; }
.credentials-list li { padding: 10px 0; border-bottom: 1px solid var(--gray-border); font-size: 0.95rem; display: flex; gap: 10px; }
.credentials-list li:last-child { border-bottom: none; }
.credentials-list b { color: var(--accent-dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-card {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 36px;
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card a { color: var(--white); }
.contact-info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: #9fb2cc; }
.contact-info-row .value { font-weight: 700; font-size: 1.05rem; }

.form-card {
  background: var(--white); border: 1px solid var(--gray-border);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-border);
  border-radius: 6px; font-family: var(--font); font-size: 0.95rem; color: var(--text);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
footer.site-footer { background: var(--navy-dark); color: #b9c6d9; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 40px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: #8095b3;
}

/* Sticky mobile call bar */
.sticky-call {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--accent);
  padding: 12px 20px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
}
.sticky-call a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--navy-dark); font-weight: 800; font-size: 1.05rem;
}

/* Breadcrumb-ish page header for inner pages */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: #cdd7e5; max-width: 620px; margin: 0 auto; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.badge-license {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px; border-radius: 30px; font-size: 0.82rem; color: var(--white);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .service-detail, .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse .service-detail-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .form-two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-call { display: block; }
  body { padding-bottom: 62px; }
  .hero { padding: 56px 0 64px; }
  section { padding: 52px 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  padding: 10px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--gray-border); }
.mobile-nav .btn { margin-top: 14px; }
