/* =========================================================
   Al Jaeza Auto Seats Upholstery & Accessories — jaezaseats.store
   Palette taken from the client's logo: black cabin, signature
   red, silver type, and the UAE-flag green of the badge ring.
   Mobile-first. Change colours only through these tokens.
   ========================================================= */
:root {
  --brand-900: #6E0A12;
  --brand-800: #A50F1A;
  --brand-700: #C8141F;
  --brand-600: #E0212B;
  --brand-100: #FBE4E5;
  --brand-50: #FDF4F4;
  --accent: #0B8A3E;
  /* UAE green from the badge ring */
  --wa: #25D366;
  --wa-dark: #128C4B;

  --night: #0C0C0E;
  --night-2: #141417;
  --night-3: #1D1D21;
  --silver: #C9CBD1;
  --paper: #F6F5F2;
  --white: #FFFFFF;

  --ink: #121216;
  --body: #4A4C55;
  --muted: #8C8F99;
  --line: #E3E1DC;
  --line-dark: rgba(255, 255, 255, .12);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 12, 14, .06), 0 2px 8px rgba(12, 12, 14, .05);
  --shadow-md: 0 8px 24px rgba(12, 12, 14, .10);
  --shadow-lg: 0 24px 60px rgba(12, 12, 14, .28);
  --wrap: 1200px;

  --f-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* 1.25 type scale */
  --t-sm: .875rem;
  --t-base: 1rem;
  --t-md: clamp(1.1rem, 1.05rem + .25vw, 1.25rem);
  --t-lg: clamp(1.25rem, 1.15rem + .5vw, 1.563rem);
  --t-xl: clamp(1.563rem, 1.3rem + 1.2vw, 1.953rem);
  --t-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.052rem);
  --t-3xl: clamp(2.6rem, 1.7rem + 4.4vw, 4.768rem);

  --section: 66px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* diamond quilting — the stitch pattern on the seats */
  --quilt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 0L44 22 22 44 0 22z' fill='none' stroke='white' stroke-opacity='.07' stroke-dasharray='3 3'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  :root { --section: 88px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  padding-block-end: 68px; /* room for the sticky mobile bar */
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.05;
  margin: 0;
  letter-spacing: .005em;
}
h2 { font-size: var(--t-2xl); font-weight: 800; text-transform: uppercase; }
h3 { font-size: var(--t-lg); font-weight: 700; }
p { margin: 0; }
address { font-style: normal; }
svg { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip-link {
  position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 200;
  background: var(--brand-600); color: var(--white); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 12px; }

:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 20px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: .975rem; line-height: 1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: var(--night); box-shadow: 0 8px 22px rgba(37, 211, 102, .28); }
.btn-wa:hover { background: var(--wa-dark); color: var(--white); }
.btn-red { background: var(--brand-600); color: var(--white); box-shadow: 0 8px 22px rgba(224, 33, 43, .3); }
.btn-red:hover { background: var(--brand-800); }
.btn-outline { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn-ghost { color: var(--white); padding-inline: 12px; }
.btn-ghost:hover { color: var(--brand-600); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b {
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .06em;
}
.brand-txt b em { font-style: normal; color: var(--brand-600); }
.brand-txt small {
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--silver); margin-block-start: 4px;
}

/* ---------- header ---------- */
.site-head {
  position: sticky; inset-block-start: 0; z-index: 50;
  background: rgba(12, 12, 14, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line-dark);
  transition: box-shadow .3s;
}
.site-head.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.bar { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.bar .brand { margin-inline-end: auto; }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line-dark); border-radius: 12px;
  background: transparent; cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: width .3s var(--ease); }
.burger span:nth-child(2) { width: 70%; background: var(--brand-600); }
.burger:hover span:nth-child(2) { width: 100%; }

.nav { display: none; }
.head-cta { display: flex; align-items: center; gap: 4px; }
.head-call { display: none; }
.head-cta .btn-wa { min-height: 42px; padding: 10px 14px; }
.head-cta .btn-wa span { display: none; }

@media (min-width: 480px) {
  .head-cta .btn-wa span { display: inline; }
}
@media (min-width: 1000px) {
  .burger { display: none; }
  .nav { display: flex; gap: 4px; margin-inline: auto; }
  .nav a {
    position: relative; padding: 10px 12px; color: var(--silver); text-decoration: none;
    font-weight: 500; font-size: .95rem; transition: color .2s;
  }
  .nav a::after {
    content: ""; position: absolute; inset-inline: 12px; inset-block-end: 4px; height: 2px;
    background: var(--brand-600); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav a:hover, .nav a.active { color: var(--white); }
  .nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
  .bar .brand { margin-inline-end: 0; }
}
@media (min-width: 1180px) {
  .head-call { display: inline-flex; }
}

/* ---------- drawer (slides in from the left) ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55);
  opacity: 0; transition: opacity .4s var(--ease);
}
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 100;
  width: min(86vw, 340px);
  display: flex; flex-direction: column;
  background: var(--night) var(--quilt);
  border-inline-end: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
  overscroll-behavior: contain;
}
[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer.open { transform: translateX(0); visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 16px 20px; border-block-end: 1px solid var(--line-dark);
}
.dclose {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center;
}
.dclose svg { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.drawer-nav { display: flex; flex-direction: column; padding: 12px 8px; }
.drawer-nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 12px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase;
  color: var(--white); text-decoration: none; border-radius: 10px;
  opacity: 0; transform: translateX(-16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .2s;
}
.drawer-nav a span { font-size: .8rem; color: var(--brand-600); letter-spacing: .1em; }
.drawer-nav a:hover { background: rgba(255, 255, 255, .05); }
.drawer.open .drawer-nav a { opacity: 1; transform: none; }
.drawer.open .drawer-nav a:nth-child(1) { transition-delay: .08s; }
.drawer.open .drawer-nav a:nth-child(2) { transition-delay: .12s; }
.drawer.open .drawer-nav a:nth-child(3) { transition-delay: .16s; }
.drawer.open .drawer-nav a:nth-child(4) { transition-delay: .20s; }
.drawer.open .drawer-nav a:nth-child(5) { transition-delay: .24s; }
.drawer-foot { margin-block-start: auto; padding: 20px; display: grid; gap: 10px; }
.drawer-foot p { text-align: center; color: var(--muted); font-size: var(--t-sm); margin-block-start: 4px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(224, 33, 43, .22), transparent 70%),
    var(--quilt),
    var(--night);
  color: var(--silver);
  padding-block: 40px 56px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--silver);
  padding: 8px 14px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(11, 138, 62, .25); }
.hero h1 {
  color: var(--white); font-size: var(--t-3xl); font-weight: 800; text-transform: uppercase;
  margin-block: 18px 16px; line-height: .98;
}
.hero h1 span { color: var(--brand-600); display: block; }
.lead { font-size: var(--t-md); max-width: 34ch; color: var(--silver); }
.pills { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  font-size: var(--t-sm); font-weight: 500; color: var(--white);
  padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
.hero-note { margin-block-start: 18px; font-size: var(--t-sm); color: var(--muted); }
.hero-note b { color: var(--white); }
.hero-note a { color: var(--white); text-decoration-color: var(--brand-600); text-underline-offset: 3px; }

.hero-media { margin: 0; position: relative; }
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 900 / 673;
}
.frame::after { /* stitched inner border */
  content: ""; position: absolute; inset: 10px; border-radius: 14px;
  border: 1.5px dashed rgba(255, 255, 255, .45); pointer-events: none;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption {
  position: absolute; inset-inline-start: 16px; inset-block-end: -20px;
  background: var(--white); color: var(--body); border-radius: 12px; padding: 10px 14px;
  font-size: var(--t-sm); box-shadow: var(--shadow-md); max-width: calc(100% - 32px);
  border-inline-start: 4px solid var(--brand-600);
}
.hero-media figcaption b { display: block; color: var(--ink); font-family: var(--f-display); font-size: 1.15rem; text-transform: uppercase; }
.hero-strip {
  position: absolute; inset-inline: 0; inset-block-end: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand-600) 0 50%, var(--accent) 50% 100%);
}

@media (min-width: 1000px) {
  .hero { padding-block: 72px 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-media { transform: rotate(1.2deg); }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.sec-head { max-width: 640px; margin-block-end: 40px; }
.sec-head p:last-child:not(.kicker) { margin-block-start: 14px; font-size: var(--t-md); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-block-end: 12px;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-700);
}
.kicker::before { content: ""; width: 28px; height: 0; border-block-start: 2px dashed currentColor; }
.sec-head--light h2 { color: var(--white); }
.sec-head--light p { color: var(--silver); }
.sec-head--light .kicker { color: var(--brand-600); }

/* ---------- services ---------- */
.svc-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.svc {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc::after { /* stitch line appears on hover */
  content: ""; position: absolute; inset: 6px; border-radius: 10px;
  border: 1.5px dashed var(--brand-600); opacity: 0; transition: opacity .3s; pointer-events: none;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc:hover::after { opacity: .5; }
.svc .ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--night); color: var(--brand-600); margin-block-end: 18px;
}
.svc .ico svg { width: 26px; height: 26px; }
.svc h3 { text-transform: uppercase; margin-block-end: 8px; }
.svc p { font-size: .95rem; }

/* ---------- work ---------- */
.work { background: var(--quilt), var(--night-2); }
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1000px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.gal figure {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--night-3);
}
.gal img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transition: transform .6s var(--ease);
}
.gal figure:hover img { transform: scale(1.05); }
.gal figcaption {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 48px 12px 12px;
  background: linear-gradient(to top, rgba(12, 12, 14, .94) 40%, rgba(12, 12, 14, 0));
  color: var(--silver); font-size: .78rem; line-height: 1.3;
}
.gal figcaption b { color: var(--white); font-family: var(--f-display); font-size: 1.05rem; text-transform: uppercase; }
.gal figcaption em {
  order: -1; margin-block-end: 6px; font-style: normal; font-weight: 600; color: var(--white);
  background: var(--brand-600); padding: 4px 8px; border-radius: 8px; font-size: .72rem; white-space: nowrap;
}
@media (min-width: 640px) {
  .gal figcaption {
    display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-items: end;
    padding: 56px 18px 18px; font-size: .9rem;
  }
  .gal figcaption b { grid-column: 1; font-size: 1.35rem; }
  .gal figcaption span { grid-column: 1; }
  .gal figcaption em { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: .85rem; padding: 6px 10px; }
}
.work-cta { margin-block-start: 36px; display: flex; justify-content: center; }
.work-cta .btn { white-space: normal; text-align: center; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: var(--white); border: 1.5px dashed var(--line);
}
.steps .num {
  display: block; font-family: var(--f-display); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: var(--brand-600); margin-block-end: 12px;
}
.steps h3 { text-transform: uppercase; margin-block-end: 8px; }
@media (min-width: 768px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; inset-block-start: 52px; inset-inline-end: -20px; width: 20px;
    border-block-start: 2px dashed var(--brand-600);
  }
}

/* ---------- location ---------- */
.location { background: var(--white); border-block: 1px solid var(--line); }
.loc-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .loc-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.loc-copy h2 { margin-block-end: 20px; }
.loc-copy address {
  display: block; padding: 20px; border-radius: var(--radius); background: var(--paper);
  border-inline-start: 4px solid var(--brand-600); line-height: 1.7;
}
.loc-copy address b { display: block; color: var(--ink); font-size: 1.05rem; }
.ar { display: block; font-family: "Segoe UI", Tahoma, Arial, sans-serif; color: var(--muted); margin-block: 2px 8px; }
.loc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 24px; }
.map {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; background: var(--line); border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- contact ---------- */
.contact {
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(224, 33, 43, .25), transparent 70%),
    var(--quilt), var(--night);
}
.cards { display: grid; gap: 14px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
  text-decoration: none; color: var(--white);
  transition: transform .3s var(--ease), border-color .3s, background-color .3s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.card .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none; }
.card .ico svg { width: 26px; height: 26px; }
.card-wa .ico { background: var(--wa); color: var(--night); }
.card-call .ico { background: var(--brand-600); color: var(--white); }
.card-mail .ico { background: var(--white); color: var(--night); }
.card-txt { display: flex; flex-direction: column; min-width: 0; }
.card-txt small { color: var(--muted); font-size: var(--t-sm); text-transform: uppercase; letter-spacing: .12em; }
.card-txt b { font-size: 1.15rem; overflow-wrap: anywhere; }
.card .arrow { margin-inline-start: auto; color: var(--muted); font-size: 1.3rem; transition: transform .3s var(--ease), color .3s; }
.card:hover .arrow { transform: translateX(4px); color: var(--white); }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--muted); border-block-start: 1px solid var(--line-dark); padding-block: 48px 24px; font-size: var(--t-sm); }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot .ar { margin-block-start: 12px; }
.foot-nav, .foot-contact { display: flex; flex-direction: column; gap: 8px; }
.foot-nav a, .foot-contact a { text-decoration: none; color: var(--silver); transition: color .2s; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--white); }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-block-start: 32px; padding-block-start: 20px; border-block-start: 1px solid var(--line-dark);
}

/* ---------- sticky mobile bar (mandatory) ---------- */
.mbar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 12, 14, .96); border-block-start: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 1rem;
}
.mbar-call { background: var(--brand-600); color: var(--white); }
.mbar-wa { background: var(--wa); color: var(--night); }
@media (min-width: 1000px) {
  .mbar { display: none; }
  body { padding-block-end: 0; }
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
