/*
 * TouchScreens Oman — homepage (owner: home agent).
 * Design: "Home v2 - Oman Theatre Light.dc.html" (inline styles are the spec), README §5.3.
 * Every animation sits behind prefers-reduced-motion: no-preference; base.css also kills all animation under reduce.
 * Physical exceptions (never mirror): hero flag (left), hero watermark (right), map, brand marquee/strip (dir=ltr).
 */

.o-p-home .o-accent { letter-spacing: inherit; }
.o-home-h2 { letter-spacing: -.04em; }
[dir="rtl"] .o-home-h2, [dir="rtl"] .o-p-home .o-accent { letter-spacing: 0; }
.o-home-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: end; }
.o-home-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.o-home-link .o-icon { font-size: 15px; }

/* Cropped product visual: .o-fit is a size container; .o-fit__crop has the product's own aspect ratio (--r) and is
   contained in it; the padded rendition is offset/scaled inside so only the product shows (vars from $homeTrim). */
.o-fit { position: absolute; inset: var(--fit-inset, 6%); container-type: size; display: grid; place-items: center; pointer-events: none; }
.o-fit__crop {
  position: relative; display: block; overflow: hidden; aspect-ratio: var(--r);
  width: min(100cqw, calc(100cqh * var(--r) * var(--fh, 1))); transition: transform .5s var(--ease);
}
.o-fit__crop img { position: absolute; max-width: none; left: var(--l); top: var(--t); width: var(--w); height: var(--h); object-fit: contain; mix-blend-mode: multiply; }
.o-fit--cell { position: relative; inset: auto; height: 100%; place-items: end center; }

/* ================= Hero ================= */
.o-hero {
  position: relative; min-height: min(1040px, 100vh); overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(150px, 16vw, 220px) var(--gutter) 60px;
}
.o-hero__glow { position: absolute; inset: 0; background: radial-gradient(1000px 600px at 50% 110%, rgba(233, 138, 44, .13), transparent 70%); pointer-events: none; }
.o-hero__wm {
  position: absolute; right: -2%; top: 12%; font-family: var(--ruqaa); font-size: clamp(220px, 34vw, 560px); line-height: 1;
  color: var(--copper); opacity: .07; pointer-events: none; user-select: none; letter-spacing: 0; white-space: nowrap;
}
.o-hero__spot {
  position: absolute; left: 50%; top: -10%; width: 60vw; max-width: 900px; height: 120%; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 42%, rgba(233, 138, 44, .09) 50%, transparent 58%);
  transform-origin: 50% 0; transform: translateX(-50%);
}
.o-hero__dust { position: absolute; border-radius: 50%; background: var(--cta); opacity: 0; pointer-events: none; }
.o-hero__dust--1 { left: 30%; bottom: 20%; width: 3px; height: 3px; }
.o-hero__dust--2 { left: 55%; bottom: 14%; width: 2px; height: 2px; }
.o-hero__dust--3 { left: 68%; bottom: 26%; width: 3px; height: 3px; }

/* Waving Oman flag (CSS strips; replaces the design's three.js iframe). Physical left, no pole, 10%, desktop only. */
.o-hero-flag {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, #000 35%, transparent 92%); mask-image: linear-gradient(90deg, #000 35%, transparent 92%);
  transition: opacity 1.2s var(--ease);
}
.o-hero-flag.is-live { opacity: .1; }
.o-hero-flag__cloth {
  --n: 32; position: absolute; left: 0; top: 50%; height: 69%; aspect-ratio: 7 / 4; max-width: 72%;
  display: flex; transform: translateY(-50%) perspective(1600px) rotateY(9deg); transform-origin: 0 50%;
}
.o-hero-flag__cloth > i {
  --k: calc(var(--i) / var(--n)); position: relative; flex: 1 1 0; height: 100%; transform: scaleX(1.06);
  background-repeat: no-repeat; background-size: calc(var(--n) * 100%) 100%; background-position: calc(var(--i) / (var(--n) - 1) * 100%) 0;
}
.o-hero-flag.is-live .o-hero-flag__cloth > i { background-image: url(../img/oman-flag-1400.webp); }
.o-hero-flag__cloth > i::after { content: ""; position: absolute; inset: 0; background: #1d1510; opacity: 0; }
@media (max-width: 1020px) { .o-hero-flag { display: none; } }
@media (prefers-reduced-motion: reduce) { .o-hero-flag { display: none; } }

.o-hero__grid {
  position: relative; max-width: var(--container); width: 100%; margin: 0 auto; flex: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: center;
}
.o-hero__copy { min-width: 0; }
.o-hero__eyebrow {
  display: inline-flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0;
  font-size: 12.5px; line-height: 1.6; color: var(--copper); font-weight: 700; letter-spacing: .18em;
}
.o-hero__welcome { font-family: var(--ruqaa); font-size: 20px; letter-spacing: 0; color: var(--ink); line-height: 1.3; }
.o-hero__rule { width: 24px; height: 1px; background: var(--cta); }
.o-hero__h1 { margin: 18px 0 0; font-size: clamp(46px, 6.4vw, 100px); line-height: 1; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.o-hero__lede { margin: 24px 0 0; max-width: 540px; color: var(--lede); font-size: 17.5px; line-height: 1.7; text-wrap: pretty; }
.o-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.o-hero__chips { list-style: none; margin: 26px 0 0; padding: 0; }
[dir="rtl"] .o-hero__eyebrow { letter-spacing: 0; }
[dir="rtl"] .o-hero__h1 { letter-spacing: 0; }
.o-hero__h1 .o-accent { white-space: nowrap; }

/* Product stage: 4 slides stacked in one grid cell → the box never changes height. */
.o-stage { position: relative; display: grid; place-items: center; min-width: 0; }
.o-stage__floor {
  position: absolute; bottom: 4%; left: 10%; right: 10%; height: 60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 138, 44, .22), transparent); filter: blur(10px);
}
.o-stage__slides { position: relative; display: grid; width: 100%; max-width: 620px; }
.o-stage__slide { grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0; }
.o-stage__slide.is-active { visibility: visible; opacity: 1; }
.o-stage__box {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #fbf5ec, #efe4d4); border: 1px solid rgba(194, 106, 26, .2);
  box-shadow: 0 50px 120px rgba(70, 45, 20, .18), 0 0 90px rgba(233, 138, 44, .1);
}
.o-stage__box::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(40, 28, 16, .025) 0 12px, transparent 12px 24px); }
.o-stage__box .o-fit { --fit-inset: 8% 9%; }
.o-stage__info { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-top: 26px; min-height: 72px; }
.o-stage__text { min-width: 0; }
.o-stage__name { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.o-stage__name a { color: var(--ink); }
.o-stage__name a:hover { color: var(--copper-hover); }
.o-stage__spec { margin: 4px 0 0; color: var(--muted-2); font-size: 13.5px; line-height: 1.5; }
.o-stage__spec span[dir] { unicode-bidi: isolate; }
.o-stage__meta { display: flex; flex-direction: column; text-align: end; font-size: 12px; line-height: 1.5; color: var(--muted-2); white-space: nowrap; }
.o-stage__meta a { color: var(--muted-2); }
.o-stage__meta a:hover { color: var(--copper-hover); }
.o-stage__por { color: var(--copper); }

.o-hero__tabs {
  position: relative; max-width: var(--container); width: 100%; margin: 40px auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.o-hero__tab {
  text-align: start; background: none; border: 0; padding: 0 0 4px; cursor: pointer;
  color: var(--muted-3); font: 600 13px/1.45 var(--font); transition: color .25s;
}
.o-hero__tab:hover, .o-hero__tab.is-active { color: var(--ink); }
.o-hero__bar { display: block; height: 2px; background: rgba(40, 28, 16, .12); border-radius: 2px; overflow: hidden; margin-bottom: 12px; }
.o-hero__bar > span { display: block; height: 100%; background: var(--cta); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .o-hero__bar > span { transform-origin: 100% 50%; }
.o-hero__tab.is-active .o-hero__bar > span { transform: none; }

/* ================= Brand marquee ================= */
.o-marquee { border-top: 1px solid var(--line-07); border-bottom: 1px solid var(--line-07); padding: 24px 0; overflow: hidden; }
.o-marquee__track { display: flex; width: max-content; }
.o-marquee__list { display: flex; gap: 56px; align-items: center; list-style: none; margin: 0; padding: 0 56px 0 0; }
.o-marquee__list li { display: flex; gap: 56px; align-items: center; font-size: 20px; font-weight: 700; line-height: 1.4; color: #9a8b7b; white-space: nowrap; }
.o-marquee__list li::after { content: ""; width: 7px; height: 7px; background: var(--cta); transform: rotate(45deg); }

/* ================= Manifesto + stats ================= */
.o-manifesto__text { margin: 0; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.25; letter-spacing: -.03em; font-weight: 600; max-width: 26ch; text-wrap: balance; }
.o-manifesto__muted { color: var(--muted-4); }
[dir="rtl"] .o-manifesto__text { letter-spacing: 0; }
.o-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  background: rgba(40, 28, 16, .07); border-radius: 22px; overflow: hidden;
}
.o-stats__tile { background: var(--bg); padding: 32px; }
.o-stats__v { margin: 0; font-size: 52px; line-height: 1.3; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.o-stats__v.is-accent { color: var(--copper); }
.o-stats__l { margin: 4px 0 0; color: var(--muted-2); font-size: 14px; line-height: 1.5; }
/* design: -.04em is hard-coded (Latin numerals keep it in AR); only a value with Arabic text ("1 يوم") drops it */
[dir="rtl"] .o-stats__v:not(.is-num) { letter-spacing: 0; }

/* ================= Made for Oman ================= */
.o-mfo { background: var(--sand-deep); border-top: 1px solid var(--line-06); border-bottom: 1px solid var(--line-06); overflow: hidden; padding-block: clamp(70px, 9vw, 120px); }
.o-mfo__inner { position: relative; }
.o-mfo__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: end; }
.o-mfo__bars { margin-bottom: 18px; }
.o-mfo__lede { margin: 0; max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.o-mfo__cards { margin: 44px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.o-mfo__card {
  position: relative; border-radius: 22px; background: var(--bg); border: 1px solid var(--line);
  padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 230px;
}
.o-mfo__glyph { font-family: 'Aref Ruqaa', 'Instrument Serif', serif; font-size: 44px; line-height: 1; color: var(--copper); }
.o-mfo__title { margin: auto 0 0; font-size: 19px; font-weight: 700; line-height: 1.35; }
.o-mfo__body { margin: 0; color: var(--muted-2); font-size: 14px; line-height: 1.6; }
.o-mfo__vision {
  margin-top: 14px; border-radius: 22px; border: 1px solid rgba(214, 40, 46, .35);
  background: linear-gradient(90deg, rgba(214, 40, 46, .12), rgba(194, 106, 26, .06));
  padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
}
[dir="rtl"] .o-mfo__vision { background: linear-gradient(270deg, rgba(214, 40, 46, .12), rgba(194, 106, 26, .06)); }
.o-mfo__vision-text { display: flex; gap: 16px; align-items: center; color: #3b2f25; line-height: 1.5; }
.o-mfo__vision-text > span:last-child { max-width: 60ch; font-size: 16px; } /* design: inherits the page's 16px (16/24) */
.o-mfo__year { font-size: 30px; font-weight: 800; color: var(--oman-red-ink); line-height: 1.2; }

/* ================= Catalogue (one row, horizontal scroll when narrow) ================= */
.o-cats__row {
  margin: 32px 0 0; padding: 8px 0 6px; list-style: none;
  display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 14px;
  overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.o-cats__item { display: flex; scroll-snap-align: start; }
.o-cats__card {
  position: relative; width: 100%; border-radius: 22px; overflow: hidden; min-height: 340px; padding: 20px;
  background: linear-gradient(170deg, #fff, #f6efe5); border: 1px solid var(--line-07); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s var(--ease), border-color .3s;
}
.o-cats__card:hover { transform: translateY(-6px); border-color: var(--accent-line-strong); color: var(--ink); }
.o-cats__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted-2); }
.o-cats__go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-14); display: grid; place-items: center; color: var(--copper); font-size: 13px; flex: none; }
.o-cats__media {
  position: relative; flex: 1 0 auto; aspect-ratio: 5 / 4; margin: 18px 0; border-radius: 14px; /* design: flex:1 — starts at the same offset in every card */
  background: repeating-linear-gradient(135deg, rgba(40, 28, 16, .025) 0 12px, transparent 12px 24px);
}
.o-cats__media .o-fit { --fit-inset: 9%; }
.o-cats__card:hover .o-fit__crop { transform: scale(1.04); }
.o-cats__name { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.o-cats__desc { margin: 6px 0 0; color: var(--muted-2); font-size: 13px; line-height: 1.55; }

/* ================= Rooms we equip ================= */
.o-secs__rows { margin: 40px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.o-secs__row {
  display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 24px; align-items: center;
  border-radius: 22px; border: 1px solid var(--line-07); background: var(--bg); padding: 18px;
  transition: grid-template-columns .5s var(--ease), border-color .5s var(--ease);
}
.o-secs__row.is-open { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-color: rgba(194, 106, 26, .4); }
.o-secs__visual {
  position: relative; height: 120px; border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(40, 28, 16, .025) 0 12px, transparent 12px 24px), linear-gradient(160deg, #f6eee2, #ebdfcd);
  transition: height .5s var(--ease);
}
.o-secs__row.is-open .o-secs__visual { height: 300px; }
.o-secs__wm {
  position: absolute; right: 3%; top: 50%; transform: translateY(-55%); font-family: var(--ruqaa); font-size: clamp(80px, 8vw, 140px);
  line-height: 1; color: rgba(180, 95, 20, .09); white-space: nowrap; letter-spacing: 0; pointer-events: none;
}
.o-secs__items { position: absolute; inset: 36px 18px 12px; display: grid; grid-auto-flow: column; gap: 4%; }
.o-secs__items--1 { grid-template-columns: minmax(0, 1fr); }
.o-secs__items--2 { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.o-secs__items--3 { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr); }
.o-secs__items .o-fit + .o-fit { --fh: .62; }
.o-secs__cap {
  position: absolute; inset-inline-start: 12px; top: 10px; padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(250, 247, 242, .92); font-size: 11.5px; font-weight: 700; color: var(--muted-2); line-height: 1.4;
}
.o-secs__text { padding: 8px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.o-secs__head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.o-secs__name { margin: 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; line-height: 1.25; }
.o-secs__n { font-size: 12px; color: var(--muted-2); }
.o-secs__body { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 56ch; }
.o-secs__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.o-secs .o-secs__quote { padding: 10px 16px; font-weight: 600; font-size: 13.5px; color: var(--copper); border-color: rgba(194, 106, 26, .5); }
.o-secs .o-secs__quote:hover { color: var(--cta-ink); }
.o-secs__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 6px; color: var(--text-ui); font-size: 13.5px; }
.o-secs__link .o-icon { font-size: 13px; }
@media (max-width: 420px) { .o-secs__link { gap: 4px; padding-inline: 2px; } } /* keeps the AR link on the quote pill's line at 390 */
@media (max-width: 900px) {
  .o-secs__row, .o-secs__row.is-open { grid-template-columns: 1fr; }
  .o-secs__visual, .o-secs__row.is-open .o-secs__visual { height: 200px; }
}

/* ================= Coverage + map ================= */
.o-cov__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: center; }
.o-cov__copy { min-width: 0; }
.o-cov__lede { margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 480px; }
.o-cov__tiles { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.o-cov__tiles li { display: flex; }
.o-cov__tile {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: flex; flex-direction: column; gap: 2px; transition: border-color .25s;
}
.o-cov__tile:hover { border-color: rgba(194, 106, 26, .5); color: var(--ink); }
.o-cov__name { font-weight: 700; font-size: 14px; line-height: 1.35; }
.o-cov__cities { font-size: 11.5px; color: var(--muted-2); line-height: 1.35; }
/* design sets no line-height on these: Arabic keeps Noto Kufi's taller "normal" line box */
[dir="rtl"] .o-cov__name, [dir="rtl"] .o-cov__cities, [dir="rtl"] .o-mfo__title, [dir="rtl"] .o-secs__name, [dir="rtl"] .o-hero__chips .o-chip { line-height: normal; }
[dir="rtl"] .o-stats__v, [dir="rtl"] .o-stats__l, [dir="rtl"] .o-p-home .o-home-link, [dir="rtl"] .o-guides__kicker, [dir="rtl"] .o-guides__faq .o-faq__q,
[dir="rtl"] .o-hero__eyebrow, [dir="rtl"] .o-hero__welcome, [dir="rtl"] .o-hero__tab { line-height: normal; }
[dir="rtl"] .o-hero__tab { padding-bottom: 0; } /* design: 2px bar + 12px gap + the label's normal line box = 39px in AR */
.o-p-home .o-cov__cta { margin-top: 22px; padding: 14px 22px; font-size: 14.5px; }

.o-map-fig { position: relative; margin: 0; min-width: 0; }
.o-map-card {
  position: relative; aspect-ratio: 4 / 5; max-height: 720px; width: 100%; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(194, 106, 26, .18); background: radial-gradient(closest-side, rgba(233, 138, 44, .08), transparent), #f6efe4;
}
.o-map-card .o-map { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; overflow: visible; direction: ltr; }
.o-map-card__legend {
  position: absolute; inset-inline-end: 18px; top: 18px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(40, 28, 16, .1); font-size: 12px; line-height: 1.4; color: var(--text-ui); display: flex; gap: 8px; align-items: center;
}
.o-map-card__legend::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 2px solid var(--copper); flex: none; }
.o-map text { font-family: 'Manrope', 'Noto Kufi Arabic', system-ui, sans-serif; }
[dir="rtl"] .o-map__label--en { display: none; }
[dir="rtl"] .o-map__label--ar { display: inline; }
@media (max-width: 640px) {
  .o-map .o-map__label { font-size: 17px; }
  .o-map .o-map__city--hq .o-map__label, .o-map .o-map__city--major .o-map__label { font-size: 19px; }
  /* the chip covered Khasab (top corner) on phones — it becomes a caption under the map */
  .o-map-card__legend { position: static; display: inline-flex; margin-top: 12px; }
}

/* ================= Clients & brands ================= */
.o-clients { padding: clamp(60px, 8vw, 100px) var(--gutter); background: var(--sand); border-top: 1px solid var(--line-06); border-bottom: 1px solid var(--line-06); }
.o-clients__head { text-align: center; }
.o-clients__eyebrow { margin: 0; font-size: 12.5px; letter-spacing: .18em; }
.o-clients__h { margin: 14px 0 0; font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; line-height: 1.15; }
.o-clients__logos { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.o-clients__logo { height: 90px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; padding: 12px; }
.o-clients__logo img { max-height: 54px; max-width: 80%; object-fit: contain; }
.o-clients__note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted-3); }
.o-clients__eyebrow--strip { margin-top: 36px; text-align: center; }
.o-strip {
  margin-top: 36px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.o-clients__eyebrow--strip + .o-strip { margin-top: 14px; }
.o-strip__track { display: flex; width: max-content; }
.o-strip__list { display: flex; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; }
.o-strip__item {
  flex: none; width: 170px; height: 90px; border-radius: 14px; background: linear-gradient(160deg, #fff8ee, #f5eadb);
  border: 1px solid rgba(194, 106, 26, .2); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.o-strip__name { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); }
.o-strip__label { font-size: 10.5px; line-height: 1.4; letter-spacing: .18em; color: var(--copper); text-transform: uppercase; }
[dir="rtl"] .o-clients__eyebrow, [dir="rtl"] .o-strip__label { letter-spacing: 0; }
[dir="rtl"] .o-strip__label { font-size: 11.5px; }

/* ================= Guides + FAQ ================= */
.o-guides__grid { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.o-guides__grid li { display: flex; }
.o-guides__card { width: 100%; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); background: var(--surface); transition: border-color .3s; }
.o-guides__card:hover { border-color: var(--accent-line-strong); color: var(--ink); }
.o-guides__cover { position: relative; aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, rgba(40, 28, 16, .025) 0 12px, transparent 12px 24px); }
.o-guides__cover .o-fit { --fit-inset: 10% 14%; }
.o-guides__body { padding: 22px; }
.o-guides__kicker { margin: 0; font-size: 12px; color: var(--copper); font-weight: 700; line-height: 1.5; }
.o-guides__title { margin: 8px 0 0; font-size: 19px; font-weight: 700; line-height: 1.45; }
.o-guides__card:hover .o-guides__title { color: var(--copper-hover); }
.o-guides__faq { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: start; }
.o-guides__faq-h { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.2; }
.o-guides__faq .o-faq__a { font-size: 16px; line-height: 1.75; } /* design: 16/28 in EN and AR (overrides the RTL 1.9 in components.css) */

/* ================= Closing CTA ================= */
.o-cta { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 150px) var(--gutter); text-align: center; border-top: 1px solid var(--line-06); }
.o-cta__spot {
  position: absolute; left: 50%; top: -20%; width: 70vw; max-width: 1000px; height: 140%; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 44%, rgba(233, 138, 44, .09) 50%, transparent 56%);
  transform-origin: 50% 0; transform: translateX(-50%);
}
.o-cta__wm {
  position: absolute; left: 0; right: 0; bottom: -8%; font-family: var(--ruqaa); font-size: clamp(120px, 18vw, 300px); line-height: 1;
  color: rgba(194, 106, 26, .05); pointer-events: none; user-select: none; white-space: nowrap; letter-spacing: 0;
}
.o-cta__h { position: relative; margin: 0 auto; font-size: clamp(40px, 6vw, 96px); letter-spacing: -.04em; line-height: 1; font-weight: 800; max-width: 14ch; }
[dir="rtl"] .o-cta__h { letter-spacing: 0; }
.o-cta__p { position: relative; margin: 24px auto 0; max-width: 520px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.o-cta__btns { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.o-cta__btns .o-btn--ghost { padding: 17px 24px; }

/* ================= Motion (only when allowed) ================= */
@keyframes o-h-spot { 0%, 100% { transform: translateX(-50%) rotate(-8deg); } 50% { transform: translateX(-50%) rotate(8deg); } }
@keyframes o-h-rise { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes o-h-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes o-h-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes o-h-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes o-h-dust { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .8; } 100% { transform: translateY(-240px); opacity: 0; } }
@keyframes o-h-breathe { 0%, 100% { opacity: .05; } 50% { opacity: .09; } }
@keyframes o-h-flag-wave { 0%, 100% { transform: translateY(calc(var(--k) * -1.8%)) scale(1.06, calc(1 - var(--k) * .03)); } 50% { transform: translateY(calc(var(--k) * 1.8%)) scale(1.06, 1); } }
@keyframes o-h-flag-shade { 0%, 100% { opacity: 0; } 50% { opacity: calc(.04 + var(--k) * .16); } }
@keyframes omap-dash { to { stroke-dashoffset: 0; } }
@keyframes omap-ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5.5); opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .o-hero__wm { animation: o-h-breathe 8s ease-in-out infinite; }
  .o-hero__spot { animation: o-h-spot 9s ease-in-out infinite; }
  .o-hero__dust--1 { animation: o-h-dust 6s linear infinite; }
  .o-hero__dust--2 { animation: o-h-dust 7s linear 2s infinite; }
  .o-hero__dust--3 { animation: o-h-dust 8s linear 4s infinite; }
  .o-hero-flag.is-live .o-hero-flag__cloth > i { animation: o-h-flag-wave 1.5s ease-in-out infinite; animation-delay: calc(var(--i) * .045s - 3s); }
  .o-hero-flag.is-live .o-hero-flag__cloth > i::after { animation: o-h-flag-shade 1.5s ease-in-out infinite; animation-delay: calc(var(--i) * .045s - 3.375s); }
  .o-stage__slide.is-active.is-rise { animation: o-h-rise .9s var(--ease) both; }
  .o-stage__float { animation: o-h-float 7s ease-in-out infinite; }
  .o-hero__tab.is-active .o-hero__bar > span { animation: o-h-bar 5s linear both; }
  .o-hero.is-paused .o-hero__tab.is-active .o-hero__bar > span { animation-play-state: paused; }
  .o-marquee__track { animation: o-h-marq 50s linear infinite; }
  .o-strip__track { animation: o-h-marq var(--strip-dur, 60s) linear infinite; }
  .o-cta__spot { animation: o-h-spot 11s ease-in-out infinite; }
  .o-map__arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: omap-dash 2.2s cubic-bezier(.4, 0, .2, 1) forwards; animation-delay: calc(.3s + var(--i) * .18s); }
  .o-map__ping { transform-box: fill-box; transform-origin: center; animation: omap-ping 2.4s ease-out infinite; animation-delay: calc(var(--i) * .25s); }
  /* start the map when it scrolls into view (core.js adds .is-in on [data-reveal]) */
  .o-js .o-map-fig:not(.is-in) .o-map__arc, .o-js .o-map-fig:not(.is-in) .o-map__ping { animation-play-state: paused; }
}
.o-mfo__star { display: block; width: .8em; height: .8em; }
