/* ALSAADITRADE: Strategic Advisory page (/strategic-advisory.html and /ar/strategic-advisory.html).
   Loaded after style.css, division.css, live.css and about.css. Everything is scoped to .adv-page so the
   shared classes (practice, item, aud-row, process, discretion) keep their look elsewhere.
   Logical properties throughout so the Arabic (RTL) page mirrors on its own. */

/* ---------- Overview: statement + three pillars ---------- */
.adv-page #overview { position: relative; overflow: hidden; }
.adv-page #overview::before {
  content: "\201C"; position: absolute; inset-inline-end: 4%; top: -40px; font-family: "Noto Serif", Georgia, serif;
  font-size: 420px; line-height: 1; color: var(--teal); opacity: .07; pointer-events: none;
}
.adv-page .statement { max-width: 1060px; }
.adv-page .intro-cols { gap: 0; margin-top: 64px; padding-top: 0; border-top: 1px solid var(--line); counter-reset: pil; }
.adv-page .intro-cols > div {
  position: relative; flex-direction: column; gap: 0; padding: 40px 36px 4px; counter-increment: pil;
  border-inline-start: 1px solid var(--line); transition: background .4s;
}
.adv-page .intro-cols > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.adv-page .intro-cols > div::after {
  content: "0" counter(pil); position: absolute; top: 32px; inset-inline-end: 28px; font-family: "Noto Serif", Georgia, serif;
  font-style: italic; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(31,127,116,.4);
}
.adv-page .intro-cols span {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 22px; background: transparent;
  border: 1px solid rgba(31,127,116,.35); box-shadow: 0 0 0 6px var(--teal-soft);
}
.adv-page .intro-cols h4 { font-size: 18px; margin: 0 0 8px; }
.adv-page .intro-cols p { font-size: 15px; line-height: 1.7; }

/* ---------- Practices: editorial rows, alternating sides ---------- */
.adv-page #services .head { margin-bottom: 24px; }
.adv-page .practice {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(48px, 6vw, 96px); align-items: center;
  padding: 96px 0; border-top: 1px solid var(--line);
}
.adv-page .head + .practice { border-top: 1px solid var(--line); padding-top: 96px; }
.adv-page .practice:nth-of-type(even) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.adv-page .practice:nth-of-type(even) .practice__media { order: 2; }
.adv-page .practice__media { position: relative; padding: 0 22px 22px 0; }
.adv-page .practice__media::before {
  content: ""; position: absolute; inset: 22px 0 0 22px; border: 1px solid rgba(31,127,116,.35);
  border-radius: 4px 120px 4px 4px; pointer-events: none;
}
.adv-page .practice:nth-of-type(even) .practice__media { padding: 0 0 22px 22px; }
.adv-page .practice:nth-of-type(even) .practice__media::before { inset: 22px 22px 0 0; border-radius: 120px 4px 4px 4px; }
.adv-page .practice__img {
  position: relative; z-index: 1; margin: 0; aspect-ratio: 5 / 4; border-radius: 4px 120px 4px 4px;
  box-shadow: 0 40px 80px -40px rgba(7,26,44,.55);
}
.adv-page .practice:nth-of-type(even) .practice__img { border-radius: 120px 4px 4px 4px; }
.adv-page .practice__img::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(7,26,44,0) 45%, rgba(7,26,44,.35));
  pointer-events: none;
}
.adv-page .practice:hover .practice__img img { transform: scale(1.05); }
.adv-page .practice__img img { transition: transform 1.6s var(--ease); }

.adv-page .practice__head { position: relative; margin-bottom: 30px; }
.adv-page .practice__n {
  display: block; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: clamp(64px, 6vw, 92px); line-height: .9;
  color: transparent; -webkit-text-stroke: 1px rgba(31,127,116,.5); margin-bottom: 14px;
}
.adv-page .practice h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 14px; }
.adv-page .practice__head p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; max-width: 560px; }
.adv-page .practice__head::after { content: ""; display: block; width: 56px; height: 2px; background: var(--teal); margin-top: 26px; }

.adv-page .practice__items { gap: 0 36px; }
.adv-page .item {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-content: start;
  padding: 22px 0; background: none; border: 0; border-radius: 0; border-top: 1px solid var(--line); box-shadow: none;
}
.adv-page .item::before { display: none; }
.adv-page .item:hover { transform: none; box-shadow: none; }
.adv-page .item span {
  grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; border-radius: 50%; background: transparent;
  border: 1px solid rgba(31,127,116,.35); transition: background .3s, color .3s, border-color .3s;
}
.adv-page .item span .i { width: 18px; height: 18px; }
.adv-page .item:hover span { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.adv-page .item h4 { font-size: 15.5px; margin: 2px 0 4px; }
.adv-page .item p { font-size: 14px; line-height: 1.6; }

/* Discretion: dark seal band */
.adv-page .discretion {
  position: relative; overflow: hidden; margin-top: 40px; padding: 44px 48px; gap: 32px; border-radius: 24px;
  background: radial-gradient(70% 140% at 0% 0%, rgba(73,197,182,.18), transparent 60%), linear-gradient(120deg, #0b2238, var(--navy));
  box-shadow: 0 40px 80px -48px rgba(7,26,44,.8);
}
[dir="rtl"] .adv-page .discretion { background: radial-gradient(70% 140% at 100% 0%, rgba(73,197,182,.18), transparent 60%), linear-gradient(240deg, #0b2238, var(--navy)); }
.adv-page .discretion::after {
  content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(73,197,182,.12); box-shadow: 0 0 0 30px rgba(73,197,182,.03), 0 0 0 31px rgba(73,197,182,.1);
  pointer-events: none;
}
.adv-page .discretion > span {
  width: 76px; height: 76px; border-radius: 50%; background: transparent; border: 1px solid rgba(73,197,182,.45);
  box-shadow: 0 0 0 8px rgba(73,197,182,.07), 0 0 0 9px rgba(73,197,182,.18);
}
.adv-page .discretion h4 { font-family: "Noto Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 26px; margin-bottom: 6px; }
.adv-page .discretion p { font-size: 15px; line-height: 1.7; max-width: 620px; }
.adv-page .discretion .btn { position: relative; z-index: 1; }

/* ---------- Global network ---------- */
.adv-page .network .quote {
  font-size: clamp(16px, 1.3vw, 18px); line-height: 1.8; margin: 40px 0 22px; padding-inline-start: 26px;
  border-inline-start: 2px solid var(--teal);
}
.adv-page .network .quote::before { display: none; }
.adv-page .network .lead { font-size: 15.5px; }
.adv-page .adv-stats { position: relative; margin-top: 88px; }

/* ---------- Who we work with: card grid ---------- */
.adv-page .aud-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; border: 0; }
.adv-page .aud-row {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 36px 32px 34px;
  border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(165deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.adv-page .aud-row::after {
  content: ""; position: absolute; inset-inline: 32px; bottom: 0; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
[dir="rtl"] .adv-page .aud-row::after { transform-origin: right; }
.adv-page .aud-row:hover { padding: 36px 32px 34px; background: linear-gradient(165deg, #fff 0%, var(--bg-soft) 100%); transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.adv-page .aud-row:hover::after { transform: scaleX(1); }
.adv-page .aud-row__i { order: -1; justify-self: auto; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 14px; }
.adv-page .aud-row__n {
  position: absolute; top: 26px; inset-inline-end: 28px; font-size: 44px; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(31,127,116,.45);
}
.adv-page .aud-row h4 { font-size: 19px; }
.adv-page .aud-row p { font-size: 14.5px; line-height: 1.7; }

/* ---------- Approach ---------- */
.adv-page .process::before { top: 32px; left: 32px; right: 32px; height: 1px; background: linear-gradient(90deg, var(--teal), rgba(73,197,182,.15)); }
[dir="rtl"] .adv-page .process::before { background: linear-gradient(270deg, var(--teal), rgba(73,197,182,.15)); }
.adv-page .proc__dot {
  width: 64px; height: 64px; font-size: 22px; background: var(--bg-soft); box-shadow: 0 0 0 8px var(--bg-soft);
  margin-bottom: 26px;
}
.adv-page .proc h4 { font-size: 19px; }
.adv-page .proc p { line-height: 1.7; }

/* ---------- Contact ---------- */
.adv-page #contact .ab-address { margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .adv-page .aud-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .adv-page .practice, .adv-page .practice:nth-of-type(even) { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .adv-page .head + .practice { padding-top: 64px; }
  .adv-page .practice:nth-of-type(even) .practice__media { order: 0; }
  .adv-page .practice__img { aspect-ratio: 16 / 10; }
  .adv-page .intro-cols { grid-template-columns: 1fr; }
  .adv-page .intro-cols > div, .adv-page .intro-cols > div:first-child { border-inline-start: 0; border-top: 1px solid var(--line); padding: 30px 0 26px; }
  .adv-page .intro-cols > div:first-child { border-top: 0; }
  .adv-page .intro-cols > div::after { inset-inline-end: 0; top: 30px; }
  .adv-page .discretion { grid-template-columns: auto 1fr; padding: 36px 32px; }
  .adv-page .discretion .btn { grid-column: 1 / -1; justify-self: start; }
  .adv-page .adv-stats { margin-top: 64px; }
}
@media (max-width: 600px) {
  .adv-page #overview::before { font-size: 260px; top: -20px; }
  .adv-page .practice { padding: 52px 0; }
  .adv-page .practice__media, .adv-page .practice:nth-of-type(even) .practice__media { padding: 0 14px 14px 0; }
  .adv-page .practice__media::before, .adv-page .practice:nth-of-type(even) .practice__media::before { inset: 14px 0 0 14px; }
  .adv-page .practice__img, .adv-page .practice:nth-of-type(even) .practice__img,
  .adv-page .practice__media::before, .adv-page .practice:nth-of-type(even) .practice__media::before { border-radius: 4px 64px 4px 4px; }
  .adv-page .practice__items { gap: 0; }
  .adv-page .aud-list { grid-template-columns: 1fr; gap: 14px; }
  .adv-page .aud-row, .adv-page .aud-row:hover { padding: 28px 24px; }
  .adv-page .discretion { grid-template-columns: 1fr; gap: 20px; padding: 30px 20px; text-align: start; }
  .adv-page .discretion .btn { width: 100%; padding: 16px 18px; gap: 10px; font-size: 14px; line-height: 1.35; text-align: center; } /* one line on 375px phones, a tidy two lines on 320px */
  .adv-page .discretion .btn .i { flex: none; width: 16px; height: 16px; }
  .adv-page .proc__dot { width: 56px; height: 56px; font-size: 19px; }
}
[dir="rtl"] .adv-page .practice__media { padding: 0 0 22px 22px; }
[dir="rtl"] .adv-page .practice__media::before { inset: 22px 22px 0 0; }
[dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__media { padding: 0 22px 22px 0; }
[dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__media::before { inset: 22px 0 0 22px; }
[dir="rtl"] .adv-page .practice__img, [dir="rtl"] .adv-page .practice__media::before { border-radius: 120px 4px 4px 4px; }
[dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__img, [dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__media::before { border-radius: 4px 120px 4px 4px; }
@media (max-width: 960px) {
  [dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__img, [dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__media::before { border-radius: 120px 4px 4px 4px; }
  [dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__media { padding: 0 0 22px 22px; }
  [dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__media::before { inset: 22px 22px 0 0; }
}
@media (max-width: 600px) {
  [dir="rtl"] .adv-page .practice__media, [dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__media { padding: 0 0 14px 14px; }
  [dir="rtl"] .adv-page .practice__media::before, [dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__media::before { inset: 14px 14px 0 0; border-radius: 64px 4px 4px 4px; }
  [dir="rtl"] .adv-page .practice__img, [dir="rtl"] .adv-page .practice:nth-of-type(even) .practice__img { border-radius: 64px 4px 4px 4px; }
}
