/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: var(--hero-height, 90vh);
  min-height: 600px;
  overflow: hidden;
}

.hero__swiper, .hero__slide { width: 100%; height: 100%; }

.hero__slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0, var(--overlay-opacity, 0.6));
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  padding-bottom: 140px;
}

.hero__text { max-width: 680px; }

.hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Nav */
.hero__nav {
  width: 44px !important;
  height: 44px !important;
  background: rgba(255,255,255,.15) !important;
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  color: #fff !important;
  transition: var(--transition) !important;
}

.hero__nav::after { font-size: 14px !important; font-weight: 700 !important; }
.hero__nav:hover { background: var(--color-secondary) !important; border-color: var(--color-secondary) !important; color: var(--color-primary) !important; }

.hero__pagination { bottom: 160px !important; }
.hero__pagination .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; transition: var(--transition); }
.hero__pagination .swiper-pagination-bullet-active { background: var(--color-secondary); width: 24px; border-radius: 4px; }

/* Quick Search */
.hero__search { margin-top: 2.5rem; }

.quick-search {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  max-width: 780px;
}

.quick-search__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  flex: 1;
}

.quick-search__field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-search__field select {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  cursor: pointer;
  transition: var(--transition);
  direction: rtl;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  padding-left: 2rem;
}

.quick-search__field select:focus { outline: none; border-color: var(--color-secondary); }

.quick-search__btn { height: 44px; flex-shrink: 0; }

/* Hero Stats */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201,168,76,.2);
  z-index: 2;
}

.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-left: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.hero__stat:last-child { border-left: none; }

.hero__stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
  margin-top: 0.35rem;
}

/* =============================================
   BRANDS
   ============================================= */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(var(--brands-per-row, 7), 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.brand-item:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.brand-item__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.brand-item__inner img { height: 50px; width: auto; object-fit: contain; transition: var(--transition); }
.brand-item:hover .brand-item__inner img { transform: scale(1.08); }

.brand-item__name { font-weight: 700; font-size: 0.875rem; }

.brand-item__count {
  font-size: 0.72rem;
  color: var(--color-text-light);
}

.brand-item--all {
  border-style: dashed;
  color: var(--color-text-light);
  gap: 0.35rem;
}
.brand-item--all:hover { color: var(--color-secondary); }

/* =============================================
   CARS TABS
   ============================================= */
.cars-tabs__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0;
}

.cars-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text-light);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.cars-tab:hover { color: var(--color-primary); }
.cars-tab.active { color: var(--color-secondary); border-bottom-color: var(--color-secondary); background: rgba(201,168,76,.05); }

.cars-tab__count {
  background: var(--color-bg-section);
  color: var(--color-text-light);
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.cars-tab.active .cars-tab__count { background: rgba(201,168,76,.15); color: var(--color-secondary); }

.car-card-skeleton {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}



/* =============================================
   CAROUSEL
   ============================================= */
.cars-carousel .swiper-slide { height: auto; }
.cars-carousel .car-card { height: 100%; }

.carousel-controls { display: flex; align-items: center; gap: 0.75rem; }

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary);
}

.cars-carousel__pagination { margin-top: 1.25rem !important; position: relative !important; bottom: auto !important; }
.cars-carousel__pagination .swiper-pagination-bullet-active { background: var(--color-secondary); }

/* =============================================
   OFFERS
   ============================================= */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.section-offers .car-card { background: #1a1a1a; border-color: rgba(255,255,255,.08); }
.section-offers .car-card__title a { color: #fff; }
.section-offers .car-card__spec { background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); }
.section-offers .car-card__price { border-top-color: rgba(255,255,255,.08); }
.section-offers .car-card__price-value { color: #fff; }
.section-offers .car-card__footer { border-top-color: rgba(255,255,255,.08); }
.section-offers .car-card__cat { background: rgba(255,255,255,.06); color: rgba(255,255,255,.5); }

/* =============================================
   SERVICES
   ============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }

.service-card {
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-secondary);
  border: 1px solid rgba(201,168,76,.15);
  transition: var(--transition);
}

.service-card:hover .service-card__icon { background: var(--color-secondary); color: var(--color-primary); }

.service-card__title { font-size: 1.05rem; margin-bottom: 0.6rem; }
.service-card__desc { font-size: 0.875rem; color: var(--color-text-light); line-height: 1.7; }

/* =============================================
   PARTNERS
   ============================================= */
.partners-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; }
.partners-slide img { filter: grayscale(100%); opacity: .55; transition: var(--transition); }
.partners-slide:hover img { filter: none; opacity: 1; }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 780px; margin: 2.5rem auto 0; }

.faq-item {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.875rem;
  transition: var(--transition);
}

.faq-item.is-open { border-color: var(--color-secondary); box-shadow: var(--shadow-gold); }

.faq-item__question {
  width: 100%;
  text-align: right;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.faq-item__question:hover { color: var(--color-secondary); }
.faq-item.is-open .faq-item__question { color: var(--color-secondary); background: rgba(201,168,76,.04); }

.faq-item__icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }

.faq-item__answer {
  padding: 0 1.25rem;
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item__answer:not([hidden]) { max-height: 300px; padding: 0 1.25rem 1.1rem; }
.faq-item__answer[hidden] { display: block !important; max-height: 0; padding: 0 1.25rem; }

.faq-item__answer p { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.75; }

/* =============================================
   CTA
   ============================================= */
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-subtitle { color: rgba(255,255,255,.6); margin-bottom: 2rem; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   RESPONSIVE SECTIONS
   ============================================= */
@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(5, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .hero__content { padding-bottom: 160px; }
  .hero { min-height: 500px; }
  .hero__title { font-size: 2rem; }
  .quick-search { flex-direction: column; }
  .quick-search__fields { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stat { border-left: none; border-bottom: 1px solid rgba(255,255,255,.06); }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { flex-direction: column; }
  .hero__ctas { flex-direction: column; }
  .carousel-controls .btn { display: none; }
}

/* =============================================
   HERO VARIANTS
   ============================================= */

/* Video Hero */
.hero--video .hero__video-bg,
.hero--image .hero__slide { position:absolute;inset:0; }
.hero--video,.hero--image { position:relative;overflow:hidden; }
.hero__video-el { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none; }
.hero__video-iframe { position:absolute;top:50%;left:50%;width:calc(100% + 4px);height:calc(100% + 4px);transform:translate(-50%,-50%);pointer-events:none; }

/* Split Hero - Style 2 */
.hero--split { display:grid;grid-template-columns:1fr 1fr;min-height:var(--hero-height,90vh); }
.hero-split__image { position:relative;overflow:hidden; }
.hero-split__image .swiper,.hero-split__image img,.hero-split__swiper { width:100%;height:100%; }
.hero-split__image img { object-fit:cover; }
.hero-split__content { background:var(--color-primary);display:flex;align-items:center; }
.hero-split__inner { padding:4rem 3rem; }
.hero-split__inner .hero__title { font-size:clamp(1.8rem,3vw,3rem);color:#fff; }
.hero-split__inner .hero__subtitle { color:rgba(255,255,255,.7); }
.hero-split__inner .hero__ctas { flex-wrap:wrap; }
.hero-split__stats { display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:2.5rem;padding-top:2.5rem;border-top:1px solid rgba(255,255,255,.1); }
.hero-split__stats .hero__stat { text-align:right; }
.hero-split__stats .hero__stat-num { font-size:1.75rem; }
.hero-split__stats .hero__stat-label { color:rgba(255,255,255,.5); }

/* Minimal Bar - Style 3 */
.hero--minimal { position:relative;overflow:hidden; }
.hero--minimal .hero__swiper,.hero--minimal .hero__slide { position:absolute;inset:0;width:100%;height:100%; }
.hero-minimal__bar { position:absolute;bottom:0;left:0;right:0;background:rgba(10,10,10,.92);backdrop-filter:blur(16px);border-top:1px solid rgba(201,168,76,.2);z-index:2; }
.hero-minimal__inner { display:flex;align-items:center;gap:2rem;padding:1.5rem 0;flex-wrap:wrap; }
.hero-minimal__text { flex:1;min-width:0; }
.hero-minimal__title { color:#fff;font-size:clamp(1.1rem,2vw,1.75rem);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.hero-minimal__sub { color:rgba(255,255,255,.6);font-size:.875rem;margin-top:.25rem; }
.hero-minimal__actions { display:flex;gap:.75rem;flex-shrink:0; }
.hero-minimal__pagination { position:relative!important;bottom:auto!important;width:auto!important;flex-shrink:0; }

@media(max-width:1024px){
  .hero--split { grid-template-columns:1fr;min-height:auto; }
  .hero-split__image { height:50vw;min-height:280px; }
  .hero-split__inner { padding:2.5rem 2rem; }
  .hero-split__stats { grid-template-columns:repeat(4,1fr); }
}
@media(max-width:768px){
  .hero-minimal__inner { gap:1rem; }
  .hero-minimal__actions { flex-wrap:wrap; }
  .hero-split__stats { grid-template-columns:1fr 1fr; }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-swiper { margin-top:3rem; padding-bottom:3rem !important; }
.testimonials-swiper .swiper-slide { height:auto; }

.testimonial-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}
.testimonial-card:hover { background:rgba(255,255,255,.09); border-color:rgba(201,168,76,.3); }

.testimonial-card__stars { display:flex; gap:.2rem; }
.star { color:rgba(255,255,255,.2); font-size:1.1rem; }
.star--filled { color:var(--color-secondary); }

.testimonial-card__text {
    color: rgba(255,255,255,.8);
    font-size: .95rem;
    line-height: 1.8;
    flex: 1;
    font-style: italic;
}

.testimonial-card__author { display:flex; align-items:center; gap:.875rem; margin-top:auto; padding-top:1rem; border-top:1px solid rgba(255,255,255,.08); }

.testimonial-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: var(--color-primary);
    display: flex; align-items:center; justify-content:center;
    font-weight: 800; font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-card__name { display:block; color:#fff; font-weight:700; font-size:.9rem; }
.testimonial-card__role { color:rgba(255,255,255,.5); font-size:.78rem; }

.testimonials-pagination { bottom:0 !important; }
.testimonials-pagination .swiper-pagination-bullet { background:rgba(255,255,255,.3); }
.testimonials-pagination .swiper-pagination-bullet-active { background:var(--color-secondary); }

/* =============================================
   HERO MOBILE FIXES
   ============================================= */
@media (max-width: 768px) {

    /* Main hero container */
    .hero {
        height: auto !important;
        min-height: 85vh;
    }

    .hero__swiper, .hero__slide {
        min-height: 85vh;
    }

    /* Content layout */
    .hero__content {
        padding-bottom: 80px;
        padding-top: 80px;
        justify-content: flex-end;
    }

    .hero__text { max-width: 100%; padding: 0 1rem; }

    .hero__title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
        margin-bottom: .75rem;
    }

    .hero__subtitle {
        font-size: .9rem;
        margin-bottom: 1rem;
    }

    /* CTA buttons - stack */
    .hero__ctas {
        flex-direction: column;
        gap: .5rem;
    }
    .hero__ctas .btn {
        width: 100%;
        justify-content: center;
    }

    /* Search bar */
    .hero__search { padding: 0 1rem; }
    .quick-search {
        flex-direction: column;
        gap: .5rem;
        background: rgba(255,255,255,.95);
        border-radius: var(--radius-md);
        padding: 1rem;
    }
    .quick-search__field { width: 100% !important; }
    .quick-search__field select,
    .quick-search__field input {
        width: 100%;
        height: 44px;
    }
    .quick-search__submit {
        width: 100%;
        height: 46px;
        border-radius: var(--radius-full) !important;
    }

    /* Stats bar */
    .hero__stats { padding: .5rem 0; }
    .hero__stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .5rem;
    }
    .hero__stat { padding: .5rem; }
    .hero__stat-num { font-size: 1.4rem; }

    /* Swiper nav arrows - hide on mobile, use swipe */
    .hero .swiper-button-prev,
    .hero .swiper-button-next { display: none; }

    /* Pagination dots */
    .hero .swiper-pagination { bottom: 70px; }
}

@media (max-width: 480px) {
    .hero { min-height: 92vh; }
    .hero__swiper, .hero__slide { min-height: 92vh; }
    .hero__title { font-size: clamp(1.4rem, 7vw, 2rem); }
}



/* =========================================================
   Syarah Click final fix: hero controls hidden + responsive hero/article
   ========================================================= */
.hero .hero__pagination,
.hero .hero__nav,
.hero .swiper-pagination,
.hero .swiper-button-prev,
.hero .swiper-button-next {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.hero { min-height: clamp(520px, 78vh, 820px); height: auto; }
.hero__swiper, .hero__slide { min-height: clamp(520px, 78vh, 820px); }
.hero__content { padding-top: clamp(110px, 12vh, 160px); padding-bottom: clamp(120px, 16vh, 180px); }
.hero__text { width: min(100%, 720px); }
.hero__title { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.12; }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.25rem); }
.quick-search { width: min(100%, 860px); }
.article-pro-hero h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.15; }
.article-pro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.article-pro-main, .article-pro-sidebar { min-width: 0; }
.article-pro-cover img, .article-pro-content img { max-width: 100%; height: auto; }
.article-pro-content { overflow-wrap: anywhere; }
.article-pro-cta-inline, .article-pro-lead-card { display: flex; gap: 18px; }
.article-pro-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article-pro-form-grid .full { grid-column: 1 / -1; }
.article-related-cars-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.article-related-cars-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.article-related-cars-carousel > * { flex: 0 0 min(320px, 86vw); scroll-snap-align: start; }
@media (max-width: 1180px) { .article-related-cars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 992px) { .article-pro-layout { grid-template-columns: 1fr; } .article-pro-sidebar { display: none; } .article-related-cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .hero { min-height: 640px; } .hero__swiper, .hero__slide { min-height: 640px; }
  .hero__content { position: relative; min-height: 640px; justify-content: center; padding-top: 112px; padding-bottom: 120px; text-align: center; }
  .hero__text, .hero__subtitle, .quick-search { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .quick-search { padding: 16px; flex-direction: column; align-items: stretch; }
  .quick-search__fields { grid-template-columns: 1fr; width: 100%; }
  .quick-search__btn, .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__stats { position: relative; bottom: auto; margin-top: -96px; z-index: 3; }
  .hero__stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-pro-hero { padding-top: 110px; text-align: center; }
  .article-pro-hero__meta, .article-pro-hero__actions { justify-content: center; }
  .article-pro-cta-inline, .article-pro-lead-card { flex-direction: column; }
}
@media (max-width: 576px) {
  .hero { min-height: 680px; } .hero__swiper, .hero__slide, .hero__content { min-height: 680px; }
  .hero__title { font-size: clamp(1.75rem, 9vw, 2.45rem); } .hero__subtitle { font-size: 1rem; }
  .hero__stats-grid { grid-template-columns: 1fr; }
  .article-pro-form-grid, .article-related-cars-grid { grid-template-columns: 1fr; }
  .article-pro-hero__actions .btn { width: 100%; justify-content: center; }
}

/* Services cards with image and request form */
.service-card {
  overflow: hidden;
  padding: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
}

.service-card__image-wrap {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(230,0,0,.05));
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.service-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card__image { transform: scale(1.04); }

.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__title { margin-bottom: .55rem; }
.service-card__desc { margin-bottom: 1.25rem; flex: 1; }
.service-card__btn { width: 100%; justify-content: center; }

.service-request-modal[hidden] { display: none !important; }
.service-request-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.service-request-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}

.service-request-modal__box {
  position: relative;
  width: min(100%, 520px);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  direction: rtl;
}

.service-request-modal__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--color-bg-section);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.service-request-modal__title { margin: 0 0 .35rem; font-size: 1.35rem; }
.service-request-modal__service { margin: 0 0 1.25rem; color: var(--color-secondary); font-weight: 800; }
.service-request-modal__message { margin-bottom: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.service-request-modal__message.is-success { background: #ecfdf5; color: #047857; }
.service-request-modal__message.is-error { background: #fef2f2; color: #b91c1c; }

.service-request-form .form-group { margin-bottom: 1rem; }
.service-request-form .form-control:invalid:not(:placeholder-shown) { border-color: #dc2626; }


/* Syarah Click agreed surgical fixes */
.hero__slide,
.hero--image .hero__slide,
.hero--slider .hero__slide,
.hero--minimal .hero__slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.hero,
.hero__swiper,
.hero__slide,
.hero--video .hero__video-bg,
.hero--image .hero__slide,
.hero--minimal .hero__swiper,
.hero--minimal .hero__slide {
    min-height: var(--hero-height, 90vh);
}
.hero-search-after-section {
    position: relative;
    z-index: 5;
    margin-top: 0;
    transform: translateY(-50%);
    margin-bottom: -40px;
    pointer-events: none;
}
.hero-search-after-section .hero__search {
    margin-top: 0 !important;
    pointer-events: auto;
}
@media (max-width: 768px) {
    .hero,
    .hero__swiper,
    .hero__slide,
    .hero--video .hero__video-bg,
    .hero--image .hero__slide,
    .hero--minimal .hero__swiper,
    .hero--minimal .hero__slide {
        min-height: max(560px, var(--hero-height, 90vh));
    }
    .hero-search-after-section {
        transform: none;
        margin-bottom: 24px;
        padding: 0 12px;
    }
    .hero-search-after-section .quick-search {
        width: 100%;
    }
}
.testimonial-video-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:22px;overflow:hidden;height:100%;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.testimonial-video-card__media{position:relative;aspect-ratio:16/9;background:#000}
.testimonial-video-card__media iframe,.testimonial-video-card__media video{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover}
.testimonial-video-card__body{padding:18px;color:#fff}
.testimonial-video-card__body strong{display:block;font-size:1rem;margin-bottom:4px}
.testimonial-video-card__body span{display:block;color:rgba(255,255,255,.55);font-size:.85rem;margin-bottom:8px}
.testimonial-video-card__body p{color:rgba(255,255,255,.72);line-height:1.8;margin:0}

/* === FINAL SURGICAL PATCH: search after complete hero + bigger header logo === */
.hero-search-after-section{
  position: relative !important;
  z-index: 20 !important;
  transform: none !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 32px 0 54px !important;
  background: #fff !important;
  pointer-events: none !important;
}
.hero-search-after-section .container{
  position: relative !important;
  z-index: 21 !important;
}
.hero-search-after-section .hero__search{
  margin: 0 auto !important;
  width: min(100%, 980px) !important;
  pointer-events: auto !important;
}
.hero-search-after-section .quick-search{
  margin: 0 auto !important;
  width: min(100%, 980px) !important;
  max-width: 980px !important;
  box-shadow: 0 18px 46px rgba(15,23,42,.12) !important;
}
.hero .hero__stats{
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 6 !important;
}
.site-header__logo img{
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
}
.site-header__logo{
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
}
@media (max-width: 768px){
  .hero-search-after-section{
    padding: 22px 12px 38px !important;
  }
  .hero-search-after-section .quick-search{
    width: 100% !important;
    max-width: 100% !important;
  }
  .site-header__logo img{
    height: 46px !important;
    max-height: 46px !important;
    max-width: 170px !important;
  }
}
@media (max-width: 520px){
  .site-header__logo img{
    height: 42px !important;
    max-height: 42px !important;
    max-width: 160px !important;
  }
}

/* Service card actions */
.service-card__actions {
    display: flex;
    gap: .625rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.service-card__btn--details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

/* Responsive hero images: desktop image on large screens, dedicated mobile image on phones */
.at-responsive-hero-bg {
    background-image: var(--hero-desktop-image) !important;
}
.hero-split__image picture {
    display: block;
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
    .at-responsive-hero-bg {
        background-image: var(--hero-mobile-image, var(--hero-desktop-image)) !important;
        background-position: center center !important;
    }
}


/* =========================================================
   Responsive hero image hard-fix
   Uses a real <picture> layer on top of the CSS background so mobile never falls back to black.
   ========================================================= */
.hero__slide {
    position: relative !important;
    overflow: hidden !important;
    background-color: #111 !important;
}
.hero__responsive-media {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
.hero__responsive-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}
.hero-split__image .hero__responsive-media--static {
    position: relative !important;
}
.hero__slide > .hero__overlay,
.hero__video-bg > .hero__overlay {
    z-index: 1 !important;
}
.hero--slider,
.hero--image,
.hero--minimal {
    position: relative !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .hero--slider,
    .hero--image,
    .hero--minimal {
        height: 670px !important;
        min-height: 670px !important;
        max-height: none !important;
        overflow: hidden !important;
        background: #111 !important;
    }

    .hero--slider .hero__swiper,
    .hero--slider .hero__swiper .swiper-wrapper,
    .hero--slider .hero__swiper .swiper-slide,
    .hero--slider .hero__slide,
    .hero--image .hero__slide,
    .hero--minimal .hero__swiper,
    .hero--minimal .hero__swiper .swiper-wrapper,
    .hero--minimal .hero__swiper .swiper-slide,
    .hero--minimal .hero__slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 670px !important;
        min-height: 670px !important;
    }

    .hero__responsive-media img {
        object-position: center top !important;
    }

    .hero__content {
        position: relative !important;
        z-index: 3 !important;
        min-height: 670px !important;
    }
}

@media (max-width: 520px) {
    .hero--slider,
    .hero--image,
    .hero--minimal,
    .hero--slider .hero__swiper,
    .hero--slider .hero__swiper .swiper-wrapper,
    .hero--slider .hero__swiper .swiper-slide,
    .hero--slider .hero__slide,
    .hero--image .hero__slide,
    .hero--minimal .hero__swiper,
    .hero--minimal .hero__swiper .swiper-wrapper,
    .hero--minimal .hero__swiper .swiper-slide,
    .hero--minimal .hero__slide,
    .hero__content {
        height: 620px !important;
        min-height: 620px !important;
    }
}

/* =========================================================
   Mobile hero fallback logo
   When no mobile slide image is configured, the hero uses the site logo on mobile
   instead of stretching the desktop image or showing a black block.
   ========================================================= */
@media (max-width: 768px) {
    .at-mobile-logo-fallback {
        background-color: #111 !important;
        background-size: min(68vw, 320px) auto !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .hero__responsive-media--mobile-logo {
        background: #111 !important;
    }

    .hero__responsive-media--mobile-logo img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: min(70vw, 320px) !important;
        height: auto !important;
        max-width: 320px !important;
        max-height: 220px !important;
        transform: translate(-50%, -50%) !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .hero-split__image .hero__responsive-media--mobile-logo img {
        width: min(72vw, 300px) !important;
        max-height: 200px !important;
    }
}


/* =========================================================
   v1.0.9 final mobile hero media fix
   Priority on mobile: uploaded mobile image → header logo → desktop image only as emergency fallback.
   This patch does not repaint the hero to white; it keeps the media layer responsible for display.
   ========================================================= */
.hero__mobile-logo-fallback-img {
    display: none !important;
}

.hero__slide,
.hero--image .hero__slide,
.hero--slider .hero__slide,
.hero--minimal .hero__slide {
    position: relative !important;
    overflow: hidden !important;
}

.hero__responsive-media {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.hero__responsive-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.hero__slide > .hero__overlay,
.hero__video-bg > .hero__overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}

.hero__content,
.hero-minimal__bar,
.hero-split__content {
    position: relative !important;
    z-index: 3 !important;
}

@media (max-width: 768px) {
    .hero--slider,
    .hero--image,
    .hero--minimal,
    .hero__slide {
        background-color: #111 !important;
    }

    .hero .at-mobile-logo-fallback {
        background-color: #111 !important;
        background-image: none !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
    }

    .hero .at-mobile-logo-fallback .hero__responsive-media,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__responsive-media {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .hero .at-mobile-logo-fallback .hero__mobile-logo-fallback-img,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__mobile-logo-fallback-img {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: min(64vw, 320px) !important;
        height: auto !important;
        max-width: 320px !important;
        max-height: 210px !important;
        transform: translate(-50%, -50%) !important;
        object-fit: contain !important;
        object-position: center center !important;
        z-index: 2 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: none !important;
    }

    .hero .at-mobile-logo-fallback > .hero__overlay,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__overlay {
        display: block !important;
        opacity: .18 !important;
        visibility: visible !important;
        background: rgba(0,0,0,.18) !important;
    }

    .hero:not(.hero--split) .hero__responsive-media img {
        object-position: center center !important;
    }
}

/* =========================================================
   v1.1.0 definitive mobile hero media patch
   Mobile priority: uploaded mobile image -> header logo -> desktop image only if no logo exists.
   The resolved mobile source is rendered through <picture>, so CSS cannot leave a blank white/black panel.
   ========================================================= */
@media (max-width: 768px) {
    .hero--slider,
    .hero--image,
    .hero--minimal {
        background: #111 !important;
        background-color: #111 !important;
    }

    .hero--slider .hero__swiper,
    .hero--slider .hero__swiper .swiper-wrapper,
    .hero--slider .hero__swiper .swiper-slide,
    .hero--slider .hero__slide,
    .hero--image .hero__slide,
    .hero--minimal .hero__swiper,
    .hero--minimal .hero__swiper .swiper-wrapper,
    .hero--minimal .hero__swiper .swiper-slide,
    .hero--minimal .hero__slide {
        background: #111 !important;
        background-color: #111 !important;
    }

    .hero .hero__responsive-media,
    .hero .at-mobile-logo-fallback .hero__responsive-media,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__responsive-media {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
        background: #111 !important;
        background-color: #111 !important;
        overflow: hidden !important;
    }

    .hero .hero__responsive-media img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero .at-mobile-logo-fallback .hero__responsive-media img,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__responsive-media img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: min(64vw, 320px) !important;
        height: auto !important;
        max-width: 320px !important;
        max-height: 210px !important;
        transform: translate(-50%, -50%) !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .hero .at-mobile-logo-fallback .hero__mobile-logo-fallback-img,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__mobile-logo-fallback-img {
        display: none !important;
    }

    .hero .at-mobile-logo-fallback > .hero__overlay,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__overlay {
        display: block !important;
        opacity: .12 !important;
        visibility: visible !important;
        background: rgba(0,0,0,.12) !important;
    }

    .hero__content,
    .hero-minimal__bar,
    .hero-split__content {
        position: relative !important;
        z-index: 3 !important;
    }
}


/* =========================================================
   v1.1.1 DEFINITIVE MOBILE HERO MEDIA FIX
   Keeps the mobile media visible above all legacy CSS patches.
   Priority from PHP: mobile image -> header logo -> emergency desktop image.
   ========================================================= */
.hero__mobile-logo-fallback-text {
    display: none !important;
}

@media (max-width: 768px) {
    .hero,
    .hero--slider,
    .hero--image,
    .hero--minimal {
        position: relative !important;
        overflow: hidden !important;
        background-color: #111 !important;
    }

    .hero .hero__slide.at-responsive-hero-bg,
    .hero--image .hero__slide.at-responsive-hero-bg,
    .hero--slider .hero__slide.at-responsive-hero-bg,
    .hero--minimal .hero__slide.at-responsive-hero-bg {
        background-image: var(--hero-mobile-image, var(--hero-desktop-image)) !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #111 !important;
    }

    .hero .hero__responsive-media {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
        pointer-events: none !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    .hero .hero__responsive-media img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        transform: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        z-index: 0 !important;
    }

    /* No mobile image uploaded: show the header logo, not a blank/black slide. */
    .hero .hero__slide.at-mobile-logo-fallback,
    .hero .swiper-slide.at-mobile-logo-fallback,
    .hero--image .hero__slide.at-mobile-logo-fallback,
    .hero--minimal .hero__slide.at-mobile-logo-fallback {
        background-image: var(--hero-mobile-image) !important;
        background-size: min(66vw, 320px) auto !important;
        background-position: center 36% !important;
        background-repeat: no-repeat !important;
        background-color: #111 !important;
    }

    .hero .at-mobile-logo-fallback .hero__responsive-media,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__responsive-media {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .hero .at-mobile-logo-fallback .hero__mobile-logo-fallback-img,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__mobile-logo-fallback-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 36% !important;
        left: 50% !important;
        width: min(66vw, 320px) !important;
        height: auto !important;
        max-width: 320px !important;
        max-height: 190px !important;
        transform: translate(-50%, -50%) !important;
        object-fit: contain !important;
        object-position: center center !important;
        z-index: 4 !important;
        pointer-events: none !important;
    }

    .hero .at-mobile-logo-fallback .hero__mobile-logo-fallback-text,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__mobile-logo-fallback-text {
        display: block !important;
        position: absolute !important;
        top: 36% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 3 !important;
        color: rgba(255,255,255,.72) !important;
        font-weight: 800 !important;
        font-size: clamp(24px, 8vw, 42px) !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        pointer-events: none !important;
    }

    .hero .at-mobile-logo-fallback .hero__mobile-logo-fallback-img[src]:not([src=""]) + .hero__mobile-logo-fallback-text {
        color: transparent !important;
        text-shadow: none !important;
    }

    .hero .hero__overlay,
    .hero .at-mobile-logo-fallback .hero__overlay,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__overlay {
        display: block !important;
        visibility: visible !important;
        opacity: .10 !important;
        background: rgba(0,0,0,.10) !important;
        z-index: 1 !important;
        pointer-events: none !important;
    }

    .hero .hero__content,
    .hero .hero__ctas,
    .hero .btn {
        position: relative !important;
        z-index: 10 !important;
    }
}


/* =========================================================
   v1.1.2 REAL MOBILE SLIDER FIX
   On phones, the explicit mobile image is rendered as a real <img> layer.
   This bypasses old background/Swiper CSS that caused black or white panels.
   ========================================================= */
.hero__mobile-force-img {
    display: none !important;
}

@media (max-width: 768px) {
    .hero,
    .hero--slider,
    .hero--image,
    .hero--minimal {
        position: relative !important;
        overflow: hidden !important;
    }

    .hero--slider .hero__swiper,
    .hero--slider .hero__swiper .swiper-wrapper,
    .hero--slider .hero__swiper .swiper-slide,
    .hero--slider .hero__slide,
    .hero--image .hero__slide,
    .hero--minimal .hero__swiper,
    .hero--minimal .hero__swiper .swiper-wrapper,
    .hero--minimal .hero__swiper .swiper-slide,
    .hero--minimal .hero__slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: inherit !important;
        overflow: hidden !important;
    }

    /* Hide the older picture/background layer on mobile; the forced image below is now authoritative. */
    .hero .hero__responsive-media {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .hero .hero__mobile-force-img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        transform: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

    /* Only used when no mobile slide image exists and the fallback is the logo. */
    .hero .hero__mobile-force-img.is-logo {
        inset: auto !important;
        top: 36% !important;
        left: 50% !important;
        width: min(66vw, 320px) !important;
        height: auto !important;
        max-width: 320px !important;
        max-height: 190px !important;
        transform: translate(-50%, -50%) !important;
        object-fit: contain !important;
        object-position: center center !important;
        z-index: 4 !important;
    }

    .hero .hero__slide.has-mobile-image,
    .hero .hero__slide.at-mobile-logo-fallback {
        background-color: #111 !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
    }

    .hero .hero__overlay,
    .hero .at-mobile-logo-fallback .hero__overlay,
    .hero .swiper-slide.at-mobile-logo-fallback .hero__overlay {
        display: block !important;
        visibility: visible !important;
        opacity: var(--overlay-opacity, .10) !important;
        z-index: 3 !important;
        pointer-events: none !important;
    }

    .hero .hero__content,
    .hero .hero__ctas,
    .hero .btn,
    .hero-minimal__bar,
    .hero-split__content {
        position: relative !important;
        z-index: 10 !important;
    }
}



/* v1.1.4: HTML-level mobile hard image backup */
.at-hero-mobile-hard-img{display:none!important}
@media (max-width:768px){
  .hero .hero__responsive-media{display:none!important;visibility:hidden!important;opacity:0!important}
  .hero .at-hero-mobile-hard-img{
    display:block!important;visibility:visible!important;opacity:1!important;
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
    object-fit:cover!important;object-position:center center!important;
    z-index:50!important;pointer-events:none!important;
  }
  .hero .at-hero-mobile-hard-img.is-logo{
    inset:auto!important;top:36%!important;left:50%!important;width:min(66vw,320px)!important;height:auto!important;
    max-width:320px!important;max-height:190px!important;transform:translate(-50%,-50%)!important;object-fit:contain!important;z-index:52!important;
  }
  .hero .hero__overlay{z-index:60!important}
  .hero .hero__content,.hero .hero__ctas,.hero .btn,.hero-minimal__bar,.hero-split__content{position:relative!important;z-index:80!important}
}


/* =========================================================
   v1.1.5 MOBILE HERO GLOBAL MEDIA FIX
   The active mobile slide image is mirrored into one direct hero-level image.
   This avoids Swiper fade/loop clones causing black slides after the first image.
   ========================================================= */
.hero-mobile-global-media {
    display: none !important;
}

@media (max-width: 768px) {
    .hero--slider {
        position: relative !important;
        overflow: hidden !important;
        background: #111 !important;
        background-color: #111 !important;
    }

    .hero--slider > .hero-mobile-global-media {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        transform: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        z-index: 70 !important;
        pointer-events: none !important;
    }

    .hero--slider > .hero-mobile-global-media.is-logo {
        inset: auto !important;
        top: 36% !important;
        left: 50% !important;
        width: min(66vw, 320px) !important;
        height: auto !important;
        max-width: 320px !important;
        max-height: 190px !important;
        transform: translate(-50%, -50%) !important;
        object-fit: contain !important;
        object-position: center center !important;
        z-index: 72 !important;
    }

    .hero--slider .hero__swiper {
        z-index: 1 !important;
    }

    .hero--slider .hero__overlay {
        z-index: 75 !important;
    }

    .hero--slider .hero__content,
    .hero--slider .hero__ctas,
    .hero--slider .btn {
        position: relative !important;
        z-index: 90 !important;
    }
}


/* =========================================================
   v1.1.6 HERO STATS VISIBILITY FIX
   v1.1.5 introduced a global mobile media layer above Swiper.
   Keep the statistics strip above that media layer.
   ========================================================= */
.hero .hero__stats {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 95 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.hero .hero__stats-grid,
.hero .hero__stat,
.hero .hero__stat-num,
.hero .hero__stat-label {
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .hero--slider .hero__stats,
    .hero--image .hero__stats,
    .hero--video .hero__stats {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 96 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 0 !important;
        transform: none !important;
    }

    .hero--slider .hero__stats-grid,
    .hero--image .hero__stats-grid,
    .hero--video .hero__stats-grid {
        position: relative !important;
        z-index: 97 !important;
    }
}



/* =========================================================
   Above-the-fold performance: never hide hero copy while JS is loading
   ========================================================= */
.hero .reveal,
.hero-search-after-section .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
