/* ===========================================================
   Mr Locksmith Lockout — Design System
   Built mobile-first. Premium · Calm · Conversion-focused.
   =========================================================== */

:root {
  /* Brand */
  --brand-900: #0b1320;   /* deep navy */
  --brand-800: #111c30;
  --brand-700: #182846;
  --brand-600: #1f3661;
  --brand-500: #2c4f8c;
  --brand-50:  #eef3fb;

  /* Brand red — matches the official Mr Locksmith Lockout logo */
  --accent-700: #a3140d;
  --accent-600: #c81e15;
  --accent-500: #e5251d;
  --accent-400: #f24a44;
  --accent-50:  #fdebea;

  /* Functional */
  --emergency: #d8362a;
  --emergency-700: #a92518;
  --success: #15834a;
  --warn:    #b8860b;
  --danger:  #b91c1c;

  /* Neutrals */
  --ink-900: #0c1019;
  --ink-700: #010408;
  --ink-600: #404a5b;
  --ink-500: #5e6b80;
  --ink-400: #8693a8;
  --ink-300: #c5cdd9;
  --ink-200: #ffffff;
  --ink-100: #f1f4f9;
  --ink-50:  #f8fafd;
  --white:   #ffffff;

  /* Surfaces */
  --bg:        #ffffff;
  --bg-soft:   #f7f9fc;
  --bg-tint:   #eef3fb;
  --surface:   #ffffff;
  --border:    #e3e8f0;
  --border-strong: #cfd6e3;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;

  /* Scale (clamp for fluid type) */
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: clamp(1.25rem, 0.95rem + 1.2vw, 1.5rem);
  --fs-32: clamp(1.6rem, 1.2rem + 1.7vw, 2rem);
  --fs-40: clamp(1.9rem, 1.3rem + 2.6vw, 2.5rem);
  --fs-56: clamp(2.4rem, 1.6rem + 3.6vw, 3.5rem);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --sh-2: 0 4px 14px rgba(15, 23, 42, 0.08);
  --sh-3: 0 10px 30px rgba(15, 23, 42, 0.10);
  --sh-4: 0 24px 60px rgba(15, 23, 42, 0.18);
  --sh-focus: 0 0 0 3px rgba(245, 166, 35, 0.45);

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 880px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: 120ms;
  --t-med:  240ms;
  --t-slow: 380ms;
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-700); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none; box-shadow: var(--sh-focus); border-radius: var(--r-xs);
}
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-8) 0; }
::selection { background: var(--accent-500); color: var(--brand-900); }

/* ----- Typography ----- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  font-weight: 700;
}
h1 { font-size: var(--fs-56); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-40); letter-spacing: -0.022em; }
h3 { font-size: var(--fs-24); letter-spacing: -0.015em; }
h4 { font-size: var(--fs-20); }
p  { margin: 0 0 var(--s-4); }
.lead { font-size: var(--fs-18); color: var(--ink-600); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-13); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 6px 12px; border-radius: var(--r-pill);
}
.eyebrow.alt { background: var(--accent-50); color: var(--accent-700); }
.muted { color: var(--ink-500); }
.text-center { text-align: center; }
.balance { text-wrap: balance; }

/* ----- Layout ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section.alt { background: var(--bg-soft); }
.section.dark {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 70%, var(--brand-600) 100%);
  color: var(--ink-100);
}
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark .lead, .section.dark .muted { color: var(--ink-300); }
.section.dark .eyebrow        { background: rgba(255,255,255,0.09); color: rgba(255,255,255,0.82); border: 1px solid rgba(255,255,255,0.12); }
.section.dark .eyebrow.alt    { background: rgba(200,30,21,0.22); color: #f87171; border: 1px solid rgba(200,30,21,0.3); }
.section.dark strong, .section.dark b { color: var(--ink-200); }
.section.dark li               { color: var(--ink-100); }

.section-head { max-width: 760px; margin: 0 auto var(--s-12); text-align: center; }
.section-head .eyebrow { margin-bottom: var(--s-3); }

.grid { display: grid; gap: var(--s-6); }
.grid-2  { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3  { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4  { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-50 { display: grid; gap: var(--s-12); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .grid-50 { grid-template-columns: 1fr 1fr; } }

/* ----- Animations ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger list reveal — items slide in from the left sequentially */
.stagger-list > li {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.45s cubic-bezier(.2,.8,.2,1), transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.stagger-list.is-revealed > li:nth-child(1) { transition-delay: 0ms; }
.stagger-list.is-revealed > li:nth-child(2) { transition-delay: 80ms; }
.stagger-list.is-revealed > li:nth-child(3) { transition-delay: 160ms; }
.stagger-list.is-revealed > li:nth-child(4) { transition-delay: 240ms; }
.stagger-list.is-revealed > li             { opacity: 1; transform: translateX(0); }

/* Hero entrance — fires on page load, no scroll needed */
@keyframes heroin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-enter       { animation: heroin 0.65s cubic-bezier(.2,.8,.2,1) 0.05s both; }
.hero-enter-delay { animation: heroin 0.65s cubic-bezier(.2,.8,.2,1) 0.22s both; }

/* Image hover zoom — apply to the containing element */
.img-zoom         { overflow: hidden; }
.img-zoom img     { transition: transform 0.55s cubic-bezier(.2,.8,.2,1); }
.img-zoom:hover img { transform: scale(1.035); }

/* ==== Typewriter cursor ==== */
.tw-cursor {
  display: inline-block;
  width: 4px;
  height: 0.88em;
  background: var(--accent-600);
  margin-left: 4px;
  vertical-align: text-bottom;
  border-radius: 2px;
  animation: twBlink 1.05s step-end infinite;
}
.tw-cursor.is-typing { animation: none; opacity: 1; }
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  font-weight: 600; font-size: var(--fs-15);
  border-radius: var(--r-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
  text-align: center;
  border: 1.5px solid transparent;
  min-height: 48px;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(229, 37, 29, 0.35), inset 0 1px 1px rgba(255,255,255,0.25);
  border: 1px solid var(--accent-600);
}
.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 20px rgba(229, 37, 29, 0.45), inset 0 1px 1px rgba(255,255,255,0.35); 
  background: linear-gradient(180deg, var(--accent-400) 0%, var(--accent-500) 100%); 
}

.btn-emergency {
  background: var(--emergency);
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(216, 54, 42, 0.55), inset 0 1px 1px rgba(255,255,255,0.2);
  border: 1px solid var(--emergency-700);
}
.btn-emergency:hover { 
  transform: translateY(-2px);
  background: var(--emergency-700); 
  color: #fff; 
  box-shadow: 0 8px 18px -4px rgba(216, 54, 42, 0.65), inset 0 1px 1px rgba(255,255,255,0.2);
}

.btn-ghost {
  background: transparent; color: var(--brand-700);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--ink-50); color: var(--brand-900); border-color: var(--brand-600); }

.btn-dark {
  background: var(--brand-900); color: #fff;
}
.btn-dark:hover { background: var(--brand-700); color: #fff; }

.btn-light {
  background: #fff; color: var(--brand-900);
  border-color: rgba(255,255,255,0.3);
}
.btn-light:hover { background: var(--ink-50); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: var(--fs-16); min-height: 56px; }
.btn-sm { padding: 10px 16px; font-size: var(--fs-14); min-height: 40px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ----- Cards ----- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { box-shadow: var(--sh-3); transform: translateY(-4px); border-color: var(--brand-300); }
.card .card-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700);
  margin-bottom: var(--s-4);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.card:hover .card-icon {
  transform: scale(1.1) rotate(3deg);
  background: var(--brand-100);
  color: var(--brand-800);
}
.card.feature .card-icon { background: var(--accent-50); color: var(--accent-700); }
.card h3, .card h4 { margin-bottom: var(--s-2); }
.card p { color: var(--ink-600); margin-bottom: var(--s-4); }
.card a.link-arrow { color: var(--brand-700); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card a.link-arrow:after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.card a.link-arrow:hover:after { transform: translateX(3px); }

.card.has-image { padding: 0; }
.card.has-image .card-image { aspect-ratio: 16 / 10; overflow: hidden; }
.card.has-image .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card.has-image:hover .card-image img { transform: scale(1.04); }
.card.has-image .card-body { padding: var(--s-6); }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-utility {
  background: var(--brand-900);
  color: var(--ink-200);
  font-size: var(--fs-13);
}
.header-utility .container-wide { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.header-utility .util-left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.header-utility .util-left .pill { display: inline-flex; align-items: center; gap: 6px; }
.header-utility .util-left .dot { width: 8px; height: 8px; border-radius: 50%; background: #1ad17e; box-shadow: 0 0 8px rgba(26,209,126,.6); }
.header-utility .util-right { display: none; }
@media (min-width: 720px) {
  .header-utility .util-right { display: flex; gap: 18px; align-items: center; }
}
.header-utility a { color: var(--ink-200); }
.header-utility a:hover { color: #fff; }
.header-main { background-color: #fff; }


.header-main .container-wide {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6);
  min-height: 76px;
  background-color: white;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink-900); font-weight: 800; letter-spacing: -0.02em;
  font-size: var(--fs-18);
  text-decoration: none;
}
.brand .logo-img {
  width: auto; display: block;
}
.brand .name-block { line-height: 1.05; display: none; }
.brand .name-block small { display: block; font-size: 11px; color: var(--ink-500); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
@media (min-width: 720px) {
  .brand .name-block { display: block; }
}
.site-footer .brand .logo-img {
  padding: 6px 10px; border-radius: var(--r-sm);
  width: auto;
}
.site-footer .brand .name-block { color: #fff; }
.site-footer .brand .name-block small { color: var(--ink-400); }

.nav-primary { display: none; }
@media (min-width: 1024px) {
  .nav-primary { display: flex; align-items: center; gap: 4px; }
  .nav-primary > li { position: relative; list-style: none;}
  .nav-primary a {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 14px; border-radius: var(--r-sm);
    color: var(--ink-700); font-weight: 500; font-size: var(--fs-15);
  }
  .nav-primary a:hover { color: var(--brand-700); background: var(--ink-50); }
  .nav-primary a.is-active { color: var(--brand-700); background: var(--brand-50); }
  .nav-primary .has-mega:hover .mega,
  .nav-primary .has-mega:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mega {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--t-fast) var(--ease);
    pointer-events: none;
    position: absolute; top: 100%; left: -16px;
    background: #fff; min-width: 660px; padding: var(--s-6);
    border-radius: var(--r-lg); border: 1px solid var(--border);
    box-shadow: var(--sh-4);
    margin-top: 8px;
  }
  .mega::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
  }
  .mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .mega h5 { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .12em; color: var(--brand-500); margin-bottom: var(--s-4); border-bottom: 1px solid var(--border); padding-bottom: 6px; }
  .mega ul { list-style: none; padding: 0; margin: 0; }
  .mega ul a { padding: 10px 12px; display: block; border-radius: var(--r-xs); font-size: var(--fs-14); transition: background var(--t-fast) var(--ease); }
  .mega ul a:hover { background: var(--bg-soft); color: var(--brand-700); }
}
.header-cta { display: none; }
@media (min-width: 1024px) {
  .header-cta { display: inline-flex; gap: 8px; align-items: center; }
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--ink-50); color: var(--brand-900);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100; display: none;
}
.drawer[open] { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(11,19,32,0.5); backdrop-filter: blur(2px); }
.drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px);
  background: #fff; box-shadow: var(--sh-4);
  display: flex; flex-direction: column;
  animation: slideIn .25s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer .panel-head {
  padding: var(--s-4) var(--s-5); display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border);
}
.drawer .panel-body { padding: var(--s-4); overflow-y: auto; flex: 1; }
.drawer nav a {
  display: block; padding: 12px 14px; border-radius: var(--r-sm);
  color: var(--ink-900); font-weight: 500; font-size: var(--fs-16);
}
.drawer nav a:hover, .drawer nav a:focus { background: var(--bg-soft); }
.drawer .group { margin-top: var(--s-4); }
.drawer .group-label { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-500); padding: 8px 14px; }
.drawer .panel-foot { padding: var(--s-4); border-top: 1px solid var(--border); display: grid; gap: 10px; }

/* ----- Hero ----- */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--ink-700);
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 90% 10%, rgba(245, 166, 35, 0.05), transparent 60%),
    radial-gradient(50% 50% at 0% 90%, rgba(44, 79, 140, 0.05), transparent 60%);
  pointer-events: none;
}
.hero .container-wide { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: var(--s-10); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-12); } }

.hero h1 { color: var(--ink-900); font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem); }
.hero .lead { color: var(--ink-600); font-size: clamp(1rem, .9rem + .4vw, 1.18rem); max-width: 560px; }
.hero .eyebrow { background: var(--brand-50); color: var(--brand-600); }
.hero .availability {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: rgba(26,209,126,0.14); color: var(--success);
  border: 1px solid rgba(26,209,126,0.4); border-radius: var(--r-pill);
  font-size: var(--fs-13); font-weight: 600;
}
.hero .availability .dot { width: 8px; height: 8px; border-radius: 50%; background: #1ad17e; box-shadow: 0 0 0 4px rgba(26,209,126,0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(26,209,126,0.18);} 50% { box-shadow: 0 0 0 10px rgba(26,209,126,0); } }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 16px 20px; margin-top: var(--s-6);
  color: var(--ink-500); font-size: var(--fs-14);
  border-top: 1px solid var(--border); padding-top: var(--s-6);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-600); }

.hero-visual {
  position: relative; border-radius: var(--r-xl);

}
.hero-visual img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; }
.hero-visual .overlay-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-radius: var(--r-md); padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--sh-3);
}
.hero-visual .overlay-card .stars { color: var(--accent-500); font-size: 14px; letter-spacing: 2px; }
.hero-visual .overlay-card strong { color: var(--ink-900); font-size: var(--fs-14); }
.hero-visual .overlay-card small { color: var(--ink-500); font-size: var(--fs-12); display: block; }

/* Hero quick selector */
.quick-help {
  margin-top: var(--s-8);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
}
.quick-help-label { font-size: var(--fs-13); color: var(--ink-500); font-weight: 600; margin-bottom: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: #fff; color: var(--ink-700); font-size: var(--fs-13); font-weight: 500;
  border: 1px solid var(--border-strong);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  box-shadow: var(--sh-1);
}
.chip:hover, .chip:focus { background: var(--accent-50); color: var(--accent-700); border-color: var(--accent-400); transform: translateY(-2px); box-shadow: var(--sh-2); }
.chip:active { transform: translateY(0); box-shadow: var(--sh-1); }

/* ----- Trust strip ----- */
.trust-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--s-6) 0;
}
.trust-strip .row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4);
}
@media (min-width: 720px) { .trust-strip .row { grid-template-columns: repeat(5, 1fr); } }
.trust-strip .item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
  color: var(--ink-700); font-weight: 600; font-size: var(--fs-14);
}
.trust-strip .item svg { width: 22px; height: 22px; color: var(--brand-600); }

/* ===== Client Logo Ticker ===== */
.client-logos-section { background: var(--bg); }
.logo-ticker { overflow: hidden; position: relative; margin-top: 40px; }
.logo-ticker::before,
.logo-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-ticker::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.logo-ticker::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}
.logo-ticker-track:hover { animation-play-state: paused; }
.logo-ticker-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 8px;
}
.logo-ticker-item img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease;
}
.logo-ticker-item img:hover { filter: grayscale(0%) opacity(1); }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-ticker-track { animation: none; }
  .logo-ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; padding: 0 var(--gutter); }
  .logo-ticker::before, .logo-ticker::after { display: none; }
  .logo-ticker-track { flex-wrap: wrap; justify-content: center; width: 100%; }
  .logo-ticker-item:nth-child(n+7) { display: none; } /* hide duplicates */
}

/* ----- Service grid ----- */
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--border-strong); }
.service-card .img-wrap { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-100); }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.service-card:hover .img-wrap img { transform: scale(1.05); }
.service-card .body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: var(--fs-20); margin-bottom: 6px; }
.service-card p { color: var(--ink-600); font-size: var(--fs-15); flex: 1; }
.service-card .footer { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s-4); }
.service-card .link-arrow { color: var(--brand-700); font-weight: 600; font-size: var(--fs-14); display: inline-flex; gap: 6px; align-items: center; }
.service-card .link-arrow:after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.service-card:hover .link-arrow:after { transform: translateX(3px); }
.service-card .badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--accent-50); color: var(--accent-700);
  font-size: var(--fs-12); font-weight: 600;
}

/* ----- How it works (timeline) ----- */
.timeline {
  display: grid; gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-6);
}
.step .num {
  position: absolute; top: -16px; left: var(--s-6);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-900); color: var(--accent-500);
  display: grid; place-items: center; font-weight: 700; font-size: var(--fs-15);
  box-shadow: var(--sh-2);
}
.step h4 { margin-top: var(--s-3); }
.step p { color: var(--ink-600); font-size: var(--fs-15); margin-bottom: 0; }
@media (min-width: 720px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 4px; right: -32px; width: 32px; height: 2px;
    background: linear-gradient(90deg, var(--border) 50%, transparent 0%);
    background-size: 8px 2px;
  }
}

/* ----- FAQ accordion ----- */
.faq-list { display: grid; gap: var(--s-3); }
.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease);
}
.faq[open] { border-color: var(--brand-500); box-shadow: var(--sh-1); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-4) var(--s-5);
  font-weight: 600; color: var(--ink-900);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-16);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3661' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") center/contain no-repeat;
  transition: transform var(--t-fast) var(--ease);
}
.faq[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 var(--s-5) var(--s-5); color: var(--ink-600); }
.faq .answer p { margin: 0; }

/* ----- Testimonial ----- */
.testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-6); position: relative;
}
.testimonial .stars { color: var(--accent-500); margin-bottom: 8px; letter-spacing: 2px; font-size: var(--fs-14); }
.testimonial blockquote { font-size: var(--fs-16); color: var(--ink-700); margin: 0 0 var(--s-4); font-style: normal; }
.testimonial cite { font-style: normal; display: block; font-weight: 600; color: var(--ink-900); }
.testimonial cite small { display: block; font-weight: 400; color: var(--ink-500); margin-top: 2px; font-size: var(--fs-13); }

/* ----- Forms ----- */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-2);
}
.form-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--fs-14); color: var(--ink-700); }
.field label .req { color: var(--emergency); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink-900);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-500); outline: none;
  box-shadow: 0 0 0 3px rgba(44, 79, 140, 0.18);
}
.field textarea { min-height: 100px; resize: vertical; }
.field .help { font-size: var(--fs-13); color: var(--ink-500); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field .err-msg { color: var(--danger); font-size: var(--fs-13); display: none; }
.field.error .err-msg { display: block; }
.form-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: var(--s-4); }
.form-foot small { color: var(--ink-500); font-size: var(--fs-12); }

/* ----- Footer ----- */
.site-footer {
  background: var(--brand-900); color: var(--ink-300);
  padding: var(--s-16) 0 var(--s-6);
  font-size: var(--fs-14);
}
.site-footer .grid {
  display: grid; gap: var(--s-8);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .site-footer .grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h5 { color: #fff; font-size: var(--fs-14); text-transform: uppercase; letter-spacing: .12em; margin-bottom: var(--s-4); }
.site-footer a { color: var(--ink-300); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand .name-block { color: #fff; }
.site-footer .brand .name-block small { color: var(--ink-400); }
.site-footer .col-about p { color: var(--ink-300); margin-bottom: var(--s-4); max-width: 380px; }
.contact-block { display: grid; gap: 8px; }
.contact-block .row { display: flex; gap: 10px; align-items: flex-start; }
.contact-block svg { width: 18px; height: 18px; color: var(--accent-500); flex: 0 0 auto; margin-top: 2px; }
.social-row { display: flex; gap: 10px; margin-top: var(--s-4); }
.social-row a {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t-fast) var(--ease);
}
.social-row a:hover { background: rgba(245,166,35,0.18); color: var(--accent-400); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: var(--s-12); padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: space-between;
  color: var(--ink-400); font-size: var(--fs-13);
  text-align: center;
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* ----- Sticky mobile CTA ----- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: rgba(11,19,32,0.96); backdrop-filter: blur(8px);
  border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,0.1);
  padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
  transform: translateY(110%); transition: transform var(--t-med) var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { padding: 12px 14px; min-height: 44px; font-size: var(--fs-14); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ----- Breadcrumb ----- */
.breadcrumb {
  padding: 16px 0;
  font-size: var(--fs-13);
  color: var(--ink-500);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--ink-300); margin-left: 6px; }
.breadcrumb a { color: var(--brand-600); }
.breadcrumb [aria-current="page"] { color: var(--ink-700); }

/* ----- Tags / pills ----- */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: var(--fs-12); font-weight: 600;
  background: var(--ink-100); color: var(--ink-700);
}
.tag.success { background: rgba(21, 131, 74, 0.1); color: var(--success); }
.tag.warn { background: var(--accent-50); color: var(--accent-700); }
.tag.danger { background: rgba(185, 28, 28, 0.08); color: var(--danger); }

/* ----- Tabs ----- */
.tabs { border-bottom: 1px solid var(--border); display: flex; gap: 4px; overflow-x: auto; }
.tabs button {
  padding: 12px 18px; font-weight: 600; color: var(--ink-500);
  border-bottom: 3px solid transparent; white-space: nowrap; font-size: var(--fs-15);
}
.tabs button[aria-selected="true"] { color: var(--brand-700); border-bottom-color: var(--brand-700); }

/* ----- Comparison table ----- */
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  font-size: var(--fs-14);
}
.compare th, .compare td { color: var(--ink-700); padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { background: var(--bg-soft); color: var(--ink-700); font-weight: 600; font-size: var(--fs-13); }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--success); font-weight: 700; }
.compare .no  { color: var(--ink-400); }

/* ----- Pricing cards ----- */
.price {
  display: grid; gap: var(--s-5); grid-template-columns: 1fr;
}
@media (min-width: 720px) { .price { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
}
.price-card.featured { border-color: var(--brand-500); box-shadow: var(--sh-3); }
.price-card .featured-tag { position: absolute; top: -12px; right: 16px; }
.price-card .from { color: var(--ink-500); font-size: var(--fs-13); }
.price-card .amount { font-size: var(--fs-32); font-weight: 800; color: var(--ink-900); letter-spacing: -.02em; }
.price-card .amount small { color: var(--ink-500); font-size: var(--fs-13); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: var(--s-4) 0; display: grid; gap: 8px; }
.price-card ul li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-14); color: var(--ink-700); }
.price-card ul li::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315834a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/contain no-repeat;
}

/* ----- Logo strip ----- */
.logos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
  align-items: center; opacity: 0.85;
}
@media (min-width: 720px) { .logos { grid-template-columns: repeat(6, 1fr); } }
.logos img { max-height: 36px; width: auto; margin: 0 auto; filter: grayscale(100%); transition: filter var(--t-fast) var(--ease); }
.logos img:hover { filter: grayscale(0); }

/* ----- Final CTA section ----- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: #fff; padding: clamp(40px, 6vw, 72px); margin: 0 var(--gutter);
  box-shadow: var(--sh-3);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 90% 10%, rgba(245,166,35,0.18), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,0.85); }

/* ----- Locations grid ----- */
.location-grid {
  display: grid; gap: 10px 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.location-grid a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--border);
  font-size: var(--fs-14); color: var(--ink-700); font-weight: 500;
  transition: all var(--t-fast) var(--ease);
}
.location-grid a:hover { background: var(--brand-50); border-color: var(--brand-500); color: var(--brand-700); }
.location-grid a svg { width: 16px; height: 16px; color: var(--brand-600); flex: 0 0 auto; }

/* ----- Audience block ----- */
.audience-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }
.audience {
  padding: var(--s-5); background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.audience .icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; margin-bottom: var(--s-3); }
.audience h4 { font-size: var(--fs-16); margin-bottom: 4px; }
.audience p { color: var(--ink-600); font-size: var(--fs-14); margin: 0; }

/* ----- Risk reversal / guarantee ----- */
.guarantee {
  background: linear-gradient(135deg, var(--accent-50), #fff);
  border: 1px solid var(--accent-500);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .guarantee { grid-template-columns: 80px 1fr; align-items: start; } }
.guarantee .seal {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent-500); color: var(--brand-900);
  display: grid; place-items: center; box-shadow: var(--sh-2);
}
.guarantee h3 { color: var(--brand-900); }

/* ----- Helpers ----- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }

.divider { border-top: 1px dashed var(--border); margin: var(--s-8) 0; }

.success-msg, .error-msg {
  padding: var(--s-4); border-radius: var(--r-md); font-weight: 500; font-size: var(--fs-15);
  display: none;
}
.success-msg { background: rgba(21, 131, 74, 0.08); color: var(--success); border: 1px solid rgba(21, 131, 74, 0.3); }
.error-msg { background: rgba(185, 28, 28, 0.08); color: var(--danger); border: 1px solid rgba(185, 28, 28, 0.3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ----- Mobile call button in header (overrides base display:none) ----- */
.header-cta { display: inline-flex; gap: 8px; align-items: center; }
.header-cta .hdr-desktop { display: none; }
@media (min-width: 1024px) {
  .header-cta .hdr-desktop { display: inline-flex; align-items: center; }
  .header-cta .hdr-call-mobile { display: none; }
}

/* ----- Trust strip 6-col layout fix ----- */
@media (min-width: 900px) {
  .trust-strip .row { grid-template-columns: repeat(6, 1fr); }
}

/* ----- Hero urgency dispatch bar ----- */
.hero-dispatch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.hero-dispatch span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-600);
  font-size: var(--fs-13);
  font-weight: 500;
}

/* ----- Hero "planning ahead" escape link ----- */
.hero-not-emergency {
  margin: var(--s-2) 0 0;
  font-size: var(--fs-13);
  color: var(--ink-400);
}
.hero-not-emergency a {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-not-emergency a:hover { color: var(--accent-700); }

/* ----- Audience card CTA link ----- */
.audience-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: var(--s-3);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--brand-600);
  text-decoration: none;
}
.audience-cta::after { content: " \2192"; }
.audience-cta:hover { color: var(--accent-600); }

/* ----- Inline conversion CTA (between sections) ----- */
.inline-cta {
  background: var(--accent-50);
  border: 1px solid rgba(229,37,29,0.18);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.inline-cta strong {
  color: var(--ink-900);
  font-size: var(--fs-16);
  display: block;
  line-height: 1.3;
}
