/*
Theme Name: Moran Family of Brands
Theme URI: https://moranfamilyofbrands.com/
Author: ClickTecs
Author URI: https://moranfamilyofbrands.com/
Description: Custom WordPress theme developed by Clicktecs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clicktecs
Tags: custom-logo, custom-menu, featured-images
*/


/* ==========================================================================
   MORAN FAMILY OF BRANDS — SITE STYLESHEET
   Everything below the fold. Header/hero critical styles live in
   above-fold.css (base type scale + reset also live there, defined once).
   Media queries are consolidated at the end of this file (max-width).
   See the note at the top of above-fold.css for the WP-safe class rule:
   p / h1–h6 / ul / ol / li never carry a class — style via parent wrapper.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Stats bar — thin, full-width gradient band directly under the hero
   -------------------------------------------------------------------------- */
.time-to-talk-form {
  background: #f8f8f8;

  padding: 50px;

  border-radius: 24px;

}
.form-section-title{
    
}
.stats-bar {
  background: linear-gradient(100deg, #f27c29 0%, #ba2c24 100%);
  margin: 0;
}
.awards-sec{
    border-top: solid 1px var(--color-border);
}

.stats-bar__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats-bar__stat {
  padding: 1rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stats-bar__stat:last-child {
  border-right: none;
}

.stats-bar__stat-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.stats-bar__stat-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 0.5rem;
}

@media (max-width: 700px) {
  .stats-bar__row {
    grid-template-columns: 1fr;
  }

  .stats-bar__stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .stats-bar__stat:last-child {
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   Active nav state — applied to whichever top-level link matches the
   current page (header, mobile drawer, and footer nav all use this).
   -------------------------------------------------------------------------- */
.main-nav .current-menu-item > a,
.footer-col a.is-current,
.footer-legal a.is-current {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Page banner — shared internal-page header (breadcrumb + title).
   Used on every page that isn't the homepage, in place of the hero.
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, #2a2b2e 0%, #17181a 65%, #0f0f10 100%);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.page-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 16, 0.72);
}

.page-banner__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-white);
}

.page-banner__inner h1,
.page-banner__inner h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 2.75rem);
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-list {
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item h3 {
  margin: 0;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  background: none;
  border: none;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-dark);
}

.faq-item__trigger:hover {
  color: var(--color-primary-dark);
}

.faq-item__trigger-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__trigger-icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-item__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s var(--ease);
}

.faq-item__panel p {
  padding-bottom: 1.4rem;
  color: var(--color-text-muted);
}

.faq-item__panel a {
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Simple form — shared field styling for Contact Us / Career Opportunity
   -------------------------------------------------------------------------- */
.simple-form {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-dark);
  margin-bottom: 0.45rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s var(--ease);
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="date"]:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field-file {
  border: 1.5px dashed var(--color-border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  background: var(--color-bg-alt);
}

.form-field-file label {
  margin-bottom: 0.35rem;
}

.form-field-file input[type="file"] {
  font-size: 0.875rem;
  width: 100%;
}

.simple-form .btn {
  justify-self: start;
}

.form-section-title {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.schedule-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.schedule-choice {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.schedule-choice legend {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.schedule-choice legend span {
  font-weight: 400;
}

.schedule-choice__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.time-to-talk-form__timezone {
  max-width: calc(50% - 0.625rem);
}

.time-to-talk-form .btn {
  min-width: 210px;
  justify-self: center;
}

/* --------------------------------------------------------------------------
   Contact / Career page layout — info sidebar + form
   -------------------------------------------------------------------------- */
.info-form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.info-card {
  background: var(--color-dark);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-white);
}

.info-card h2 {
  color: var(--color-white);
  font-size: var(--h3-size);
  margin-bottom: 1.5rem;
}

.info-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-block: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.info-card ul li:first-child {
  border-top: none;
}

.info-card ul i {
  color: var(--color-primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 18px;
}

.info-card ul a {
  color: var(--color-white);
  transition: color 0.2s var(--ease);
}

.info-card ul a:hover {
  color: var(--color-primary);
}

.info-card ul span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.info-card__note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.info-card__note p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.info-card__note a {
  color: var(--color-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Image placeholder — used anywhere the live site has a photo/graphic we
   don't have a file for yet. Swap the whole element for a real <img> (see
   homepage hero/brand logos for that pattern) once supplied.
   -------------------------------------------------------------------------- */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: var(--color-bg-alt);
  border: 1.5px dashed var(--color-border);
  border-radius: 14px;
  color: var(--color-text-muted);
  text-align: center;
  padding: 1.5rem;
}

.img-placeholder i {
  font-size: 1.75rem;
  color: #c9c5be;
}

.img-placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 22ch;
}

/* Sizing contexts for the placeholder — set aspect ratio on the wrapper */
.media-wide {
  aspect-ratio: 16 / 9;
}

img.media-wide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.media-photo {
  aspect-ratio: 4 / 3;
}

.media-square {
  aspect-ratio: 1 / 1;
}

.media-logo {
  aspect-ratio: 3 / 1;
  max-width: 260px;
}

img.media-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.media-icon {
  aspect-ratio: 1 / 1;
  max-width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Franchise page intro — logo + heading + copy
   -------------------------------------------------------------------------- */
.franchise-intro {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.franchise-intro__logo {
  padding-top: 0.5rem;
}

.franchise-intro__body p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   Franchise photo band — full-width supporting photo between sections
   -------------------------------------------------------------------------- */
.franchise-photo {
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
}

.franchise-photo .media-wide {
  border-radius: 16px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Two-column list — "Services Included" / "How You Stand Out"
   -------------------------------------------------------------------------- */
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.two-col-list h3 {
  margin-bottom: 1rem;
}

.two-col-list ul li {
  display: flex;
  gap: 0.65rem;
  padding-block: 0.55rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.two-col-list li:first-child {
  border-top: none;
}

.two-col-list ul ul {
  margin-top: 0.55rem;
  margin-left: 1.5rem;
  width: 100%;
}

.two-col-list ul ul li {
  border-top: none;
  padding-block: 0.35rem;
}

.two-col-list li i {
  color: var(--color-primary);
  margin-top: 0.3rem;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.page-id-116 .legal-content ul li::before{
    content: none;
}

.page-id-116  .legal-content-new  li i{
      color: var(--color-primary);
    margin-top: 0.3rem;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Proven business system — text + award logo row
   -------------------------------------------------------------------------- */
.proven-system {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.proven-system h2 {
  margin-bottom: 1.25rem;
}

.proven-system p {
  color: var(--color-text-muted);
}

.proven-system__awards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.award-logo {
  height: 140px;
  width: auto;
}

.proven-system__awards .media-logo {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Open markets — multi-column city lists
   -------------------------------------------------------------------------- */
.open-markets {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.open-markets__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.open-markets__grid ul li {
  padding-block: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  border-top: 1px solid var(--color-border);
}

.open-markets__grid li:first-child {
  border-top: none;
}

.open-markets__footnote p {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Timeline — brand history milestones, horizontal scroll
   -------------------------------------------------------------------------- */
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-top: 2.25rem;
  padding-bottom: 0.5rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

.timeline {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  min-width: 100%;
}

.timeline-item {
  position: relative;
  flex: 0 0 220px;
  text-align: center;
  padding-top: 1.5rem;
}

.timeline-item::before {
  /* connecting line segment, sits behind the dot */
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-border);
}

.timeline-item:first-child::before {
  left: 50%;
}

.timeline-item:last-child::before {
  right: 50%;
}

.timeline-item::after {
  /* dot, centered on the connecting line */
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
  transform: translate(-50%, -50%);
}

.timeline-item__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.timeline-item .media-logo {
  margin-inline: auto;
  max-width: 130px;
}

/* --------------------------------------------------------------------------
   Figure stats — big callout numbers (e.g. Franchisee Qualifications)
   -------------------------------------------------------------------------- */
.figure-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.figure-stat {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}

.figure-stat h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.65rem;
}

.figure-stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  color: var(--color-primary-dark);
}

.figure-stat p {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Video embed — responsive 16:9 wrapper
   -------------------------------------------------------------------------- */
.split-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.split-intro .video-embed {
  margin-bottom: 0;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 45px rgba(20, 18, 15, 0.12);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Blog / News grid — placeholder post cards
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(20, 18, 15, 0.1);
}

.blog-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__media .img-placeholder {
  border-radius: 0;
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__date {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}

.blog-card h3 {
  margin-bottom: 0.6rem;
}

.blog-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   Testimonial grid — multiple franchisee quotes (Franchisee Testimonials page)
   -------------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-grid--stacked {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-grid--stacked .testimonial-tile {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  text-align: left;
}

.testimonial-grid--stacked .testimonial-tile__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.testimonial-grid--stacked .testimonial-tile__photo {
  margin: 0;
  flex-shrink: 0;
}

.testimonial-tile {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.testimonial-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 18, 15, 0.1);
}

.testimonial-tile__photo {
  width: 90px;
  height: 90px;
  margin-inline: auto;
  margin-bottom: 1.1rem;
 /* border-radius: 50%;*/
  overflow: hidden;
}

.testimonial-tile__photo .img-placeholder {
  border-radius: 50%;
  min-height: 0;
  padding: 0.5rem;
}

/*.testimonial-tile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}*/

.testimonial-tile blockquote {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.testimonial-tile cite {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   Map embed — Google Map (Contact Us page)
   -------------------------------------------------------------------------- */
.map-embed {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  aspect-ratio: 16 / 6;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Pagination — static reference; WordPress generates this via
   the_posts_pagination() once the archive is wired to the post loop.
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.pagination__item,
.pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.pagination__item:hover,
.pagination__arrow:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.pagination__item.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   KCC logo link — linked financing-partner image (Franchisee Qualifications)
   -------------------------------------------------------------------------- */
.kcc-logo-link {
  display: block;
  max-width: 280px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0.9;
  transition: opacity 0.2s var(--ease);
}

.kcc-logo-link:hover {
  opacity: 1;
}

.kcc-logo-link img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Standout grid — icon + short text boxes (e.g. "What makes us stand out")
   -------------------------------------------------------------------------- */
.standout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.standout-grid__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.standout-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 18, 15, 0.1);
}

.standout-grid__item .media-icon {
  margin-inline: auto;
  margin-bottom: 1rem;
}

.standout-grid__item p {
  margin: 0;
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Process steps — multi-stage journey (e.g. "Moran Family of Brands Process")
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.process-steps--3col {
  grid-template-columns: repeat(3, 1fr);
}

.process-step__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

.process-step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 18, 15, 0.1);
}

.process-step__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step__icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.process-step h3 {
  margin-bottom: 0.85rem;
}

.process-step ul li {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding-block: 0.3rem;
  border-top: 1px solid var(--color-border);
}

.process-step li:first-child {
  border-top: none;
}

/* --------------------------------------------------------------------------
   Team grid — photo + name + title + bio (e.g. "Meet the Family")
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(20, 18, 15, 0.1);
}

.team-card__photo {
  aspect-ratio: 1 / 1;
  max-width: 180px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-primary-light);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__photo .img-placeholder {
  border-radius: 50%;
}

.team-card h3 {
  margin-bottom: 0.25rem;
}

.team-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
}

.team-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.team-card__fun-fact {
  display: block;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Brand logo grid — simple clickable logo tiles (e.g. "Our Brands")
   -------------------------------------------------------------------------- */
.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.brand-logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  height: 110px;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.brand-logo-grid a:hover {
  box-shadow: 0 14px 34px rgba(20, 18, 15, 0.1);
  transform: translateY(-3px);
}

.brand-logo-grid img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
}

.brand-logo-grid a .img-placeholder {
  min-height: 0;
  height: 100%;
  border: none;
  background: none;
  padding: 0;
}

.brand-logo-grid a .img-placeholder i {
  font-size: 1.5rem;
}

.brand-logo-grid a .img-placeholder span {
  font-size: 0.6875rem;
}

/* --------------------------------------------------------------------------
   Benefit grid — icon + short text (e.g. "Imagine Your Future")
   -------------------------------------------------------------------------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.benefit-grid__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.benefit-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 18, 15, 0.1);
}

.benefit-grid__item .media-icon {
  flex-shrink: 0;
  min-height: 0;
}

.benefit-grid__item p {
  margin: 0;
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Partner badges — text tiles for referenced organizations where no logo
   file has been supplied yet. Swap each span for an <img> once available,
   same pattern as .cert-strip.
   -------------------------------------------------------------------------- */
.partner-badges {
  margin-top: 0.5rem;
}

.partner-badges ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
    justify-content: center;
}

.partner-badges li {
  display: flex;
  align-items: center;
}



.partner-badges a {
  display: flex;
  align-items: center;
  height: 100%;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}

.partner-badges a:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Legal content — Disclosure / Privacy Policy long-form text
   -------------------------------------------------------------------------- */
.legal-content {
  width: 100%;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.legal-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.legal-content ul {
  margin-bottom: 1.25rem;
}

.legal-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  counter-reset: legal-ol;
}

.legal-content li {
  display: flex;
  gap: 0.6rem;
  color: var(--color-text-muted);
  padding-block: 0.3rem;
  line-height: 1.6;
}

.legal-content ol li {
  display: list-item;
  list-style: none;
  counter-increment: legal-ol;
  position: relative;
  padding-left: 0.5rem;
}

.legal-content ol li::before {
  content: counter(legal-ol) ".";
  position: absolute;
  left: -1.5rem;
  top: 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary-dark);
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.legal-content ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.6rem;
}

.legal-content a {
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: underline;
}

.legal-content a.btn {
  color: var(--color-white);
  text-decoration: none;
  margin-top: 0.5rem;
      background: var(--color-primary);
    
}

.legal-content em {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 16, 0.45);
  /* Must stay below .site-header's own z-index (200) — .main-nav is a
     fixed-position descendant of the header, so it's trapped inside the
     header's stacking context. If this scrim's z-index exceeded the
     header's, it would render on top of the entire header (nav panel
     included), blocking clicks on the menu. */
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.nav-scrim.is-visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Generic section scaffolding
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--dark {
  background: var(--color-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-text-muted-on-dark);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head__text {
  max-width: 640px;
}

.section-head__text p {
  margin-top: 0.85rem;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 0.65rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-primary);
}

.section--dark .eyebrow {
  color: var(--color-primary);
}

.section--dark .btn-outline {
  color: var(--color-white);
}

.section--dark .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Brands / Co-Brands tabs
   -------------------------------------------------------------------------- */
.brand-tabs__nav {
  display: inline-flex;
  padding: 0.3rem;
  background: var(--color-bg-alt);
  border-radius: 999px;
  margin-bottom: 2.25rem;
  gap: 0.25rem;
}

.brand-tabs__tab {
  border: none;
  background: none;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.brand-tabs__tab[aria-selected="true"] {
  background: var(--color-dark);
  color: var(--color-white);
}

.brand-tabs__panel {
  display: none;
}

.brand-tabs__panel.is-active {
  display: block;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.75rem;
}

.brand-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(20, 18, 15, 0.1);
}

.brand-card__logo {
  height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.brand-card--logo-only {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.brand-card--logo-only:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 18, 15, 0.1);
}

.brand-card--logo-only .brand-card__logo {
  height: auto;
  max-height: 72px;
  margin-bottom: 0;
}

.brand-card--logo-only .brand-card__logo img {
  max-height: 72px;
  width: auto;
}

.brand-card__logo img {
  height: 100%;
  width: auto;
}

.brand-card ul li {
  display: flex;
  gap: 0.65rem;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.brand-card ul li:first-child {
  border-top: none;
}

.brand-card ul li i {
  color: var(--color-primary);
  margin-top: 0.35rem;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Industry — "Stable & Profitable Industry"
   Stats are shown as the client's own graphics, not HTML counters.
   -------------------------------------------------------------------------- */
.industry-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  justify-items: center;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 290px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(20, 18, 15, 0.08);
}

.stat-card img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Flexible business model — photo + text, swapped layout
   -------------------------------------------------------------------------- */
.flex-feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.flex-feature__visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.flex-feature__text p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.brand-lockup img {
  height: 46px;
  width: auto;
}

.brand-lockup__plus {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   Philosophy — dark section, connected "pillars" timeline
   -------------------------------------------------------------------------- */
.philosophy-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  padding-top: 2rem;
}

.philosophy-track--5col {
  grid-template-columns: repeat(5, 1fr);
}

.philosophy-track--5col::before {
  left: calc(10% - 1px);
  right: calc(10% - 1px);
}

.philosophy-track::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(12.5% - 1px);
  right: calc(12.5% - 1px);
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.philosophy-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.75rem;
}

.philosophy-card::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(227, 112, 28, 0.25);
}

.philosophy-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.375rem;
}

.philosophy-card h3 span {
  color: var(--color-primary);
}

.philosophy-card h3 {
  margin-bottom: 0.6rem;
}

.philosophy-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
}

.philosophy-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
}

.philosophy-card__link i {
  font-size: 0.7rem;
  transition: transform 0.2s var(--ease);
}

.philosophy-card__link:hover i {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Take the DRIVE — photo banner (title only), values live in their own
   light section below so copy is never set against a busy photo.
   -------------------------------------------------------------------------- */
.drive-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}


.drive-banner__inner {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
}

.drive-banner__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
}

.drive-banner__inner h2 {
  color: var(--color-white);
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

.drive-banner__inner h2 span {
  color: var(--color-primary);
}

.drive-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem;
}

.drive-path__item {
  text-align: center;
}

.drive-path__letter {
  width: 52px;
  height: 52px;
  margin-inline: auto;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drive-path__item h3 {
  margin-bottom: 0.6rem;
}

.drive-path__item h3 span {
  color: var(--color-primary);
}

.drive-path__item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Test drive CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
}

.cta-banner__step {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.375rem;
}

.cta-banner__text {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex: 1 1 320px;
}

.cta-banner__text h2 {
  font-size: var(--h3-size);
  margin-bottom: 0.3rem;
}

.cta-banner__text h2 span {
  color: var(--color-primary);
}

.cta-banner__text p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Testimonial / success stories — overlapping photo + card
   -------------------------------------------------------------------------- */
.testimonial-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.testimonial-feature__visual {
  position: relative;
  max-width: 340px;
  margin-inline: auto;
}

.testimonial-feature__visual-frame {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--color-white);
  box-shadow: 0 20px 50px rgba(20, 18, 15, 0.18);
}

.testimonial-feature__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-feature__badge {
  position: absolute;
  bottom: 6%;
  right: -6%;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  width: 84px;
  height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(227, 112, 28, 0.4);
}

.testimonial-feature__badge strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
}

.testimonial-feature__badge span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.testimonial-card__quote-icon {
  color: var(--color-primary);
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.testimonial-card__stars {
  color: var(--color-primary);
  font-size: 0.9375rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.15em;
}

.testimonial-card blockquote {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.testimonial-card cite {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Certification strip — Slick carousel, 5 visible, original brand colors
   -------------------------------------------------------------------------- */
.cert-strip {
  padding-inline: 2.5rem;
}

.cert-strip__badge {
  height: 64px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.cert-strip__badge img {
  height: 100%;
  width: auto;
}

.cert-strip .slick-track {
  display: flex;
  align-items: center;
}

.cert-strip .slick-slide {
  display: flex;
  justify-content: center;
}

.cert-strip .slick-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  z-index: 2;
}

.cert-strip .slick-arrow::before {
  color: var(--color-dark);
  opacity: 1;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.cert-strip .slick-prev {
  left: -2.5rem;
}

.cert-strip .slick-next {
  right: -2.5rem;
}

.cert-strip .slick-prev::before {
  content: "\f104";
}

.cert-strip .slick-next::before {
  content: "\f105";
}

/* --------------------------------------------------------------------------
   Footer CTA band
   -------------------------------------------------------------------------- */
.footer-cta {
  background: linear-gradient(100deg, var(--color-primary) 0%, #c85a12 100%);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-cta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-cta__row h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.footer-cta__row p {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.4rem;
  max-width: 46ch;
}

.footer-cta .btn {
  background: var(--color-white);
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.footer-cta .btn:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Site footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul a {
  font-size: var(--text-sm);
  color: var(--color-text-muted-on-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-col ul a:hover {
  color: var(--color-primary);
}

.footer-col h4 ~ h4 {
  margin-top: 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.75rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--color-text-muted-on-dark);
}

.social-list {
  margin-top: 1.5rem;
}

.social-list ul {
  display: flex;
  gap: 0.75rem;
}

.social-list a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.social-list a i {
  color: var(--color-text-muted-on-dark);
  transition: color 0.2s var(--ease);
}

.social-list a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.social-list a:hover i {
  color: var(--color-white);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.footer-legal a {
  color: var(--color-text-muted-on-dark);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--color-white);
}

.footer-a11y {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.75rem;
  padding-top: 1.75rem;
}

.footer-a11y p {
  font-size: 0.8125rem;
  color: var(--color-text-muted-on-dark);
  line-height: 1.6;
}

.footer-a11y a {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   404 search panel
   -------------------------------------------------------------------------- */
.error-404 {
  text-align: center;
}

.error-404__search {
  width: min(100%, 760px);
  margin: clamp(2rem, 5vw, 3.5rem) auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(20, 18, 15, 0.08);
}

.error-404__search h3 {
  margin-bottom: 1.25rem;
}

.error-404__search .search-form {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.error-404__search .search-form label {
  display: block;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.error-404__search .search-field {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  padding: 0 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  color: var(--color-text);
  font: inherit;
}

.error-404__search .search-field:focus {
  border-color: var(--color-primary);
  outline: 2px solid transparent;
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.error-404__search .search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 64px;
  width: 64px;
  min-width: 64px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   MEDIA QUERIES (max-width, consolidated)
   ========================================================================== */

@media (max-width: 1200px) {
  .philosophy-track,
  .philosophy-track--5col {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }

  .philosophy-track::before,
  .philosophy-track--5col::before {
    display: none;
  }

  .drive-path {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .flex-feature,
  .testimonial-feature,
  .info-form-layout,
  .split-intro {
    grid-template-columns: 1fr;
  }

  .process-steps--3col {
    grid-template-columns: repeat(2, 1fr);
  }

  .flex-feature__visual {
    max-width: 460px;
    margin-inline: auto;
  }

  .industry-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-feature__visual {
    max-width: 220px;
  }

  .drive-path {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .open-markets__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standout-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .figure-stats {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
    .cert-strip .slick-prev {
  left: 0;
}
    .cert-strip .slick-next {
  right: 0;
}
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .process-steps--3col {
    grid-template-columns: 1fr;
  }

  .testimonial-grid--stacked .testimonial-tile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .schedule-choice-grid,
  .schedule-choice__fields {
    grid-template-columns: 1fr;
  }

  .time-to-talk-form__timezone {
    max-width: none;
  }

  .franchise-intro,
  .two-col-list {
    grid-template-columns: 1fr;
  }

  .franchise-intro__logo {
    max-width: 160px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .standout-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-track,
  .philosophy-track--5col {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .industry-stats {
    grid-template-columns: 1fr 1fr;
  }

  .drive-path {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner__text {
    flex-wrap: wrap;
  }

  .footer-cta__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
    .time-to-talk-form {
  padding: 30px;
}
  .industry-stats {
    grid-template-columns: 1fr;
  }

  .open-markets__grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .brand-logo-grid {
    grid-template-columns: 1fr;
  }

  .drive-path {
    grid-template-columns: 1fr 1fr;
  }
}

.align-right {
    display: inline;
    float: right;
    margin-left: 1.625em;
}
.align-right span {
        font-size: 12px;
}
.page-content__featured img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 991px) {
  .page-content__featured {
    margin-top: 2rem;
  }
}
