/* ==========================================================================
   v3 — master brief: editorial serif headlines, champagne / ivory palette,
   statistics band, Engineered-for-Excellence stage, green client band.
   Loaded after site.css on every page.
   ========================================================================== */
:root {
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --champagne: #E8DFC9;
  --ivory: #F2EBDD;
  --cream: #F5F5F0;
  --beige: #F5F5F0;
  --charcoal: #171A17;
}
html[lang="ar"] { --serif: "IBM Plex Sans Arabic", "Plus Jakarta Sans", sans-serif; }

/* editorial headlines */
.h1, .h2, .statement, .hero__title, .pcard__t, .c3__t, .prod h3, .dlg__body h3, .tl__panel h3, .form__done .h3,
.warranty__n, .stat__n, .menu__link, .fx__t, .icard h3, .ccard h3, .map__card h3 { font-family: var(--serif); }
.h1 { font-weight: 500; letter-spacing: -.015em; }
.h2 { font-weight: 500; letter-spacing: -.012em; }
.h2 em, .h1 em, .statement em { font-style: italic; font-weight: 600; }
.statement { font-weight: 500; }
html[lang="ar"] .h1, html[lang="ar"] .h2, html[lang="ar"] .statement { font-weight: 600; letter-spacing: 0; }
html[lang="ar"] .h2 em, html[lang="ar"] .h1 em, html[lang="ar"] .statement em { font-style: normal; font-weight: 700; }
@media (min-width: 1024px) { .h2 { font-size: 42px; line-height: 50px; } .statement { font-size: 44px; line-height: 58px; } }
@media (max-width: 760px) { .h2 { font-size: 30px; line-height: 38px; } .statement { font-size: 28px; line-height: 38px; } }
.pcard__t, .c3__t, .prod h3 { font-weight: 500; }
.dark .eyebrow, .phero .eyebrow { color: var(--champagne); }
.eyebrow { color: #6f7f66; }

/* hero */
.hero__title { font-weight: 500; text-transform: none; letter-spacing: -.02em; font-size: 38px; line-height: 44px; }
.hero__title span + span { font-style: italic; color: var(--champagne); }
html[lang="ar"] .hero__title span + span { font-style: normal; }
@media (min-width: 1024px) { .hero__title { font-size: 68px; line-height: 74px; } }
@media (max-width: 760px) { .hero__title { font-size: 44px; line-height: 48px; } .hero__title span + span { color: var(--champagne); } }
.hero__pill::before { background: var(--champagne); box-shadow: 0 0 10px var(--champagne); }
.dark .h1 em, .dark .h2 em, .dark .statement em, .phero .h1 em, .hero__title em,
.dark [data-lit] em .w { background-image: linear-gradient(100deg, var(--champagne) 0%, var(--champagne) 40%, #fff 50%, var(--champagne) 60%, var(--champagne) 100%); }

/* buttons */
.btn--champagne { background: var(--champagne); color: var(--green); border-color: var(--champagne); }
.btn--champagne:hover { background: #fff; border-color: #fff; }

/* ---------- statistics ---------- */
.statband { background: var(--ivory); padding: 44px 0; position: relative; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { display: grid; gap: 6px; align-content: start; justify-items: center; text-align: center; padding: 8px 16px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 14%; bottom: 14%; width: 1px; background: rgba(6, 59, 22, .16); }
.stat__n { font-size: 52px; line-height: 1; font-weight: 500; color: var(--green); letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.stat__l { font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #5d665a; }
html[lang="ar"] .stat__l { letter-spacing: 0; font-size: 14px; text-transform: none; }
html[lang="ar"] .stat__n { font-weight: 600; }
.section .stats { margin-top: 44px; padding: 36px 0; border-block: 1px solid rgba(6, 59, 22, .14); }
@media (max-width: 900px) {
  .statband { padding: 28px 0 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 8px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(even)::after { content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(6, 59, 22, .16); }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(6, 59, 22, .12); }
  .stats > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stats > .stat:last-child:nth-child(odd)::after { display: none; }
  .stat__n { font-size: 42px; }
  .section .stats { padding: 8px 0; }
}

/* ---------- Engineered for Excellence: numbered list + image stage ---------- */
.fx { position: relative; }
.fx__stage { display: none; }
.fx__item { list-style: none; outline: none; }
.fx__img { display: block; position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; background: #dfe2dc; }
.fx__img img { width: 100%; height: 100%; object-fit: cover; }
.fx__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 11, .35)); }
.fx__body { display: grid; gap: 8px; padding: 18px 2px 0; }
.fx__n { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1; color: #6f7f66; }
.fx__t { display: flex; align-items: center; gap: 12px; font-size: 24px; line-height: 30px; font-weight: 500; color: var(--ink); }
.fx__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(6, 59, 22, .25); color: var(--green); }
.fx__icon svg { width: 20px; height: 20px; }
.fx__p { font-size: 15px; line-height: 24px; color: var(--muted); }
@media (max-width: 1023px) {
  .fx .car__track { grid-auto-columns: 80%; gap: 16px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scroll-padding: 0 var(--pad); }
}
@media (min-width: 640px) and (max-width: 1023px) { .fx .car__track { grid-auto-columns: 44%; } }
@media (min-width: 1024px) {
  .fx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .fx__stage { display: block; position: sticky; top: 110px; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); width: 100%; border-radius: 18px; overflow: hidden; background: #dfe2dc; box-shadow: 0 40px 80px -40px rgba(16, 24, 18, .35); }
  .fx__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
  .fx__stage img.is-on { opacity: 1; transform: none; }
  .fx__count { position: absolute; inset-inline-start: 20px; bottom: 20px; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #fff; letter-spacing: .08em;
    background: rgba(20, 24, 21, .3); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .fx__count b { font-family: var(--serif); font-size: 18px; font-weight: 500; }
  .fx .car__track { display: block; overflow: visible; }
  .fx .car__dots { display: none; }
  .fx__img { display: none; }
  .fx__item { position: relative; padding: 34px 0 34px 28px; border-top: 1px solid rgba(6, 59, 22, .12); transition: opacity .5s var(--ease); opacity: .42; }
  [dir="rtl"] .fx__item { padding: 34px 28px 34px 0; }
  .fx__item:last-child { border-bottom: 1px solid rgba(6, 59, 22, .12); }
  .fx__item::before { content: ""; position: absolute; inset-inline-start: 0; top: 34px; bottom: 34px; width: 2px; background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
  .fx__item.is-on { opacity: 1; }
  .fx__item.is-on::before { transform: scaleY(1); }
  .fx__item:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
  .fx__body { padding: 0; gap: 10px; }
  .fx__t { font-size: 30px; line-height: 38px; }
  .fx__p { font-size: 16px; line-height: 26px; max-width: 460px; }
}

/* ---------- Trusted By: green band, champagne logos ---------- */
.clients-band { background: var(--green); color: var(--champagne); padding: 64px 0 56px; position: relative; overflow: hidden; }
@media (min-width: 1024px) { .clients-band { padding: 96px 0 80px; } }
.clients-band .sec-head { margin-bottom: 40px; }
.clients-band .eyebrow { color: var(--champagne); opacity: .85; }
.clients-band .h2 { color: #fff; }
.clients-band .h2 em { background-image: linear-gradient(100deg, var(--champagne) 0%, var(--champagne) 40%, #fff 50%, var(--champagne) 60%, var(--champagne) 100%); }
.clients-band .lead { color: rgba(232, 223, 201, .78); }
.clients-band .marquee { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 14px 0; }
.clients-band .marquee::after { display: none; }
.clients-band .client { padding: 0 34px; color: var(--champagne); }
.clients-band .client::after { display: none; }
.clients-band .client--logo img { height: var(--h); width: auto; max-width: none; opacity: .94; transition: opacity .3s, transform .4s var(--ease); }
.clients-band .client--logo:hover img { opacity: 1; transform: scale(1.04); }
.clients-band .client--name { font-family: var(--serif); font-size: 26px; line-height: 64px; font-weight: 500; letter-spacing: .01em; }
.clients-band .client--name[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 600; font-size: 25px; }
.clients-band .client:hover { color: #fff; text-shadow: none; }
.clients-band__foot { display: flex; justify-content: center; margin-top: 36px; }
@media (max-width: 760px) {
  .clients-band .client { padding: 0 22px; }
  .clients-band .client--logo img { height: calc(var(--h) * .8); }
  .clients-band .client--name { font-size: 21px; line-height: 52px; }
}
.marquee:hover .marquee__track { animation-play-state: running; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee__track { will-change: transform; transform: translateZ(0); }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
}
.clients-band details { border: 1px solid rgba(232, 223, 201, .25); border-radius: 6px; background: rgba(255, 255, 255, .04); }
.clients-band details summary { color: var(--champagne); }
.clients-band details[open] { box-shadow: none; border-color: rgba(232, 223, 201, .35); }
.clients-band .clist li { color: var(--champagne); font-family: var(--serif); font-weight: 500; }
.clients-band .clist li[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }

/* warranty, timeline, products in the new palette */
.warranty__card { background: linear-gradient(150deg, #fff, var(--ivory)); border-color: #e7dfcc; }
.warranty__n { font-weight: 500; color: var(--green); font-size: 72px; line-height: 72px; }
.tl__big { display: block; font-family: var(--serif); font-size: 84px; line-height: 1; font-weight: 500; color: var(--green); letter-spacing: -.03em; margin-bottom: 6px; }
@media (max-width: 760px) { .tl__big { font-size: 64px; } }
.tl__panel > div:not([hidden]) { animation: capIn .6s var(--ease); }
.groupnav button { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: background .3s, color .3s; white-space: nowrap; }
.groupnav button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pgroup[hidden] { display: none; }
.pgroup.is-show { animation: capIn .6s var(--ease); }
.prod-ph { font-size: 13px; color: #7A5B14; }

/* tuning after review */
.stat__n { font-size: clamp(40px, 3.4vw, 52px); }
@media (max-width: 560px) { .cards4 { scroll-padding-inline: var(--pad); } }
@media (max-width: 900px) { .cards3 { scroll-padding-inline: var(--pad); } }
.clients-band .client--name[lang="en"] { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
