/* ==========================================
   Mike Locksmith Professional Services
   Shared stylesheet — clean white with purple/blue accents
   ========================================== */

:root {
  --purple: #4a2da0;
  --purple-deep: #361f73;
  --purple-soft: #f5f1fc;
  --blue: #2851d6;
  --blue-deep: #1d3aa8;
  --blue-soft: #eef2ff;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --ink: #14112b;
  --ink-muted: #6b6b80;
  --line: #ececf2;
  --line-strong: #d8d8e0;
  --whatsapp: #25d366;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.logo-img { height: 48px; width: auto; display: block; }
@media (max-width: 500px) { .logo-img { height: 36px; } }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.92rem; color: var(--ink-muted);
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a.active { color: var(--purple); font-weight: 700; }
.nav-cta {
  background: var(--purple);
  color: white !important;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem !important;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--purple-deep); transform: translateY(-1px); }
@media (max-width: 768px) { .nav-links a:not(.nav-cta) { display: none; } }

/* PAGE HEADER (for non-home pages) — clean white */
.page-header {
  position: relative; padding: 80px 0 60px; overflow: hidden;
  background: white;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-header .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 20px; font-weight: 700;
  background: var(--purple-soft);
  padding: 8px 16px; border-radius: 999px;
}
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1; letter-spacing: -0.03em;
  font-weight: 600; margin-bottom: 16px;
  color: var(--purple);
}
.page-header h1 em {
  font-style: italic; font-weight: 400;
  color: var(--blue);
}
.page-header p {
  color: var(--ink-muted); font-size: 1.1rem;
  max-width: 600px; margin: 0 auto;
}

/* SECTION COMMON */
.section-eyebrow {
  display: inline-block; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px; font-weight: 700;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--purple);
}
.section-header p {
  color: var(--ink-muted); max-width: 580px; margin: 0 auto;
}

/* FOOTER — light, white with subtle separators */
footer {
  padding: 60px 0 30px;
  background: white;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
footer h4 {
  font-family: var(--display); font-size: 1.05rem;
  font-weight: 600; margin-bottom: 14px; color: var(--purple);
}
footer p, footer a {
  color: var(--ink-muted);
  font-size: 0.9rem; line-height: 1.8; display: block;
}
footer a:hover { color: var(--purple); }
.footer-logo {
  display: inline-block; margin-bottom: 16px;
}
.footer-logo img { height: 40px; display: block; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px; text-align: center;
  color: var(--ink-muted); font-size: 0.82rem;
}

/* FLOATING BUTTONS */
.floating-buttons {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(20, 17, 43, 0.18);
  transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 28px; height: 28px; fill: white; }
.float-btn.whatsapp { background: var(--whatsapp); }
.float-btn.call { background: var(--purple); }
.mobile-call {
  display: none;
  position: fixed;
  bottom: 20px; left: 20px;
  background: var(--purple);
  color: white;
  padding: 16px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
  z-index: 199;
  box-shadow: 0 6px 20px rgba(74, 45, 160, 0.4);
  align-items: center; justify-content: center; gap: 10px;
}
.mobile-call svg { width: 18px; height: 18px; fill: white; }
@media (max-width: 768px) {
  .mobile-call { display: inline-flex; right: 90px; left: 20px; }
  .floating-buttons { bottom: 20px; right: 20px; }
  .float-btn.call { display: none; }
  body { padding-bottom: 90px; }
}
