/*
  Workflow: this project keeps parallel copies under src/ and dist/. Browsers load ./style.css
  next to each index.html, so if you edit src/style.css (or src/*.html) but open dist/index.html,
  you will see OLD styles until you run:  npm run sync
  (or: sh scripts/sync-dist.sh). Prefer editing src/, then sync, then refresh.

  Bootstrap 3 loads before this file; rules that “don’t apply” often need higher specificity
  (e.g. section.my-section .btn) or must appear after Bootstrap in this stylesheet.
*/
/* -------------------------
   Global / Base
------------------------- */
html, body { overflow-x: hidden; }

/* Base copy: larger than Bootstrap 3 default (14px) site-wide */
body {
  font-size: 16px;
  line-height: 1.6;
}

/* Intro paragraphs: proportional to body (Bootstrap uses fixed 21px @ 14px base) */
.lead {
  font-size: 1.5em;
  line-height: 1.4;
}

/* Larger CTAs than Bootstrap 3 defaults (overridden per component when needed) */
.btn {
  padding: 22px 34px;
  font-size: 1.125rem;
  line-height: 1.35;
  border-radius: 6px;
}

.banner-text { color: #fff; }

.section-color { background-color: #ff4d4d; }

.section-margin {
  margin-top: 75px;
  margin-bottom: 75px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* -------------------------
   HERO (Top Jumbotron)
------------------------- */
.jumbotron {
  background-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.78) 22%,
      rgba(0, 0, 0, 0.42) 40%,
      rgba(0, 0, 0, 0.12) 52%,
      rgba(0, 0, 0, 0) 64%
    ),
    url("./images/CH1A0929.JPG");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 35%;
  min-height: 675px;
  margin-bottom: 0;
}

.hero-copy {
  margin-top: 65px;
  padding-left: 30px;
}

/* Shift headline block one grid column left on desktop (Bootstrap 3: 1/12 ≈ 8.33%) */
@media (min-width: 992px) {
  .jumbotron .hero-copy {
    margin-left: -8.33333333%;
  }
}

.jumbotron .hero-copy .hero-cta-btn {
  font-size: 1.4rem;
  padding: 26px 40px;
  letter-spacing: 0.04em;
}

/* Mobile: shift photo + constrain text so it doesn't cover face */
@media (max-width: 768px) {
  .jumbotron { background-position: 65% 35%; }
  .jumbotron .hero-copy {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 280px;
  }
}

/* -------------------------
   CERTIFICATIONS
------------------------- */
.cert-band {
  background-color: #fff;
}

.cert-title { margin-bottom: 20px; }

.cert-title a {
  color: #ff4d4d;
  font-weight: bold;
}

/* Two-row infinite marquee (CSS only — works with Bootstrap 3; carousel component is not used) */
.cert-marquee-stack {
  margin-top: 8px;
  margin-bottom: 4px;
}

.cert-marquee__viewport {
  overflow: hidden;
  width: 100%;
}

.cert-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: cert-marquee-scroll 48s linear infinite;
}

@keyframes cert-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.cert-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1rem;
  padding: 10px 0.6rem;
}

/* Equal-width slots so gap is even between logos (small marks like Toyota stay centered). */
.cert-marquee__item {
  flex: 0 0 min(200px, 26.4vw);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cert-marquee__item img {
  max-height: 132px;
  width: auto;
  max-width: 100%;
  height: auto;
}

/* Toyota asset scales large; keep it slightly smaller than other marks (still centered in same slot) */
.cert-marquee__item--toyota img {
  max-height: 84px;
  max-width: min(148px, 90%);
}

@media (max-width: 768px) {
  .cert-marquee__group {
    gap: 0.6rem;
    padding: 8px 0.4rem;
  }

  .cert-marquee__item {
    flex: 0 0 min(160px, 33.6vw);
  }

  .cert-marquee__item img {
    max-height: 100px;
  }

  .cert-marquee__item--toyota img {
    max-height: 64px;
    max-width: min(118px, 90%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cert-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .cert-marquee__viewport {
    overflow: visible;
  }

  .cert-marquee__group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 6px;
  }

  .cert-marquee__group[aria-hidden="true"] {
    display: none;
  }
}

/* -------------------------
   TESTIMONIALS — card + infinite marquee (same technique as cert logos)
------------------------- */
.testimonial-spotlight__eyebrow {
  margin-bottom: 22px;
}

.testimonial-card {
  background-color: #ebebeb;
  border-radius: 10px;
  padding: 22px 24px 18px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  color: #222;
}

.testimonial-card--static {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.testimonial-card__left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ff4d4d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.testimonial-card__name-line {
  margin: 0;
  font-size: 1em;
  line-height: 1.35;
}

.testimonial-card__sep {
  color: #666;
  font-weight: normal;
  padding: 0 4px;
}

.testimonial-card__status {
  margin: 4px 0 0;
  font-size: 0.88em;
  color: #666;
}

.testimonial-card__right {
  text-align: right;
  flex-shrink: 0;
}

.testimonial-card__stars {
  color: #ff4d4d;
  letter-spacing: 2px;
  font-size: 15px;
  line-height: 1;
}

.testimonial-card__stars .fa-star,
.testimonial-card__stars .fa-regular {
  margin-left: 1px;
}

.testimonial-card__stars--4 .fa-regular.fa-star {
  color: #b0b8c4;
}

.testimonial-card__date {
  display: block;
  margin-top: 8px;
  font-size: 0.9em;
  color: #222;
}

.testimonial-card__quote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.98em;
  line-height: 1.6;
}

.testimonial-card__quote::before,
.testimonial-card__quote::after {
  content: none;
}

.testimonial-card__quote p {
  margin: 0;
}

.testimonial-card__footer {
  margin-top: 16px;
  text-align: right;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #444;
}

.testimonials-marquee-band {
  background-color: #ff4d4d;
  padding-top: 40px;
  padding-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Absorb .section-margin vertical rhythm into padding */
section.testimonials-marquee-band.section-margin {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 115px; /* 40 + 75 */
  padding-bottom: 111px; /* 36 + 75 */
}

/* Shared section label (spotlight title, testimonials, repair process band) */
.site-section-eyebrow {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18pt;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #6a6f78;
}

/* Red quote bands: light label on brand red */
.testimonials-marquee-band .site-section-eyebrow,
.testimonial-spotlight-band .site-section-eyebrow {
  color: rgba(255, 255, 255, 0.95);
}

/* Padding on wrapper so Bootstrap .container / heading resets cannot zero out the h2 */
.testimonials-marquee-band .testimonials-marquee-band__heading-wrap {
  padding-top: 16px;
  padding-bottom: 12px;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}

.testimonials-marquee-band .testimonial-card,
.testimonial-spotlight-band .testimonial-card {
  background-color: #fff;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.18);
}

.testimonial-spotlight-band {
  background-color: #ff4d4d;
  padding-top: 48px;
  padding-bottom: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

section.testimonial-spotlight-band.section-margin {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 123px; /* 48 + 75 */
  padding-bottom: 127px; /* 52 + 75 */
}

/* Three guest reviews in a static grid (no carousel) */
.testimonials-marquee-band__grid-wrap {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px clamp(8px, 2vw, 20px) 20px;
  box-sizing: border-box;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.testimonial-card--grid {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .testimonial-card__header {
    flex-direction: column;
  }

  .testimonial-card__right {
    text-align: left;
    width: 100%;
  }

  .testimonial-card__footer {
    text-align: left;
  }
}

/* -------------------------
   HAIL + PDR + GLASS + RECAL — home spotlight + subpages
------------------------- */
/* Home: tabbed service block (Bootstrap 3 .nav-tabs + .tab-content) */
section.spotlight-services.section-margin {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 75px;
  padding-bottom: 75px;
  background-color: #fff;
  border-top: 1px solid #e8eaed;
}

section.repair-process.section-margin {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 25pt !important;
  padding-bottom: 75px;
  background-color: #24343a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  /* Keeps child .row.section-margin margins inside the dark background */
  overflow: hidden;
}

.spotlight-services__shell {
  padding-top: 48px;
  padding-bottom: 56px;
}

.spotlight-services__shell .site-section-eyebrow {
  margin-bottom: 28px;
}

.spotlight-services__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
  border-bottom: 1px solid #c5cad5;
}

.spotlight-services__tabs > li {
  float: none;
  margin-bottom: -1px;
}

/* Match “For when life happens” strip: #f1f1f1 / #e5e5e5 */
.spotlight-services__tabs > li > a {
  margin-right: 4px;
  border-radius: 4px 4px 0 0;
  color: #333;
  background-color: #f1f1f1;
  border: 1px solid #e5e5e5;
  border-bottom-color: transparent;
}

.spotlight-services__tabs > li > a:hover,
.spotlight-services__tabs > li > a:focus {
  background-color: #ebebeb;
  border-color: #e5e5e5 #e5e5e5 #e5e5e5;
}

section.spotlight-services ul.nav.nav-tabs.spotlight-services__tabs > li:not(.active) > a {
  background-color: #f1f1f1;
  border-color: #e5e5e5;
  border-bottom-color: transparent;
}

section.spotlight-services ul.nav.nav-tabs.spotlight-services__tabs > li:not(.active) > a:hover,
section.spotlight-services ul.nav.nav-tabs.spotlight-services__tabs > li:not(.active) > a:focus {
  background-color: #ebebeb;
  border-color: #e5e5e5;
  border-bottom-color: transparent;
}

/* Higher specificity than Bootstrap’s .nav-tabs > li.active > a so brand red wins */
section.spotlight-services ul.nav.nav-tabs.spotlight-services__tabs > li.active > a,
section.spotlight-services ul.nav.nav-tabs.spotlight-services__tabs > li.active > a:hover,
section.spotlight-services ul.nav.nav-tabs.spotlight-services__tabs > li.active > a:focus {
  color: #fff;
  background-color: #ff4d4d;
  border-color: #ff4d4d;
}

.spotlight-services__tab-content {
  padding-top: 36px;
}

@media (max-width: 480px) {
  .spotlight-services__tabs > li > a {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* Home: Our Repair Process — full-width dark band */
.repair-process__shell {
  padding-top: 48px;
  padding-bottom: 56px;
}

.repair-process__shell .site-section-eyebrow {
  color: #fff;
}

.repair-process__shell .process-subhead {
  color: rgba(255, 255, 255, 0.92);
}

.repair-process__shell .process-num {
  color: rgba(255, 255, 255, 0.42);
}

.repair-process__shell .process-body h3 {
  color: #fff;
}

.repair-process__shell .process-body p {
  color: rgba(255, 255, 255, 0.96);
}

.repair-process__shell .process-icon {
  color: #ff4d4d;
}

/* Uniform 4:3 frames for all service spotlight images */
.spotlight-services__tab-content .spotlight-services__media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  background: #e8eaed;
  aspect-ratio: 4 / 3;
}

.hail-spotlight__img,
.pdr-spotlight__img,
.glass-spotlight__img,
.recal-spotlight__img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hail-spotlight__media,
.pdr-spotlight__media,
.glass-spotlight__media,
.recal-spotlight__media {
  text-align: center;
}

@media (min-width: 992px) {
  .hail-spotlight__row,
  .pdr-spotlight__row,
  .glass-spotlight__row,
  .recal-spotlight__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

.hail-spotlight__copy,
.pdr-spotlight__copy,
.glass-spotlight__copy,
.recal-spotlight__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hail-spotlight__copy h2,
.pdr-spotlight__copy h2,
.glass-spotlight__copy h2,
.recal-spotlight__copy h2 {
  margin-top: 0;
  font-weight: bold;
}

.hail-spotlight__lead,
.pdr-spotlight__lead,
.glass-spotlight__lead,
.recal-spotlight__lead {
  color: #555;
  margin-bottom: 16px;
  line-height: 1.35;
}

.hail-spotlight__copy p,
.pdr-spotlight__copy p,
.glass-spotlight__copy p,
.recal-spotlight__copy p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 14px;
}

.hail-spotlight__btn,
.pdr-spotlight__btn,
.glass-spotlight__btn,
.recal-spotlight__btn {
  margin-top: 8px;
}

/* Home spotlight only: solid red CTA, outline on hover (subpages keep .btn-outline-red) */
.spotlight-services .btn-outline-red {
  color: #fff;
  background-color: #ff4d4d;
  border: 2px solid #ff4d4d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.spotlight-services .btn-outline-red:hover,
.spotlight-services .btn-outline-red:focus {
  color: #ff4d4d;
  background-color: #fff;
  border-color: #ff4d4d;
  text-decoration: none;
}

.spotlight-services .btn-outline-red:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
}

@media (max-width: 991px) {
  .hail-spotlight__copy,
  .pdr-spotlight__copy,
  .glass-spotlight__copy,
  .recal-spotlight__copy {
    margin-top: 24px;
  }
}

/* Service subpages — vehicle recalibration, hail, PDR, auto glass (shared recal-page-* layout) */
.page-hail .recal-page-nav,
.page-pdr .recal-page-nav,
.page-glass .recal-page-nav,
.page-recal .recal-page-nav {
  background-color: #111;
  color: #fff;
  padding: 12px 0;
  font-size: 16px;
}

.page-hail .recal-page-nav a,
.page-pdr .recal-page-nav a,
.page-glass .recal-page-nav a,
.page-recal .recal-page-nav a {
  color: #fff;
  text-decoration: none;
}

.page-hail .recal-page-nav a:hover,
.page-hail .recal-page-nav a:focus,
.page-pdr .recal-page-nav a:hover,
.page-pdr .recal-page-nav a:focus,
.page-glass .recal-page-nav a:hover,
.page-glass .recal-page-nav a:focus,
.page-recal .recal-page-nav a:hover,
.page-recal .recal-page-nav a:focus {
  color: #ff4d4d;
}

.page-hail .recal-page-hero,
.page-pdr .recal-page-hero,
.page-glass .recal-page-hero,
.page-recal .recal-page-hero {
  background-color: #ff4d4d;
  color: #fff;
  padding: 50px 0 44px;
  text-align: center;
}

.page-hail .recal-page-hero h1,
.page-pdr .recal-page-hero h1,
.page-glass .recal-page-hero h1,
.page-recal .recal-page-hero h1 {
  margin-top: 0;
  font-weight: bold;
}

.page-hail .recal-page-main,
.page-pdr .recal-page-main,
.page-glass .recal-page-main,
.page-recal .recal-page-main {
  padding: 22px 0 60px;
  background-color: #ebebeb;
}

.page-hail .recal-page-main h2,
.page-pdr .recal-page-main h2,
.page-glass .recal-page-main h2,
.page-recal .recal-page-main h2 {
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 1.65em;
}

.page-hail .recal-page-main p,
.page-pdr .recal-page-main p,
.page-glass .recal-page-main p,
.page-recal .recal-page-main p {
  margin-bottom: 14px;
  line-height: 1.65;
  color: #333;
}

.page-hail .recal-page-main a,
.page-pdr .recal-page-main a,
.page-glass .recal-page-main a,
.page-recal .recal-page-main a {
  color: #c9302c;
  text-decoration: underline;
}

.page-hail .recal-page-lead-media,
.page-pdr .recal-page-lead-media,
.page-glass .recal-page-lead-media,
.page-recal .recal-page-lead-media {
  margin-bottom: 28px;
}

.page-hail .recal-page-lead-media img,
.page-pdr .recal-page-lead-media img,
.page-glass .recal-page-lead-media img,
.page-recal .recal-page-lead-media img {
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.page-hail .recal-page-rule,
.page-pdr .recal-page-rule,
.page-glass .recal-page-rule,
.page-recal .recal-page-rule {
  border-color: #ccc;
  margin: 36px 0;
}

.page-hail .recal-page-inline-img,
.page-pdr .recal-page-inline-img,
.page-glass .recal-page-inline-img,
.page-recal .recal-page-inline-img {
  margin-bottom: 20px;
}

.page-hail .recal-page-inline-img .col-sm-6 {
  margin-bottom: 16px;
}

.page-hail .recal-page-list,
.page-pdr .recal-page-list,
.page-glass .recal-page-list,
.page-recal .recal-page-list {
  margin-bottom: 16px;
  padding-left: 1.25em;
  line-height: 1.65;
  color: #333;
}

.page-hail .recal-page-list li,
.page-pdr .recal-page-list li,
.page-glass .recal-page-list li,
.page-recal .recal-page-list li {
  margin-bottom: 8px;
}

.page-hail .recal-page-cta,
.page-pdr .recal-page-cta,
.page-glass .recal-page-cta,
.page-recal .recal-page-cta {
  margin-top: 36px;
  margin-bottom: 0;
}

.page-hail .recal-page-media-slot,
.page-pdr .recal-page-media-slot,
.page-glass .recal-page-media-slot,
.page-recal .recal-page-media-slot {
  margin: 0 0 32px;
}

.page-hail .recal-page-media-slot--spaced,
.page-pdr .recal-page-media-slot--spaced,
.page-glass .recal-page-media-slot--spaced,
.page-recal .recal-page-media-slot--spaced {
  margin: 36px 0 32px;
}

.page-recal .recal-page-media-slot__frame {
  min-height: 200px;
  background: #e0e3e8;
  border-radius: 6px;
  border: 1px dashed #c5cad5;
}

@media (max-width: 768px) {
  .page-recal .recal-page-media-slot__frame {
    min-height: 140px;
  }
}

/* PDR page: home-spotlight + process photos slightly inset, centered */
.page-pdr .pdr-page-body-image__fig {
  max-width: 88%;
  margin-left: auto;
  margin-right: auto;
}

.page-pdr .pdr-page-body-image__fig img {
  width: 100%;
  height: auto;
  display: block;
}

/* Auto glass page: same treatment for home spotlight image */
.page-glass .glass-page-lead-image__fig {
  max-width: 88%;
  margin-left: auto;
  margin-right: auto;
}

.page-glass .glass-page-lead-image__fig img {
  width: 100%;
  height: auto;
  display: block;
}

/* PDR + auto glass: more space below red hero before first line of copy */
.page-pdr .recal-page-main,
.page-glass .recal-page-main {
  padding-top: 40px;
}

/* PDR + auto glass: extra air between intro paragraph and lead image (padding avoids margin collapse) */
.page-pdr .recal-page-main .col-md-10 > p:first-of-type,
.page-glass .recal-page-main .col-md-10 > p:first-of-type {
  margin-bottom: 24px;
}

.page-pdr .recal-page-main .col-md-10 > p:first-of-type + .recal-page-media-slot,
.page-glass .recal-page-main .col-md-10 > p:first-of-type + .recal-page-media-slot {
  padding-top: 8px;
}

/* First h2 flush to top content only when it opens the column (recal, hail after lead image) */
.page-hail .recal-page-main h2:first-of-type,
.page-recal .recal-page-main h2:first-of-type {
  margin-top: 0;
}

/* -------------------------
   FOR WHEN LIFE HAPPENS (Video Strip) — copy centered in left 50% (same pattern as CTA / Why choose)
------------------------- */
.for-when-strip {
  position: relative;
  overflow: hidden;
  background-color: #f1f1f1;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  /* Vertical spacing lives on the copy column on desktop so the video can be flush top/bottom */
  padding-top: 0;
  padding-bottom: 0;
}

.for-when-strip__wrap {
  position: relative;
  z-index: 1;
}

.for-when-strip .for-when-strip__wrap.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.for-when-strip .for-when-copy {
  color: #333;
}

.for-when-strip__title {
  color: #ff4d4d;
  margin-top: 0;
}

.for-when-strip .for-when-copy .lead {
  color: #444;
}

.for-when-strip .btn-for-when-cta {
  margin-top: 14px;
  padding: 22px 34px;
  color: #fff;
  background-color: #ff4d4d;
  border: 2px solid #ff4d4d;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

.for-when-strip .btn-for-when-cta:hover,
.for-when-strip .btn-for-when-cta:focus {
  color: #ff4d4d;
  background-color: transparent;
  border-color: #ff4d4d;
  text-decoration: none;
}

.for-when-strip .btn-for-when-cta:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.for-when-strip .video-frame {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .for-when-strip {
    display: flex;
    flex-direction: column;
  }

  .for-when-strip__wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    min-height: min(520px, 58vh);
  }

  .for-when-strip__wrap > .row.for-when-strip__grid-row {
    min-height: min(520px, 58vh);
  }

  .for-when-strip .for-when-copy {
    position: absolute;
    left: 0;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 50%;
    max-width: none;
    margin-left: 0;
    float: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: clamp(58px, 8.64vw, 138px);
    padding-right: clamp(58px, 8.64vw, 138px);
    box-sizing: border-box;
  }

  .for-when-strip .for-when-strip__media {
    position: absolute;
    left: 50%;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    max-width: none;
    margin-left: 0;
    float: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    box-sizing: border-box;
  }

  .for-when-strip .for-when-strip__media .video-frame {
    margin-top: 0;
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    min-height: 0;
    align-self: stretch;
    height: 100%;
    padding-bottom: 0 !important;
    position: relative;
  }

  .for-when-strip .for-when-strip__media .video-frame .embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

@media (max-width: 991px) {
  .for-when-strip {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .for-when-strip .for-when-copy {
    padding-left: clamp(41px, 7.2vw, 70px);
    padding-right: clamp(41px, 7.2vw, 70px);
    box-sizing: border-box;
  }

  .for-when-strip .for-when-strip__media {
    padding-left: clamp(20px, 4vw, 32px);
    padding-right: clamp(20px, 4vw, 32px);
    box-sizing: border-box;
  }
}

/* Mobile: stack copy then video */
@media (max-width: 768px) {
  .for-when-copy {
    text-align: center;
  }

  .for-when-copy .btn {
    display: inline-block;
  }

  .for-when-strip .for-when-copy {
    margin-bottom: 28px;
  }
}

/* -------------------------
   WHY CHOOSE — full-bleed image (left), copy on right, gradient right→left
------------------------- */
.why-rydell {
  position: relative;
  margin-bottom: 0;
  min-height: 675px;
  overflow: hidden;
  background-color: #24343a;
  isolation: isolate;
}

/* Photo: natural aspect ratio, fits inside the section (no cover/stretch) */
.why-rydell::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("./images/wielding.png");
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
}

/* Solid copy column — hard edge at 50%, no gradient into the photo */
.why-rydell::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  background: #24343a;
}

.why-rydell__wrap {
  position: relative;
  z-index: 2;
}

/* Full-width wrap so the right 50% matches ::after (same idea as contact CTA) */
.why-rydell .container-fluid.why-rydell__wrap {
  padding-left: 0;
  padding-right: 0;
}

.why-rydell__copy h3 { margin-top: 0; }

.why-rydell__copy > .lead {
  margin-bottom: 32px;
}

.why-rydell__row {
  display: table;
  width: 100%;
  margin-top: 24px;
}

.why-rydell__check {
  display: table-cell;
  width: 42px;
  vertical-align: top;
  font-size: 28px;
  color: #ff4d4d;
  line-height: 1;
}

.why-rydell__body {
  display: table-cell;
  vertical-align: top;
}

@media (min-width: 992px) {
  .why-rydell {
    display: flex;
    flex-direction: column;
  }

  .why-rydell__wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    min-height: min(520px, 58vh);
  }

  .why-rydell__wrap > .row.why-rydell__grid-row {
    min-height: min(520px, 58vh);
  }

  .why-rydell__copy {
    position: absolute;
    left: 50%;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    max-width: none;
    margin-left: 0;
    float: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: clamp(16px, 4vw, 48px);
    padding-right: clamp(16px, 4vw, 48px);
    box-sizing: border-box;
  }

  .why-rydell__copy .why-rydell__row {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    text-align: left;
  }

  .why-rydell__cta {
    max-width: 420px;
    width: 100%;
  }
}

.why-rydell__cta {
  margin-top: 40px;
  padding: 22px 34px;
  font-size: max(14px, 1.125rem);
  color: #fff;
  background-color: #ff4d4d;
  border: 2px solid #ff4d4d;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.why-rydell__cta b {
  font-size: inherit;
}

.why-rydell__cta:hover,
.why-rydell__cta:focus {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
  text-decoration: none;
}

.why-rydell__cta:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
  .why-rydell__copy {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .why-rydell {
    min-height: 0;
  }

  .why-rydell::before {
    display: none;
  }

  .why-rydell::after {
    left: 0;
    width: 100%;
    background: #24343a;
  }

  .why-rydell__copy {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .why-rydell__row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 14px;
    padding-right: 14px;
    box-sizing: border-box;
  }

  .why-rydell__check {
    display: block;
    flex-shrink: 0;
  }

  .why-rydell__body {
    display: block;
    flex: 1;
    min-width: 0;
    text-align: left;
  }
}

/* -------------------------
   REPAIR PROCESS
------------------------- */
.process-subhead { margin-top: 25px; }

.process-step { margin-top: 25px; }

.process-num {
  font-size: 75px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 10px;
}

.process-body h3 { margin-top: 0; }

.process-icon {
  margin-left: 10px;
  color: #ff4d4d;
  font-size: 30px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* -------------------------
   ADDITIONAL SERVICES & BENEFITS
------------------------- */
.additional-benefits-title { margin-bottom: 50px; }
.additional-benefits-left { margin-bottom: 50px; }

/* Desktop: icon snug to text */
.benefit-item{
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}
.benefit-icon{
  font-size: 20px;
  line-height: 1;
  margin-right: 8px;
  color: #fff;
}
.benefit-text h3{
  margin: 0;
  line-height: 1.2;
  color: #fff;
}

/* Mobile: center the title, center each “icon+text” row as a unit */
@media (max-width: 768px) {

  .additional-benefits-left {
    text-align: center; /* keeps the H2 centered */
  }

  .benefit-item{
    display: grid;                 /* block-level = margin auto works */
    grid-template-columns: 22px auto;
    column-gap: 10px;
    align-items: start;

    width: -webkit-fit-content;    /* iOS Safari */
    width: fit-content;            /* modern browsers */
    margin: 0 auto 18px;  
    
    /* centers the whole row */
  }

  .benefit-icon{
    margin: 0;
    justify-self: end;             /* pushes icon tight to the text */
    line-height: 1;
    
    
  }

  .benefit-text,
  .benefit-text h3{
    text-align: left;              /* text reads normally */
    margin: 0;
  }
  
  .additional-benefits .additional-benefits-title{
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 28px;
  }

  /* smaller list text */
  .additional-benefits .benefit-text h3{
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
  }
}

/* -------------------------
   RULE OF THUMB(S) — apply .rule-of-thumbs to a section (e.g. additional benefits)
------------------------- */
.rule-of-thumbs h2,
.rule-of-thumbs h3 {
  text-transform: capitalize;
}

.rule-of-thumbs a.btn {
  margin-top: 10px;
  padding: 22px 34px;
  color: #24343a;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  font-size: max(14px, 1.125rem);
  letter-spacing: 0.04em;
}

.rule-of-thumbs a.btn:hover,
.rule-of-thumbs a.btn:focus {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
  text-decoration: none;
}

.rule-of-thumbs a.btn:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25);
}

/* -------------------------
   CONTACT — full-bleed image left, solid split, copy right (red CTA band)
------------------------- */
section.contact-cta.section-margin {
  margin-top: 0;
  margin-bottom: 0;
}

.contact-cta {
  position: relative;
  margin-bottom: 0;
  min-height: 675px;
  overflow: hidden;
  background-color: #ff4d4d;
  isolation: isolate;
}

.contact-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  /* Constrain the photo to the LEFT 50% so its right edge aligns with the red column seam.
     cover = fill vertically; when horizontal overflow is needed, 66% center
     nudges the crop balance slightly. */
  right: 50%;
  bottom: 0;
  left: 0;
  background-image: url("guest-keys.jpg");
  background-size: cover;
  background-position: 66% center;
  background-repeat: no-repeat;
}

.contact-cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  background: #ff4d4d;
}

.contact-cta__wrap {
  position: relative;
  z-index: 2;
}

/* Full-width wrap so the right 50% lines up with ::after (50% viewport), not 50% of a padded box */
.contact-cta .container-fluid.contact-cta__wrap {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 992px) {
  .contact-cta {
    display: flex;
    flex-direction: column;
  }

  .contact-cta__wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    min-height: min(520px, 58vh);
  }

  /* Pin copy to the right 50% of the viewport band (matches ::after split); center content inside it */
  .contact-cta__wrap > .row.contact-cta__row {
    min-height: min(520px, 58vh);
  }

  .contact-cta__copy {
    position: absolute;
    left: 50%;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    max-width: none;
    margin-left: 0;
    float: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: clamp(16px, 4vw, 48px);
    padding-right: clamp(16px, 4vw, 48px);
    box-sizing: border-box;
  }

  .contact-cta__copy .contact-cta__btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 420px;
    width: 100%;
  }
}

.contact-cta__copy h2 {
  margin-top: 0;
  font-weight: bold;
}

.contact-cta__title {
  padding-left: clamp(12px, 5vw, 48px);
  padding-right: clamp(12px, 5vw, 48px);
  box-sizing: border-box;
}

.contact-cta__subhead {
  margin-top: 12px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: bold;
}

.contact-cta__address {
  margin-bottom: 22px;
  line-height: 1.6;
}

.contact-cta__btns {
  margin-top: 8px;
}

.contact-cta__btns .btn {
  margin-top: 10px;
}

.contact-cta__btn {
  padding: 22px 18px;
  color: #24343a;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  font-size: max(14px, 1rem);
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-cta__btn:hover,
.contact-cta__btn:focus {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
  text-decoration: none;
}

.contact-cta__btn:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25);
}

/* Tablet: same crop anchor as desktop (66%) */
@media (min-width: 769px) and (max-width: 991px) {
  .contact-cta::before {
    background-size: cover;
    background-position: 66% center;
  }
}

@media (max-width: 768px) {
  .contact-cta {
    min-height: 0;
  }

  .contact-cta::before {
    display: none;
  }

  .contact-cta::after {
    left: 0;
    width: 100%;
    background: #ff4d4d;
  }

  .contact-cta__copy {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact-cta__btns {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* -------------------------
   Buttons
------------------------- */
.btn-outline-red {
  margin-top: 10px;
  padding: 22px 34px;
  font-size: max(14px, 1.125rem);
  color: #ff4d4d;
  background-color: #fff;
  border: 2px solid #ff4d4d;
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 5px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-outline-red:hover,
.btn-outline-red:focus {
  color: #fff;
  background-color: #333;
  border-color: #333;
  text-decoration: none;
}

.btn-outline-red:active {
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
  transform: translateY(2px);
}

.btn-outline-white,
.btn-outline-white-1 {
  margin-top: 10px;
  padding: 22px 34px;
  font-size: max(14px, 1.125rem);
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 2px 5px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-outline-white:hover,
.btn-outline-white:focus {
  color: #fff;
  background-color: #ff4d4d;
  text-decoration: none;
}

.btn-outline-white:active,
.btn-outline-white-1:active {
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
  transform: translateY(2px);
}

/* Clear hover style for btn-outline-white-1 */
.btn-outline-white-1:hover,
.btn-outline-white-1:focus {
  color: #ff4d4d;
  background-color: #fff;
  text-decoration: none;
}

/* -------------------------
   Legacy / Unused (kept safe)
   If you are not using overlay X icons anymore, you can delete.
------------------------- */
.multi-icon i { margin: 0 6px; }

.icon-overlay {
  position: relative;
  display: inline-block;
}

.overlay-x {
  position: absolute;
  top: -10px;
  left: -8px;
  color: #fff;
  font-size: 0.65em;
  pointer-events: none;
  opacity: 1;
}

@media (max-width: 768px) {

  /* MOBILE: icon + text stay centered together */
  .additional-benefits .benefit-item{
    display: flex !important;
    justify-content: center;   /* center the whole row as a unit */
    align-items: center;       /* <-- vertical center (fixes the “floating up”) */
    gap: 10px;
    width: 100%;
    margin: 0 auto 16px;
  }

  /* give icon a stable box so it can't drift */
  .additional-benefits .benefit-icon{
    flex: 0 0 26px;            /* fixed column */
    display: flex;
    justify-content: flex-end; /* tight to the text */
    align-items: center;       /* center inside its own box */
    margin: 0 !important;
    line-height: 1;
  }

  /* kill baseline weirdness from the <i> itself */
  .additional-benefits .benefit-icon i{
    display: block;
    line-height: 1;
  }

  /* keep text left-aligned even though the row is centered */
  .additional-benefits .benefit-text{
    text-align: left;
    max-width: 350px;          /* optional: helps wrap nicely on small screens */
  }
}

/* -------------------------
   BODY SHOP CERTIFICATIONS PAGE
------------------------- */
.page-certifications .cert-page-nav {
  background-color: #111;
  color: #fff;
  padding: 12px 0;
  font-size: 16px;
}

.page-certifications .cert-page-nav a {
  color: #fff;
  text-decoration: none;
}

.page-certifications .cert-page-nav a:hover,
.page-certifications .cert-page-nav a:focus {
  color: #ff4d4d;
  text-decoration: none;
}

.page-certifications .cert-page-hero {
  background-color: #ff4d4d;
  color: #fff;
  padding: 60px 0 50px;
  margin-bottom: 0;
  text-align: center;
}

.page-certifications .cert-page-hero h1 {
  margin-top: 0;
  font-weight: bold;
}

.page-certifications .cert-page-main {
  padding-top: 36px;
  padding-bottom: 50px;
  background-color: #ebebeb;
}

.page-certifications .cert-page-col {
  margin-bottom: 22px;
}

/* Home + shared: “Learn more about our certifications” (below logo row on home) */
.cert-page-footer-link-wrap {
  clear: both;
  width: 100%;
  margin: 0;
  padding-top: 28px;
}

.cert-page-footer-link {
  margin: 0;
  text-align: center;
}

.cert-page-footer-link__a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 3px;
}

.cert-page-footer-link__a:hover,
.cert-page-footer-link__a:focus {
  color: #000;
  text-decoration: underline;
}

.cert-page-footer-link__a i {
  font-size: 0.92em;
  text-decoration: none;
}

@media (min-width: 992px) {
  .page-certifications .cert-page-grid {
    display: flex;
    flex-wrap: wrap;
  }

  .page-certifications .cert-page-col {
    display: flex;
    margin-bottom: 28px;
  }

  .page-certifications .cert-box {
    width: 100%;
  }
}

.page-certifications .cert-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  padding: 22px 20px 26px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 520px;
  min-height: 520px;
  max-height: 520px;
  overflow: hidden;
}

.page-certifications .cert-box__header {
  flex-shrink: 0;
  margin-bottom: 8px;
}

.page-certifications .cert-box__header h2 {
  margin-top: 0;
}

.page-certifications .cert-box__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 12px 10px 12px 14px;
  scrollbar-gutter: auto;
  background-color: #f5f5f5;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  scrollbar-width: thin;
  scrollbar-color: #9a9a9a #e4e4e4;
}

/* Bottom fade: hints more content below (hidden via JS when not needed or at end of scroll) */
.page-certifications .cert-box__body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 7px;
  bottom: 0;
  height: 2.75rem;
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0), rgba(245, 245, 245, 0.92) 55%, #f5f5f5);
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 3px 3px;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.page-certifications .cert-box__body.cert-box__body--fade-hidden::after {
  opacity: 0;
}

.page-certifications .cert-box__body::-webkit-scrollbar {
  width: 7px;
}

.page-certifications .cert-box__body::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 0 4px 4px 0;
  margin: 4px 0;
}

.page-certifications .cert-box__body::-webkit-scrollbar-thumb {
  background: #a0a0a0;
  border-radius: 4px;
  border: 2px solid #e8e8e8;
}

.page-certifications .cert-box__body::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.page-certifications .cert-box__footer {
  flex-shrink: 0;
  padding-top: 14px;
  border-top: 1px solid #eee;
  text-align: center;
}

.page-certifications .cert-box__media {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.page-certifications .cert-box__media img {
  max-height: 152px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

/* Toyota asset reads large at default size; keep previous cap + 5% vertical margin */
.page-certifications .cert-box__media--toyota img {
  max-height: 110px;
  margin-top: 5%;
  margin-bottom: 5%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* ABRN: trim 10% from top and bottom */
.page-certifications .cert-box__media--abrn img {
  -webkit-clip-path: inset(10% 0 10% 0);
  clip-path: inset(10% 0 10% 0);
}

.page-certifications .cert-box h2 {
  margin-top: 0;
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.page-certifications .cert-box h4 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 6px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.page-certifications .cert-box__header h4 {
  margin-bottom: 0;
}

.page-certifications .cert-box p {
  line-height: 1.6;
  margin-bottom: 12px;
  color: #333;
  font-size: 16px;
}

.page-certifications .cert-box__body a:not(.btn) {
  color: #c9302c;
  text-decoration: underline;
}

.page-certifications .cert-box__body a:not(.btn):hover,
.page-certifications .cert-box__body a:not(.btn):focus {
  color: #a02622;
}

.page-certifications .cert-box__footer .cert-learn {
  margin: 0;
}

.page-certifications .cert-learn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 16px;
  font-weight: normal;
  text-decoration: underline;
  text-underline-offset: 2px;
  border: none;
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.page-certifications .cert-learn-link:hover,
.page-certifications .cert-learn-link:focus {
  color: #c9302c;
  text-decoration: underline;
}

.page-certifications .cert-learn-link i {
  font-size: 0.82em;
  opacity: 0.9;
  text-decoration: none;
}

@media (max-width: 768px) {
  .page-certifications .cert-box {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
  }
}

/* -------------------------
   REVIEWS FUNNEL (reviews.html)
   Same tier picker concept as rydell-reviews-redirect; Bootstrap 3 + vanilla JS only.
------------------------- */
.page-reviews {
  background-color: #fff;
  color: #222;
  padding-bottom: 48px;
}

.page-reviews .reviews-funnel-wrap {
  max-width: 720px;
  padding-top: 32px;
  padding-bottom: 24px;
}

.page-reviews .reviews-navhome__link {
  color: #db2d2e;
  font-weight: 600;
}

.page-reviews .reviews-header {
  margin-bottom: 28px;
}

.page-reviews .reviews-hero-h1 {
  position: relative;
  display: inline-block;
  margin: 0 auto 16px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  color: #111;
  text-align: center;
}

.page-reviews .hero-heading-line1 {
  display: block;
  margin-bottom: 0;
  line-height: 1.05;
}

.page-reviews .hero-heading-line2 {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.02em;
  margin-top: -0.28em;
  line-height: 1;
}

.page-reviews .hero-heading-eally {
  margin-left: -0.02em;
}

@media (min-width: 992px) {
  .page-reviews .reviews-hero-h1 {
    font-size: 36px;
  }
}

.page-reviews .reviews-hero-r-inline {
  flex-shrink: 0;
  height: 0.95em;
  width: auto;
  max-height: 1.05em;
  display: block;
  position: relative;
  left: -8px;
  transform: translateY(0.28em);
  margin: 0;
  vertical-align: baseline;
}

.page-reviews .reviews-sublead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.55;
  color: #555;
}

.page-reviews .reviews-app-root {
  flex: 1;
}

.page-reviews .reviews-tier-heading {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #333;
}

.page-reviews .reviews-picker-grid {
  margin-left: -8px;
  margin-right: -8px;
}

.page-reviews .reviews-picker-grid > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 12px;
}

.page-reviews .reviews-picker-btn {
  min-height: 56px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-size: 16px;
  font-weight: 500;
  color: #111;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.page-reviews .reviews-picker-btn:hover,
.page-reviews .reviews-picker-btn:focus {
  border-color: rgba(219, 45, 46, 0.55);
  background-color: rgba(219, 45, 46, 0.06);
  outline: none;
}

.page-reviews .reviews-picker-btn:focus-visible {
  outline: 3px solid #db2d2e;
  outline-offset: 3px;
}

.page-reviews .reviews-picker-module--tier1 {
  background-color: #db2d2e;
  border-radius: 16px;
  padding: 22px 18px 26px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
  .page-reviews .reviews-picker-module--tier1 {
    padding: 28px 26px 32px;
  }
}

.page-reviews .reviews-tier-heading--on-red {
  color: #fff;
  margin-bottom: 16px;
}

.page-reviews .reviews-picker-module--tier1 .reviews-picker-btn:hover,
.page-reviews .reviews-picker-module--tier1 .reviews-picker-btn:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background-color: #fafafa;
}

.page-reviews .reviews-picker-module--tier1 .reviews-picker-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.page-reviews .reviews-back-btn {
  padding-left: 0;
  margin-bottom: 8px;
  font-weight: 600;
  color: #db2d2e;
}

.page-reviews .reviews-thanks-panel {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  background-color: #f9f9f9;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.page-reviews .reviews-thanks-msg {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 20px;
  color: #111;
}

.page-reviews .reviews-btn-primary {
  background-color: #db2d2e;
  border-color: #c92829;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
}

.page-reviews .reviews-btn-primary:hover,
.page-reviews .reviews-btn-primary:focus {
  background-color: #c92829;
  border-color: #b32425;
  color: #fff;
}

.page-reviews .reviews-footer-link {
  margin-top: 36px;
  margin-bottom: 0;
}

.page-reviews .reviews-footer-link a {
  color: #db2d2e;
  font-weight: 600;
}

.page-reviews .reviews-footer-link a:hover,
.page-reviews .reviews-footer-link a:focus {
  color: #a02622;
}