/* =====================================================================
   PARK MALL SÉTIF — design system v3
   ---------------------------------------------------------------------
   Principles
   1. Calm editorial ground (ivory / stone / night). Photography carries
      the luxury; colour is a code, not decoration.
   2. The four logo colours each mean one universe and appear only as:
      the highlighted word, a 3px rule, a small square key, focus/active.
        blue   #009DE1  Shopping        (.u-shop)
        orange #F57B20  Restaurants     (.u-food)
        green  #74C043  Loisirs         (.u-play)
        yellow #FFCD34  Événements      (.u-event)
      Hotels, Business Center and residences use night + their own brand
      logos (Parkotel Hotel Group, ISKEN).
   3. Text contrast >= 4.5:1 everywhere. Coloured fills only ever carry
      night text (#0B0C26), never white.
   4. One motion curve (--ease), three durations, no infinite loops
      except the logo halo on the intro.
   5. Logos: Park Mall (with Arabic) top-left in every header; a
      sub-brand logo sits top-left of its own hero, 40–56px high, white
      version on photos; merchant logos live in identical tiles.
   Responsive: media queries (phone < 760px, compact header < 1240px).
   ===================================================================== */

:root {
  --night: #0B0C26;
  --night-2: #16173D;
  --night-3: #23255A;
  --ink: #0F1035;
  --ink-2: #474964;
  --ink-3: #62647D;
  --ivory: #FAF8F3;
  --stone: #F2EEE6;
  --sand: #E6E0D3;
  --paper: #FFFFFF;
  --line: rgba(15, 16, 53, .12);
  --line-2: rgba(15, 16, 53, .22);
  --line-dk: rgba(255, 255, 255, .14);
  --field: #8B91A8;

  --blue: #009DE1;
  --orange: #F57B20;
  --green: #74C043;
  --yellow: #FFCD34;
  /* the same hues lifted for text/lines on night (all >= 7:1 on #0B0C26) */
  --blue-n: #5CC8F2;
  --orange-n: #FF9E57;
  --green-n: #9BD86E;
  --yellow-n: #FFD65C;

  --display: 'Bricolage Grotesque', 'Rubik', sans-serif;
  --text: 'Rubik', sans-serif;
  --ar-display: 'Lalezar', 'Rubik', sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-ui: .45s;
  --t-reveal: 1s;
  --t-image: 1.4s;

  --r-photo: 4px;
  --r-card: 8px;
  --r-pill: 999px;
}

/* universes */
.u-shop  { --u: var(--blue);   --u-n: var(--blue-n); }
.u-food  { --u: var(--orange); --u-n: var(--orange-n); }
.u-play  { --u: var(--green);  --u-n: var(--green-n); }
.u-event { --u: var(--yellow); --u-n: var(--yellow-n); }
.u-stay  { --u: var(--night);  --u-n: #FFFFFF; }

/* ---------------------------------------------------------------- base */
.pm {
  width: 100%;
  background: var(--ivory);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.pm *, .pm *::before, .pm *::after { box-sizing: border-box; }
.pm img { display: block; max-width: 100%; }
:where(.pm) a { color: inherit; }
:where(.pm) button { font: inherit; }
.pm :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.night { background: var(--night); color: #fff; }
.stone { background: var(--stone); }
.paper { background: var(--paper); }

/* ---------------------------------------------------------- typography */
/* titles: Bricolage Grotesque 800, tight — the weight the client chose */
.t-display, .t-h1, .t-h2, .t-h3, .t-h4 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -.03em; }
.t-display { font-size: 104px; line-height: .92; letter-spacing: -.04em; }
.t-h1 { font-size: 76px; line-height: .95; letter-spacing: -.035em; }
.t-h2 { font-size: 56px; line-height: 1; }
.t-h3 { font-size: 34px; line-height: 1.05; letter-spacing: -.025em; }
.t-h4 { font-size: 23px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.t-lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 620px; }
.night .t-lead, .on-dark .t-lead { color: rgba(255, 255, 255, .78); }
.t-body { margin: 0; color: var(--ink-2); }
.night .t-body, .on-dark .t-body { color: rgba(255, 255, 255, .76); }
.t-small { font-size: 14px; line-height: 1.5; }
.t-muted { color: var(--ink-3); }
.night .t-muted, .on-dark .t-muted { color: rgba(255, 255, 255, .64); }
.t-num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font: 600 12.5px/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.night .label, .on-dark .label, .label.on-dark { color: rgba(255, 255, 255, .8); }
.label .k { width: 8px; height: 8px; border-radius: 1px; background: var(--u, var(--ink)); flex: none; }
.night .label .k, .on-dark .label .k { background: var(--u-n, #fff); }
.key4 { display: inline-flex; gap: 3px; }
.key4 i { width: 7px; height: 7px; border-radius: 1px; display: block; }

/* the highlighted word — night text on the universe colour, wipes in */
.hl { position: relative; z-index: 0; display: inline-block; padding: 0 .1em; margin: 0 -.02em; color: var(--night); white-space: nowrap; }
.hl::before {
  content: ""; position: absolute; z-index: -1; inset: .1em -.02em .02em; border-radius: 3px;
  background: var(--hl, var(--u, var(--yellow)));
  transform-origin: left center; animation: hlIn 1.1s var(--ease) both; animation-delay: var(--d, .5s);
}
[dir="rtl"] .hl::before { transform-origin: right center; }
@keyframes hlIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Arabic */
[dir="rtl"] .t-display, [dir="rtl"] .t-h1, [dir="rtl"] .t-h2, [dir="rtl"] .t-h3 {
  font-family: var(--ar-display); font-weight: 400; letter-spacing: 0; line-height: 1.32;
}
[dir="rtl"] .t-h4 { font-family: var(--text); font-weight: 700; letter-spacing: 0; }
/* the same headings drawn in Thmanyah Serif Display (inc/class-ar-vector.php): one
   drawing per word, its real text on top, transparent (selection, search, readers) */
pm-w { position: relative; display: inline-flex; font-size: calc(var(--aw-s, 1) * 1em); }
pm-w > svg { display: block; flex: none; height: 1em; overflow: visible; fill: currentColor; }
pm-t { position: absolute; inset: 0; overflow: hidden; color: transparent; white-space: nowrap; font-size: .9em; line-height: 1.1; }
pm-t::selection { color: transparent; }
/* high-contrast mode recolours the hidden text: show it alone */
@media (forced-colors: active) {
  pm-w { display: inline; }
  pm-w > svg { display: none; }
  pm-t { position: static; color: inherit; font-size: inherit; line-height: inherit; }
}
[dir="rtl"] .label { letter-spacing: 0; font-size: 14px; }
[dir="rtl"] .t-lead, [dir="rtl"] .t-body { line-height: 1.8; }
[dir="rtl"] .hl { padding: 0 .14em; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-pill);
  border: 1px solid var(--night); background: var(--night); color: #fff;
  font: 500 16px/1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--t-ui) var(--ease), color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease);
}
.btn:hover { background: var(--night-3); border-color: var(--night-3); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-ui) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .btn svg.arw { transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg.arw { transform: scaleX(-1) translateX(3px); }
.btn--line { background: transparent; color: var(--night); border-color: var(--line-2); }
.btn--line:hover { background: var(--night); color: #fff; border-color: var(--night); }
.btn--light { background: #fff; color: var(--night); border-color: #fff; }
.btn--light:hover { background: var(--stone); border-color: var(--stone); color: var(--night); }
.btn--line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--line-light:hover { background: #fff; color: var(--night); border-color: #fff; }
.btn--accent { background: var(--yellow); color: var(--night); border-color: var(--yellow); }
.btn--accent:hover { background: #F2BD14; border-color: #F2BD14; color: var(--night); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.link {
  display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none;
  font: 500 16px/1.3 var(--text); border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-ui) var(--ease); }
.link:hover svg { transform: translateX(3px); }
[dir="rtl"] .link svg { transform: scaleX(-1); }

/* chips & floor badges */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); color: var(--ink);
  font: 500 14.5px/1 var(--text); cursor: pointer; white-space: nowrap;
  transition: border-color var(--t-ui) var(--ease), background var(--t-ui) var(--ease), color var(--t-ui) var(--ease);
}
.chip:hover { border-color: var(--night); }
.chip .n { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip.is-on { background: var(--night); border-color: var(--night); color: #fff; }
.chip.is-on .n { color: rgba(255, 255, 255, .72); }
.lvl {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper);
  font: 600 12px/1 var(--text); color: var(--ink); white-space: nowrap;
}
.tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--stone); color: var(--ink); font: 500 13px/1.2 var(--text);
}
.tag .k { width: 7px; height: 7px; border-radius: 1px; background: var(--u, var(--ink)); }
.night .tag, .on-dark .tag { background: rgba(255, 255, 255, .12); color: #fff; }
.night .tag .k, .on-dark .tag .k { background: var(--u-n, #fff); }

/* open/closed status */
.status { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.2 var(--text); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.status.is-closed i { background: var(--ink-3); }

/* icons (24px line set, 1.6 stroke) */
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------- media */
.ph { position: relative; overflow: hidden; border-radius: var(--r-photo); background: var(--sand); }
.ph > img { width: 100%; height: 100%; object-fit: cover; }
.ph--zoom > img { transition: transform 1.2s var(--ease); }
a:hover .ph--zoom > img, .ph--zoom:hover > img { transform: scale(1.04); }
.cap { margin: 10px 0 0; font: 400 13.5px/1.4 var(--text); color: var(--ink-3); }
.night .cap { color: rgba(255, 255, 255, .62); }
/* text over a photo always sits on a scrim that guarantees contrast */
.scrim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 38, 0) 30%, rgba(11, 12, 38, .9) 100%); pointer-events: none; }
.scrim-l::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 12, 38, .88) 0%, rgba(11, 12, 38, .6) 45%, rgba(11, 12, 38, .12) 100%); pointer-events: none; }
[dir="rtl"] .scrim-l::after { background: linear-gradient(270deg, rgba(11, 12, 38, .88) 0%, rgba(11, 12, 38, .6) 45%, rgba(11, 12, 38, .12) 100%); }

/* merchant logo tile — identical box for every brand */
.logo-tile {
  position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.logo-tile img { height: 100%; width: auto; max-width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 6px; transition: transform var(--t-ui) var(--ease); }
a:hover .logo-tile, .logo-tile:hover { border-color: var(--line-2); box-shadow: 0 16px 32px -24px rgba(15, 16, 53, .45); }
a:hover .logo-tile img, .logo-tile:hover img { transform: scale(1.04); }
.logo-tile .wordmark { font: 600 21px/1.15 var(--display); letter-spacing: -.01em; text-align: center; color: var(--ink); }

/* sub-brand logo slot */
.brand-logo { display: block; height: 52px; width: auto; max-width: 260px; object-fit: contain; }

/* --------------------------------------------------------------- cards */
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.card .ph { aspect-ratio: 4 / 3; }
.rule { display: block; height: 3px; width: 40px; background: var(--u, var(--night)); transition: width var(--t-reveal) var(--ease); }
.night .rule, .on-dark .rule { background: var(--u-n, #fff); }
.card:hover .rule { width: 72px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.night .panel { background: var(--night-2); border-color: var(--line-dk); }

/* ------------------------------------------------------------ sections */
.sec { padding: 128px 0; position: relative; }
.sec--sm { padding: 88px 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: 52px; }
.sec-head .t-lead { margin-top: 18px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.night .divider { background: var(--line-dk); }

/* page hero (inner pages)
   A = destination (photo, night scrim, white text, sub-brand logo)
   B = utility (stone ground, ink text, 4px universe rule)            */
.hero-a { position: relative; min-height: 620px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero-a .bg { position: absolute; inset: 0; }
.hero-a .bg img { width: 100%; height: 100%; object-fit: cover; animation: heroImg var(--t-image) var(--ease) both; }
@keyframes heroImg { from { transform: scale(1.08); } to { transform: none; } }
.hero-a .in { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 72px; }
.hero-a .t-lead { color: rgba(255, 255, 255, .86); margin-top: 22px; }
.hero-b { background: var(--stone); padding: 64px 0 72px; position: relative; }
.hero-b::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--u, var(--night)); transform-origin: left; animation: ruleIn 1.2s var(--ease) .2s both; }
[dir="rtl"] .hero-b::after { transform-origin: right; }
@keyframes ruleIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; font: 400 14px/1.3 var(--text); color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero-a .crumbs { color: rgba(255, 255, 255, .78); }

/* ---------------------------------------------------------------- forms
   One pattern for every form: label above, helper below, required "*",
   1px #8B91A8 (3.2:1 vs white), focus ring, error text #B42318.        */
.form { display: grid; gap: 22px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > .flabel { font: 500 14.5px/1.3 var(--text); color: var(--ink); }
.field .req { color: #B42318; margin-inline-start: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-card);
  border: 1px solid var(--field); background: var(--paper); color: var(--ink);
  font: 400 16px/1.4 var(--text); transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #767991; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(0, 157, 225, .35); }
.field .help { font: 400 13.5px/1.4 var(--text); color: var(--ink-3); }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #B42318; }
.field .err { font: 500 13.5px/1.4 var(--text); color: #B42318; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font: 400 14px/1.5 var(--text); color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; margin: 1px 0 0; border: 1px solid var(--field); border-radius: 4px; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--night); border-color: var(--night); }
.check input:checked::after { content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.f-note { font: 400 13px/1.5 var(--text); color: var(--ink-3); margin: 0; }
.f-done { text-align: center; padding: 36px 12px; display: grid; justify-items: center; gap: 12px; }
.f-done svg { width: 64px; height: 64px; }
.f-done .ok-c { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .9s var(--ease) both; }
.f-done .ok-t { fill: none; stroke: var(--night); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .5s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.search {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 8px 0 20px;
  border: 1px solid var(--field); border-radius: var(--r-pill); background: var(--paper);
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
[dir="rtl"] .search { padding: 0 20px 0 8px; }
.search:focus-within { border-color: var(--night); box-shadow: 0 0 0 3px rgba(0, 157, 225, .3); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 56px; font: 400 17px var(--text); color: var(--ink); }
.search input:focus { outline: none; }
.search input::placeholder { color: #767991; }

/* ------------------------------------------------------------- header */
.hd { position: relative; z-index: 30; background: var(--paper); color: var(--ink); }
.hd-util { background: var(--night); color: rgba(255, 255, 255, .86); font: 400 13.5px/1 var(--text); }
.hd-util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.hd-util .grp { display: flex; align-items: center; gap: 22px; }
.hd-util a { text-decoration: none; color: inherit; }
.hd-util a:hover { color: #fff; text-decoration: underline; }
.hd-util .status { font-size: 13.5px; color: #fff; }
.hd-util .status i { background: var(--green-n); }
.hd-util .status.is-closed i { background: rgba(255, 255, 255, .5); }
.lang { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .3); }
.lang a { padding: 5px 11px; border-radius: var(--r-pill); font-weight: 500; text-decoration: none !important; }
.lang a.is-on { background: #fff; color: var(--night); }
.hd-main { border-bottom: 1px solid var(--line); }
.hd-main .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.hd-logo { display: block; flex: none; }
.hd-logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 11px; border-radius: 6px;
  font: 500 15px/1 var(--text); color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: var(--stone); }
.nav a.is-on::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -21px; height: 3px; background: var(--u, var(--night)); }
.hd-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-inline-start: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color var(--t-ui) var(--ease), background var(--t-ui) var(--ease); }
.icon-btn:hover { border-color: var(--night); }
.burger { display: none; }
.mnav { background: var(--night); color: #fff; padding: 8px 20px 28px; }
.mnav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; border-bottom: 1px solid var(--line-dk); text-decoration: none; color: #fff; font: 600 22px/1.1 var(--display); letter-spacing: -.01em; }
[dir="rtl"] .mnav a { font-family: var(--text); font-weight: 700; }
.mnav a .k { width: 8px; height: 8px; border-radius: 1px; background: var(--u-n, rgba(255, 255, 255, .5)); flex: none; }
.mnav .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.searchbar { background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px 0 26px; }
.searchbar .hint { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; font-size: 14px; color: var(--ink-3); }

/* -------------------------------------------------------------- footer */
.ft { background: var(--night); color: #fff; }
.ft-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 48px; padding: 96px 0 64px; }
.ft-logo { height: 52px; width: auto; }
.ft h4 { margin: 0 0 18px; font: 600 12.5px/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
[dir="rtl"] .ft h4 { letter-spacing: 0; font-size: 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ft a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft-brands { display: flex; align-items: center; flex-wrap: wrap; gap: 44px; padding: 34px 0; border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk); }
.ft-brands > span { font: 600 12.5px/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
[dir="rtl"] .ft-brands > span { letter-spacing: 0; }
.ft-brands img { height: 34px; width: auto; opacity: .88; transition: opacity var(--t-ui) var(--ease); }
.ft-brands a:hover img { opacity: 1; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0 30px; font-size: 13.5px; color: rgba(255, 255, 255, .64); }
.ft-bottom nav { display: flex; gap: 22px; }
.social { display: flex; gap: 8px; margin-top: 26px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dk); display: grid; place-items: center; color: #fff; }
.social a:hover { background: #fff; color: var(--night); text-decoration: none; }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------- motion utils
   load-in (heroes) and scroll reveals (CSS scroll-driven where supported;
   everything stays fully visible where it is not).                      */
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
[dir="rtl"] .ln { padding: .14em 0; margin: -.14em 0; }
.ln > span { display: inline-block; animation: lnUp 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes lnUp { from { transform: translateY(110%); } to { transform: none; } }
.fade { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .rv { animation: rvUp linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  @keyframes rvUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .rv-img { animation: rvImg linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  .rv-img > img { animation: rvImgIn linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  @keyframes rvImg { from { clip-path: inset(16% 0 0 0); } to { clip-path: inset(0); } }
  @keyframes rvImgIn { from { transform: scale(1.12); } to { transform: scale(1); } }
}

@media (prefers-reduced-motion: reduce) {
  .pm *, .pm *::before, .pm *::after { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------- phone */
@media (max-width: 1240px) {
  .nav, .hd-cta, .hd-search-label { display: none !important; }
  .burger { display: grid; }
  .hd-actions { margin-inline-start: auto; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .t-display { font-size: 50px; line-height: 1.02; }
  .t-h1 { font-size: 44px; }
  .t-h2 { font-size: 34px; }
  .t-h3 { font-size: 26px; }
  .t-h4 { font-size: 20px; }
  .t-lead { font-size: 17.5px; }
  [dir="rtl"] .t-display { font-size: 46px; }
  .sec { padding: 76px 0; }
  .sec--sm { padding: 56px 0; }
  .sec-head { grid-template-columns: 1fr; margin-bottom: 32px; gap: 18px; }
  .hd-util { display: none; }
  .hd-main .wrap { min-height: 68px; gap: 12px; }
  .hd-logo img { height: 36px; }
  .f-row { grid-template-columns: 1fr; }
  .hero-a { min-height: 540px; }
  .hero-a .in { padding-top: 96px; padding-bottom: 44px; }
  .hero-b { padding: 40px 0 44px; }
  .brand-logo { height: 40px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 36px; padding: 64px 0 44px; }
  .ft-top > :first-child { grid-column: 1 / -1; }
  .ft-brands { gap: 26px; }
  .ft-brands img { height: 26px; }
  .logo-tile { padding: 14px 16px; }
  .logo-tile .wordmark { font-size: 17px; }
  .hl { display: inline; white-space: normal; padding: 0 .08em; margin: 0; background: var(--hl, var(--u, var(--yellow))); border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .hl::before { display: none; }
  .sec-head > *, .search { min-width: 0; }
}

