/* ==========================================================================
   LockPoint / לוקפוינט — Design System v2
   Premium local locksmith company · RTL · Mobile-first
   ========================================================================== */

:root {
  /* Brand — derived from logo */
  --navy: #16265c;
  --navy-dark: #0d1738;
  --navy-deep: #0a1129;
  --blue: #2469e0;
  --blue-bright: #3b82f6;
  --blue-light: #eaf1fc;
  --amber: #f5a623;
  --amber-light: #ffc857;
  --whatsapp: #25d366;

  --ink: #1a2138;
  --ink-soft: #5a6478;
  --line: #e5eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(13, 23, 56, 0.10);
  --shadow-lg: 0 16px 48px rgba(13, 23, 56, 0.18);
  --maxw: 1140px;

  --font: 'Heebo', -apple-system, 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; margin: 0 0 0.5em; }
h1 { font-size: 2rem; font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: 1.65rem; font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

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

section { padding: 64px 0; }
section.alt { background: var(--bg-soft); }
section.tight { padding: 40px 0; }

.section-title { text-align: center; margin-bottom: 10px; }
.section-kicker {
  display: block; text-align: center; color: var(--blue);
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 8px;
}
.section-sub { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 40px; font-size: 1.02rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 12px;
}
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-link img { height: 40px; width: auto; }
.brand-tagline { display: none; }

.main-nav { display: none; }
.main-nav a {
  color: var(--navy); font-weight: 600; font-size: 0.95rem;
  padding: 7px 12px; border-radius: 999px; transition: background 0.15s;
}
.main-nav a:hover { background: var(--blue-light); text-decoration: none; }
.main-nav a.nav-emergency { color: #c2410c; font-weight: 800; }

.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--navy) 0%, #1d3a8f 100%);
  color: #fff !important;
  font-weight: 800; padding: 10px 18px; border-radius: 999px;
  font-size: 0.95rem; white-space: nowrap;
  box-shadow: 0 3px 12px rgba(22, 38, 92, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.header-phone:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(22, 38, 92, 0.35); text-decoration: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; }

.mobile-nav {
  display: none;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px 20px 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 12px 4px; color: var(--navy);
  font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Hero — photo background
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  padding: 48px 0 60px;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: var(--hero-pos, center 22%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(9, 15, 38, 0.88) 0%,
    rgba(12, 21, 51, 0.78) 42%,
    rgba(13, 23, 56, 0.42) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero .tagline {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.45);
  color: var(--amber-light);
  font-weight: 700; font-size: 0.95rem;
  padding: 6px 16px; border-radius: 999px;
  margin: 0 0 18px;
}
.hero p.lead { color: #dbe4f7; font-size: 1.1rem; max-width: 580px; margin: 0 0 26px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  padding: 7px 15px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 800; font-size: 1.08rem;
  padding: 16px 30px; border-radius: 14px;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); filter: brightness(1.05); }
.btn-phone {
  background: linear-gradient(135deg, var(--amber) 0%, #f0940a 100%);
  color: var(--navy-deep) !important;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}
.btn-whatsapp { background: var(--whatsapp); color: #fff !important; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35); }
.btn-outline { border: 2px solid rgba(255,255,255,0.55); color: #fff !important; }
.btn-navy { background: linear-gradient(135deg, var(--navy) 0%, #1d3a8f 100%); color: #fff !important; }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 26px 0;
}
.stats-band .container {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  text-align: center;
}
.stat .num { color: var(--amber-light); font-size: 1.6rem; font-weight: 900; line-height: 1.1; }
.stat .label { color: #b9c6e6; font-size: 0.85rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover { text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #cdd9ee; }
.card .card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card .card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card .icon { font-size: 1.6rem; margin-bottom: 8px; }
.card h3 { margin-bottom: 6px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }
.card .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 0.9rem; }
.card:hover .more { text-decoration: underline; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0; list-style: none; }
.chip-list a {
  display: inline-block; background: #fff; border: 1.5px solid var(--line);
  padding: 11px 20px; border-radius: 999px; color: var(--navy); font-weight: 700; font-size: 0.95rem;
  transition: all 0.15s;
}
.chip-list a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; box-shadow: var(--shadow); transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   Media split (image + text)
   -------------------------------------------------------------------------- */
.media-split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.media-split .media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.media-split h2 { margin-bottom: 14px; }
.media-split p { color: var(--ink-soft); }
.media-split ul { padding-right: 4px; list-style: none; margin: 18px 0; }
.media-split ul li { padding: 7px 0 7px 0; padding-right: 32px; position: relative; font-weight: 500; }
.media-split ul li::before {
  content: '✓'; position: absolute; right: 0; top: 7px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  font-size: 0.8rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* --------------------------------------------------------------------------
   Trust / why us
   -------------------------------------------------------------------------- */
.trust-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.trust-item {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.trust-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.trust-item .icon {
  width: 54px; height: 54px; margin: 0 auto 12px;
  background: var(--blue-light); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.trust-item h3 { font-size: 1rem; margin: 0 0 4px; }
.trust-item p { font-size: 0.87rem; color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; padding: 0; list-style: none; }
.steps li {
  position: relative; padding: 24px 74px 24px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; right: 20px; top: 24px;
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: #fff; font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(36, 105, 224, 0.35);
}
.steps h3 { font-size: 1.02rem; margin-bottom: 3px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 20px; margin-bottom: 12px;
  transition: box-shadow 0.15s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: #cdd9ee; }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy);
  padding: 16px 0; padding-left: 30px; list-style: none; position: relative;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  font-size: 1.15rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   CTA band — photo background
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; color: #fff; text-align: center;
  background: var(--navy-dark); overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--cta-img, none);
  background-size: cover; background-position: center;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,17,41,0.88) 0%, rgba(13,23,56,0.92) 100%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: 1.8rem; }
.cta-band p { color: #c9d5ef; margin-bottom: 26px; font-size: 1.05rem; }
.cta-band .cta-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Breadcrumbs + inner pages
   -------------------------------------------------------------------------- */
.breadcrumbs { font-size: 0.85rem; color: #a8b6d8; position: relative; z-index: 2; padding: 16px 0 0; }
.breadcrumbs a { color: #a8b6d8; }
.breadcrumbs span { color: #fff; font-weight: 600; }

.page-hero {
  position: relative; color: #fff;
  background: var(--navy-dark);
  padding: 0 0 52px; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover; background-position: center 35%;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 17, 41, 0.94) 0%,
    rgba(13, 23, 56, 0.84) 50%,
    rgba(13, 23, 56, 0.45) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 26px 0 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.page-hero p.lead { color: #dbe4f7; max-width: 640px; margin: 0 0 24px; font-size: 1.06rem; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-right: 24px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 24px 0; }

/* --------------------------------------------------------------------------
   Emergency page
   -------------------------------------------------------------------------- */
.emergency-hero h1 { font-size: 2.4rem; }
.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4); }
  50% { box-shadow: 0 6px 32px rgba(245, 166, 35, 0.75); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #b9c4de; padding: 52px 0 104px; font-size: 0.92rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
.site-footer a { color: #b9c4de; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-logo img {
  height: 46px; margin-bottom: 16px;
  background: #fff; border-radius: 10px;
  padding: 12px 18px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); margin-top: 34px; padding-top: 20px; font-size: 0.82rem; color: #7f8db3; }

/* --------------------------------------------------------------------------
   Sticky mobile call bar
   -------------------------------------------------------------------------- */
.mobile-cta-bar {
  position: fixed; bottom: 0; right: 0; left: 0; z-index: 60;
  display: flex;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.mobile-cta-bar a {
  flex: 1; text-align: center; padding: 16px 0;
  font-weight: 800; font-size: 1.02rem; color: #fff !important;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mobile-cta-bar .call { background: linear-gradient(135deg, var(--amber) 0%, #f0940a 100%); color: var(--navy-deep) !important; }
.mobile-cta-bar .wa { background: var(--whatsapp); }
.mobile-cta-bar a:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }
  section { padding: 84px 0; }
  .logo-link { flex-direction: column; align-items: flex-start; gap: 3px; }
  .logo-link img { height: 44px; }
  .brand-tagline { display: block; font-size: 0.7rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.01em; white-space: nowrap; }
  .hero { padding: 64px 0 88px; }
  .hero h1 { font-size: 3rem; }
  .hero p.lead { font-size: 1.18rem; }
  .page-hero { padding-bottom: 64px; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .stats-band .container { grid-template-columns: repeat(4, 1fr); }
  .stat .num { font-size: 2rem; }
  .media-split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .media-split.media-left .media { order: -1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .main-nav { display: flex; gap: 2px; }
  .nav-toggle { display: none; }
  .mobile-cta-bar { display: none; }
  .site-footer { padding-bottom: 52px; }
  .emergency-hero h1 { font-size: 3.2rem; }
}
