/* Only the Mobile Patrol page loads this stylesheet. Spacing and type follow the
   On-site Security page so the solution pages read as one family. */
.mp-page { --mp-panel: #f3f5f9; --mp-line: #d3d9e6; --mp-space: clamp(3.5rem, 8vw, 7rem); --mp-gutter: max(1.25rem, 3vw); color: var(--ink); font-size: 1.0625rem; }
.mp-wrap { width: 100%; max-width: 92rem; margin-inline: auto; padding-left: max(var(--mp-gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--mp-gutter), env(safe-area-inset-right, 0px)); }
/* This page's banner shows a patrol vehicle instead of the shared gradient; 40% keeps the SUV in frame when narrow screens crop the sides. */
.page-banner.mp-banner { background-image: linear-gradient(rgb(0 0 0 / .45), rgb(0 0 0 / .45)), url("../images/american-alliance-security-traffic-enforcement-manchester-nh.jpg"); background-position: 40% center; }
/* On phones the heading box would hide the vehicle, so the photo shows uncovered above it. */
@media (max-width: 39.999rem) {
  .page-banner.mp-banner { --mp-photo: clamp(13rem, 58vw, 16rem); position: relative; padding-top: var(--mp-photo); background: #191a37; }
  .page-banner.mp-banner::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: var(--mp-photo); background: url("../images/american-alliance-security-traffic-enforcement-manchester-nh.jpg") 40% center / cover no-repeat; }
  .mp-banner .page-banner-inner { min-height: 0; padding-block: 0; }
  .mp-banner-copy { width: 100%; }
}
/* Quote buttons jump to the form; the offset clears the sticky header. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.mp-quote-section { scroll-margin-top: 5rem; }
/* The heading box keeps its shared style; the lead continues it underneath. */
.mp-banner-copy { display: grid; width: fit-content; max-width: 100%; }
.mp-banner h1 { width: auto; }
.page-banner .mp-banner-lead { width: 0; min-width: 100%; margin: 0; padding: 0 1.5rem 1.25rem; background: rgb(25 26 55 / .88); color: rgb(255 255 255 / .92); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; }
.mp-btn-light { border-color: #fff; background: #fff; color: var(--ink); }
.mp-eyebrow { margin: 0 0 .875rem; color: var(--accent); font-size: clamp(.9375rem, 1vw, 1.0625rem); font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.mp-page h2 { margin: 0 0 1.375rem; font-size: clamp(2.125rem, 4.2vw, 3.5rem); line-height: 1.1; letter-spacing: -.032em; }
.mp-page h3 { margin: 0 0 .625rem; font-size: clamp(1.3125rem, 1.7vw, 1.5625rem); line-height: 1.24; letter-spacing: -.018em; }
.mp-page p { margin: 0 0 1.125rem; font-size: clamp(1.0625rem, 1.15vw, 1.1875rem); line-height: 1.68; }
.mp-page .mp-eyebrow { margin: 0 0 .875rem; font-size: clamp(.9375rem, 1vw, 1.0625rem); line-height: 1.4; }
.mp-section { padding-block: var(--mp-space); }
.mp-section-intro { max-width: 54rem; margin: 0 auto clamp(2.25rem, 4.5vw, 4rem); text-align: center; }
.mp-section-intro p:last-child:not(.mp-eyebrow) { margin-bottom: 0; color: var(--muted); font-size: clamp(1.125rem, 1.4vw, 1.25rem); }

/* Red check marks drawn by CSS so the lists stay plain text. */
.mp-checklist { display: grid; gap: .8rem; margin: 1.75rem 0 2.25rem; padding: 0; list-style: none; }
.mp-checklist li { position: relative; padding-left: 2.3rem; font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); line-height: 1.5; }
.mp-checklist li::before { content: ""; position: absolute; top: .1em; left: 0; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--accent); }
.mp-checklist li::after { content: ""; position: absolute; top: calc(.1em + .32rem); left: .52rem; width: .4rem; height: .7rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mp-checklist-muted li::before { background: var(--muted); }
.mp-actions { display: flex; flex-wrap: wrap; gap: .875rem; }

/* Introduction: copy beside a patrol fleet photo. */
.mp-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.75rem, 5.5vw, 5.5rem); align-items: center; padding-block: clamp(2.25rem, 5.5vw, 4.5rem) var(--mp-space); }
.mp-intro-copy { min-width: 0; }
.mp-intro-copy > p:not(.mp-eyebrow) { max-width: 62ch; font-size: clamp(1.125rem, 1.35vw, 1.25rem); }
.mp-intro-media { position: relative; overflow: hidden; min-width: 0; width: 100%; max-width: 40rem; margin-inline: auto; aspect-ratio: 5 / 4; background: var(--ink); }
.mp-intro-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Full-width navy strip of quick reasons to choose us. */
.mp-strip { background: var(--ink); color: #fff; }
.mp-strip-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; margin: 0 auto; padding-block: clamp(2.5rem, 4.5vw, 3.5rem); list-style: none; }
.mp-strip-list li { display: flex; align-items: center; gap: 1.125rem; min-width: 0; }
.mp-strip-list svg { flex: 0 0 auto; width: 3.375rem; height: 3.375rem; padding: .75rem; background: var(--accent); fill: none; stroke: #fff; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mp-page .mp-strip-list p { margin: 0; color: rgb(255 255 255 / .85); font-size: clamp(1rem, 1.05vw, 1.0625rem); line-height: 1.5; }
.mp-strip-list strong { display: block; margin-bottom: .1rem; color: #fff; font-family: var(--font-heading); font-size: clamp(1.1875rem, 1.45vw, 1.375rem); }

/* Services: icon cards whose title link covers the whole card. */
.mp-services { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 1.8vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.mp-service { position: relative; min-width: 0; padding: clamp(1.75rem, 2.6vw, 2.5rem); border: 1px solid var(--mp-line); background: #fff; transition: box-shadow .25s ease; }
.mp-service::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 4px; background: var(--accent); transform: scaleX(.2); transform-origin: left; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.mp-service-icon { display: block; width: auto; height: 3.5rem; margin-bottom: 1.25rem; }
.mp-service h3 a { color: inherit; text-decoration: none; }
.mp-service h3 a::before { content: ""; position: absolute; inset: 0; }
.mp-service h3 a:focus-visible { outline: none; }
.mp-service:has(a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.mp-page .mp-service p { margin: 0; color: var(--muted); }

/* Comparison: mobile patrol leads; on-site security is the alternative. */
.mp-compare-section { background: var(--mp-panel); }
.mp-compare { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); max-width: 72rem; margin-inline: auto; }
.mp-compare-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.75rem, 3vw, 3rem); border: 1px solid var(--mp-line); background: #fff; }
.mp-compare-card .mp-checklist { flex: 1; margin-bottom: 2rem; }
.mp-page .mp-compare-card > p { color: var(--muted); }
.mp-compare-featured { border: 0; border-top: 6px solid var(--accent); box-shadow: 0 18px 44px rgb(18 22 42 / .1); }

/* Quick quote: the form on a white card beside a navy call panel. */
.mp-quote-section { background: var(--mp-panel); --mp-field-line: #767f96; --mp-error: rgb(180, 22, 50); }
.mp-quote { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 2.4vw, 2rem); max-width: 72rem; margin-inline: auto; }
.mp-quote-form { min-width: 0; padding: clamp(1.5rem, 3vw, 3rem); border-top: 6px solid var(--accent); background: #fff; box-shadow: 0 18px 44px rgb(18 22 42 / .1); }
.mp-page .mp-quote-note { margin: 0 0 1.75rem; color: var(--muted); font-size: .9375rem; }
.mp-quote-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 2rem; }
.mp-field { display: flex; flex-direction: column; min-width: 0; }
.mp-page .mp-field { margin: 0; }
.mp-field label, .mp-contact legend { font-size: .9375rem; font-weight: 700; line-height: 1.4; }
.mp-required { margin-left: .125rem; color: var(--accent); }
.mp-optional { color: var(--muted); font-weight: 400; }
.mp-field input, .mp-field select, .mp-field textarea { width: 100%; min-height: 48px; margin-top: .25rem; padding: .625rem 0; border: 0; border-bottom: 1px solid var(--mp-field-line); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.0625rem; }
.mp-field select { padding-right: 2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23191a37' stroke-width='2'/%3E%3C/svg%3E") right .25rem center / .875rem no-repeat; appearance: none; }
.mp-field select:has(option[value=""]:checked) { color: #5f6b85; }
.mp-field textarea { min-height: 6rem; margin-top: .75rem; padding: .75rem; border: 1px solid var(--mp-field-line); resize: vertical; }
.mp-field input:focus, .mp-field select:focus, .mp-field textarea:focus { outline: 2px solid transparent; border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.mp-field textarea:focus { box-shadow: inset 0 0 0 1px var(--accent); }
.mp-field [aria-invalid="true"] { border-color: var(--mp-error); }
.mp-contact { min-width: 0; margin: 0; padding: 0; border: 0; }
.mp-contact legend { float: left; width: 100%; padding: 0; }
.mp-contact legend + * { clear: both; }
.mp-page .mp-hint { margin: .25rem 0 1rem; color: var(--muted); font-size: .9375rem; }
.mp-contact.is-invalid .mp-hint { color: var(--mp-error); }
/* Messages come from the shared form script, which names them .quote-error. */
.mp-quote-form .quote-error { display: block; margin-top: .5rem; color: var(--mp-error); font-size: .875rem; font-weight: 700; line-height: 1.4; }
.mp-contact > .quote-error { margin-top: .75rem; }
.mp-page .mp-quote-status { margin: 1.5rem 0 0; color: var(--mp-error); font-weight: 700; }
.mp-page .mp-quote-status:empty { margin: 0; }
.mp-page .mp-quote-status.is-notice { padding: 1rem 1.25rem; border-left: 4px solid var(--ink); background: var(--mp-panel); color: var(--ink); }
.mp-quote-submit { width: 100%; margin-top: 1.75rem; cursor: pointer; font-family: inherit; }
.mp-page .mp-quote-help { margin: 1rem 0 0; color: var(--muted); font-size: 1rem; text-align: center; }
.mp-quote-call { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 6px solid var(--accent); background: var(--ink); color: #fff; }
.mp-quote-call svg { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; fill: none; stroke: #fff; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.mp-page .mp-quote-call p { margin: 0; color: rgb(255 255 255 / .85); }
.mp-page .mp-quote-call .mp-quote-number { margin: .75rem 0 1.5rem; color: #fff; font-family: var(--font-accent); font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 700; }
.mp-quote-call .page-btn { width: 100%; }

/* Process: numbered steps joined by a red line. */
.mp-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.mp-steps li { position: relative; min-width: 0; padding-left: 4.5rem; counter-increment: step; }
.mp-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; width: 3.125rem; height: 3.125rem; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.mp-steps h3 { padding-top: .5rem; }
.mp-page .mp-steps p { margin: 0; color: var(--muted); }



@media (hover: hover) and (pointer: fine) {
  .mp-service:hover { box-shadow: 0 18px 44px rgb(18 22 42 / .1); }
  .mp-service:hover::after { transform: scaleX(1); }
  .mp-btn-light:hover { border-color: #fff; background: transparent; color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-service, .mp-service::after { transition: none; }
}
@media (max-width: 39.999rem) {
  .mp-actions .page-btn { flex: 1 1 100%; width: 100%; }
}
@media (min-width: 40rem) {
  .mp-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-services, .mp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-field-wide, .mp-contact { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .mp-intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .mp-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mp-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-quote { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); align-items: start; }
  /* The call panel stays beside the form while it scrolls past. */
  .mp-quote-call { position: sticky; top: 7rem; }
}
@media (min-width: 80rem) {
  .mp-strip-list, .mp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mp-steps li { padding: 4.5rem 0 0; }
  .mp-steps li:not(:last-child)::after { content: ""; position: absolute; top: calc(1.5625rem - 1px); left: 4.25rem; right: 1rem; height: 2px; background: rgb(203 25 57 / .25); }
}

/* Final banner: taller on tablets and desktop so more of the patrol vehicle shows.
   Phones keep the shared strip. (This stylesheet loads before solution-closing.css,
   so these rules carry the extra .mp-closing class.) */
@media (min-width: 40rem) and (max-width: 63.999rem) {
  .closing-banner.mp-closing { --closing-photo: clamp(24rem, 66vw, 32rem); }
  .closing-banner.mp-closing .closing-banner-media img { object-position: center 62%; }
}
@media (min-width: 64rem) {
  .closing-banner.mp-closing { padding-block: clamp(6rem, 12vw, 11rem); }
  .closing-banner.mp-closing .closing-banner-media img { object-position: center 55%; }
}
