/* ALSAADITRADE: Partners page (/clients/ and /ar/partners.html). Loaded after about.css, whose hero, principles and steps it reuses.
   Logical properties throughout so the Arabic (RTL) page mirrors on its own. */

/* ---------- Hero: glance panel on the right ---------- */
.partners-page .ab-hero .glance { align-self: end; }
.partners-page .ab-hero .glance a { grid-template-columns: 34px 1fr auto; }

/* ---------- Overview + logo plates ---------- */
.pt-intro .statement { max-width: 1060px; }
.pt-plates { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; }
.pt-plate {
  position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 300px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, #fff, var(--bg-soft)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.pt-plate:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pt-plate > img, .pt-plate__emblem { align-self: center; justify-self: center; margin: 44px 40px 20px; }
.pt-plate > img { width: min(340px, 80%); height: auto; }
.pt-plate__emblem { display: flex; align-items: center; gap: 18px; }
.pt-plate__emblem img { width: 96px; height: auto; }
.pt-plate__emblem b { font-size: 26px; letter-spacing: .14em; color: var(--navy); font-weight: 600; }
.pt-plate > span:last-child {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px;
  border-top: 1px solid var(--line); font-size: 15px;
}
.pt-plate > span:last-child b { color: var(--navy); font-weight: 600; }
.pt-plate small { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; text-align: end; }
.pt-plate--dark { background: radial-gradient(120% 90% at 50% 0%, #1a1a1a, #000); border-color: #000; }
.pt-plate--dark > span:last-child { border-top-color: rgba(255,255,255,.12); }
.pt-plate--dark > span:last-child b { color: var(--white); }
.pt-plate--dark small { color: #e9694d; }

/* ---------- Feature: Sirio (dark) ---------- */
.pt-feature { overflow: hidden; }
.pt-feature .container { position: relative; }
.pt-feature__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: center; }
.pt-logo-card {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 4px 110px 4px 4px;
  background: radial-gradient(120% 100% at 30% 0%, #1b1b1b, #000 70%); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.8);
}
[dir="rtl"] .pt-logo-card { border-radius: 110px 4px 4px 4px; }
.pt-logo-card::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(233,105,77,.25); border-radius: inherit; pointer-events: none; }
.pt-logo-card img { width: 72%; height: auto; }
.pt-logo-card__n { position: absolute; top: 22px; inset-inline-start: 28px; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.pt-logo-card__n--dark { position: static; -webkit-text-stroke: 1px rgba(31,127,116,.55); font-size: 54px; }
.pt-bridge { margin-top: 28px; padding: 22px 24px 18px; border-radius: 18px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.pt-bridge svg { width: 100%; height: auto; display: block; direction: ltr; overflow: visible; }
.pt-bridge__arc { fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .8; }
.pt-bridge__node { fill: var(--navy); stroke: var(--teal); stroke-width: 2; }
.pt-bridge__dot { fill: var(--teal); }
.pt-bridge text { fill: #a9b9c7; font: 600 11px "Poppins", sans-serif; letter-spacing: .22em; }
.pt-bridge__labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; font-family: "Noto Serif", Georgia, serif; font-style: italic; color: var(--white); font-size: 15px; }
.pt-feature__text h2 { margin-bottom: 26px; }
.pt-feature__text > p:not(.lead) { color: #a9b9c7; font-size: 15.5px; line-height: 1.85; }
.pt-pillars { list-style: none; margin: 32px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.pt-pillars li { display: grid; gap: 12px; padding: 24px 18px 0 0; padding-inline: 0 18px; }
.pt-pillars li + li { padding-inline-start: 18px; border-inline-start: 1px solid var(--line-dark); }
.pt-pillars span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(73,197,182,.35); color: var(--teal); display: grid; place-items: center; }
.pt-pillars .i { width: 18px; height: 18px; }
.pt-pillars b { display: block; color: var(--white); font-weight: 500; font-size: 15px; margin-bottom: 3px; }
.pt-pillars small { color: #8ea2b3; font-size: 13px; line-height: 1.5; display: block; }

/* ---------- Feature: Al Bourini (light) ---------- */
.pt-logi__head { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: center; margin-bottom: 64px; }
.pt-logi__brand { position: relative; display: grid; justify-items: start; gap: 18px; }
.pt-logi__emblem {
  width: 240px; height: 240px; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 14px var(--bg-soft), 0 0 0 15px var(--line), var(--shadow-lg);
}
.pt-logi__emblem img { width: 58%; height: auto; }
.pt-logi__brand .pt-logo-card__n { position: absolute; top: 6px; inset-inline-start: auto; inset-inline-end: 0; }
.pt-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pt-svc__card {
  position: relative; padding: 34px 28px 30px; border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}
.pt-svc__card::before { content: ""; position: absolute; inset-inline: 28px; top: -1px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
[dir="rtl"] .pt-svc__card::before { transform-origin: right; }
.pt-svc__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pt-svc__card:hover::before { transform: scaleX(1); }
.pt-svc__i { width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--teal); display: grid; place-items: center; margin-bottom: 22px; }
.pt-svc__card h3 { font-size: 18px; margin-bottom: 16px; }
.pt-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pt-ticks li { position: relative; padding-inline-start: 26px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.pt-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal-soft); }
.pt-ticks li::after { content: ""; position: absolute; inset-inline-start: 5.5px; top: 6.5px; width: 5px; height: 8px; border: solid var(--teal-dark); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }

/* ---------- Become a partner (light, form on the right) ---------- */
.pt-join { background: var(--bg-soft); }
.pt-join .form { box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.pt-join__steps { margin: 34px 0 32px; }
.pt-join__steps li > span { background: var(--bg-soft); }
.pt-join__lines { display: flex; flex-wrap: wrap; gap: 10px; }
.pt-join__lines a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 40px; border: 1px solid #cfd8e0; background: var(--white); font-size: 14px; font-weight: 500; color: var(--navy); transition: border-color .25s, background .25s; }
.pt-join__lines a:hover { border-color: var(--teal); background: var(--teal-soft); }
.pt-join__lines .i { width: 17px; height: 17px; color: var(--teal-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .pt-feature__grid { gap: 64px; }
  .pt-svc { grid-template-columns: 1fr 1fr; }
  .pt-logi__head { grid-template-columns: 240px 1fr; gap: 48px; }
  .pt-logi__emblem { width: 200px; height: 200px; }
}
@media (max-width: 960px) {
  .pt-plates { grid-template-columns: 1fr; }
  .pt-feature__grid { grid-template-columns: 1fr; }
  .pt-feature__visual { max-width: 560px; }
  .pt-logi__head { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .pt-plates { margin-top: 44px; gap: 18px; }
  .pt-plate { min-height: 230px; }
  .pt-plate > span:last-child { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px; }
  .pt-plate small { text-align: start; }
  .pt-plate__emblem img { width: 72px; }
  .pt-plate__emblem b { font-size: 20px; }
  .pt-logo-card { border-radius: 4px 70px 4px 4px; }
  [dir="rtl"] .pt-logo-card { border-radius: 70px 4px 4px 4px; }
  .pt-logo-card__n { font-size: 34px; top: 16px; }
  .pt-bridge { padding: 16px 14px 14px; }
  .pt-bridge__labels { font-size: 13px; }
  .pt-pillars { grid-template-columns: 1fr; }
  .pt-pillars li, .pt-pillars li + li { grid-template-columns: 40px 1fr; align-items: center; gap: 14px; padding: 18px 0 0; border-inline-start: 0; }
  .pt-svc { grid-template-columns: 1fr; }
  .pt-logi__emblem { width: 170px; height: 170px; }
}

/* ---------- Arabic ---------- */
[dir="rtl"] .pt-bridge__labels, [dir="rtl"] .pt-pillars b { font-family: "Noto Naskh Arabic", "Noto Serif", serif; font-style: normal; }
[dir="rtl"] .pt-pillars b { font-family: inherit; }
[dir="rtl"] .pt-bridge text { font-family: "IBM Plex Sans Arabic", "Poppins", sans-serif; letter-spacing: 0; font-size: 13px; }
[dir="rtl"] .pt-plate__emblem b { direction: ltr; }
.partners-page #contact h2 .serif { white-space: normal; }
/* Logo files have solid backgrounds (Sirio black, Al Bourini white): blend them into the card */
.pt-plate--dark > img, .pt-logo-card img { mix-blend-mode: lighten; }
.pt-plate__emblem img, .pt-logi__emblem img { mix-blend-mode: multiply; }
@media (max-width: 960px) { .pt-logi__emblem { margin: 15px; } .pt-logi__brand { max-width: 320px; } }
[dir="rtl"] .pt-bridge__labels { flex-direction: row-reverse; } /* the diagram stays west→east, so Italy keeps the left */

/* Al Bourini: full logo (transparent PNG, Dec 2026) */
.pt-plate > img.pt-plate__logo { width: min(250px, 62%); mix-blend-mode: normal; margin-block: 30px 14px; }
.pt-logi__emblem img { width: 80%; mix-blend-mode: normal; }
