html { scroll-behavior: smooth; }
    :root {
      --space-xs: 0.5rem;
      --space-sm: 1rem;
      --space-md: 1.5rem;
      --space-lg: 2.5rem;
      --space-xl: 4rem;
      --space-2xl: 5.5rem;
      --section-y: 3.5rem;
      --section-y-lg: 4.5rem;
      --page-end: 7.5rem;
      --footer-pad-top: 13rem;
      --container-max: 1280px;
      --container-px: 1rem;
      --brand-blue: #1868A0;
      --brand-silver: #707078;
      --brand-ink: #0B0B0C;
    }
    @media (min-width: 640px) {
      :root {
        --section-y: 4rem;
        --page-end: 8.5rem;
        --footer-pad-top: 10rem;
      }
    }
    @media (min-width: 768px) {
      :root {
        --section-y: 5rem;
        --section-y-lg: 6rem;
        --page-end: 9.5rem;
        --footer-pad-top: 8.75rem;
        --container-px: 2rem;
      }
    }
    @media (min-width: 1024px) {
      :root {
        --section-y: 5.5rem;
        --page-end: 10.5rem;
        --footer-pad-top: 8.5rem;
      }
    }
    /* One content width everywhere — scales gently on 2K / 4K */
    @media (min-width: 1536px) {
      :root { --container-max: 1400px; }
    }
    @media (min-width: 1920px) {
      :root { --container-max: 1520px; }
    }
    @media (min-width: 2560px) {
      :root { --container-max: 1680px; }
    }

    /* Unified spacing helpers */
    .section-y {
      padding-top: var(--section-y);
      padding-bottom: var(--section-y);
    }
    .section-y-lg {
      padding-top: var(--section-y-lg);
      padding-bottom: var(--section-y-lg);
    }
    .page-before-footer {
      padding-bottom: var(--page-end) !important;
    }
    .container-site {
      width: 100%;
      max-width: var(--container-max);
      margin-inline: auto;
      padding-inline: var(--container-px);
    }

    body { font-family: 'IBM Plex Sans Arabic', Tahoma, sans-serif; color: #141416; background: #F5F7FA; }
    html.lang-en body,
    html[dir="ltr"] body {
      font-family: Outfit, system-ui, sans-serif;
      letter-spacing: 0.01em;
    }
    .font-en { font-family: Outfit, system-ui, sans-serif; letter-spacing: 0.02em; }
    html.lang-en h1,
    html.lang-en h2,
    html.lang-en h3,
    html[dir="ltr"] h1,
    html[dir="ltr"] h2,
    html[dir="ltr"] h3 {
      font-family: Outfit, system-ui, sans-serif;
      letter-spacing: -0.01em;
    }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

    /* Cars horizontal slider */
    .cars-track {
      display: flex;
      gap: 1.25rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      padding: 0.35rem 0.15rem 1rem;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    .cars-track::-webkit-scrollbar { display: none; }
    .cars-track > article {
      flex: 0 0 min(86vw, 300px);
      scroll-snap-align: start;
      min-height: 100%;
    }
    html[dir="rtl"] .cars-track > article,
    html[dir="rtl"] .car-card-rtl {
      direction: rtl;
      text-align: right;
    }
    html[dir="ltr"] .cars-track > article,
    html[dir="ltr"] .car-card-rtl {
      direction: ltr;
      text-align: left;
    }
    .car-card-rtl .car-badge-start {
      inset-inline-end: 1rem;
      inset-inline-start: auto;
    }
    @media (min-width: 640px) {
      .cars-track { gap: 1.35rem; }
      .cars-track > article { flex-basis: 320px; }
    }
    @media (min-width: 1024px) {
      .cars-track > article { flex-basis: 360px; }
    }
    @media (min-width: 1280px) {
      .cars-track > article { flex-basis: 380px; }
    }

    /* Car slider pagination dots — brand colors */
    .slider-dots {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.45rem;
    }
    .slider-dots button {
      width: 9px;
      height: 9px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: #B8B4B3;
      cursor: pointer;
      transition: width .35s cubic-bezier(0.4, 0, 0.2, 1),
                  background .35s ease,
                  box-shadow .35s ease;
    }
    .slider-dots button:hover {
      background: #707078;
    }
    .slider-dots button.active {
      width: 26px;
      background: #1868A0;
      box-shadow: 0 0 0 3px rgba(24,104,160, 0.22);
    }

    /* Testimonials — light, flat, RTL/LTR ready */
    .testimonials-section {
      background: #F5F7FA;
      color: #0B0B0C;
    }
    .testimonials-eyebrow {
      display: inline-block;
      padding: 0.4rem 1rem;
      border: 1px solid #D8DEE6;
      border-radius: 999px;
      background: #fff;
      color: #1868A0;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.04em;
    }
    .testimonials-track {
      display: flex;
      gap: 1.25rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      padding: 0.5rem 0.1rem 1.35rem;
      -ms-overflow-style: none;
      scrollbar-width: none;
      overscroll-behavior-x: contain;
      -webkit-overflow-scrolling: touch;
    }
    .testimonials-track::-webkit-scrollbar { display: none; }
    .testimonials-track > .testimonial-card {
      flex: 0 0 min(86vw, 300px);
      scroll-snap-align: start;
    }
    @media (min-width: 640px) {
      .testimonials-track > .testimonial-card { flex-basis: 320px; }
    }
    @media (min-width: 1024px) {
      .testimonials-track > .testimonial-card { flex-basis: 340px; }
    }
    @media (min-width: 1280px) {
      .testimonials-track > .testimonial-card { flex-basis: 360px; }
    }
    .testimonial-card {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 300px;
      padding: 1.75rem 1.6rem 1.45rem;
      background: #fff;
      border: 1px solid #D8DEE6;
      border-radius: 20px;
      border-start-end-radius: 6px;
      box-shadow: 0 8px 28px rgba(11, 11, 12, 0.06);
      text-align: start;
      /* Override parent track dir="ltr" so Arabic cards layout correctly */
      direction: rtl;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }
    html[dir="ltr"] .testimonial-card,
    html.lang-en .testimonial-card {
      direction: ltr;
    }
    .testimonial-card:hover {
      transform: translateY(-6px);
      border-color: #1868A0;
      box-shadow: 0 14px 36px rgba(11, 11, 12, 0.1);
    }
    .testimonial-card__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 1rem;
      flex-direction: row;
    }
    .testimonial-card__stars {
      display: flex;
      align-items: center;
      gap: 0.2rem;
      margin-top: 0.35rem;
    }
    .testimonial-card__star {
      width: 0.95rem;
      height: 0.95rem;
      fill: #1868A0;
    }
    .testimonial-card__star.is-empty { fill: #D8DEE6; }
    .testimonial-card__mark {
      font-family: Outfit, Georgia, serif;
      font-size: 3.75rem;
      line-height: 0.55;
      font-weight: 700;
      color: #1868A0;
      opacity: 0.35;
      user-select: none;
    }
    .testimonial-card__quote {
      flex: 1;
      margin: 0 0 1.35rem;
    }
    .testimonial-card__quote p {
      margin: 0;
      color: #141416;
      font-size: 0.95rem;
      font-weight: 500;
      line-height: 1.85;
    }
    .testimonial-card__footer {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      padding-top: 1.1rem;
      border-top: 1px solid #E8EDF2;
    }
    .testimonial-card__avatar {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 3rem;
      height: 3rem;
      flex-shrink: 0;
      border-radius: 999px;
      background: #1868A0;
      color: #fff;
      font-family: Outfit, system-ui, sans-serif;
      font-size: 0.85rem;
      font-weight: 800;
      letter-spacing: 0.03em;
      order: 0;
    }
    .testimonial-card__meta { flex: 1; min-width: 0; order: 1; }
    .testimonial-card__verified {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.65rem;
      height: 1.65rem;
      border-radius: 999px;
      background: #EEF2F6;
      color: #1868A0;
      flex-shrink: 0;
      order: 2;
      margin-inline-start: auto;
    }
    .testimonial-card__verified svg {
      width: 0.95rem;
      height: 0.95rem;
    }
    .testimonial-card__name {
      margin: 0;
      color: #0B0B0C;
      font-size: 0.95rem;
      font-weight: 800;
      line-height: 1.3;
      font-style: normal;
    }
    .testimonial-card__car {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.35rem;
      margin: 0.2rem 0 0;
      color: #5A6570;
      font-size: 0.78rem;
      font-weight: 600;
      line-height: 1.4;
    }
    .testimonial-card__dot {
      display: inline-block;
      width: 0.25rem;
      height: 0.25rem;
      border-radius: 999px;
      background: #A8B3BE;
      flex-shrink: 0;
    }
    /* Language visibility inside cards */
    .testimonial-card .t-en { display: none; }
    .testimonial-card .t-ar { display: inline; }
    .testimonial-card__quote .t-ar { display: block; }
    .testimonial-card__quote .t-en { display: none; }
    html[dir="ltr"] .testimonial-card .t-ar { display: none; }
    html[dir="ltr"] .testimonial-card .t-en { display: inline; }
    html[dir="ltr"] .testimonial-card__quote .t-en { display: block; }
    html[dir="ltr"] .testimonial-card__quote .t-ar { display: none; }
    html.lang-en .testimonial-card .t-ar { display: none; }
    html.lang-en .testimonial-card .t-en { display: inline; }
    html.lang-en .testimonial-card__quote .t-en { display: block; }
    html.lang-en .testimonial-card__quote .t-ar { display: none; }
    html.lang-ar .testimonial-card .t-en { display: none; }
    html.lang-ar .testimonial-card .t-ar { display: inline; }
    html.lang-ar .testimonial-card__quote .t-ar { display: block; }
    html.lang-ar .testimonial-card__quote .t-en { display: none; }

    .testimonials-controls {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      margin-top: 0.25rem;
    }
    .testimonials-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
    }
    .testimonials-nav__btn {
      display: flex;
      height: 2.65rem;
      width: 4.75rem;
      align-items: center;
      justify-content: center;
      background: #1868A0;
      color: #fff;
      border: 0;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(24, 104, 160, 0.22);
      transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
    }
    .testimonials-nav__btn:hover {
      background: #0B0B0C;
      color: #fff;
      transform: translateY(-1px);
    }
    .testimonials-nav__btn:focus-visible {
      outline: 2px solid #1868A0;
      outline-offset: 2px;
    }

    .bg-pattern {
      background-color: #0B0B0C;
      background-image: url('../bg-pattern.svg');
      background-position: center top;
      background-repeat: no-repeat;
      background-size: 83% auto;
      min-height: 645px;
    }
    /* Dark section titles: force white (not brand blue) */
    .bg-pattern .reveal > h2,
    #why-choose-us .bg-pattern h2 {
      color: #fff !important;
    }
    .bg-pattern .reveal > p:first-child {
      color: rgba(255, 255, 255, 0.9) !important;
    }
    .bg-pattern .reveal > h2 + p {
      color: rgba(255, 255, 255, 0.8) !important;
    }
    .partners-bg {
      position: relative;
      background-color: #F5F7FA;
    }
    .partners-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url('../wave-vector.webp');
      background-position: center;
      background-repeat: no-repeat;
      background-size: 100% auto;
      opacity: 0.25;
      /* Tinting the pattern to the brand Navy color */
      filter: sepia(1) hue-rotate(185deg) saturate(400%) brightness(0.7);
      mix-blend-mode: multiply;
      pointer-events: none;
      z-index: 0;
    }
    .partners-section > div {
      position: relative;
      z-index: 10;
    }
    .partners-section {
      padding-top: var(--section-y);
      padding-bottom: var(--page-end);
    }
    @media (min-width: 768px) {
      .partners-section {
        padding-top: var(--section-y-lg);
        padding-bottom: var(--page-end);
      }
    }
    .partner-slider {
      position: relative;
    }
    .partner-track {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      padding: 0.75rem 0.25rem 1.25rem;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    .partner-track::-webkit-scrollbar { display: none; }
    .partner-card {
      flex: 0 0 auto;
      width: 140px;
      height: 96px;
      scroll-snap-align: start;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
      border: 1px solid #EEF0F4;
      border-radius: 16px;
      padding: 0.85rem 1rem;
      box-shadow: 0 4px 16px rgba(11,11,12, 0.06);
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }
    @media (min-width: 640px) {
      .partner-card {
        width: 160px;
        height: 104px;
      }
      .partner-track { gap: 1.25rem; }
    }
    @media (min-width: 1024px) {
      .partner-card {
        width: 172px;
        height: 112px;
      }
    }
    .partner-card:hover {
      transform: translateY(-4px);
      border-color: #D1D1E3;
      box-shadow: 0 10px 28px rgba(11,11,12, 0.12);
    }
    .partner-card img {
      width: 100%;
      height: 100%;
      max-height: 76px;
      object-fit: contain;
      filter: grayscale(0.15);
      opacity: 0.92;
      transition: filter .25s, opacity .25s;
    }
    @media (min-width: 640px) {
      .partner-card img { max-height: 84px; }
    }
    .partner-card:hover img {
      filter: none;
      opacity: 1;
    }
    .partner-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }

    /* Asymmetric radii — match original: large on top-left + bottom-right */
    .btn-asym { border-radius: 16px; }
    .btn-asym-prev { border-radius: 16px; border-top-right-radius: 4px; }
    .btn-asym-next { border-radius: 16px; border-top-left-radius: 4px; }
    .tab-pill { border-radius: 8px; border-top-left-radius: 24px; border-bottom-right-radius: 24px; }
    .form-card { border-radius: 8px; border-top-left-radius: 48px; border-bottom-right-radius: 48px; }
    .card-mega { border-radius: 60px; }
    .card-mega-start { border-radius: 60px; border-top-right-radius: 24px; }
    .card-mega-end { border-radius: 60px; border-top-left-radius: 24px; }
    .panel-asym { border-radius: 8px; border-top-left-radius: 32px; border-bottom-right-radius: 32px; }
    .panel-asym-lg { border-radius: 8px; border-top-left-radius: 40px; border-bottom-right-radius: 40px; }

    .field {
      border: 1.5px solid #DFE4EA;
      border-radius: 8px;
      border-top-left-radius: 24px;
      border-bottom-right-radius: 24px;
      min-height: 52px;
      width: 100%;
      padding: 0.7rem 1rem;
      background: #fff;
      color: #111928;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
      appearance: none;
      -webkit-appearance: none;
    }
    select.field {
      background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23637381' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: left 1rem center;
      padding-left: 2.5rem;
    }
    .field:hover { border-color: #C5CAD3; }
    .field:focus {
      border-color: #0B0B0C;
      box-shadow: 0 0 0 3px rgba(11,11,12, 0.08);
    }

    .nav-link { 
      position: relative; 
      color: rgba(11,11,12, 0.7); 
      padding: 8px 16px;
      border-radius: 12px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-link:hover {
      color: #0B0B0C;
      background: #F3F4F6;
    }
    .nav-link.active {
      color: #1868A0;
      font-weight: 700;
      background: rgba(24,104,160, 0.1);
    }
    /* ========== Mobile side drawer ========== */
    .menu-toggle {
      position: relative;
      z-index: 1;
    }
    .menu-toggle-bars {
      display: flex;
      width: 18px;
      height: 14px;
      flex-direction: column;
      justify-content: space-between;
    }
    .menu-toggle-bars span {
      display: block;
      height: 2px;
      width: 100%;
      border-radius: 999px;
      background: currentColor;
      transform-origin: center;
      transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1),
                  opacity .25s ease,
                  width .35s ease;
    }
    .menu-toggle-bars span:nth-child(2) { width: 70%; margin-inline-start: auto; }
    .menu-toggle.is-open .menu-toggle-bars span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }
    .menu-toggle.is-open .menu-toggle-bars span:nth-child(2) {
      opacity: 0;
      width: 0;
    }
    .menu-toggle.is-open .menu-toggle-bars span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-drawer-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1100;
      background: rgba(11,11,12, 0.48);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .35s ease, visibility .35s ease;
    }
    .mobile-drawer-backdrop.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .mobile-drawer {
      --drawer-pad-x: 1.15rem;
      position: fixed;
      top: 0;
      bottom: 0;
      inset-inline-end: 0;
      z-index: 1110;
      display: flex;
      flex-direction: column;
      width: min(100vw - 3.25rem, 328px);
      max-width: 100vw;
      height: 100%;
      height: 100dvh;
      padding:
        max(0.75rem, env(safe-area-inset-top))
        max(var(--drawer-pad-x), env(safe-area-inset-right))
        max(0.85rem, env(safe-area-inset-bottom))
        max(var(--drawer-pad-x), env(safe-area-inset-left));
      background:
        linear-gradient(165deg, rgba(24,104,160, 0.09) 0%, transparent 38%),
        #FFFCFA;
      color: #0B0B0C;
      box-shadow: -12px 0 40px rgba(11,11,12, 0.18);
      /* Anchored to inline-end: hide off that edge */
      transform: translate3d(104%, 0, 0);
      transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .42s;
      overflow: hidden;
      will-change: transform;
      pointer-events: none;
      visibility: hidden;
    }
    html[dir="rtl"] .mobile-drawer {
      box-shadow: 12px 0 40px rgba(11,11,12, 0.18);
      transform: translate3d(-104%, 0, 0);
    }
    html[dir="ltr"] .mobile-drawer {
      transform: translate3d(104%, 0, 0);
    }
    .mobile-drawer::before {
      content: '';
      position: absolute;
      top: 0;
      inset-inline-end: 0;
      width: 4px;
      height: 100%;
      background: linear-gradient(180deg, #1868A0 0%, #1868A0 42%, #707078 100%);
      pointer-events: none;
    }
    .mobile-drawer.open {
      transform: translate3d(0, 0, 0) !important;
      pointer-events: auto;
      visibility: visible;
      transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
    }

    .mobile-drawer-inner {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 0;
      border-radius: 22px;
      border: 1px solid rgba(11,11,12, 0.08);
      background: rgba(255, 255, 255, 0.88);
      box-shadow: 0 10px 30px rgba(11,11,12, 0.06);
      overflow: hidden;
    }

    .mobile-drawer-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 1rem 1rem 0.95rem;
      border-bottom: 1px solid rgba(11,11,12, 0.07);
    }
    .mobile-drawer-brand {
      display: flex;
      align-items: center;
      min-width: 0;
      text-decoration: none;
    }
    .mobile-drawer-brand img {
      height: 52px;
      width: auto;
      max-width: 148px;
      object-fit: contain;
    }
    .mobile-drawer-close {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 40px;
      height: 40px;
      border-radius: 12px;
      border: 1px solid rgba(11,11,12, 0.1);
      background: #EEF2F6;
      color: #0B0B0C;
      transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    }
    .mobile-drawer-close:hover,
    .mobile-drawer-close:focus-visible {
      background: #1868A0;
      border-color: #1868A0;
      color: #fff;
      outline: none;
    }
    .mobile-drawer-close:active {
      transform: scale(0.96);
    }

    .mobile-drawer-nav {
      flex: 1;
      overflow-y: auto;
      padding: 0.85rem 0.75rem;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
    }
    .mobile-drawer-link {
      position: relative;
      display: flex;
      align-items: center;
      gap: 0.8rem;
      min-height: 52px;
      padding: 0.65rem 0.75rem;
      margin-bottom: 0.3rem;
      border-radius: 14px;
      color: #0B0B0C;
      text-decoration: none;
      opacity: 0;
      transform: translateY(10px);
      transition:
        background .22s ease,
        color .22s ease,
        transform .32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity .32s ease,
        box-shadow .22s ease;
    }
    .mobile-drawer.open .mobile-drawer-link {
      opacity: 1;
      transform: translateY(0);
    }
    .mobile-drawer.open .mobile-drawer-link:nth-child(1) { transition-delay: .04s; }
    .mobile-drawer.open .mobile-drawer-link:nth-child(2) { transition-delay: .07s; }
    .mobile-drawer.open .mobile-drawer-link:nth-child(3) { transition-delay: .1s; }
    .mobile-drawer.open .mobile-drawer-link:nth-child(4) { transition-delay: .13s; }
    .mobile-drawer.open .mobile-drawer-link:nth-child(5) { transition-delay: .16s; }
    .mobile-drawer.open .mobile-drawer-link:nth-child(6) { transition-delay: .19s; }
    .mobile-drawer.open .mobile-drawer-link:nth-child(7) { transition-delay: .22s; }
    .mobile-drawer-link:hover {
      background: rgba(11,11,12, 0.04);
    }
    .mobile-drawer-link.active {
      background: rgba(24,104,160, 0.14);
      color: #1868A0;
      box-shadow: inset 3px 0 0 #1868A0;
    }
    html[dir="rtl"] .mobile-drawer-link.active {
      box-shadow: inset -3px 0 0 #1868A0;
    }
    .mobile-drawer-link .md-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 38px;
      height: 38px;
      border-radius: 11px;
      background: #1868A0;
      color: #fff;
      transition: background .2s ease, color .2s ease;
    }
    .mobile-drawer-link .md-icon svg {
      width: 18px;
      height: 18px;
      color: #fff;
      stroke: currentColor;
    }
    .mobile-drawer-link:hover .md-icon,
    .mobile-drawer-link.active .md-icon {
      background: #0B0B0C;
      color: #fff;
    }
    .mobile-drawer-link .md-label {
      flex: 1;
      font-size: 0.98rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      line-height: 1.25;
    }
    .mobile-drawer-link .md-chevron {
      width: 16px;
      height: 16px;
      color: #707078;
      opacity: 0.45;
      transition: opacity .2s ease, transform .2s ease, color .2s ease;
    }
    html[dir="ltr"] .mobile-drawer-link .md-chevron {
      transform: scaleX(-1);
    }
    .mobile-drawer-link:hover .md-chevron,
    .mobile-drawer-link.active .md-chevron {
      opacity: 1;
      color: #1868A0;
    }

    .mobile-drawer-foot {
      padding: 0.85rem 0.9rem 1rem;
      border-top: 1px solid rgba(11,11,12, 0.07);
      background: linear-gradient(180deg, rgba(238, 242, 246, 0.55), #EEF2F6);
    }
    .mobile-drawer-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      width: 100%;
      min-height: 48px;
      margin-bottom: 0.85rem;
      padding: 0.75rem 1rem;
      border-radius: 14px;
      border-start-start-radius: 8px;
      border-end-end-radius: 8px;
      background: #1868A0;
      color: #fff !important;
      font-weight: 700;
      font-size: 0.92rem;
      text-decoration: none;
      box-shadow: 0 8px 22px rgba(24,104,160, 0.28);
      transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    }
    .mobile-drawer-cta span,
    .mobile-drawer-cta svg {
      color: #fff !important;
      stroke: currentColor;
    }
    .mobile-drawer-cta:hover {
      background: #0B0B0C;
      color: #fff !important;
      box-shadow: 0 8px 22px rgba(11,11,12, 0.2);
    }
    .mobile-drawer-cta:active {
      transform: scale(0.985);
    }
    .mobile-drawer-phone {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      margin-bottom: 0.75rem;
      color: #0B0B0C;
      font-family: Outfit, system-ui, sans-serif;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-decoration: none;
      direction: ltr;
    }
    .mobile-drawer-phone:hover { color: #1868A0; }
    .mobile-drawer-social {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
    }
    .mobile-drawer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 11px;
      border: 1px solid transparent;
      background: #1868A0;
      color: #fff;
      transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    }
    .mobile-drawer-social a .fa-brands {
      font-size: 1.05rem;
      line-height: 1;
      width: 1.15em;
      text-align: center;
      color: #fff;
    }
    .mobile-drawer-social a:hover {
      background: #0B0B0C;
      border-color: #0B0B0C;
      color: #fff;
      transform: translateY(-1px);
    }

    body.drawer-open { overflow: hidden; }

    @media (min-width: 1024px) {
      .mobile-drawer,
      .mobile-drawer-backdrop,
      .menu-toggle { display: none !important; }
    }

    /* Active nav: color/background only — no underline dot */
    .nav-link.active::after {
      content: none;
      display: none;
    }

    .hero-slide {
      position: absolute !important;
      inset: 0 !important;
      width: 100% !important;
      height: 100% !important;
      max-width: none !important;
      max-height: none !important;
      object-fit: cover !important;
      object-position: center center;
      opacity: 0;
      transition: opacity 1.2s ease, transform 12s ease-out;
      pointer-events: none;
      transform: scale(1.04);
    }
    .hero-slide.active {
      opacity: 1;
      transform: scale(1.1);
    }
    /* Full-bleed cinematic hero — edge-to-edge on 2K / 4K */
    .page-hero-under-nav {
      position: relative;
      width: 100%;
      max-width: none !important;
      margin-inline: 0;
      min-height: min(100svh, 920px);
      isolation: isolate;
    }
    @media (min-width: 1280px) {
      .page-hero-under-nav {
        min-height: 84vh;
      }
    }
    @media (min-width: 1536px) {
      .page-hero-under-nav {
        min-height: 88vh;
      }
    }
    @media (min-width: 1920px) {
      .page-hero-under-nav {
        min-height: 92vh;
      }
      .page-hero-under-nav .hero-copy {
        max-width: 58rem;
      }
      .page-hero-under-nav .hero-copy h1 {
        font-size: clamp(3.25rem, 3.2vw, 4.75rem);
      }
    }
    @media (min-width: 2560px) {
      .page-hero-under-nav {
        min-height: 94vh;
      }
      .page-hero-under-nav .hero-copy {
        max-width: 64rem;
      }
    }
    .page-hero-under-nav > .absolute.inset-0 {
      position: absolute !important;
      inset: 0 !important;
      width: 100% !important;
      height: 100% !important;
      max-width: none !important;
      overflow: hidden;
    }
    /* Dark scrim so hero copy stays readable over bright slides */
    .hero-overlay {
      background:
        linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.28) 22%, rgba(11, 11, 12, 0.42) 55%, rgba(11, 11, 12, 0.78) 100%),
        radial-gradient(ellipse 70% 65% at 50% 42%, rgba(11, 11, 12, 0.45) 0%, rgba(11, 11, 12, 0.18) 58%, transparent 78%),
        rgba(11, 11, 12, 0.38);
    }
    /* Hero media stays full-bleed; copy/search use .container-site */

    /* Horizontal Dots for Mobile */
    .hero-dots.horizontal button {
      width: 10px; height: 10px; border-radius: 999px;
      background: rgba(255,255,255,.4);
      transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 2px 6px rgba(0,0,0,.3);
    }
    .hero-dots.horizontal button.active {
      background: #1868A0;
      width: 32px;
    }
    
    /* Vertical Dots for Desktop */
    .hero-dots.vertical button {
      width: 4px; height: 24px; border-radius: 999px;
      background: rgba(255,255,255,.25);
      transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .hero-dots.vertical button.active {
      background: #1868A0;
      height: 48px;
      box-shadow: 0 0 12px rgba(24,104,160,0.6);
    }

    /* New Hero Animations */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .animate-fade-in-up {
      animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      opacity: 0;
    }
    .animation-delay-200 { animation-delay: 200ms; }
    .animation-delay-400 { animation-delay: 400ms; }
    .animation-delay-600 { animation-delay: 600ms; }

    .feature-card {
      transition: transform .35s ease, box-shadow .35s ease;
    }
    .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 50px rgba(0,0,0,.18);
    }
    .feature-card--soft {
      background: rgba(255, 255, 255, 0.88) !important;
      box-shadow: 0 6px 20px rgba(11,11,12, 0.06) !important;
    }
    /* Unified icon slot for why-us + order steps cards */
    .card-icon,
    .step-card .step-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 7.5rem;
      height: 7.5rem;
      margin-inline: auto;
      margin-bottom: 1.1rem;
      flex-shrink: 0;
      overflow: hidden;
    }
    @media (min-width: 768px) {
      .card-icon,
      .step-card .step-icon {
        width: 8.5rem;
        height: 8.5rem;
      }
    }
    .card-icon img,
    .step-card .step-icon img {
      width: 100%;
      height: 100%;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      /* Soften white GIF canvases on light cards */
      mix-blend-mode: multiply;
      transform: scale(1);
      transform-origin: center;
      transition: transform .35s ease;
    }
    .feature-card:hover .card-icon img,
    .step-card:hover .step-icon img {
      transform: scale(1.05);
    }
    .feature-icon-muted img,
    .feature-icon-brand img {
      filter: none;
      opacity: 1;
    }
    .steps-rail {
      position: relative;
    }
    /* Connecting line removed per client note */
    .steps-rail::before {
      content: none !important;
      display: none !important;
    }
    .footer-social .fa-brands {
      font-size: 1.2rem;
      line-height: 1;
      width: 1.2em;
      text-align: center;
    }
    .newsletter-card h2,
    .newsletter-card h2 span {
      color: #1868A0 !important;
    }

    .brand-card {
      transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    }
    .brand-card:hover {
      transform: translateY(-4px);
      border-color: #D1D1E3;
      box-shadow: 0 12px 28px rgba(11,11,12, 0.12);
    }

    .car-card {
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid #EEF0F4;
      border-radius: 24px; border-top-right-radius: 6px;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(11,11,12, 0.04);
      transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .car-card:hover {
      transform: translateY(-6px);
      border-color: #1868A0;
      box-shadow: 0 20px 40px rgba(11,11,12, 0.08);
    }
    .car-media {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 250px;
      padding: 1rem;
      background: #fff;
      overflow: hidden;
    }
    .car-card .car-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .55s ease;
}
    .car-card:hover .car-img { transform: scale(1.07) translateY(-4px); }
    .car-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      z-index: 2;
      border-radius: 999px;
      background: #0B0B0C;
      color: #fff;
      padding: 0.35rem 0.85rem;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.01em;
      box-shadow: 0 4px 12px rgba(11,11,12, 0.25);
    }
    .car-badge.offer { background: #1868A0; color: #fff; }
    .car-fav {
      position: absolute;
      top: 1rem;
      left: 1rem;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 999px;
      background: rgba(255,255,255,.92);
      color: #637381;
      box-shadow: 0 4px 14px rgba(0,0,0,.08);
      transition: color .2s, background .2s, transform .2s;
    }
    .car-fav:hover { color: #ef4444; transform: scale(1.06); }
    .car-body {
      display: flex;
      flex-direction: column;
      flex: 1;
      padding: 1rem 1.25rem 1.25rem;
    }
    .car-meta {
      font-size: 12px;
      font-weight: 500;
      color: #637381;
      margin-bottom: 0.35rem;
    }
    .car-title {
      font-size: 1rem;
      font-weight: 600;
      color: #111928;
      line-height: 1.45;
      min-height: 2.9em;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .car-price {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .car-price img {
      height: 22px;
      width: auto;
      object-fit: contain;
    }
    .car-actions {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 0.5rem;
      margin-top: auto;
      padding-top: 1rem;
    }

    .spec-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .35rem;
      flex: 1;
      border-radius: 10px;
      background: #F3F4F6;
      border: 1px solid #EEF0F4;
      padding: .55rem .4rem;
      font-size: 11px;
      font-weight: 500;
      color: #637381;
    }

    .btn-primary-soft {
      background: #0B0B0C;
      color: #fff;
      border-radius: 12px;
      transition: background .2s, transform .2s, box-shadow .2s;
    }
    .btn-primary-soft:hover {
      background: #242221;
      box-shadow: 0 6px 16px rgba(11,11,12, 0.28);
    }
    .btn-ghost {
      background: #EEF0F8;
      color: #0B0B0C;
      border-radius: 12px;
      transition: background .2s, color .2s;
    }
    .btn-ghost:hover { background: #0B0B0C; color: #fff; }

    /* Header search overlay */
    .search-overlay {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 5.5rem 1rem 2rem;
      background: rgba(12, 14, 48, 0.55);
      backdrop-filter: blur(8px);
      opacity: 0;
      visibility: hidden;
      transition: opacity .28s ease, visibility .28s ease;
    }
    .search-overlay.open {
      opacity: 1;
      visibility: visible;
    }
    .search-modal {
      width: 100%;
      max-width: 640px;
      background: #fff;
      border-radius: 8px;
      border-top-left-radius: 32px;
      border-bottom-right-radius: 32px;
      box-shadow: 0 24px 64px rgba(0,0,0,.28);
      transform: translateY(-16px) scale(.98);
      transition: transform .3s ease;
      overflow: hidden;
    }
    .search-overlay.open .search-modal {
      transform: translateY(0) scale(1);
    }
    .search-modal-input {
      width: 100%;
      border: none;
      outline: none;
      background: transparent;
      font-size: 1.05rem;
      color: #111928;
      padding: 0.35rem 0;
    }
    .search-modal-input::placeholder { color: #9CA3AF; }
    .search-chip {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      border: 1px solid #E5E7EB;
      padding: 0.4rem 0.9rem;
      font-size: 12px;
      color: #0B0B0C;
      background: #F8F9FC;
      transition: background .2s, border-color .2s;
    }
    .search-chip:hover {
      background: #0B0B0C;
      border-color: #0B0B0C;
      color: #fff;
    }
    body.search-open { overflow: hidden; }

    /* Newsletter + Footer (reference layout, brand colors) */
    .newsletter-card {
      position: absolute;
      top: 0;
      left: 50%;
      z-index: 10;
      width: calc(100% - 2rem);
      max-width: 770px;
      transform: translate(-50%, -50%);
      background: #fff;
      border-radius: 8px;
      border-top-left-radius: 40px;
      border-bottom-right-radius: 40px;
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
      padding: 1.1rem 1.1rem 1.2rem;
    }
    @media (min-width: 640px) {
      .newsletter-card { padding: 1.25rem 1.35rem 1.35rem; }
    }
    @media (min-width: 768px) {
      .newsletter-card { padding: 1.35rem 1.75rem 1.5rem; }
    }
    .newsletter-card h2 {
      margin-bottom: 0.95rem;
      text-align: center;
      font-size: 1.05rem;
      font-weight: 500;
      color: #141416;
      line-height: 1.55;
      padding-inline: 0.25rem;
    }
    @media (min-width: 640px) {
      .newsletter-card h2 { font-size: 1.15rem; margin-bottom: 1.15rem; }
    }
    @media (min-width: 768px) {
      .newsletter-card h2 { font-size: 1.25rem; margin-bottom: 1.35rem; }
    }
    .newsletter-form {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      max-width: 640px;
      margin: 0 auto;
    }
    @media (min-width: 640px) {
      .newsletter-form {
        flex-direction: row;
        align-items: stretch;
        gap: 1rem;
        padding: 0 1.5rem;
      }
    }
    .newsletter-form .field {
      min-height: 48px;
      flex: 1;
    }
    @media (min-width: 640px) {
      .newsletter-form .field { min-height: 52px; }
    }
    .site-footer {
      background: #0B0B0C;
      padding-top: var(--footer-pad-top);
    }
    .site-footer > .container-site,
    .site-footer > .footer-inner,
    .site-footer > .mx-auto {
      padding-top: 2.75rem;
      padding-bottom: 3.25rem;
    }
    @media (min-width: 768px) {
      .site-footer > .container-site,
      .site-footer > .footer-inner,
      .site-footer > .mx-auto {
        padding-top: 3.5rem;
        padding-bottom: 3.75rem;
      }
    }
    .footer-main {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2.75rem;
    }
    @media (min-width: 640px) {
      .footer-main { gap: 3rem; }
    }
    @media (min-width: 768px) {
      .footer-main {
        grid-template-columns: 1.15fr 1.05fr 1.2fr;
        gap: 0;
        align-items: start;
      }
      .footer-col {
        padding: 0 2.25rem;
      }
      .footer-col + .footer-col {
        border-right: 1px solid rgba(255,255,255,.14);
      }
      .footer-col:first-child { padding-right: 0; padding-left: 2.25rem; }
      .footer-col:last-child { padding-left: 0; padding-right: 2.25rem; }
    }
    @media (min-width: 1024px) {
      .footer-col { padding: 0 3rem; }
      .footer-col:first-child { padding-right: 0; padding-left: 3rem; }
      .footer-col:last-child { padding-left: 0; padding-right: 3rem; }
    }
    .footer-col .flex.flex-wrap {
      gap: 0.85rem;
      margin-top: 0.35rem;
    }
    .footer-brand {
      display: flex;
      flex-direction: column;
      align-items: start;
      text-align: start;
      gap: 0.95rem;
      width: 100%;
    }
    .footer-brand-link {
      display: block;
      width: fit-content;
      max-width: min(100%, 200px);
    }
    .footer-brand-logo {
      display: block;
      width: auto;
      max-width: 185px;
      height: auto;
      max-height: 72px;
      object-fit: contain;
      object-position: start center;
    }
    @media (min-width: 768px) {
      .footer-brand-logo {
        max-width: 200px;
        max-height: 78px;
      }
    }
    .footer-about {
      margin: 0;
      max-width: 22rem;
      color: rgba(255,255,255,.78);
      font-size: 0.88rem;
      line-height: 1.75;
      text-align: start;
    }
    html.lang-en .footer-about .t-ar { display: none; }
    html.lang-en .footer-about .t-en { display: block; }
    html.lang-ar .footer-about .t-en { display: none; }
    html.lang-ar .footer-about .t-ar { display: block; }
    .footer-social-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.85rem;
    }
    .footer-heading {
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
      font-weight: 500;
      color: #1868A0;
    }
    @media (min-width: 768px) {
      .footer-heading {
        margin-bottom: 1.75rem;
        font-size: 1.2rem;
      }
    }
    .footer-links-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 2rem;
      row-gap: 1rem;
    }
    @media (min-width: 768px) {
      .footer-links-grid {
        column-gap: 2.5rem;
        row-gap: 1.1rem;
      }
    }
    .footer-link {
      display: block;
      color: rgba(255,255,255,.88);
      transition: color .2s;
      font-size: 0.92rem;
      line-height: 1.5;
      padding-block: 0.1rem;
    }
    .footer-link:hover { color: #1868A0; }
    .footer-social {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.85rem;
      height: 2.85rem;
      border-radius: 999px;
      color: #fff;
      border: 1.5px solid rgba(255,255,255,.85);
      background: transparent;
      transition: background .2s, color .2s, border-color .2s, transform .2s;
    }
    .footer-social:hover {
      background: #1868A0;
      border-color: #1868A0;
      color: #fff;
      transform: translateY(-2px);
    }
    .footer-contact-list {
      display: flex;
      flex-direction: column;
      gap: 1.15rem;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .footer-contact-row {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      font-size: 0.92rem;
      color: rgba(255,255,255,.88);
      line-height: 1.65;
    }
    .footer-contact-row svg {
      flex-shrink: 0;
      margin-top: 0.2rem;
      color: #1868A0;
    }
    .footer-contact-row a:hover { color: #1868A0; }
    .footer-bottom {
      background: #fff;
      color: #707078;
      padding-block: 1.15rem;
      border-top: 1px solid rgba(255,255,255,.06);
    }
    @media (min-width: 768px) {
      .footer-bottom { padding-block: 1.35rem; }
    }

    /* Car detail last section clearance before newsletter */
    .similar-cars-section {
      padding-top: var(--section-y);
      padding-bottom: var(--page-end);
    }

    .search-panel {
      box-shadow: 0 16px 48px rgba(11,11,12, 0.16);
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .7s ease, transform .7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .fab-dock {
      position: fixed;
      bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
      left: max(1.25rem, env(safe-area-inset-left, 0px));
      z-index: 50;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
    }
    @media (min-width: 640px) {
      .fab-dock {
        bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
        left: max(1.5rem, env(safe-area-inset-left, 0px));
        gap: 0.875rem;
      }
    }

    .fab-btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 3rem;
      height: 3rem;
      border-radius: 9999px;
      transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    }
    @media (min-width: 640px) {
      .fab-btn { width: 3.25rem; height: 3.25rem; }
    }

    .fab-top {
      background: #fff;
      color: #0B0B0C;
      box-shadow: 0 8px 24px rgba(11,11,12, 0.18);
    }
    .fab-top:hover {
      background: #1868A0;
      color: #0B0B0C;
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(11,11,12, 0.22);
    }

    .fab-phone {
      background: #1868A0;
      color: #fff;
      box-shadow: 0 8px 24px rgba(24, 104, 160, 0.4);
    }
    .fab-phone:hover {
      transform: translateY(-3px) scale(1.04);
      box-shadow: 0 14px 32px rgba(24, 104, 160, 0.5);
    }
    .fab-phone:active { transform: translateY(0) scale(0.98); }

    .site-header-glass {
      position: fixed;
      top: 0;
      left: 16px;
      right: 16px;
      z-index: 999;
      margin-left: auto;
      margin-right: auto;
      max-width: var(--container-max);
      width: calc(100% - 32px);
      border-radius: 0 0 16px 16px;
      background-color: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.6);
      border-top: none;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }
    @media (min-width: 640px) {
      .site-header-glass {
        left: 24px;
        right: 24px;
        width: calc(100% - 48px);
        border-radius: 0 0 24px 24px;
      }
    }
    @media (min-width: 1920px) {
      .site-header-glass {
        left: 32px;
        right: 32px;
        width: calc(100% - 64px);
      }
    }
    .admin-bar .site-header-glass {
      top: 32px;
    }
    @media screen and (max-width: 782px) {
      .admin-bar .site-header-glass {
        top: 46px;
      }
    }
    .admin-bar.has-header-offset .site-header-root {
      min-height: calc(var(--site-header-clearance) + 32px);
    }
    @media screen and (max-width: 782px) {
      .admin-bar.has-header-offset .site-header-root {
        min-height: calc(var(--site-header-clearance) + 46px);
      }
    }

    /* Fixed glass header clearance — home/about underlay vs other pages */
    :root {
      --site-header-clearance: 5.5rem;
      --page-top-bg: #F5F7FA;
    }
    @media (min-width: 640px) {
      :root { --site-header-clearance: 5.85rem; }
    }
    .site-header-root {
      display: block;
      width: 100%;
      min-height: var(--site-header-clearance);
    }
    /* Keep header/drawer clickable even if root is a layout spacer */
    .site-header-root .site-header-glass,
    .site-header-root .mobile-drawer,
    .site-header-root .mobile-drawer-backdrop,
    .site-header-root .search-overlay {
      pointer-events: auto;
    }
    body.has-hero-underlay .site-header-root {
      min-height: 0;
      height: 0;
      overflow: visible;
    }
    body.has-header-offset .site-header-root {
      min-height: var(--site-header-clearance);
      background: transparent;
    }
    /* Cars archive + single: same top band color under floating nav (no white gap) */
    body.post-type-archive-car .site-header-root,
    body.tax-car_brand .site-header-root,
    body.single-car .site-header-root {
      background: var(--page-top-bg);
    }
    body.post-type-archive-car,
    body.tax-car_brand,
    body.single-car {
      background-color: var(--page-top-bg);
    }
    /* Soft separation under floating nav on light pages */
    body.has-header-offset .site-header-glass {
      background-color: rgba(255, 255, 255, 0.94);
      border-color: rgba(216, 222, 230, 0.9);
      box-shadow: 0 8px 28px rgba(11, 11, 12, 0.08);
    }
    .page-hero-under-nav {
      padding-top: calc(var(--site-header-clearance) + 4.75rem);
    }
    @media (min-width: 768px) {
      .page-hero-under-nav {
        padding-top: calc(var(--site-header-clearance) + 5.5rem);
      }
    }
    @media (min-width: 1024px) {
      .page-hero-under-nav {
        padding-top: calc(var(--site-header-clearance) + 6.5rem);
      }
    }
    .cars-archive-hero,
    .car-detail-crumb {
      background: var(--page-top-bg) !important;
      border-bottom-color: #E5E9EF;
      padding-top: 0;
    }
    .cars-archive-hero > div {
      padding-top: 1.15rem;
      padding-bottom: 1.5rem;
    }
    @media (min-width: 768px) {
      .cars-archive-hero > div {
        padding-top: 1.35rem;
        padding-bottom: 1.85rem;
      }
    }
    .car-detail-crumb > div {
      padding-top: 0.85rem;
      padding-bottom: 0.95rem;
    }
    @media (min-width: 768px) {
      .car-detail-crumb > div {
        padding-top: 1rem;
        padding-bottom: 1.1rem;
      }
    }

    .fab-wa {
      background: linear-gradient(145deg, #2FE36B 0%, #25D366 45%, #1EBE57 100%);
      color: #fff;
      box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
    .fab-wa:hover {
      transform: translateY(-3px) scale(1.04);
      box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
    }
    .fab-wa:active { transform: translateY(0) scale(0.98); }

    .fab-wa-ping {
      position: absolute;
      inset: 0;
      border-radius: 9999px;
      background: #25D366;
      animation: wa-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
      pointer-events: none;
      z-index: -1;
    }
    .fab-wa-ring {
      position: absolute;
      inset: -3px;
      border-radius: 9999px;
      border: 2px solid rgba(37, 211, 102, 0.45);
      animation: wa-ring 2s ease-out infinite;
      pointer-events: none;
    }
    @keyframes wa-ping {
      0% { transform: scale(1); opacity: 0.55; }
      70% { transform: scale(1.55); opacity: 0; }
      100% { transform: scale(1.55); opacity: 0; }
    }
    @keyframes wa-ring {
      0% { transform: scale(1); opacity: 0.7; }
      100% { transform: scale(1.35); opacity: 0; }
    }

    .fab-tip {
      position: absolute;
      bottom: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      white-space: nowrap;
      background: #0B0B0C;
      color: #fff;
      font-size: 11px;
      font-weight: 500;
      padding: 0.35rem 0.65rem;
      border-radius: 8px;
      opacity: 0;
      visibility: hidden;
      transition: opacity .2s, transform .2s, visibility .2s;
      pointer-events: none;
    }
    .fab-tip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 5px solid transparent;
      border-top-color: #0B0B0C;
    }
    .fab-btn:hover .fab-tip {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    @media (max-width: 639px) {
      .fab-tip { display: none; }
    }

    .step-card {
      position: relative;
      transition: transform .35s ease, box-shadow .35s ease;
    }
    .step-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 22px 50px rgba(0,0,0,.2);
    }
    .steps-rail {
      position: relative;
    }
    @media (min-width: 1280px) {
      .steps-rail::before {
        display: none;
      }
    }
    .step-num {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 2rem;
      height: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 9999px;
      background: linear-gradient(145deg, #0E5A8C, #1868A0);
      color: #0B0B0C;
      font-size: 0.8rem;
      font-weight: 700;
      box-shadow: 0 4px 12px rgba(24,104,160, 0.4);
    }

    header.scrolled {
      box-shadow: 0 8px 30px rgba(11,11,12, 0.08);
    }
    .panel-asym { border-radius: 32px; border-top-right-radius: 8px; }
    .panel-asym-lg { border-radius: 40px; border-top-right-radius: 12px; }
    .panel-asym-sm { border-radius: 16px; border-top-right-radius: 6px; }

/* --- Custom Modern Swiper Pagination --- */
.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background-color: rgba(30, 42, 79, 0.4) !important; /* Navy with opacity */
  opacity: 1 !important;
  transition: all 0.3s ease !important;
  border-radius: 20px !important;
}

.swiper-pagination-bullet-active {
  width: 32px !important;
  background-color: #1868A0 !important; /* Brand blue */
  box-shadow: 0 0 10px rgba(24,104,160, 0.4);
}

/* ========== Bilingual RTL / LTR compatibility ========== */

/* Directional icons: LTR-native artwork (→). Mirror in Arabic/RTL. */
html[dir="rtl"] .icon-flip {
  transform: scaleX(-1);
}

/* Carousel controls drawn for RTL (prev → / next ←). Mirror glyphs in English/LTR. */
html[dir="ltr"] .btn-asym-prev > svg,
html[dir="ltr"] .btn-asym-next > svg,
html[dir="ltr"] #partnersPrev > svg,
html[dir="ltr"] #partnersNext > svg {
  transform: scaleX(-1);
}

/* About map link arrow + hover (logical movement toward inline-end) */
html[dir="rtl"] .about-map-arrow {
  transform: scaleX(-1);
}
html[dir="ltr"] .group:hover .about-map-arrow {
  transform: translateX(0.25rem);
}
html[dir="rtl"] .group:hover .about-map-arrow {
  transform: scaleX(-1) translateX(-0.25rem);
}

html[dir="ltr"] body {
  font-family: Outfit, system-ui, sans-serif;
  letter-spacing: 0.01em;
}
.btn-cta-asym {
  border-top-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
html[dir="ltr"] .btn-cta-asym {
  border-top-left-radius: 12px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 16px;
}
html[dir="ltr"] .panel-asym {
  border-radius: 32px;
  border-top-left-radius: 8px;
  border-top-right-radius: 32px;
}
html[dir="ltr"] .panel-asym-sm {
  border-radius: 16px;
  border-top-left-radius: 6px;
  border-top-right-radius: 16px;
}
html[dir="ltr"] .newsletter-card {
  border-top-left-radius: 8px;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 40px;
}
html[dir="ltr"] .footer-col + .footer-col {
  border-right: 0;
  border-left: 1px solid rgba(255,255,255,.14);
}
html[dir="ltr"] .footer-col:first-child { padding-left: 0; padding-right: 2.25rem; }
html[dir="ltr"] .footer-col:last-child { padding-right: 0; padding-left: 2.25rem; }
@media (min-width: 1024px) {
  html[dir="ltr"] .footer-col:first-child { padding-right: 3rem; }
  html[dir="ltr"] .footer-col:last-child { padding-left: 3rem; }
}
html[dir="rtl"] .footer-brand-logo { object-position: right center; }
html[dir="ltr"] .footer-brand-logo { object-position: left center; }
html[dir="rtl"] .footer-brand,
html.lang-ar .footer-brand {
  align-items: start;
  text-align: start;
}
html[dir="ltr"] .footer-brand,
html.lang-en .footer-brand {
  align-items: start;
  text-align: start;
}
html[dir="ltr"] select.field {
  background-position: right 1rem center;
  padding-right: 2.5rem;
  padding-left: 1rem;
}
.phone-ltr,
.mobile-drawer-phone { direction: ltr; unicode-bidi: plaintext; }

/* Badge / control positions that follow text direction */
html[dir="ltr"] .absolute.top-4.right-4 { right: auto; left: 1rem; }
html[dir="ltr"] .absolute.top-4.left-4 { left: auto; right: 1rem; }
html[dir="ltr"] .pointer-events-none.absolute.inset-y-0.left-0 {
  left: auto;
  right: 0;
}

/* ========== About page — bilingual layout ========== */
.about-hero-sub {
  border-inline-start: 4px solid #1868A0;
  padding-inline-start: 1.5rem;
}

.about-stats > div {
  position: relative;
}
@media (min-width: 768px) {
  .about-stats > div:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    bottom: 15%;
    inset-inline-end: 0;
    width: 1px;
    background: #D8DEE6;
  }
}

.about-story-watermark {
  inset-inline-end: 1rem;
}

.about-collage-main {
  inset-inline-end: 0;
}
.about-collage-sub {
  inset-inline-start: 0;
}

.about-quality-badge {
  inset-inline-start: 0;
  transform: translate(-25%, -50%);
}
html[dir="rtl"] .about-quality-badge {
  transform: translate(25%, -50%);
}
.about-quality-badge:hover {
  transform: translate(-25%, -50%) scale(1.1);
}
html[dir="rtl"] .about-quality-badge:hover {
  transform: translate(25%, -50%) scale(1.1);
}

.about-offer-badge {
  inset-inline-end: 2rem;
}

.about-goals-col {
  padding-inline-end: 0;
}
@media (min-width: 1024px) {
  .about-goals-col {
    padding-inline-end: 3rem;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
  }
}

html[dir="ltr"] #aboutContent {
  font-family: Outfit, system-ui, sans-serif;
}

@media (max-width: 640px) {
  #aboutContent .about-quality-badge {
    width: 5.5rem;
    height: 5.5rem;
    padding: 0.75rem;
  }
  #aboutContent .about-quality-badge .text-3xl {
    font-size: 1.35rem;
  }
  #aboutContent .about-offer-badge {
    inset-inline-end: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
    padding: 1rem;
  }
}

/* ========== Single car detail polish ========== */
.car-detail-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #F5F7FA;
  color: #0B0B0C;
  border: 1px solid #D8DEE6;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.car-detail-nav:hover {
  background: #1868A0;
  border-color: #1868A0;
  color: #fff;
}
.thumbnail-btn {
  border-color: transparent;
  opacity: 0.72;
}
.thumbnail-btn.is-active {
  border-color: #1868A0 !important;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(24, 104, 160, 0.2);
}
.thumbnail-btn:hover {
  opacity: 1;
}
.car-detail-swatch {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid #D8DEE6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.car-detail-contact {
  border-radius: 12px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.car-detail-feat__ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: rgba(24, 104, 160, 0.1);
  color: #1868A0;
}
.car-detail-feat + .car-detail-feat {
  border-top: 1px solid #EEF1F4;
  padding-top: 0.85rem;
}

/* —— Error pages (404) —— */
.smart-error {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(24,104,160, 0.14), transparent 55%),
    linear-gradient(180deg, #faf9f7 0%, #f3f1ee 100%);
  min-height: min(72vh, 640px);
}
.smart-error__bg {
  position: absolute;
  inset: 0;
  background-image: url("../bg-pattern.svg");
  background-size: 420px;
  opacity: 0.04;
  pointer-events: none;
}
.smart-error__svg {
  width: min(100%, 360px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 18px 40px rgba(11,11,12, 0.12));
}
.smart-error__code-text {
  font-family: Outfit, "IBM Plex Sans Arabic", system-ui, sans-serif;
  font-size: 72px;
  font-weight: 800;
  fill: #0B0B0C;
  letter-spacing: -0.04em;
}
.smart-error__actions .tab-pill {
  border-radius: 8px;
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
.smart-error__hints button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
/* Failsafe: never hide 404 content if reveal class is added again */
.smart-error .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* —— Order form sections —— */
.order-form-section__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0B0B0C;
  letter-spacing: 0.02em;
}
.order-form-section__label::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #1868A0;
  flex-shrink: 0;
}
.order-form-section__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, transparent, #E5E7EB);
}
html[dir="ltr"] .order-form-section__label::after {
  background: linear-gradient(to right, transparent, #E5E7EB);
}
.order-form-fieldset {
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1.5px solid #DFE4EA;
  border-radius: 8px;
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
  background: #fafafa;
}
.order-form-fieldset legend {
  padding-inline: 0.25rem;
  float: none;
  width: auto;
}

.field.is-locked {
  background: #f4f6f8;
  color: #111928;
  cursor: default;
}
.field.is-invalid {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}
.order-form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  padding: 0.95rem 1.15rem;
  border-radius: 8px;
  border-top-left-radius: 22px;
  border-bottom-right-radius: 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
}
.order-form-alert[hidden] {
  display: none !important;
}
.order-form-alert.is-success {
  background: #eef8f1;
  border: 1.5px solid #b6dfc2;
  color: #146c3a;
}
.order-form-alert.is-error {
  background: #fdf3f2;
  border: 1.5px solid #f0c4c0;
  color: #b42318;
}
.order-form-alert__icon {
  flex-shrink: 0;
  margin-top: 1px;
}
.order-form-alert__text {
  flex: 1;
  min-width: 0;
}
.order-car-summary {
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
}
button.tab-pill.is-loading {
  opacity: 0.85;
  pointer-events: none;
}


