/* =========================================================================
   site.css — Lombard Ford Protect theme layer over bootstrap-lfp.min.css

   PHASE 1 SCOPE: header, navigation, hero, quote box, footer, plus the shim
   that keeps unconverted pages from falling apart. Page-level components
   (featureBox, portfolio carousels, skillbars, tabs, testimonials) stay in
   the old stylesheets until their pages are converted, then move here.

   Load order in the header template:
     bootstrap-lfp.min.css  ->  fontello.css  ->  site.css
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. LEGACY SHIM
   Unconverted pages still emit .gap .gap20, .alpha, .omega, .clearfix and
   Skeleton column classes. Keep these alive until the last page flips over,
   then delete this section. Deleting it early will visibly break every page
   you have not converted yet.
   ------------------------------------------------------------------------- */
.alpha,
.omega { margin-left: 0; margin-right: 0; }

.clearfix::after,
.clear { display: block; clear: both; content: ""; }

.gap   { display: block; clear: both; }
.gap5  { height: 5px; }
.gap10 { height: 10px; }
.gap15 { height: 15px; }
.gap20 { height: 20px; }
.gap30 { height: 30px; }
.gap40 { height: 40px; }

/* The old markup has `class="one.column"` in four places on the home page —
   a typo for `one column`, so those divs get no grid class at all. It has
   never mattered because they are full-width blocks either way. Fix the
   markup when you convert index.cfm rather than adding a rule for a typo. */


/* -------------------------------------------------------------------------
   2. BANDS
   The full-width background strips carry most of the site's character. The
   PNGs are unchanged; only the layout around them moved to Bootstrap.
   ------------------------------------------------------------------------- */
.wrap.wide { position: relative; width: 100%; }

.band.top_border {
  background: url(../images/main_bg.png) repeat-x;
  height: 16px;
}

.band.main {
  background: #fff;
  height: 90px;
}

/* Was JS-driven (.sticky.fixed toggled by custom.js on scroll). Now CSS. */
.band.main.sticky {
  position: sticky;
  top: 0;
  z-index: 1030;              /* above Bootstrap dropdowns, below modals */
  transition: box-shadow 0.2s ease-out;
}
.band.main.sticky.is-stuck {
  box-shadow: 0 2px 3px rgb(0 0 0 / 0.4);
}

/* Brand navy. Wraps both the sub-header strip and the hero; the hero paints
   its own background, so this colour only shows as the strip. */
.band.title {
  background: #003b6f;
  padding-bottom: 1px;
}

.band.content {
  background: url(../images/content_top.png) repeat-x top center #fff;
  border-top: 1px solid rgb(255 255 255 / 0.3);
  padding: 20px 0 40px;
  margin-top: -1px;
}


/* -------------------------------------------------------------------------
   3. HEADER
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1080;
  padding: 0.5rem 0.75rem;
  background: #005bab;
  color: #fff;
  border-radius: 5px;
}

.logo { line-height: 90px; }
.logo img { vertical-align: middle; }

.sub_header { height: 34px; }

.sub_header .slogan,
.sub_header .right_sub_text {
  color: rgb(255 255 255 / 0.7);
  font-size: 13px;
  line-height: 32px;
  overflow: hidden;
  white-space: nowrap;
  text-shadow: 1px 1px 1px rgb(0 0 0 / 0.4);
}
.sub_header .right_sub_text { text-align: right; }
.sub_header .right_sub_text a { color: inherit; }
.sub_header .right_sub_text a:hover { color: #fff; }
.sub_header .quote-id { color: #f79000; }


/* -------------------------------------------------------------------------
   4. HERO  (option A: full-bleed photo band, live text over it)

   The photo and its scrim are pinned to a FIXED height at the top of .hero,
   while .hero itself grows to whatever its content needs. That is what makes
   the quote card cross the bottom edge of the photo onto the page background,
   with no negative margins and nothing for the content band to compensate for.

   The headline is no longer pixels inside the WebP. Supply a clean photo with
   a calm left third — the scrim buys contrast but it cannot rescue busy
   artwork behind 32px text.
   ------------------------------------------------------------------------- */
:root {
  --hero-h: 400px;          /* photo band height, desktop */
  --hero-card-top: 44px;    /* card and hero copy start this far into the photo */
  --content-pad-top: 26px;  /* .band.content top padding (mobile) */
}
@media (min-width: 992px) {
  :root { --content-pad-top: 48px; }   /* room between the photo and the h1 */
}

.hero {
  /* Per-image controls. Override from the page with attributes.heroScrim
     and attributes.heroFocus instead of editing this file per photo. */
  --hero-scrim: 0.5;          /* darkness at the left edge, 0 to 1 */
  --hero-focus: 50% 50%;      /* which part of the photo the crop keeps */
  position: relative;
  background: #eef1f4;
}
@media (min-width: 992px) {
  /* With the card placed in the page instead, nothing inside the hero is
     taller than the photo, so hold the band at exactly the photo height. */
  .hero { min-height: var(--hero-h); }
}

.hero__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: var(--hero-h);
  object-fit: cover;
  object-position: var(--hero-focus);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: var(--hero-h);
  background: linear-gradient(90deg,
              rgb(4 20 34 / var(--hero-scrim)) 0%,
              rgb(4 20 34 / calc(var(--hero-scrim) * 0.75)) 38%,
              rgb(4 20 34 / 0) 70%);
}

/* No photo (interior pages): solid brand blue, no scrim needed. */
.hero--noimage { background: #005bab; }
.hero--noimage::after { display: none; }

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: var(--hero-card-top);
  padding-bottom: 28px;
}

.hero__copy { min-height: 290px; }

.hero__heading,
.hero__subhead {
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.55), 0 2px 14px rgb(0 0 0 / 0.35);
}

.hero__heading {
  margin: 0 0 14px;
  max-width: 21ch;
  font-size: clamp(1.4rem, 3.3vw, 2rem);
  font-weight: 700;
  line-height: 1.16;
  color: #fff;
}

.hero__subhead {
  margin: 0 0 20px;
  max-width: 46ch;
  font-size: clamp(0.8125rem, 1.4vw, 0.875rem);
  line-height: 1.6;
  color: #d3dee7;
}

.hero__cta {
  display: inline-block;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 4px;
  background: #ff9500;
  /* Dark ink, not white. White on #ff9500 is about 2.2:1 and fails at any
     size — it is the contrast bug currently shipping on the main CTA. */
  color: #2b2b2b;
  font-size: 13px;
  font-weight: 700;
}
.hero__cta:hover,
.hero__cta:focus-visible { background: #e08400; color: #1f1f1f; text-decoration: none; }

.hero__aside { position: relative; z-index: 3; }

@media (max-width: 991.98px) {
  /* Below lg there is not enough image to overlay legibly. The photo becomes
     a plain strip, the copy drops beneath it, and the card goes full width. */
  .hero__img { position: static; height: 170px; }
  .hero::after { display: none; }
  .hero__inner { padding-top: 16px; }
  .hero__copy { min-height: 0; }
  .hero__heading,
  .hero__subhead { text-shadow: none; }
  .hero__heading { color: #123a5c; max-width: none; }
  .hero__subhead { color: #5d6369; max-width: none; }
  .hero__aside { margin-top: 16px; }
}


/* -------------------------------------------------------------------------
   5. NAVIGATION
   Superfish is gone. These rules reproduce its look on Bootstrap's dropdowns.
   ------------------------------------------------------------------------- */
.navbar.main { padding: 0; justify-content: flex-end; }

@media (min-width: 992px) {
  .navbar.main .navbar-nav { margin-top: 22px; }
}

.navbar.main .nav-link {
  padding: 10px 12px;
  font-size: 15px;
  color: #666;
}
.navbar.main .nav-link:hover,
.navbar.main .nav-link:focus-visible { color: #005bab; }
.navbar.main .nav-link.active,
.navbar.main .nav-link[aria-current] { color: #333; font-weight: 700; }

.navbar.main .dropdown-menu {
  border-radius: 5px;
  box-shadow: 1px 2px 5px rgb(0 0 0 / 0.5);
  border: 0;
  padding: 0;
  overflow: hidden;
}
.navbar.main .dropdown-item {
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #fff;
  white-space: normal;
}
.navbar.main .dropdown-item:last-child { border-bottom: 0; }

.navbar.main .dropdown-header {
  padding: 10px 12px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: none;      /* the old menu never shouted; keep it that way */
  color: #005bab;
  background: #e9e9e9;
  margin: 0;
}
.navbar.main .dropdown-header a { color: inherit; }

/* Mega panel: replaces the third-level flyouts. */
@media (min-width: 992px) {
  .dropdown-mega {
    width: 100%;
    max-width: 940px;
    padding: 0 !important;
  }
  .dropdown-cols-2 { column-count: 2; }
  .dropdown-cols-2 .dropdown-item { break-inside: avoid; }
}

/* Mobile: the offcanvas stacks everything, so the panel columns collapse
   and dropdowns render inline rather than as absolute overlays. */
@media (max-width: 991.98px) {
  .navbar.main .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    background: transparent;
    border-left: 2px solid #ddd;
    margin: 0 0 0.5rem 0.75rem;
  }
  .dropdown-cols-2 { column-count: 1; }
}

.respo_menu { border: 0; margin: 24px 0 0; }


/* -------------------------------------------------------------------------
   6. QUOTE CARD  (modelled on the Mopar site's box)

   Replaces .price_display_bluebox, which is dropped deliberately: it forces
   Arial on a site set in Open Sans, sets line-height:28px, and carries
   `label { width: 340px }` inside a narrow box. Its own width rules
   (.price_display_bluebox wide / narrow) are descendant selectors missing a
   dot and have never matched anything.

   The CTA is dark ink on the brand orange. The Mopar box can use white on
   red because that red is dark; white on #ff9500 is about 2.2:1 and fails.
   ------------------------------------------------------------------------- */
.quote-card {
  background: #fff;
  border: 1px solid #c3c8cd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgb(10 30 50 / 0.22);
}

.quote-card__head {
  padding: 16px 16px 14px;
  background: #005bab;
  border-bottom: 3px solid #ff9500;   /* the Mopar box's red rule, in our CTA colour */
  text-align: center;
}

.quote-card__title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #fff;
}

.quote-card__eyebrow {
  display: block;
  margin-bottom: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #cfe3f5;                     /* 5.2:1 on #005bab */
}

.quote-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 16px;
}

.quote-field { display: flex; flex-direction: column; gap: 3px; }

.quote-field label {
  font-size: 11px;
  font-weight: 700;
  color: #4a4f55;
}

.quote-card .form-select {
  height: 36px;
  padding: 0 26px 0 10px;
  font-size: 12.5px;
  color: #33383d;
  border: 1px solid #b9bec4;
  border-radius: 6px;
}

/* Set by site.js when a field cannot be used yet. The select stays enabled
   and focusable on purpose — a disabled select is skipped by the keyboard and
   announced as nothing — and its single option explains what to do first. */
.quote-card .form-select.is-locked { color: #70767c; background-color: #f4f6f7; }

.quote-card__assure {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 0;
  padding: 9px 12px;
  background: #f1f3f5;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #4a4f55;
}
.quote-card__assure svg { flex: 0 0 auto; color: #005bab; }

.quote-card__submit {
  height: 50px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #ff9500;
  color: #2b2b2b;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgb(255 149 0 / 0.38);
  cursor: pointer;
  transition: background-color 0.15s ease-out, box-shadow 0.15s ease-out, transform 0.1s ease-out;
}
.quote-card__submit:hover,
.quote-card__submit:focus-visible {
  background: #f08a00;
  box-shadow: 0 8px 20px rgb(255 149 0 / 0.46);
}
.quote-card__submit:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgb(255 149 0 / 0.38);
}

.quote-card__alt {
  margin: 2px 0 -4px;
  font-size: 11.5px;
  color: #6b7076;
  text-align: center;
}

.quote-card__retrieve {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 2px solid #005bab;
  border-radius: 8px;
  background: #fff;
  color: #005bab;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.quote-card__retrieve:hover,
.quote-card__retrieve:focus-visible { background: #005bab; color: #fff; text-decoration: none; }

.quote-card__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 16px 14px;
  background: #f6f7f9;
  border-top: 1px solid #e3e6e9;
}
.quote-card__foot span { font-size: 11.5px; color: #6b7076; }
.quote-card__foot a {
  font-size: 17px;
  font-weight: 700;
  color: #1f2429;
  text-decoration: none;
}
.quote-card__foot a:hover,
.quote-card__foot a:focus-visible { color: #005bab; text-decoration: underline; }


/* -------------------------------------------------------------------------
   7. FOOTER
   ------------------------------------------------------------------------- */
footer.band.footer {
  background: #003b6f;   /* matches the sub-header band */
  padding: 20px 0;
}
footer.band.bottom { background: #fff; }
footer.band.bottom .container { padding: 10px 0 20px; }

footer .widget { margin: 0 0 20px; }
footer .widget .title {
  border-bottom: 1px solid rgb(255 255 255 / 0.22);
  color: #ffffff;
  font-size: 15px;
  margin: 0 0 12px;
  padding: 0 0 4px;
}
footer .textwidget,
footer .address { color: #c3d3e2; }   /* 7.9:1 on #003b6f */
footer .address a,
footer .textwidget a { color: #ffffff; }
footer .address a:hover,
footer .textwidget a:hover { color: #ffc766; }
footer li.links { margin-bottom: 8px; }
footer .footer-logo { margin-bottom: 12px; }

footer .recent-portfolio ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
footer .recent-portfolio li { width: calc(50% - 5px); }
footer .post-thumbnail { position: relative; }
footer .mini-thumb { display: block; position: relative; }
footer .mini-thumb img { width: 100%; height: auto; border-radius: 3px; }

footer .recent-cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: rgb(0 0 0 / 0.45);
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-shadow: 1px 1px 2px rgb(0 0 0 / 0.5);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
/* focus-within matters: these captions are the only text naming each plan,
   so a keyboard user needs them to appear on tab as well as on hover. */
footer .mini-thumb:hover .recent-cap,
footer .mini-thumb:focus-within .recent-cap,
footer .mini-thumb:focus .recent-cap {
  opacity: 1;
  transform: scale(1);
}

footer .tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 12px; }
footer .tags a {
  padding: 3px 7px;
  background: rgb(255 255 255 / 0.12);
  color: #e3ebf2;
  font-size: 11px;
  border-radius: 5px;
}
footer .tags a:hover,
footer .tags a:focus-visible { background: #005bab; color: #fff; text-decoration: none; }

footer .copyright { color: #666; font-size: 12px; }

footer .gototop a {
  display: block;
  width: 25px;
  height: 25px;
  margin: auto;
  line-height: 23px;
  text-align: center;
  font-size: 15px;
  color: #999;
  background: url(../images/bg_off.png) repeat;
  border-radius: 5px;
  box-shadow: 0 0 5px rgb(0 0 0 / 0.3) inset;
}
footer .gototop a:hover { color: #cc0000; text-decoration: none; }


/* -------------------------------------------------------------------------
   8. GLOBAL
   ------------------------------------------------------------------------- */
h1 {
  font-size: 16px;
  font-weight: 700;
  color: #005bab;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

:focus-visible {
  outline: 2px solid #ff9500;
  outline-offset: 2px;
}

/* The old site had none of this. Everything above that transitions should
   stop doing so when the OS asks it to. */
@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;
  }
}


/* =========================================================================
   9. PAGE COMPONENTS

   The header no longer loads layout.css, shortcodes.css, custom-style.css or
   base.css, so everything a converted page uses has to live here. This
   section covers what index.cfm needs. Add to it as each page is converted,
   and prune the old stylesheets only once nothing references them.
   ========================================================================= */

.band.content {
  background: #fff;
  padding: var(--content-pad-top) 0 44px;
}

.justify { text-align: justify; }

h2.title,
h3.title {
  border-bottom: 1px solid #ccd1d6;
  padding-bottom: 5px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #005bab;
}
h2.title [class^="icon-"],
h3.title [class^="icon-"] { margin-right: 6px; color: #005bab; }

.liststyle { list-style: none; padding-left: 0; }
.liststyle li {
  padding: 4px 0 4px 2px;
  line-height: 1.6;
  border-bottom: 1px dotted #dcdfe2;
}
.liststyle i { color: #ff9500; margin-right: 6px; }

/* Display lines ("BUY ONLINE AND SAVE!" / "GET COVERED TODAY!") in Oswald
   semibold. Loaded on the home page only, subset to just the letters in
   those two phrases, via attributes.headExtras in index.cfm.

   Navy from the header and footer bands rather than grey: solid condensed
   type in grey looks washed out, and the navy ties the band to the page. */
.gfont_custom_1 {
  margin: 0;
  font-family: Oswald, "Open Sans", Arial, sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.5rem);     /* tops out at 56px, near the old 51px */
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: #003b6f;
  text-align: center;
}

/* ---------------------------------- featureBox --------------------------- */
.featureBox {
  padding: 18px 16px;
  border: 1px solid #dcdfe2;
  border-radius: 6px;
  background: #fbfcfd;
  height: 100%;
}
.featureBox.center,
.featureBox.center .text_wrap { text-align: center; }

.featureBox .icon_wrap { margin-bottom: 8px; }
.featureBox .ibox { color: #ff9500; }
.featureBox.style5 { background: #f4f8fb; border-color: #cfdde8; }

.featureBox_title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #005bab;
  border: 0;
  padding: 0;
}
.featureBox_title a { color: inherit; }
.featureBox p { margin: 0 0 10px; line-height: 1.6; }

/* Button treatment carried over from custom-style.css. Dark ink on orange —
   white on #ff9500 is about 2.2:1 and fails contrast. */
.button { margin: 0; }
.button a {
  display: inline-block;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  background: #005bab;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.button a:hover,
.button a:focus-visible { background: #ff9500; color: #2b2b2b; text-decoration: none; }
.button.small a { padding: 6px 11px; font-size: 11px; }
.button.center { text-align: center; }
.button.right { text-align: right; }
.button .ibtn { margin-right: 5px; }

/* ---------------------------------- skillbars ---------------------------- */
.skillbars { margin-top: 4px; }
.skillbar-item { margin-bottom: 12px; }

.skill-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #4a4f55;
}
.skill-title span { font-weight: 400; color: #6b7076; }

.skillbar {
  height: 14px;
  background: #e7eaec;
  border-radius: 3px;
  overflow: hidden;
}
/* Full width is the no-JS default; the animation only replays the growth. */
.skill-percentage { height: 100%; width: var(--perc, 0%); border-radius: 3px; }
.skillbar.is-animated .skill-percentage { animation: skillgrow 0.9s ease-out; }
@keyframes skillgrow { from { width: 0; } to { width: var(--perc, 0%); } }

/* ------------------------------- scrolling strip -------------------------
   Replaces carouFredSel. Native scroll-snap does the work: it is keyboard
   scrollable, touch-swipeable and screen-reader navigable with no JS at all.
   The arrows are enhancement, and site.js hides them at each end.
   NB the class prefix is cstrip, not carousel — .carousel and .carousel-item
   belong to Bootstrap and would collide.
   ------------------------------------------------------------------------- */
.cstrip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.cstrip__head .title { flex: 1; margin-bottom: 0; }
.cstrip__nav { display: flex; gap: 5px; padding-bottom: 5px; }

.cstrip__btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ccd1d6;
  border-radius: 4px;
  background: #fff;
  color: #5d6369;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.cstrip__btn:hover:not(:disabled) { background: #005bab; border-color: #005bab; color: #fff; }
.cstrip__btn:disabled { opacity: 0.35; cursor: default; }

/* Cards are sized so a WHOLE number of them always fills the visible
   width exactly: 2 per view on phones, 3 on tablets, 4 on laptops, 5 on
   wide screens. Fixed-width cards could only fit cleanly at one screen
   size; everywhere else the last card was sliced off at the edge. With
   exact fits the strip never shows a partial card, at the start, while
   scrolling, or at the end.

   The scrollbar is hidden; it read as a page divider. The strip still
   scrolls by touch, trackpad, arrow keys, and the two arrow buttons. */
.cstrip__track {
  --per: 2;
  --gap: 20px;
  display: flex;
  gap: var(--gap);
  margin: 14px 0 0;
  padding: 0 0 4px;           /* room for the keyboard focus ring only */
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.cstrip__track::-webkit-scrollbar { display: none; }
@media (min-width: 576px)  { .cstrip__track { --per: 3; } }
@media (min-width: 992px)  { .cstrip__track { --per: 4; } }
@media (min-width: 1200px) { .cstrip__track { --per: 5; } }

.cstrip__card {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
  text-align: center;
}
.cstrip__card img { max-width: 100%; height: auto; border-radius: 4px; }

.cstrip__title {
  margin: 8px 0 6px;
  font-size: 13px;
  font-weight: 700;
  border: 0;
  padding: 0;
}
.cstrip__title a { color: #005bab; text-decoration: none; }
.cstrip__title a:hover,
.cstrip__title a:focus-visible { color: #333; text-decoration: underline; }
.cstrip__card .button { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .cstrip__track { scroll-behavior: auto; }
}

/* -------------------------------- testimonials ---------------------------
   site.js shows one at a time. With JS off every quote renders as a plain
   list, which is better for search engines than the old plugin's behaviour
   of injecting them client-side.
   ------------------------------------------------------------------------- */
.testimonials { margin-top: 10px; }

.testimonial {
  margin: 0 0 10px;
  padding: 12px 14px;
  background: #f4f6f7;
  border-left: 3px solid #005bab;
  border-radius: 0 4px 4px 0;
}
.testimonial p { margin: 0 0 6px; font-style: italic; line-height: 1.6; color: #4a4f55; }
.testimonial cite { font-style: normal; font-size: 11px; font-weight: 700; color: #6b7076; }

.testimonials.is-rotating .testimonial { display: none; margin-bottom: 0; }
.testimonials.is-rotating .testimonial.is-current {
  display: block;
  animation: testimonial-in 0.45s ease-out;   /* neutralised under reduced motion */
}
@keyframes testimonial-in { from { opacity: 0; } to { opacity: 1; } }

/* Pause/play. WCAG 2.2.2 requires a real control for anything that
   auto-updates for longer than five seconds; pausing on hover alone
   leaves touch users with no way to stop it. */
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.testimonials__count { font-size: 11px; color: #6b7076; }
.testimonials__toggle {
  padding: 4px 10px;
  border: 1px solid #ccd1d6;
  border-radius: 4px;
  background: #fff;
  color: #4a4f55;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.testimonials__toggle:hover { border-color: #005bab; color: #005bab; }

/* ------------------------------------ tabs ------------------------------- */
.nav-tabs { border-bottom-color: #ccd1d6; }
.nav-tabs .nav-link {
  border-radius: 4px 4px 0 0;
  color: #5d6369;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}
.nav-tabs .nav-link:hover { border-color: #e2e5e8 #e2e5e8 #ccd1d6; }
.nav-tabs .nav-link.active { color: #005bab; border-color: #ccd1d6 #ccd1d6 #fff; }
.nav-tabs .ibtn { margin-right: 5px; }

.tab-content {
  padding: 14px 2px 0;
  line-height: 1.65;
}


/* ---------------------------------- plan cards ---------------------------
   Nods to the old cards (orange stars, big blue title, a hatched band) but
   with more lift:
   - a top band in each plan's own colour, the same colours as the
     Components Covered bars, so the cards and bars read as one system
   - the old hatched frame kept as a thin band along the bottom
   - buttons pinned to the bottom edge with flexbox, so they line up across
     the row whatever the copy length
   - a small lift on hover and on keyboard focus
   ------------------------------------------------------------------------- */
.plan-card {
  --tier: #005bab;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 28px 18px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(10 30 50 / 0.07);
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--tier);
}

.plan-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(-45deg, #e4e7ea 0 2px, #f6f7f8 2px 5px);
  border-top: 1px solid #e4e7ea;
}

.plan-card:hover,
.plan-card:focus-within {
  transform: translateY(-3px);
  border-color: #c9d0d6;
  box-shadow: 0 12px 24px rgb(10 30 50 / 0.14);
}

.plan-card__stars {
  margin: 0 0 10px;
  min-height: 26px;           /* keeps titles aligned: 2 stars is as tall as 5 */
  font-size: 21px;
  line-height: 1;
  color: #ff9500;
  letter-spacing: 1px;
}

.plan-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #005bab;
}

.plan-card__text {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #4a4f55;
}

.plan-card__btn {
  margin-top: auto;           /* pins the button to the bottom of the card */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 5px;
  background: #005bab;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.plan-card__btn:hover,
.plan-card__btn:focus-visible {
  background: #ff9500;
  color: #2b2b2b;             /* dark ink on orange; white fails contrast */
  text-decoration: none;
}


/* ---------------------------------- intro grid ---------------------------
   Holds the quote card on pages that set quoteBoxPlacement = "content".

   The card is pulled up by exactly the distance between where it would
   naturally sit (top of the content band) and where it should sit (the same
   height as the hero copy), so it overlaps the photo just as it did inside
   the hero. A negative margin also shrinks the card's footprint in the grid
   row, so Components Covered starts right beneath the card's visible bottom
   and the intro runs alongside the whole overhang. Nothing is measured in
   JavaScript, and the card can grow or shrink freely.

   The left column width reproduces Bootstrap's col-lg-11 exactly (with the
   20px gutter), so the card lines up with every other right-hand column.
   ------------------------------------------------------------------------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 24px;
}

@media (min-width: 992px) {
  .intro-grid {
    grid-template-columns: calc((100% + 20px) * 11 / 16 - 20px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "intro quote"
      "intro components";
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
  }
  .intro-grid__intro      { grid-area: intro; }
  .intro-grid__components { grid-area: components; }
  .intro-grid__quote {
    grid-area: quote;
    position: relative;
    z-index: 4;             /* above the hero photo, below the sticky header */
    margin-top: calc(var(--hero-card-top) - var(--hero-h) - var(--content-pad-top));
    margin-bottom: 26px;
  }
}


/* --------------------------------- Get a Quote box -----------------------
   Modelled on the old site's box: orange ring icon at top left, a larger
   bold title beneath it, left-aligned copy, the button at bottom right, and
   the hatched frame the old card had down its left and right sides (the
   same hatch the plan cards now carry along their bottom edge).
   ------------------------------------------------------------------------- */
.quote-cta {
  position: relative;
  padding: 22px 32px 20px;
  text-align: center;       /* icon, title, copy and button share one centre line */
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(10 30 50 / 0.07), 0 10px 24px rgb(10 30 50 / 0.06);
  overflow: hidden;
}
.quote-cta::before,
.quote-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  background: repeating-linear-gradient(-45deg, #e4e7ea 0 2px, #f6f7f8 2px 5px);
}
.quote-cta::before { left: 0;  border-right: 1px solid #e4e7ea; }
.quote-cta::after  { right: 0; border-left: 1px solid #e4e7ea; }

.quote-cta__icon {
  display: block;
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1;
  color: #ff9500;
}
.quote-cta__icon::before {
  margin-left: 0;           /* fontello adds uneven side margins by default; */
  margin-right: 0;          /* zero both so the glyph sits on the true centre */
  font-size: 40px;          /* fontello sizes the glyph here, not on the span */
  line-height: 1;
}

.quote-cta__title {
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  font-size: 20px;
  font-weight: 700;
  color: #005bab;
}

.quote-cta__text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #4a4f55;
}

.quote-cta__action { margin: 0; }

.quote-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 5px;
  background: #005bab;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.quote-cta__btn:hover,
.quote-cta__btn:focus-visible {
  background: #ff9500;
  color: #2b2b2b;           /* dark ink on orange; white fails contrast */
  text-decoration: none;
}


/* =========================================================================
   10. INNER PAGES
   ========================================================================= */

/* ---------------------------------- page band -----------------------------
   Replaces the old "Who We Are" band. Same navy as the strip above it, so
   the two read as one header block. What changed from the old band:
   - breadcrumb ABOVE the title, so a long title can never collide with it
   - title in Oswald, the home page's display face, for one visual system
   - a short orange rule under the title, echoing the quote card and CTAs
   - an optional one-line deck summarising the page
   - the old band's diagonal texture kept, as a faint hatch fading in from
     the right, the same hatch motif the cards use
   ------------------------------------------------------------------------- */
.page-band {
  position: relative;
  overflow: hidden;
  padding: 24px 0 30px;
  background: #003b6f;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.page-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background: repeating-linear-gradient(-45deg, rgb(255 255 255 / 0.05) 0 2px, transparent 2px 8px);
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
          mask-image: linear-gradient(to left, #000, transparent);
  pointer-events: none;
}
.page-band .container { position: relative; z-index: 1; }

.page-band__crumbs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: #b9cde0;                    /* 7:1 on the navy */
}
.page-band__crumbs li + li::before {
  content: "/";
  content: "/" / "";                 /* decorative: not read aloud where supported */
  margin: 0 8px;
  color: rgb(255 255 255 / 0.35);
}
.page-band__crumbs a { color: #e3ebf2; text-decoration: none; }
.page-band__crumbs a:hover,
.page-band__crumbs a:focus-visible { color: #fff; text-decoration: underline; }

.page-band__title {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Oswald, "Open Sans", Arial, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}
.page-band__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: #ff9500;
}

.page-band__deck {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.6;
  color: #c3d3e2;                    /* 7.9:1 on the navy */
}

/* ---------------------------------- page grid -----------------------------
   Main column plus sidebar. dsp_pageSidebar.cfm supplies two children: the
   quote card and an <aside>. Desktop: main on the left spanning both rows,
   card top-right, aside beneath it. Phones: plain source order, so content,
   then card, then the rest. The left column reproduces Bootstrap's
   col-lg-11 exactly, matching the home page.
   ------------------------------------------------------------------------- */
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 32px;
}
@media (min-width: 992px) {
  .page-grid {
    grid-template-columns: calc((100% + 20px) * 11 / 16 - 20px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "main quote"
      "main aside";
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
  }
  .page-grid__main  { grid-area: main; }
  .page-grid__quote { grid-area: quote; margin-bottom: 26px; }
  .page-grid__aside { grid-area: aside; }
}

/* ------------------------------- compact quote card ---------------------- */
.quote-card--compact .quote-card__head    { padding: 12px 14px 11px; }
.quote-card--compact .quote-card__eyebrow { margin-bottom: 3px; font-size: 10px; }
.quote-card--compact .quote-card__title   { font-size: 17px; }
.quote-card--compact .quote-card__body    { gap: 8px; padding: 14px; }
.quote-card--compact .quote-card__submit  { height: 46px; margin-top: 2px; font-size: 14px; }

.quote-card__note-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 0;
  font-size: 11.5px;
  color: #5d6369;
}
.quote-card__note-sm svg { flex: 0 0 auto; width: 15px; height: 15px; color: #005bab; }

/* ------------------------------------ sidebar ---------------------------- */
/* The promo graphic is a fixed ~270px image in a wider column. Rather than
   let it hang off the left edge, it sits centred in a full-width tile, so
   every block in the sidebar shares the same left and right edges as the
   quote card above it. Text stays left-aligned: centred lists are harder
   to scan, and their full-width rules already carry the column's width. */
.side-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(10 30 50 / 0.07);
}
.side-promo img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.side-nav { margin-top: 26px; }
.side-nav ul { margin: 0; padding: 0; list-style: none; }
.side-nav li { border-bottom: 1px solid #e6e9ec; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 4px;
  font-size: 13px;
  color: #4a4f55;
  text-decoration: none;
}
.side-nav a::before {
  content: "\203A";
  content: "\203A" / "";
  font-size: 17px;
  line-height: 1;
  color: #9aa1a8;
  transition: transform 0.15s ease-out, color 0.15s ease-out;
}
.side-nav a:hover,
.side-nav a:focus-visible { color: #005bab; }
.side-nav a:hover::before,
.side-nav a:focus-visible::before { color: #ff9500; transform: translateX(2px); }
.side-nav a[aria-current="page"] { color: #005bab; font-weight: 700; }
.side-nav a[aria-current="page"]::before { color: #ff9500; }

.side-testimonials { margin-top: 28px; }
.side-testimonials .title [class^="icon-"],
.side-testimonials .title [class*=" icon-"] { margin-right: 6px; }
.side-testimonials .title [class^="icon-"]::before,
.side-testimonials .title [class*=" icon-"]::before { font-size: 16px; line-height: 1; }
.side-testimonials__more { margin: 10px 0 0; font-size: 12px; font-weight: 700; }

/* --------------------------------- content pieces ------------------------ */
.photo-card {
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(10 30 50 / 0.07);
}
.photo-card img { display: block; width: 100%; height: auto; border-radius: 5px; }
.photo-card figcaption {
  margin: 8px 4px 2px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #5d6369;
  text-align: center;
}

.award-thumb {
  display: block;
  padding: 6px;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgb(10 30 50 / 0.07);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.award-thumb:hover,
.award-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgb(10 30 50 / 0.15);
}
.award-thumb img { display: block; width: 100%; height: auto; border-radius: 3px; }
.award-thumb__year { margin: 8px 0 0; font-size: 12px; font-weight: 700; color: #005bab; }

.award-feature {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 22px;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(10 30 50 / 0.07);
  scroll-margin-top: 110px;          /* clears the sticky header on #awards jumps */
}
.award-feature__img { flex: 0 0 auto; max-width: 170px; height: auto; }
.award-feature__title {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 19px;
  font-weight: 700;
  color: #005bab;
}
.award-feature__sub {
  margin: 16px 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2429;
}
.award-feature p { margin: 0; line-height: 1.65; }
@media (max-width: 575.98px) {
  .award-feature { flex-direction: column; align-items: center; text-align: center; }
}

/* ------------------------------------ lightbox ----------------------------
   Replaces prettyPhoto. A native <dialog>: the browser handles focus
   trapping, Escape to close, and returning focus to the thumbnail.
   ------------------------------------------------------------------------- */
.lightbox {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgb(2 12 22 / 0.84); }
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(88vw, 1100px);
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.5);
}
.lightbox__cap { margin-top: 12px; font-size: 14px; font-weight: 600; color: #e3ebf2; }
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgb(255 255 255 / 0.26); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev  { top: 50%; left: 16px;  transform: translateY(-50%); }
.lightbox__next  { top: 50%; right: 16px; transform: translateY(-50%); }

/* ------------------------- brand change (ford-protect.cfm) --------------- */
.brand-shift {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 18px 0 6px;
}
.brand-shift__item {
  flex: 1 1 0;
  max-width: 260px;
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #dde1e5;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(10 30 50 / 0.07);
  text-align: center;
}
.brand-shift__item img { max-width: 100%; height: auto; }
.brand-shift__item figcaption {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7076;
}
/* The retired name is shown muted, so the pair reads as before and after. */
.brand-shift__item--old img { filter: grayscale(1); opacity: 0.7; }
.brand-shift__item--new {
  border-color: #b9d3ea;
  box-shadow: 0 0 0 3px rgb(0 91 171 / 0.08), 0 2px 6px rgb(10 30 50 / 0.07);
}
.brand-shift__item--new figcaption { color: #005bab; }
.brand-shift__arrow { flex: 0 0 auto; width: 40px; height: 40px; color: #ff9500; }
@media (max-width: 575.98px) {
  .brand-shift { flex-direction: column; }
  .brand-shift__item { width: 100%; }
  .brand-shift__arrow { transform: rotate(90deg); }
}

/* ------------------------------------ pull quote ------------------------- */
.pullquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: #f7f9fb;
  border-left: 4px solid #ff9500;
  border-radius: 0 6px 6px 0;
}
.pullquote p {
  margin: 0;
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: #1f2429;
}

/* ------------------------------------ model chips ------------------------ */
.chip-list-label {
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #4a4f55;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip-list a {
  display: inline-block;
  padding: 5px 11px;              /* ~28px tall, above the 24px minimum target */
  border: 1px solid #cfdde8;
  border-radius: 999px;
  background: #f4f8fb;
  color: #005bab;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.chip-list a:hover,
.chip-list a:focus-visible {
  border-color: #005bab;
  background: #005bab;
  color: #fff;
  text-decoration: none;
}
