/* ============================================================
   970 Locksmith — PREMIUM MOBILE MENU (ARMOR-style)
   Black + Gold, glass-blur backdrop, smooth animations
   Loaded via separate <link> after style.css for clean override
   ============================================================ */

/* Hamburger button — clean 3-line icon with gold accent */
.site-header .hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px 8px;
  cursor: pointer;
  position: relative;
  width: 44px;
  height: 44px;
  z-index: 1003;
  -webkit-tap-highlight-color: transparent;
}
.site-header .hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #f0a500;
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s, background .2s;
  transform-origin: center;
}
.site-header .hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header .hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header .hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .site-header .hamburger { display: block; }
  .site-header .nav-primary { display: none; }
  .site-header .header-cta .btn-primary { display: none; }
}
@media (max-width: 540px) {
  .site-header .header-phone { display: none; }
}

/* ─── Backdrop ───────────────────────────────────────────── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  z-index: 999;
  pointer-events: none;
  transition: background .35s ease, backdrop-filter .35s ease;
}
.mobile-nav-backdrop.open {
  background: rgba(5,8,15,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}

/* ─── Mobile Nav Panel — black + gold premium ───────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(380px, 92vw);
  height: 100vh;
  height: 100dvh;
  background:
    radial-gradient(circle at top right, rgba(240,165,0,0.10), transparent 50%),
    linear-gradient(180deg, #0a0e17 0%, #050810 100%);
  color: #fff;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transition: right .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
  box-shadow: none;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid rgba(240,165,0,0.15);
}
.mobile-nav.open {
  right: 0;
  box-shadow: -8px 0 60px rgba(0,0,0,0.7);
}

/* ─── Top header inside menu: logo + close ─────────────── */
.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(240,165,0,0.18);
  background: linear-gradient(180deg, rgba(240,165,0,0.06), transparent);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}
.mobile-nav-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0a500, #c98b00);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0a0e17;
  box-shadow: 0 4px 14px rgba(240,165,0,0.35);
}
.mobile-nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.mobile-nav-brand-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.mobile-nav-brand-text small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #f0a500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mobile-nav-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.05rem;
  transition: background .2s, transform .2s, border-color .2s;
  font-weight: 400;
  line-height: 1;
}
.mobile-nav-close:hover, .mobile-nav-close:active {
  background: #f0a500;
  border-color: #f0a500;
  color: #0a0e17;
  transform: rotate(90deg);
}

/* ─── Hero CTA section ──────────────────────────────────── */
.mobile-nav-hero {
  padding: 1.25rem 1.25rem 1rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(240,165,0,0.08) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.28);
  color: #fbbf24;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}
.mobile-nav-rating .stars {
  color: #fbbf24;
  letter-spacing: -1px;
}
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.mobile-nav-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  background: linear-gradient(135deg, #f0a500 0%, #fbbf24 100%);
  color: #0a0e17;
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 6px 22px rgba(240,165,0,0.4);
  transition: transform .15s ease, box-shadow .25s ease;
  letter-spacing: -0.01em;
}
.mobile-nav-call-btn:active {
  transform: scale(0.97);
  box-shadow: 0 3px 12px rgba(240,165,0,0.3);
}
.mobile-nav-call-btn svg {
  width: 18px;
  height: 18px;
  stroke: #0a0e17;
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}
.mobile-nav-call-sub {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
}
.mobile-nav-call-sub strong {
  color: #16a34a;
  font-weight: 700;
}

/* ─── Sections inside menu ─────────────────────────────── */
.mobile-nav-section {
  padding: 1.1rem 1.25rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0a500;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-nav-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(240,165,0,0.4), transparent);
}

/* ─── Links ─────────────────────────────────────────────── */
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.5rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 0.15rem;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  position: relative;
}
.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(240,165,0,0.08);
  color: #fff;
}
.mobile-nav-link:active { transform: translateX(2px); }
.mobile-nav-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(240,165,0,0.10);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background .2s ease;
}
.mobile-nav-link:hover .mobile-nav-link-icon,
.mobile-nav-link:active .mobile-nav-link-icon {
  background: rgba(240,165,0,0.20);
}
.mobile-nav-link-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}
.mobile-nav-link-text span:first-child {
  font-weight: 700;
  color: #fff;
  font-size: 0.97rem;
}
.mobile-nav-link-text small {
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 500;
  margin-top: 1px;
}
.mobile-nav-link-arrow {
  color: #475569;
  font-size: 1rem;
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.mobile-nav-link:hover .mobile-nav-link-arrow,
.mobile-nav-link:active .mobile-nav-link-arrow {
  color: #f0a500;
  transform: translateX(2px);
}

/* Service areas — 2-col compact grid */
.mobile-nav-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.mobile-nav-area {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.75rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  color: #e2e8f0;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.mobile-nav-area:hover, .mobile-nav-area:active {
  border-color: rgba(240,165,0,0.4);
  background: rgba(240,165,0,0.06);
}
.mobile-nav-area-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.mobile-nav-area-zip {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ─── Trust footer ─────────────────────────────────────── */
.mobile-nav-trust {
  padding: 1.1rem 1.25rem 0.85rem;
  border-top: 1px solid rgba(240,165,0,0.18);
  background: linear-gradient(180deg, transparent 0%, rgba(240,165,0,0.04) 100%);
  margin-top: auto;
}
.mobile-nav-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  justify-content: center;
}
.mobile-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #cbd5e1;
}
.mobile-nav-badge.gold { color: #fbbf24; border-color: rgba(240,165,0,0.3); background: rgba(240,165,0,0.08); }
.mobile-nav-trust-line {
  text-align: center;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.5;
}
.mobile-nav-trust-line a {
  color: #f0a500;
  text-decoration: none;
  font-weight: 600;
}

/* Bottom safe-area padding on iOS */
.mobile-nav {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Body lock when menu open */
body.menu-open {
  overflow: hidden;
  height: 100vh;
}

/* ─── Hide old/duplicate mobile-nav rules from style.css ── */
/* style.css has older rules — these high-specificity rules override them */
.mobile-nav.open { display: flex !important; }
.mobile-nav:not(.open) { display: flex; right: -100%; }

/* Larger desktop — completely hide */
@media (min-width: 1025px) {
  .mobile-nav, .mobile-nav-backdrop { display: none !important; }
}

/* ─── Dropdown toggle as link (clickable) ───────────────── */
.nav-primary a.dropdown-toggle {
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}
.nav-primary a.dropdown-toggle:hover { color: var(--accent); }

/* ─── HAMBURGER OVERRIDE — kill style.css conflicts ───── */
@media (max-width: 1024px) {
  .site-header .hamburger,
  body .hamburger,
  .hamburger.hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(240,165,0,0.10);
    border: 1px solid rgba(240,165,0,0.35);
    border-radius: 10px;
    padding: 0;
    z-index: 1003;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
  }
  .site-header .hamburger span {
    display: block !important;
    width: 22px !important;
    height: 2.5px !important;
    background: #f0a500 !important;
    margin: 0 !important;
    border-radius: 2px;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s;
  }
  .site-header .hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-header .hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .site-header .hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (min-width: 1025px) {
  .site-header .hamburger { display: none !important; }
}

/* ─── "What's New" homepage section ─────────────────────── */
.whats-new-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 3px solid #f0a500;
}
.whats-new-section .section-header { text-align: center; margin-bottom: 2rem; }
.whats-new-section .eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, #f0a500, #fbbf24);
  color: #0a0e17;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}
.whats-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.whats-new-card {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.whats-new-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #f0a500, #c98b00);
  opacity: 0;
  transition: opacity .25s;
}
.whats-new-card:hover {
  transform: translateY(-3px);
  border-color: #f0a500;
  box-shadow: 0 8px 24px rgba(240,165,0,0.15);
}
.whats-new-card:hover::before { opacity: 1; }
.whats-new-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(240,165,0,0.10), rgba(240,165,0,0.18));
  display: grid;
  place-items: center;
}
.whats-new-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #0d1b2a;
}
.whats-new-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}
.whats-new-card-cta {
  margin-top: auto;
  color: #c98b00;
  font-weight: 700;
  font-size: 0.85rem;
}
.whats-new-card-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
