/* =========================================================================
   Action Integrated Security Solutions
   Emergency Locksmith Services — PPC Landing Page
   Scoped stylesheet — every rule lives under .action-locksmith-landing
   Mobile-first. No global element styling. No leakage into the main theme.
   ========================================================================= */

.action-locksmith-landing {
  /* ---- Brand tokens (scoped, not on :root, so nothing leaks) ---- */
  --alp-navy: #0e2238;          /* deep navy — authority */
  --alp-navy-2: #14314f;        /* secondary navy — headers/footers */
  --alp-charcoal: #1c1f26;      /* body text */
  --alp-blue: #1d5fa8;          /* professional trust blue */
  --alp-blue-light: #eaf1fa;    /* pale blue tint for section backgrounds */
  --alp-gray-100: #f5f7f9;      /* light gray background */
  --alp-gray-300: #dbe1e8;      /* borders */
  --alp-gray-600: #5b6572;      /* secondary text */
  --alp-white: #ffffff;
  --alp-gold: #c9a227;          /* subtle premium accent for badges */
  --alp-call: #b3272d;          /* muted, professional call-to-action red */
  --alp-call-dark: #8f1f24;
  --alp-whatsapp: #25d366;      /* standard WhatsApp brand green */
  --alp-whatsapp-dark: #1ebe5b;
  --alp-radius: 10px;
  --alp-shadow: 0 6px 24px rgba(14, 34, 56, 0.12);
  --alp-shadow-sm: 0 2px 10px rgba(14, 34, 56, 0.08);
  --alp-maxw: 1180px;
  --alp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  font-family: var(--alp-font);
  color: var(--alp-charcoal);
  background: var(--alp-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Reset limited strictly to elements inside this template ---- */
.action-locksmith-landing,
.action-locksmith-landing *,
.action-locksmith-landing *::before,
.action-locksmith-landing *::after {
  box-sizing: border-box;
}

.action-locksmith-landing img {
  max-width: 100%;
  height: auto;
  display: block;
}

.action-locksmith-landing a {
  color: inherit;
  text-decoration: none;
}

.action-locksmith-landing ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.action-locksmith-landing h1,
.action-locksmith-landing h2,
.action-locksmith-landing h3,
.action-locksmith-landing p {
  margin: 0 0 0.6em;
}

.action-locksmith-landing button {
  font-family: inherit;
  cursor: pointer;
}

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

.action-locksmith-landing .alp-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alp-blue);
  margin-bottom: 10px;
}

.action-locksmith-landing h1 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--alp-navy);
}

.action-locksmith-landing h2 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--alp-navy);
}

.action-locksmith-landing h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--alp-navy);
}

.action-locksmith-landing .alp-section {
  padding: 44px 0;
}

.action-locksmith-landing .alp-section--tint {
  background: var(--alp-gray-100);
}

.action-locksmith-landing .alp-section-head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.action-locksmith-landing .alp-section-head p {
  color: var(--alp-gray-600);
  font-size: 15px;
}

/* Skip link / focus states (accessibility) */
.action-locksmith-landing .alp-skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--alp-navy);
  color: var(--alp-white);
  padding: 10px 16px;
  z-index: 999;
  border-radius: 6px;
}
.action-locksmith-landing .alp-skip-link:focus {
  left: 12px;
  top: 12px;
}

.action-locksmith-landing a:focus-visible,
.action-locksmith-landing button:focus-visible,
.action-locksmith-landing input:focus-visible,
.action-locksmith-landing select:focus-visible,
.action-locksmith-landing textarea:focus-visible {
  outline: 3px solid var(--alp-gold);
  outline-offset: 2px;
}

/* ---- Buttons ---- */
.action-locksmith-landing .alp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15.5px;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.action-locksmith-landing .alp-btn:active {
  transform: translateY(1px);
}

.action-locksmith-landing .alp-btn--call {
  background: var(--alp-call);
  color: var(--alp-white);
  box-shadow: var(--alp-shadow-sm);
}
.action-locksmith-landing .alp-btn--call:hover {
  background: var(--alp-call-dark);
}

.action-locksmith-landing .alp-btn--whatsapp {
  background: var(--alp-whatsapp);
  color: var(--alp-white);
  box-shadow: var(--alp-shadow-sm);
}
.action-locksmith-landing .alp-btn--whatsapp:hover {
  background: var(--alp-whatsapp-dark);
}

.action-locksmith-landing .alp-btn--outline {
  background: transparent;
  border-color: var(--alp-white);
  color: var(--alp-white);
}
.action-locksmith-landing .alp-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.action-locksmith-landing .alp-btn--navy {
  background: var(--alp-navy);
  color: var(--alp-white);
}
.action-locksmith-landing .alp-btn--navy:hover {
  background: var(--alp-navy-2);
}

.action-locksmith-landing .alp-btn--block {
  width: 100%;
}

/* =========================================================================
   1. Landing Header
   ========================================================================= */
.action-locksmith-landing .alp-header {
  background: var(--alp-navy);
  color: var(--alp-white);
  padding: 12px 0;
  position: relative;
  z-index: 20;
}
.action-locksmith-landing .alp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.action-locksmith-landing .alp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--alp-white);
}
.action-locksmith-landing .alp-logo img {
  height: 38px;
  width: auto;
}
.action-locksmith-landing .alp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--alp-white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 999px;
}
.action-locksmith-landing .alp-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37c766;
  display: inline-block;
}
.action-locksmith-landing .alp-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.action-locksmith-landing .alp-header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.action-locksmith-landing .alp-header__phone strong {
  font-size: 17px;
  color: var(--alp-white);
}

/* =========================================================================
   2. Hero
   ========================================================================= */
.action-locksmith-landing .alp-hero {
  background: linear-gradient(180deg, var(--alp-navy) 0%, var(--alp-navy-2) 100%);
  color: var(--alp-white);
  padding: 40px 0 36px;
}
.action-locksmith-landing .alp-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.action-locksmith-landing .alp-hero__content h1 {
  color: var(--alp-white);
}
.action-locksmith-landing .alp-hero__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  max-width: 52ch;
  margin-bottom: 20px;
}
.action-locksmith-landing .alp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.action-locksmith-landing .alp-trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.action-locksmith-landing .alp-trustbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}
.action-locksmith-landing .alp-trustbar__item svg {
  flex-shrink: 0;
  color: var(--alp-gold);
}

.action-locksmith-landing .alp-hero__form {
  background: var(--alp-white);
  color: var(--alp-charcoal);
  border-radius: var(--alp-radius);
  box-shadow: var(--alp-shadow);
  padding: 22px;
}
.action-locksmith-landing .alp-hero__form h2 {
  font-size: 19px;
  margin-bottom: 4px;
}
.action-locksmith-landing .alp-hero__form .alp-form-note {
  font-size: 13px;
  color: var(--alp-gray-600);
  margin-bottom: 16px;
}

/* =========================================================================
   Services grid
   ========================================================================= */
.action-locksmith-landing .alp-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.action-locksmith-landing .alp-service-card {
  background: var(--alp-white);
  border: 1px solid var(--alp-gray-300);
  border-radius: var(--alp-radius);
  padding: 20px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.action-locksmith-landing .alp-service-card:hover {
  box-shadow: var(--alp-shadow-sm);
  border-color: var(--alp-blue);
}
.action-locksmith-landing .alp-service-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--alp-blue-light);
  color: var(--alp-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.action-locksmith-landing .alp-service-card p {
  font-size: 14px;
  color: var(--alp-gray-600);
  margin-bottom: 0;
}

/* =========================================================================
   Why choose us
   ========================================================================= */
.action-locksmith-landing .alp-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.action-locksmith-landing .alp-why-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--alp-white);
  border: 1px solid var(--alp-gray-300);
  border-radius: var(--alp-radius);
  padding: 16px;
}
.action-locksmith-landing .alp-why-item__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--alp-navy);
  color: var(--alp-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-locksmith-landing .alp-why-item p {
  font-size: 13.5px;
  color: var(--alp-gray-600);
  margin-bottom: 0;
}
.action-locksmith-landing .alp-why-item h3 {
  margin-bottom: 4px;
  font-size: 15.5px;
}

/* =========================================================================
   Service areas
   ========================================================================= */
.action-locksmith-landing .alp-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.action-locksmith-landing .alp-area-chip {
  background: var(--alp-white);
  border: 1px solid var(--alp-gray-300);
  color: var(--alp-navy);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 999px;
}

/* =========================================================================
   Gallery
   ========================================================================= */
.action-locksmith-landing .alp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.action-locksmith-landing .alp-gallery-card {
  position: relative;
  border-radius: var(--alp-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--alp-gray-300);
}
.action-locksmith-landing .alp-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.action-locksmith-landing .alp-gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(14, 34, 56, 0.85), rgba(14, 34, 56, 0));
  color: var(--alp-white);
  font-size: 12.5px;
  font-weight: 600;
  padding: 22px 10px 8px;
}

/* =========================================================================
   Testimonials
   ========================================================================= */
.action-locksmith-landing .alp-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.action-locksmith-landing .alp-testimonial-card {
  background: var(--alp-white);
  border: 1px solid var(--alp-gray-300);
  border-radius: var(--alp-radius);
  padding: 18px;
}
.action-locksmith-landing .alp-testimonial-card__stars {
  color: var(--alp-gold);
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.action-locksmith-landing .alp-testimonial-card p {
  font-size: 14px;
  color: var(--alp-charcoal);
}
.action-locksmith-landing .alp-testimonial-card__name {
  font-size: 12.5px;
  color: var(--alp-gray-600);
  font-weight: 700;
}

/* =========================================================================
   Final CTA
   ========================================================================= */
.action-locksmith-landing .alp-final-cta {
  background: var(--alp-navy);
  color: var(--alp-white);
  text-align: center;
  padding: 44px 0;
}
.action-locksmith-landing .alp-final-cta h2 {
  color: var(--alp-white);
}
.action-locksmith-landing .alp-final-cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.action-locksmith-landing .alp-final-cta__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

/* =========================================================================
   Footer
   ========================================================================= */
.action-locksmith-landing .alp-footer {
  background: var(--alp-navy-2);
  color: rgba(255, 255, 255, 0.75);
  padding: 24px 0;
  font-size: 13px;
}
.action-locksmith-landing .alp-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.action-locksmith-landing .alp-footer a:hover {
  color: var(--alp-white);
}

/* =========================================================================
   WhatsApp widget
   ========================================================================= */
.action-locksmith-landing .alp-wa-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
}
.action-locksmith-landing .alp-wa-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--alp-whatsapp);
  color: var(--alp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: none;
}
.action-locksmith-landing .alp-wa-popout {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 264px;
  background: var(--alp-white);
  border-radius: 12px;
  box-shadow: var(--alp-shadow);
  overflow: hidden;
  display: none;
}
.action-locksmith-landing .alp-wa-popout.is-visible {
  display: block;
}
.action-locksmith-landing .alp-wa-popout__head {
  background: var(--alp-whatsapp);
  color: var(--alp-white);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13.5px;
}
.action-locksmith-landing .alp-wa-popout__close {
  background: transparent;
  border: none;
  color: var(--alp-white);
  font-size: 16px;
  line-height: 1;
  padding: 4px;
}
.action-locksmith-landing .alp-wa-popout__body {
  padding: 14px;
}
.action-locksmith-landing .alp-wa-popout__body p {
  font-size: 13px;
  margin-bottom: 10px;
}

/* =========================================================================
   Sticky mobile CTA bar
   ========================================================================= */
.action-locksmith-landing .alp-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--alp-white);
  border-top: 1px solid var(--alp-gray-300);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
}
.action-locksmith-landing .alp-sticky-cta a,
.action-locksmith-landing .alp-sticky-cta button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 4px;
  font-size: 11.5px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--alp-navy);
  border-right: 1px solid var(--alp-gray-300);
}
.action-locksmith-landing .alp-sticky-cta a:last-child,
.action-locksmith-landing .alp-sticky-cta button:last-child {
  border-right: none;
}
.action-locksmith-landing .alp-sticky-cta a.is-call {
  background: var(--alp-call);
  color: var(--alp-white);
}
.action-locksmith-landing .alp-sticky-cta a.is-whatsapp {
  background: var(--alp-whatsapp);
  color: var(--alp-white);
}

/* Only show sticky bar on smaller screens; desktop relies on header/hero CTAs */
@media (min-width: 900px) {
  .action-locksmith-landing .alp-sticky-cta {
    display: none;
  }
}

/* Reserve space so sticky bar never covers footer content on mobile */
@media (max-width: 899px) {
  .action-locksmith-landing .alp-footer {
    padding-bottom: 76px;
  }
}

/* =========================================================================
   Responsive — tablet / desktop
   ========================================================================= */
@media (min-width: 640px) {
  .action-locksmith-landing .alp-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .action-locksmith-landing .alp-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .action-locksmith-landing .alp-testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .action-locksmith-landing h1 {
    font-size: 38px;
  }
  .action-locksmith-landing h2 {
    font-size: 28px;
  }
  .action-locksmith-landing .alp-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .action-locksmith-landing .alp-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
  .action-locksmith-landing .alp-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .action-locksmith-landing .alp-why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .action-locksmith-landing .alp-testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .action-locksmith-landing h1 {
    font-size: 44px;
  }
}
