/* ==========================================================================
   Autolok — custom layer on top of the Unify theme
   Brand: navy #132535 / blue #1c6fb8 / silver #c9d2dc
   ========================================================================== */

:root {
  --al-navy: #132535;
  --al-navy-deep: #0d1b27;
  --al-blue: #1c6fb8;
  --al-silver: #c9d2dc;
}

/* ---------- Anchor jumps clear the sticky header ---------- */
html { scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Logo ---------- */
.al-logo { height: 46px; width: auto; }
@media (max-width: 575.98px) { .al-logo { height: 38px; } }
.al-logo-footer { height: 78px; width: auto; }

/* ---------- Emergency strip above the navbar ---------- */
.al-topbar {
  background: var(--al-navy-deep);
  color: #fff;
  font-size: .8125rem;
  padding: .5rem 0;
  letter-spacing: .01em;
}
.al-topbar a { color: #fff; text-decoration: none; }
.al-topbar a:hover { color: var(--al-silver); }

/* ---------- Navbar ---------- */
.al-nav { background: var(--al-navy); }
.al-nav .nav-link { color: rgba(255, 255, 255, .82); font-weight: 500; }
.al-nav .nav-link:hover,
.al-nav .nav-link:focus { color: #fff; }
.al-nav .navbar-toggler { border-color: rgba(255, 255, 255, .3); color: #fff; }

/* ---------- Hero ---------- */
.al-hero {
  position: relative;
  background-color: var(--al-navy-deep);
  background-image: url(../img/autolok-vehicle.jpg);
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
}
.al-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 21, 31, .94) 0%, rgba(13, 27, 39, .88) 42%, rgba(13, 27, 39, .42) 78%, rgba(13, 27, 39, .3) 100%);
}
@media (max-width: 991.98px) {
  .al-hero::before { background: rgba(11, 22, 32, .86); }
}
.al-hero__inner { position: relative; z-index: 2; }
.al-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(28, 111, 184, .18);
  border: 1px solid rgba(28, 111, 184, .5);
  color: #cfe3f5;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .85rem;
  border-radius: 999px;
}
.al-pulse {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: #4da3e8;
  box-shadow: 0 0 0 0 rgba(77, 163, 232, .8);
  animation: al-pulse 2s infinite;
}
@keyframes al-pulse {
  70% { box-shadow: 0 0 0 .55rem rgba(77, 163, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 163, 232, 0); }
}
@media (prefers-reduced-motion: reduce) { .al-pulse { animation: none; } }

/* ---------- Trust bar ---------- */
.al-trust {
  background: var(--al-navy);
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
}
.al-trust i { color: #4da3e8; }

/* ---------- Service cards ---------- */
.al-card {
  height: 100%;
  border: 1px solid #e7eaf3;
  border-radius: .75rem;
  background: #fff;
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.al-card:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 111, 184, .45);
  box-shadow: 0 .6rem 1.6rem rgba(19, 37, 53, .1);
}
.al-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: .625rem;
  background: rgba(28, 111, 184, .1);
  color: var(--al-blue);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

/* ---------- Step numbers ---------- */
.al-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--al-blue);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- Accent for text on dark backgrounds (WCAG AA) ---------- */
.al-accent { color: #7cbdf0 !important; }

/* ---------- Dark band ---------- */
.al-band { background: var(--al-navy); color: #fff; }
.al-band h2, .al-band h3 { color: #fff; }
.al-band p, .al-band li { color: rgba(255, 255, 255, .8); }

/* ---------- Coverage pills ---------- */
.al-pill {
  display: inline-block;
  background: #f4f6fa;
  border: 1px solid #e7eaf3;
  border-radius: 999px;
  padding: .4rem .9rem;
  margin: 0 .35rem .6rem 0;
  font-size: .875rem;
  color: #384b5f;
}

/* ---------- Footer ---------- */
.al-footer { background: var(--al-navy-deep); color: rgba(255, 255, 255, .72); }
.al-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.al-footer a:hover { color: #fff; }
.al-footer h5 { color: #fff; font-size: .9375rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Sticky mobile call bar ---------- */
.al-callbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1030;
  display: none;
  background: var(--al-blue);
  box-shadow: 0 -.25rem .75rem rgba(19, 37, 53, .25);
}
.al-callbar a {
  display: block;
  padding: .9rem 1rem;
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .al-callbar { display: block; }
  body { padding-bottom: 3.5rem; }
}

/* ---------- Accessibility helpers ---------- */
.al-skip {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: #132535; padding: .75rem 1rem; z-index: 2000;
}
.al-skip:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 3px solid #4da3e8; outline-offset: 2px; }
