/* ============================================================
   Al Jazeera Car Accessories & Upholstery
   Design system: "Workshop Ticket" — warm charcoal + copper/brass,
   Fraunces display serif, Inter body, JetBrains Mono for spec labels.
   ============================================================ */

:root{
  /* Color */
  --ink:        #14110D;   /* page background — warm near-black */
  --panel:      #1E1812;   /* card / panel background */
  --panel-2:    #251E15;   /* raised / hovered panel */
  --steel:      #392F23;   /* borders, dividers */
  --steel-2:    #4A3D2C;   /* brighter border on hover */
  --copper:     #C1622A;   /* primary accent */
  --copper-brt: #DE7B3E;   /* copper hover/bright */
  --brass:      #E3A458;   /* secondary accent / highlights */
  --bone:       #F1EAE0;   /* primary text on dark */
  --mute:       #A79A89;   /* secondary text */
  --mute-2:     #756A5B;   /* tertiary / faint text */
  --whatsapp:   #25D366;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Layout */
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.65);
  --ease: cubic-bezier(.2,.7,.3,1);
}

*{ margin:0; padding:0; box-sizing:border-box; }

/* Custom scrollbar — copper, desktop only (Firefox + WebKit) */
@media (hover:hover) and (pointer:fine){
  html{
    scrollbar-width: thin;
    scrollbar-color: var(--copper) var(--panel);
  }
  ::-webkit-scrollbar{ width:11px; height:11px; }
  ::-webkit-scrollbar-track{ background: var(--panel); }
  ::-webkit-scrollbar-thumb{
    background: linear-gradient(180deg, var(--copper), var(--brass));
    border-radius: 20px;
    border: 2px solid var(--panel);
  }
  ::-webkit-scrollbar-thumb:hover{ background: var(--copper-brt); }
}

.sr-only{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

html{ scroll-behavior:smooth; }

body{
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 76px; /* clears fixed header */
}

body.rtl{ direction: rtl; }
body.ltr{ direction: ltr; }

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{ font-family: var(--font-display); font-weight:700; line-height:1.18; color:var(--bone); }

.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:24px; }

::selection{ background: var(--copper); color:var(--ink); }

/* Focus visibility (accessibility floor) */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior:auto !important; }
}

/* ============================================================
   Utility bits
   ============================================================ */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before{
  content:"";
  width: 16px; height: 1px;
  background: var(--brass);
  display: inline-block;
}

.section{ padding: 88px 0; }
.section + .section{ border-top: 1px solid var(--steel); }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h1,
.section-head h2{ font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 14px 0 12px; }
.section-head p{ color: var(--mute); font-size: 1.02rem; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before{ display:none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight:600; font-size: .95rem;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .18s var(--ease), background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{ background: var(--copper); color: var(--ink); }
.btn-primary:hover{ background: var(--copper-brt); }

.btn-outline{ background: transparent; color: var(--bone); border-color: var(--steel-2); }
.btn-outline:hover{ border-color: var(--copper); color: var(--copper-brt); }

.btn-whatsapp{ background: var(--whatsapp); color: #06210F; }
.btn-whatsapp:hover{ background: #2fe37a; }

.btn-sm{ padding: 9px 16px; font-size: .84rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  background: rgba(20,17,13,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--steel);
}
.header-inner{
  display:flex; align-items:center; gap:14px;
  min-height: 76px;
}
.logo{ display:flex; align-items:center; gap:12px; margin-inline-end:auto; flex-shrink:0; }
.logo img{ height:42px; width:auto; }
.logo-text strong{
  display:block; font-family: var(--font-display); font-weight:700;
  font-size: 1.05rem; color: var(--bone); white-space:nowrap;
}
.logo-text span{ display:block; font-size:.7rem; color:var(--mute); letter-spacing:.02em; white-space:nowrap; }

.nav{ display:flex; align-items:center; gap:2px; }
.nav a{
  padding: 9px 11px; border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--mute); font-weight:500;
  white-space: nowrap;
  transition: background .16s, color .16s;
}
.nav a:hover{ color: var(--bone); }
.nav a.active{ color: var(--ink); background: var(--copper); }

.lang-switcher{ display:flex; gap:4px; margin-inline-start:10px; }
.lang-btn{
  background: transparent; border:1px solid var(--steel);
  color: var(--mute); padding: 7px 9px; border-radius: 7px;
  cursor:pointer; font-size: .78rem; font-weight:600;
  font-family: var(--font-mono);
  transition: all .16s;
}
.lang-btn:hover{ border-color: var(--steel-2); color: var(--bone); }
.lang-btn.active{ background: var(--brass); border-color: var(--brass); color: var(--ink); }

.header-cta{ margin-inline-start:6px; }

.cat-menu-toggle{
  display:inline-flex; align-items:center; gap:8px;
  background:transparent; border:1px solid var(--steel-2);
  color:var(--bone); padding:9px 12px; border-radius:var(--radius-sm);
  cursor:pointer; font-size:.88rem; font-weight:500;
  white-space: nowrap;
  transition: border-color .16s, color .16s, background .16s;
  flex:0 0 auto;
}
.cat-menu-toggle:hover, .cat-menu-toggle.is-open{ border-color:var(--copper); color:var(--copper-brt); background:rgba(193,98,42,.08); }
.cat-menu-toggle i{ font-size:.9rem; }

.cat-mega-panel{
  position:absolute; top:100%; left:0; right:0; z-index:998;
  background:var(--panel); border-bottom:1px solid var(--steel);
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .3s var(--ease), opacity .22s ease;
  box-shadow:var(--shadow);
}
.cat-mega-panel.is-open{ max-height:calc(100vh - 150px); overflow-y:auto; opacity:1; }
.cat-mega-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:10px;
  padding:24px 0;
}
.cat-tile{
  display:flex; align-items:center; gap:12px;
  padding:14px 16px; background:var(--panel); border:1px solid var(--steel);
  border-radius:var(--radius-sm); color:var(--bone);
  transition:border-color .16s, box-shadow .16s, transform .3s var(--ease), opacity .3s ease;
  opacity:0; transform:translateY(8px);
}
.cat-mega-panel.is-open .cat-tile{ opacity:1; transform:translateY(0); }
.cat-mega-panel.is-open .cat-tile:hover{ transform:translateY(-4px); }
.cat-mega-grid .cat-tile:nth-child(n){ transition-delay: 0ms; }
.cat-mega-grid .cat-tile:nth-child(1){ transition-delay: 0ms; }
.cat-mega-grid .cat-tile:nth-child(2){ transition-delay: 18ms; }
.cat-mega-grid .cat-tile:nth-child(3){ transition-delay: 36ms; }
.cat-mega-grid .cat-tile:nth-child(4){ transition-delay: 54ms; }
.cat-mega-grid .cat-tile:nth-child(5){ transition-delay: 72ms; }
.cat-mega-grid .cat-tile:nth-child(6){ transition-delay: 90ms; }
.cat-mega-grid .cat-tile:nth-child(7){ transition-delay: 108ms; }
.cat-mega-grid .cat-tile:nth-child(8){ transition-delay: 126ms; }
.cat-mega-grid .cat-tile:nth-child(n+9){ transition-delay: 140ms; }
.cat-tile:hover{ border-color:var(--copper); transform:translateY(-4px); box-shadow:0 10px 24px -12px rgba(193,98,42,.45); }
.cat-tile i{ font-size:1.15rem; color:var(--brass); flex:0 0 auto; width:22px; text-align:center; }
.cat-tile-name{ flex:1; font-size:.9rem; }
.cat-tile-count{ font-family:var(--font-mono); font-size:.72rem; color:var(--mute-2); }

@media (max-width:980px){
  .cat-menu-toggle{
    order:0; padding:0; min-width:44px; min-height:44px;
    display:inline-flex; align-items:center; justify-content:center;
  }
  .cat-menu-toggle .cat-menu-label{ display:none; }
  .cat-mega-grid{ grid-template-columns:repeat(2,1fr); }
}

.menu-toggle{
  display:none; background:none; border:none; color:var(--bone);
  font-size:1.5rem; cursor:pointer; margin-inline-start:auto;
  width:44px; height:44px; align-items:center; justify-content:center;
  flex:0 0 auto;
}

@media (max-width: 980px){
  .header-inner{ flex-wrap:wrap; gap:10px; }
  .menu-toggle{ display:flex; order:2; }
  .logo{ order:1; margin-inline-end:0; }
  .logo-text strong{ font-size:.96rem; }
  /* Language switcher moves out of the top row (it's what was forcing a
     second row on phone-width screens, which pushed the header taller
     than the space reserved for it and let it overlap the hero below).
     It now lives inside the slide-down nav panel instead. */
  .lang-switcher{
    order:6; margin-inline-start:0; width:100%;
    max-height:0; overflow:hidden; opacity:0;
    justify-content:center;
    transition: max-height .25s var(--ease), opacity .2s ease;
  }
  .header-cta{ display:none; }
  .nav{
    order:5; width:100%;
    flex-direction:column; align-items:stretch; gap:2px;
    max-height:0; overflow:hidden;
    transition: max-height .25s var(--ease);
  }
  .nav.active{ max-height:520px; padding-bottom:14px; }
  .nav.active ~ .lang-switcher{ max-height:60px; opacity:1; margin-top:2px; padding-bottom:14px; }
  .nav a{
    padding:12px 14px;
    opacity:0; transform:translateX(-8px);
    transition: color .16s, background .16s, opacity .25s ease, transform .25s ease;
  }
  .nav.active a{ opacity:1; transform:translateX(0); }
  .nav.active a:nth-child(1){ transition-delay:30ms; }
  .nav.active a:nth-child(2){ transition-delay:60ms; }
  .nav.active a:nth-child(3){ transition-delay:90ms; }
  .nav.active a:nth-child(4){ transition-delay:120ms; }
  .nav.active a:nth-child(5){ transition-delay:150ms; }
  .nav.active a:nth-child(6){ transition-delay:180ms; }
}

@media (max-width: 340px){
  /* Very narrow phones (older/small devices): drop the tagline and
     tighten up further so the logo never forces a wrap on its own. */
  .logo-text span{ display:none; }
  .logo-text strong{ font-size:.88rem; }
}

/* ============================================================
   Ticket system (signature component)
   Used for: hero info panel, service cards, contact items,
   feature stamps. A dashed "stub" edge + a tag that reads like
   a workshop job-ticket.
   ============================================================ */
.ticket{
  position: relative;
  background: var(--panel);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: border-color .2s, transform .2s;
}
.ticket::before{
  content:"";
  position:absolute; inset-block:18px; inset-inline-start:0;
  width:1px;
  background-image: repeating-linear-gradient(to bottom, var(--copper) 0 6px, transparent 6px 15px);
  opacity:.6;
}
.ticket-tag{
  position:absolute; top:-11px; inset-inline-start:22px;
  background: var(--copper); color: var(--ink);
  font-family: var(--font-mono); font-size:10.5px; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase;
  padding:4px 10px; border-radius:5px;
}
.ticket-icon{
  width:44px; height:44px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(193,98,42,.14); color: var(--brass);
  font-size:1.15rem; margin-bottom:16px;
}
.ticket h3{ font-size:1.15rem; margin-bottom:8px; }
.ticket p{ color: var(--mute); font-size:.92rem; line-height:1.65; }

/* ============================================================
   Phone numbers popup (Contact page)
   Lets a visitor pick from all of the shop's numbers instead of
   just the one primary WhatsApp number.
   ============================================================ */
.phone-numbers-toggle{
  display:inline-flex; align-items:center; gap:8px;
  background:transparent; border:1px solid var(--steel-2);
  color:var(--bone); padding:9px 16px; border-radius:var(--radius-sm);
  cursor:pointer; font-size:.84rem; font-weight:600;
  font-family: var(--font-body);
  margin-top:10px; margin-inline-start:8px;
  transition: border-color .16s, color .16s, background .16s;
}
.phone-numbers-toggle:hover{ border-color:var(--copper); color:var(--copper-brt); background:rgba(193,98,42,.08); }

.phone-modal-overlay{
  position:fixed; inset:0; z-index:2000;
  background:rgba(20,17,13,.75);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:0; visibility:hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.phone-modal-overlay.is-open{ opacity:1; visibility:visible; }
.phone-modal{
  position:relative;
  background:var(--panel); border:1px solid var(--steel);
  border-radius:var(--radius);
  padding:30px 26px 26px;
  width:100%; max-width:360px;
  box-shadow:var(--shadow);
  transform:translateY(12px);
  transition:transform .25s var(--ease);
}
.phone-modal-overlay.is-open .phone-modal{ transform:translateY(0); }
.phone-modal::before{
  content:"";
  position:absolute; inset-block:18px; inset-inline-start:0;
  width:1px;
  background-image: repeating-linear-gradient(to bottom, var(--copper) 0 6px, transparent 6px 15px);
  opacity:.6;
}
.phone-modal h3{ font-size:1.1rem; margin-bottom:18px; }
.phone-modal-close{
  position:absolute; top:14px; inset-inline-end:14px;
  background:transparent; border:none; color:var(--mute);
  font-size:1.5rem; line-height:1; cursor:pointer; padding:4px;
}
.phone-modal-close:hover{ color:var(--bone); }
.phone-modal-list{ display:flex; flex-direction:column; gap:10px; }
.phone-modal-row{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  border:1px solid var(--steel); border-radius:var(--radius-sm);
  padding:12px 14px;
  transition: border-color .16s;
}
.phone-modal-row:hover{ border-color:var(--copper); }
.phone-modal-person{ display:flex; flex-direction:column; gap:4px; }
.phone-modal-name{
  font-family:var(--font-body); font-size:.8rem; font-weight:700;
  color:var(--brass); direction:ltr;
}
.phone-modal-number{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:.92rem; color:var(--bone);
  direction:ltr;
}
.phone-modal-number i{ color:var(--brass); }
.phone-modal-wa{
  display:flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:50%;
  background:var(--whatsapp); color:#06210F; font-size:1rem; flex:0 0 auto;
  transition: background .16s;
}
.phone-modal-wa:hover{ background:#2fe37a; }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  padding: 64px 0 88px;
  background:
    radial-gradient(650px 400px at 88% -10%, rgba(193,98,42,.16), transparent 65%),
    var(--ink);
  position:relative;
}
.hero-inner{
  display:grid; grid-template-columns: 1.15fr .85fr;
  gap:56px; align-items:start;
  position:relative; z-index:2;
}

/* Rotating product-photo backdrop */
.hero-slideshow{
  position:absolute; inset:0;
  overflow:hidden;
  z-index:0;
  background: var(--ink);
}
.hero-slideshow-img{
  position:absolute; top:0; left:0; right:0;
  width:100%; height:100%;
  max-height:620px; /* keeps the photo a recognizable landscape crop instead
                        of stretching to the full (much taller) mobile hero */
  object-fit:cover;
  opacity:0;
  transition: opacity 1.1s ease;
}
.hero-slideshow-img.is-visible{ opacity:1; }
.hero-slideshow-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(20,17,13,.5) 0%, rgba(20,17,13,.6) 45%, rgba(20,17,13,.9) 100%),
    linear-gradient(100deg, rgba(20,17,13,.72) 0%, rgba(20,17,13,.32) 45%, rgba(20,17,13,.78) 100%);
}
@media (prefers-reduced-motion: reduce){
  .hero-slideshow-img{ transition: opacity .4s ease; }
}

/* Fullscreen trigger — the only place slideshow prev/next controls live */
.hero-fullscreen-btn{
  position:absolute; top:16px; inset-inline-end:16px; z-index:3;
  display:flex; align-items:center; gap:8px;
  padding:9px 16px;
  background:rgba(20,17,13,.55);
  border:1px solid rgba(227,164,88,.35);
  border-radius:999px;
  color:var(--bone); font-family:var(--font-body); font-size:.82rem; font-weight:600;
  cursor:pointer; backdrop-filter:blur(4px);
  transition: border-color .16s, background .16s;
}
.hero-fullscreen-btn i{ color:var(--brass); font-size:.85rem; }
.hero-fullscreen-btn:hover{ border-color:var(--copper); background:rgba(20,17,13,.8); }
@media (max-width:600px){
  .hero-fullscreen-btn span{ display:none; }
  .hero-fullscreen-btn{ padding:10px; }
  .hero-fullscreen-btn i{ font-size:1rem; }
}

/* Fullscreen slideshow lightbox */
.hero-lightbox-overlay{
  position:fixed; inset:0; z-index:2200;
  background:rgba(10,8,6,.96);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.hero-lightbox-overlay.is-open{ opacity:1; visibility:visible; }
.hero-lightbox-stage{
  position:relative;
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  padding:64px 84px;
}
.hero-lightbox-img{
  max-width:100%; max-height:100%;
  object-fit:contain;
  opacity:0;
  transition: opacity .3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.hero-lightbox-img.is-visible{ opacity:1; }
.hero-lightbox-close{
  position:absolute; top:18px; inset-inline-end:20px; z-index:2;
  background:transparent; border:none; color:var(--mute);
  font-size:2.2rem; line-height:1; cursor:pointer; padding:6px;
}
.hero-lightbox-close:hover{ color:var(--bone); }
.hero-lightbox-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:48px; height:48px; border-radius:50%; border:1px solid rgba(227,164,88,.3);
  background:rgba(255,255,255,.06); color:var(--bone);
  display:flex; align-items:center; justify-content:center;
  font-size:1.05rem; cursor:pointer;
  transition: background .16s, border-color .16s;
}
.hero-lightbox-arrow:hover{ background:rgba(193,98,42,.35); border-color:var(--copper); }
.hero-lightbox-arrow.prev{ left:18px; }
.hero-lightbox-arrow.next{ right:18px; }
.hero-lightbox-counter{
  position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
  font-family:var(--font-mono); font-size:.82rem; color:var(--mute); letter-spacing:.03em;
}
@media (max-width:600px){
  .hero-lightbox-stage{ padding:56px 16px; }
  .hero-lightbox-arrow{ width:40px; height:40px; font-size:.9rem; }
  .hero-lightbox-arrow.prev{ left:8px; }
  .hero-lightbox-arrow.next{ right:8px; }
}
body.hero-lightbox-open{ overflow:hidden; }
@media (prefers-reduced-motion: reduce){
  .hero-lightbox-img{ transition:none; }
}
.hero-copy .eyebrow{ margin-bottom:18px; }
.hero-copy h1{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom:20px;
}
.hero-copy h1 em{ color: var(--copper-brt); font-style: italic; }
.hero-copy p{ color: var(--mute); font-size:1.08rem; max-width:520px; margin-bottom:32px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }

.hero-stats{ display:flex; gap:36px; margin-top:36px; }
.hero-stat{ display:flex; flex-direction:column; }
.hero-stat-num{
  font-family:var(--font-display); font-weight:700;
  font-size:2rem; color:var(--brass); line-height:1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label{ font-size:.82rem; color:var(--mute); margin-top:6px; }
@media (max-width:600px){
  .hero-stats{ gap:24px; }
  .hero-stat-num{ font-size:1.6rem; }
}

.hero-ticket{ padding-top:34px; }
.hero-ticket-row{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  padding: 14px 0;
  border-top: 1px dashed var(--steel-2);
}
.hero-ticket-row:first-of-type{ border-top:none; padding-top:0; }
.hero-ticket-row .t-label{
  font-family: var(--font-mono); font-size:10.5px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--mute-2);
}
.hero-ticket-row .t-value{ font-size:.92rem; text-align:end; color:var(--bone); }
.hero-ticket-row .t-value a:hover{ color: var(--copper-brt); }

@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
}

/* ============================================================
   Services grid
   ============================================================ */
.services-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:20px;
}
.service-ticket .btn{ margin-top:18px; }
@media (max-width: 900px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .services-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list{
  display:flex; flex-direction:column; gap:16px;
  max-width:760px; margin-inline:auto;
}
.faq-item h3{ font-size:1.05rem; margin-bottom:8px; }
.faq-item p{ margin:0; }

/* ============================================================
   About page
   ============================================================ */
.about-grid{
  display:grid; grid-template-columns: 1.2fr .8fr; gap:56px; align-items:start;
}
.about-copy p{ color:var(--mute); margin-bottom:16px; font-size:1.02rem; }
.about-features{
  display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-top:28px;
}
.feature-stamp{
  display:flex; align-items:center; gap:12px;
  padding:14px 16px; background:var(--panel); border:1px solid var(--steel);
  border-radius: var(--radius-sm);
}
.feature-stamp i{ color:var(--brass); font-size:1.05rem; }
.feature-stamp span{ font-size:.9rem; }

.about-card{ text-align:center; padding:44px 30px; }
.about-card .ticket-icon{ margin-inline:auto; width:64px; height:64px; font-size:1.6rem; border-radius:14px; }
.about-card h3{ margin: 18px 0 6px; }
.about-card p{ margin-bottom:24px; }

@media (max-width: 900px){
  .about-grid{ grid-template-columns:1fr; }
  .about-features{ grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid{
  display:grid; grid-template-columns: .9fr 1.1fr; gap:32px; align-items:start;
}
.contact-info{ display:flex; flex-direction:column; gap:16px; }
.contact-item{ display:flex; gap:16px; align-items:flex-start; }
.contact-item .ticket-icon{ flex:0 0 auto; margin-bottom:0; }
.contact-item h4{ font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--mute-2); margin-bottom:6px; font-weight:600; }
.contact-item p{ color:var(--bone); font-size:.98rem; }
.contact-item p a:hover{ color:var(--copper-brt); }
.contact-item .btn{ margin-top:10px; }

.map-frame{
  border-radius: var(--radius); overflow:hidden; border:1px solid var(--steel);
  min-height: 420px;
}
.map-frame iframe{ width:100%; height:100%; min-height:420px; border:0; filter: grayscale(.25) contrast(1.05); }

@media (max-width: 900px){
  .contact-grid{ grid-template-columns:1fr; }
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:18px;
}
.gallery-slot{
  aspect-ratio: 4/3;
  border: 1.5px dashed var(--steel-2);
  border-radius: var(--radius);
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:var(--mute-2);
  background: var(--panel);
  transition: border-color .2s, color .2s;
}
.gallery-slot:hover{ border-color:var(--copper); color:var(--brass); }
.gallery-slot i{ font-size:1.8rem; margin-bottom:10px; display:block; }
.gallery-slot span{ font-size:.82rem; }

@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   Gallery showcase — 6-zone swipeable carousel
   Forced LTR so "top-left / top-right" placement is literal on
   screen even though the rest of the site is RTL Arabic.
   ============================================================ */
.gallery-showcase{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap:18px;
  direction:ltr;
}
.gallery-cell{
  position:relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--panel);
  border:1.5px solid var(--steel-2);
  touch-action: pan-y;
  cursor:grab;
}
.gallery-cell.dragging{ cursor:grabbing; }
.gallery-track{
  display:flex;
  height:100%;
  transition: transform .35s ease;
  will-change: transform;
}
.gallery-slide{
  flex: 0 0 100%;
  height:100%;
  position:relative;
}
.gallery-slide img{
  width:100%; height:100%; object-fit:cover; display:block;
  user-select:none; -webkit-user-drag:none; pointer-events:none;
  opacity:0; animation: gallerySlideFadeIn .3s ease forwards;
}
@keyframes gallerySlideFadeIn{ from{ opacity:0; } to{ opacity:1; } }
@media (prefers-reduced-motion: reduce){
  .gallery-slide img{ animation:none; opacity:1; }
}
.gallery-slide.placeholder{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:var(--mute-2); gap:8px; height:100%; text-align:center;
}
.gallery-slide.placeholder i{ font-size:1.8rem; }
.gallery-slide.placeholder span{ font-size:.82rem; direction:rtl; }
.gallery-cell-label{
  position:absolute; left:0; bottom:0; width:100%;
  background:linear-gradient(to top, rgba(0,0,0,.65), transparent);
  color:#fff; padding:16px 14px 10px; font-weight:600; font-size:.95rem;
  pointer-events:none;
}
.gallery-cell-counter{
  position:absolute; top:10px; right:10px;
  background:rgba(0,0,0,.55); color:#fff; font-size:.72rem;
  padding:2px 9px; border-radius:20px; font-family:var(--font-mono), monospace;
  pointer-events:none; letter-spacing:.02em;
}
.gallery-cell-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:32px; height:32px; border-radius:50%; border:none;
  background:rgba(0,0,0,.45); color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer; opacity:0; transition:opacity .2s, background .2s; z-index:2;
}
.gallery-cell-arrow:hover{ background:rgba(0,0,0,.7); }
.gallery-cell:hover .gallery-cell-arrow{ opacity:1; }
.gallery-cell-arrow.prev{ left:8px; }
.gallery-cell-arrow.next{ right:8px; }

@media (max-width: 900px){
  .gallery-showcase{ grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,1fr); }
  .gallery-cell-arrow{ opacity:1; }
}
@media (max-width: 560px){
  .gallery-showcase{ grid-template-columns: 1fr; grid-template-rows: none; }
}

/* ============================================================
   Product examples (products.html)
   ============================================================ */
.products-notice{
  max-width:760px; margin:0 auto 36px; text-align:center;
  padding:14px 20px; background:var(--panel); border:1px solid var(--steel);
  border-radius:var(--radius-sm); color:var(--mute); font-size:.9rem; line-height:1.6;
}
.products-notice i{ color:var(--brass); margin-inline-end:6px; }
.product-group{ margin-bottom:44px; }
.product-group-heading{
  display:flex; align-items:center; gap:10px;
  font-size:1.15rem; margin-bottom:18px;
  padding-bottom:12px; border-bottom:1px solid var(--steel);
}
.product-group-heading i{ color:var(--brass); font-size:1rem; }
.product-group-count{
  font-family:var(--font-mono); font-size:.78rem; color:var(--mute-2);
  background:var(--panel); border:1px solid var(--steel);
  padding:2px 9px; border-radius:20px; margin-inline-start:4px;
}
.products-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
}
.product-card{
  position:relative;
  background:var(--panel); border:1px solid var(--steel); border-radius:var(--radius);
  overflow:hidden;
  transition:border-color .2s, transform .2s;
}
.product-card:hover{ border-color:var(--copper); transform:translateY(-4px); box-shadow:0 10px 24px -12px rgba(193,98,42,.45); }
.product-card-img{ aspect-ratio:4/3; background:#000; overflow:hidden; }
.product-card-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.product-card-body{ padding:16px; }
.product-card-body h4{
  font-family:var(--font-body); font-weight:600; font-size:.92rem;
  color:var(--bone); line-height:1.4; margin-bottom:14px; min-height:2.6em;
}
.product-card-actions{ display:flex; gap:8px; }
.product-card-actions .btn-outline{ flex:1; justify-content:center; padding:8px 10px; font-size:.78rem; }
.product-card-actions .btn-whatsapp{ padding:8px 12px; }

@media (max-width:1100px){ .products-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .products-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .products-grid{ grid-template-columns:1fr; } }

/* ============================================================
   Inventory page (functional IDs/classes required by
   js/inventory-search.js — kept intact, restyled here)
   ============================================================ */
.inventory-hero{ padding: 20px 0 8px; }

.search-box-wrap{ position:relative; max-width:640px; margin: 0 auto 22px; }
.search-box-wrap input{
  width:100%;
  padding: 16px 44px 16px 52px;
  font-size: 1.02rem;
  border: 1.5px solid var(--steel-2);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--bone);
  outline:none;
  font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
body.rtl .search-box-wrap input{ padding: 16px 52px 16px 44px; }
.search-box-wrap input:focus{ border-color: var(--copper); box-shadow: 0 0 0 3px rgba(193,98,42,.18); }
.search-box-wrap input::placeholder{ color: var(--mute-2); }
.search-icon{
  position:absolute; top:50%; left:18px; transform:translateY(-50%);
  color: var(--copper); font-size:1.1rem; pointer-events:none;
}
body.rtl .search-icon{ left:auto; right:18px; }

/* Clear (×) button inside the search input — sits opposite the search icon */
.search-clear-btn{
  position:absolute; top:50%; right:14px; transform:translateY(-50%);
  width:26px; height:26px; border-radius:50%; border:none;
  background:transparent; color:var(--mute); cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:.85rem;
  transition: background .15s, color .15s;
}
.search-clear-btn:hover{ background:var(--steel); color:var(--bone); }
body.rtl .search-clear-btn{ right:auto; left:14px; }

.vehicle-select-wrap{
  position:relative; max-width:640px; margin:0 auto 22px;
  display:flex; align-items:center; gap:10px;
}
.vehicle-select-icon{ color:var(--brass); font-size:1rem; flex:0 0 auto; margin-inline-start:2px; }
#vehicleSelect{
  flex:1; min-width:0;
  padding:14px 16px;
  font-size:.98rem;
  border:1.5px solid var(--steel-2);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--bone);
  outline:none;
  font-family: var(--font-body);
  cursor:pointer;
  transition: border-color .2s, box-shadow .2s;
}
#vehicleSelect:focus{ border-color: var(--copper); box-shadow: 0 0 0 3px rgba(193,98,42,.18); }
.vehicle-clear-btn{
  display:inline-flex; align-items:center; gap:6px; flex:0 0 auto;
  padding:12px 14px; font-size:.85rem; font-weight:600;
  background:transparent; border:1.5px solid var(--steel-2); border-radius:var(--radius-sm);
  color:var(--mute); cursor:pointer; transition:all .18s; white-space:nowrap;
}
.vehicle-clear-btn:hover{ border-color:var(--copper); color:var(--copper-brt); }

/* Quick filters row: "Available only" toggle + "Clear all" button */
.quick-filters{
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap;
  gap:10px; max-width:640px; margin:0 auto 22px;
}
.avail-toggle{
  display:inline-flex; align-items:center; gap:9px;
  padding:10px 16px 10px 12px; background:var(--panel);
  border:1.5px solid var(--steel-2); border-radius:var(--radius-sm);
  color:var(--mute); font-size:.88rem; font-weight:600; cursor:pointer;
  font-family:var(--font-body); transition: border-color .18s, color .18s, background .18s;
}
body.rtl .avail-toggle{ padding:10px 12px 10px 16px; }
.avail-toggle:hover{ border-color:var(--copper); color:var(--bone); }
.avail-toggle-box{
  width:18px; height:18px; flex:0 0 auto; border-radius:5px;
  border:1.5px solid var(--steel-2); background:var(--ink);
  display:flex; align-items:center; justify-content:center;
  color:transparent; font-size:.62rem; transition: all .18s;
}
.avail-toggle.active{ border-color:#4ADE80; color:#4ADE80; background:rgba(74,222,128,.1); }
.avail-toggle.active .avail-toggle-box{
  background:#4ADE80; border-color:#4ADE80; color:#06210F;
}
.avail-toggle-count{ color:var(--mute-2); font-family:var(--font-mono); font-size:.78rem; }
.avail-toggle.active .avail-toggle-count{ color:#4ADE80; }

.clear-filters-btn{
  display:inline-flex; align-items:center; gap:7px;
  padding:10px 15px; background:transparent;
  border:1.5px dashed var(--steel-2); border-radius:var(--radius-sm);
  color:var(--mute); font-size:.85rem; font-weight:600; cursor:pointer;
  font-family:var(--font-body); transition: all .18s;
}
.clear-filters-btn:hover{ border-color:var(--copper); color:var(--copper-brt); }

.search-limit-note{
  text-align:center; color:var(--mute-2); font-size:.82rem;
  font-family:var(--font-mono); margin:-10px auto 20px; max-width:640px;
}

.suggestions{
  display:none;
  position:absolute; top:calc(100% + 8px); left:0; right:0;
  background: var(--panel-2);
  border: 1px solid var(--steel-2);
  border-radius: var(--radius-sm);
  max-height: 320px; overflow-y:auto;
  z-index:50; box-shadow: var(--shadow);
}
.suggestions.show{ display:block; }
.suggestions .sug-item{
  padding: 12px 18px; cursor:pointer;
  border-bottom: 1px solid var(--steel);
  color: var(--bone); font-size:.94rem;
  display:flex; align-items:center; gap:10px;
}
.suggestions .sug-item:last-child{ border-bottom:none; }
.suggestions .sug-item:hover, .suggestions .sug-item.active{
  background: rgba(193,98,42,.14); color:#fff;
}
.suggestions .sug-item .match{ color: var(--copper-brt); font-weight:700; }
.suggestions .sug-hint{
  padding: 10px 18px; color: var(--mute-2); font-size:.8rem;
  border-bottom: 1px solid var(--steel);
  font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.06em;
}

.inventory-meta{
  text-align:center; color: var(--mute); margin-bottom:22px; font-size:.92rem;
  font-family: var(--font-mono);
}
.inventory-meta strong{ color: var(--brass); }

.category-chips{
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
  margin: 0 auto 30px; max-width:900px;
  min-height:130px;
}
.chip{
  padding: 8px 15px; background: var(--panel);
  border:1px solid var(--steel-2); border-radius:20px;
  color: var(--mute); font-size:.8rem; cursor:pointer;
  font-family: var(--font-mono);
  transition: all .18s;
}
.chip:hover{ border-color: var(--copper); color:var(--bone); }
.chip.active{ background: var(--copper); border-color: var(--copper); color: var(--ink); font-weight:700; }

.results-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap:14px;
  min-height:500px; /* pre-JS skeleton only — see .is-live below */
  align-content:start;
}
/* Once inventory-search.js has rendered real results, the fixed 500px
   reservation is no longer needed (that was only to stop the initial
   skeleton→content swap from shifting the footer). Left in place
   permanently it caused a large empty gap under short result sets
   whenever someone searched or filtered — this removes that gap while
   keeping the original CLS fix for first paint intact. */
.results-grid.is-live{ min-height:0; }
.inv-card{
  background: var(--panel); border:1px solid var(--steel);
  border-radius: var(--radius-sm); padding:16px 18px;
  transition: border-color .2s, transform .2s;
}
.inv-card:hover{ border-color: var(--copper); transform: translateY(-4px); box-shadow:0 10px 24px -12px rgba(193,98,42,.45); }
.inv-card h4{ font-family:var(--font-body); font-weight:600; font-size:.95rem; color:var(--bone); line-height:1.4; margin-bottom:10px; unicode-bidi:plaintext; text-align:start; }

/* Availability dot — green "Available" / yellow "Might be available".
   No quantity or price is ever shown, just this status. */
.stock-badge{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-body); font-size:.7rem; font-weight:700;
  letter-spacing:.02em; margin-bottom:8px; unicode-bidi:plaintext;
}
.stock-badge .stock-dot{
  width:8px; height:8px; border-radius:50%; flex:0 0 auto;
}
.stock-badge.available{ color:#4ADE80; }
.stock-badge.available .stock-dot{ background:#4ADE80; box-shadow:0 0 0 3px rgba(74,222,128,.2); }
.stock-badge.maybe{ color:#F0C043; }
.stock-badge.maybe .stock-dot{ background:#F0C043; box-shadow:0 0 0 3px rgba(240,192,67,.2); }
.inv-card .ask-btn{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; background: var(--whatsapp); color:#06210F;
  border-radius:7px; font-size:.82rem; font-weight:600;
  transition: filter .18s;
}
.inv-card .ask-btn:hover{ filter:brightness(1.08); }

/* Skeleton placeholders shown before JS populates chips/results */
@keyframes skelPulse{ 0%,100%{ opacity:.5; } 50%{ opacity:1; } }
.chip-skel{
  width:88px; height:32px; border-radius:20px;
  background:var(--panel-2); border:1px solid var(--steel);
  animation: skelPulse 1.4s ease-in-out infinite;
}
.inv-card-skel{
  height:96px; border-radius:var(--radius-sm);
  background:var(--panel-2); border:1px solid var(--steel);
  animation: skelPulse 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .chip-skel, .inv-card-skel{ animation:none; }
}

/* Fade-in for freshly rendered inventory cards */
@keyframes cardFadeIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
.inv-card{ animation: cardFadeIn .28s ease both; }
.inv-card:nth-child(1){ animation-delay:0ms; }
.inv-card:nth-child(2){ animation-delay:15ms; }
.inv-card:nth-child(3){ animation-delay:30ms; }
.inv-card:nth-child(4){ animation-delay:45ms; }
.inv-card:nth-child(5){ animation-delay:60ms; }
.inv-card:nth-child(6){ animation-delay:75ms; }
.inv-card:nth-child(n+7){ animation-delay:90ms; }
@media (prefers-reduced-motion: reduce){
  .inv-card{ animation:none; }
}

.no-results{ text-align:center; padding:50px 20px; color:var(--mute); }
.no-results i{ font-size:2.2rem; color:var(--copper); margin-bottom:12px; display:block; }

@media (max-width:600px){
  .results-grid{ grid-template-columns:1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background: var(--panel); border-top:1px solid var(--steel); padding: 56px 0 0; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr .8fr .8fr; gap:40px;
  padding-bottom: 40px; border-bottom:1px solid var(--steel);
}
.footer-brand h3{ font-size:1.15rem; margin-bottom:10px; }
.footer-brand p{ color:var(--mute); font-size:.92rem; max-width:320px; }
.footer-col h4{
  font-family: var(--font-mono); font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--mute-2); margin-bottom:16px; font-weight:600;
}
.footer-links{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-links a{ color:var(--mute); font-size:.92rem; transition:color .16s; }
.footer-links a:hover{ color:var(--copper-brt); }
.footer-bottom{
  padding: 20px 0; text-align:center; color:var(--mute-2); font-size:.82rem;
}

@media (max-width: 760px){
  .footer-grid{ grid-template-columns: repeat(2,1fr); gap:32px 24px; }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; gap:28px; }
}

/* ============================================================
   Floating action buttons
   ============================================================ */
.floating-cluster{
  position:fixed; bottom:22px; inset-inline-end:22px; z-index:900;
  display:flex; flex-direction:column; gap:12px; align-items:center;
}
.fbtn{
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease);
  font-size:1.3rem;
}
.fbtn:hover{ transform: translateY(-3px) scale(1.04); }
.fbtn-whatsapp{ background: var(--whatsapp); color:#06210F; }
.fbtn-instagram{ background: var(--panel-2); color:var(--bone); border:1px solid var(--steel-2); }

@media (max-width:600px){
  .floating-cluster{ bottom:16px; inset-inline-end:16px; }
  .fbtn{ width:46px; height:46px; font-size:1.1rem; }
}

/* ============================================================
   Motion system
   - Scroll progress rail under the header (tachometer-style)
   - Scroll reveal for sections/cards (one-time, staggered)
   - Idle ambient motion: hero light sweep, accent glow pulse,
     floating badge bob. All disabled under reduced-motion via
     the global rule near the top of this file.
   ============================================================ */

.scroll-rail{
  position:fixed; top:0; left:0; height:3px; width:100%;
  background:transparent; z-index:1100; pointer-events:none;
}
.scroll-rail-fill{
  height:100%; width:0%;
  background: linear-gradient(90deg, var(--copper), var(--brass));
  box-shadow: 0 0 12px 0 rgba(193,98,42,.55);
  transition: width .08s linear;
}

[data-reveal]{
  opacity:0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible{
  opacity:1;
  transform: translateY(0);
}

@keyframes heroSweep{
  0%   { background-position: -40% 0%; }
  100% { background-position: 140% 0%; }
}
.hero{
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(100deg, transparent 40%, rgba(193,98,42,.07) 48%, rgba(227,164,88,.06) 52%, transparent 60%);
  background-size: 220% 100%;
  animation: heroSweep 9s ease-in-out infinite;
  pointer-events:none;
  z-index:1;
}
/* Faint grain texture — reinforces the workshop/garage feel */
.hero::before{
  content:"";
  position:absolute; inset:-20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.05;
  mix-blend-mode: overlay;
  pointer-events:none;
  z-index:1;
}
@keyframes ticketEnter{ from{ opacity:0; transform:translateY(24px); } to{ opacity:1; transform:translateY(0); } }
.hero-ticket{ will-change: transform; animation: ticketEnter .7s var(--ease) .1s both; }
@media (prefers-reduced-motion: reduce){
  .hero-ticket{ animation:none; }
}

@keyframes accentGlow{
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,98,42,.35); }
  50%      { box-shadow: 0 0 18px 3px rgba(193,98,42,.35); }
}
.btn:not(.btn-outline):not(.btn-whatsapp){
  animation: accentGlow 3.2s ease-in-out infinite;
}

@keyframes floatBob{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.floating-cluster .fbtn{
  animation: floatBob 4.5s ease-in-out infinite;
}
.floating-cluster .fbtn:nth-child(2){ animation-delay: .6s; }
.floating-cluster .fbtn:hover{ animation-play-state: paused; }


