/* =========================================================================
   Trade Launch Germany: main stylesheet
   Logical properties are used throughout so Arabic (RTL) mirrors automatically.
   ========================================================================= */

/* ---------- Fonts (self-hosted, GDPR-friendly) ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Kufi Arabic"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/noto-kufi-arabic-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Kufi Arabic"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/noto-kufi-arabic-arabic-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Kufi Arabic"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/noto-kufi-arabic-arabic-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Kufi Arabic"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/noto-kufi-arabic-arabic-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #0F1729;
  --navy-2: #16213A;
  --navy-3: #1E2B48;
  --orange: #F77216;
  --orange-d: #DE5F08;
  --orange-soft: #FFF1E6;
  --ink: #0F1729;
  --text: #3F4A5E;
  --muted: #6B7589;
  --line: #E4E8EF;
  --bg: #FFFFFF;
  --tint: #F5F7FA;
  --white: #FFFFFF;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Noto Kufi Arabic", "Poppins", system-ui, Tahoma, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 41, .06), 0 2px 8px rgba(15, 23, 41, .05);
  --shadow: 0 10px 30px -10px rgba(15, 23, 41, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 41, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang^="ar"] body { font-family: var(--font-ar); font-size: 16px; line-height: 1.9; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-d); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 { letter-spacing: 0; line-height: 1.45; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.tl-icon { width: 1.25em; height: 1.25em; flex: none; }
html[dir="rtl"] .i-dir { transform: scaleX(-1); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: .85em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .tl-icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .i-dir { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .i-dir { transform: scaleX(-1) translateX(3px); }
.btn-sm { padding: .65em 1.15em; font-size: .88rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(247, 114, 22, .7); }
.btn-primary:hover { background: var(--orange-d); color: #fff; transform: translateY(-1px); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-row, .journey-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--orange-soft); color: var(--navy); transform: translateY(-1px); }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-d); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
html[lang^="ar"] .eyebrow { letter-spacing: 0; font-size: .88rem; }
.eyebrow-light { color: #FFB27A; }

.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-navy .section-title { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
.section-intro { font-size: 1.06rem; color: var(--muted); max-width: 640px; }
.section-navy .section-intro { color: rgba(255, 255, 255, .72); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(15, 23, 41, .25); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand-icon { width: 46px; height: auto; }
.brand-custom { max-height: 52px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font); }
.bw-1 { font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.bw-1 b { color: var(--orange); font-weight: 700; }
.bw-2 { font-weight: 600; font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; color: var(--navy); }
.brand-light, .brand-light:hover, .brand-light .bw-2 { color: #fff; }

.site-nav { margin-inline-start: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 500; font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.nav-list a:hover, .nav-list .current-menu-item > a { background: var(--tint); color: var(--orange-d); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; padding: 3px; background: var(--tint); border-radius: 999px; }
.lang-switch a {
  display: block; min-width: 38px; text-align: center; padding: 5px 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.4;
}
.lang-switch a[lang="ar"] { font-family: var(--font-ar); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-current { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer;
}
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 1200px) {
  .header-cta { display: none; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .site-nav {
    position: fixed; inset-inline: 0; top: var(--header-h); bottom: 0; z-index: 99;
    background: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { font-size: 1.15rem; padding: 14px 8px; border-radius: 10px; border-bottom: 1px solid var(--line); }
  .nav-cta-mobile { display: inline-flex; width: 100%; margin-top: 24px; }
}
@media (max-width: 420px) {
  .brand-icon { width: 38px; }
  .bw-1 { font-size: 1.05rem; }
  .bw-2 { font-size: .64rem; }
  .header-inner { gap: 12px; }
  .lang-switch a { min-width: 32px; padding: 5px 7px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: rgba(255, 255, 255, .78);
  padding-block: clamp(56px, 8vw, 104px) clamp(110px, 12vw, 150px);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(60% 70% at 85% 30%, rgba(247, 114, 22, .16), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(40, 70, 130, .45), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 22px; }
html[lang^="ar"] .hero-title { line-height: 1.4; letter-spacing: 0; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); }
.hero-title em { font-style: normal; color: var(--orange); }
.hero-text { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); max-width: 560px; margin-bottom: 34px; }
.hero-tagline { margin: 26px 0 0; font-size: .9rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 12px; }
.hero-tagline::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }

.hero-visual { position: relative; min-height: 460px; }
.hv-frame {
  position: absolute; inset-inline-end: 4%; top: -4%; width: 62%; aspect-ratio: 1;
  border: 14px solid var(--orange); border-radius: 6px; opacity: .95;
}
.hv-main, .hv-small { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hv-main { inset-inline-start: 0; top: 6%; width: 76%; aspect-ratio: 4 / 3.6; }
.hv-small { inset-inline-end: 0; bottom: -2%; width: 42%; aspect-ratio: 3 / 3.6; border: 6px solid var(--navy); }
.hv-main img, .hv-small img { width: 100%; height: 100%; object-fit: cover; }
.hv-badge {
  position: absolute; inset-inline-start: -4%; bottom: 4%;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-lg);
}
html[dir="rtl"] .hv-badge { padding: 12px 12px 12px 18px; }
.hv-badge strong { display: block; font-size: .95rem; line-height: 1.3; }
.hv-badge small { display: block; color: var(--muted); font-size: .8rem; }
.hv-badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-d); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 1.15; max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .hv-badge { inset-inline-start: 0; padding: 10px 14px 10px 10px; }
  .hv-frame { border-width: 9px; }
}

/* ---------- Pillars ---------- */
.pillars { position: relative; z-index: 2; margin-top: clamp(-80px, -7vw, -56px); }
.pillar-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden;
}
.pillar { display: flex; align-items: center; gap: 14px; padding: 26px 24px; }
.pillar + .pillar { border-inline-start: 1px solid var(--line); }
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--orange-soft); color: var(--orange-d); }
.pillar-icon .tl-icon { width: 24px; height: 24px; }
.pillar strong { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.pillar small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; margin-top: 2px; }
@media (max-width: 1000px) {
  .pillar-list { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-inline-start: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pillar-list { grid-template-columns: 1fr; }
  .pillar + .pillar { border-inline-start: 0; border-top: 1px solid var(--line); }
  .pillar { padding: 18px 20px; }
}

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card::after {
  content: ""; position: absolute; inset-inline: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
html[dir="rtl"] .service-card::after { transform-origin: right; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.sc-icon { margin-bottom: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: #fff; }
.sc-icon .tl-icon { width: 27px; height: 27px; }
.service-card:hover .sc-icon { background: var(--orange); }
.service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } .service-card { padding: 24px 22px; } }

/* ---------- Check list ---------- */
.check-list { display: grid; gap: 12px; margin-block: 22px 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.55; }
.check-list .tl-icon { flex: none; color: #fff; background: var(--orange); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 2.6; margin-top: 1px; }

/* ---------- Journeys ---------- */
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.journey { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.journey .btn { margin-top: auto; }
.journey h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 700; margin-bottom: 12px; }
.journey-text { color: var(--muted); }
.journey-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.journey-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; }
.journey-icon .tl-icon { width: 26px; height: 26px; }
.journey-label { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
html[lang^="ar"] .journey-label { letter-spacing: 0; font-size: .9rem; }
.journey-dark { background: var(--navy); color: rgba(255, 255, 255, .75); }
.journey-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 20px 20px, radial-gradient(60% 60% at 100% 0%, rgba(247, 114, 22, .22), transparent 70%); }
.journey-dark > * { position: relative; }
.journey-dark h3, .journey-dark .check-list li { color: #fff; }
.journey-dark .journey-text { color: rgba(255, 255, 255, .72); }
.journey-dark .journey-icon { background: var(--orange); color: #fff; }
.journey-dark .journey-label { color: #FFB27A; }
.journey-light { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.journey-light .journey-icon { background: var(--orange-soft); color: var(--orange-d); }
.journey-light .journey-label { color: var(--orange-d); }
.journey-light .check-list .tl-icon { background: var(--navy); }
@media (max-width: 860px) { .journey-grid { grid-template-columns: 1fr; } }

/* ---------- Markets ---------- */
.market-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.market { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); }
.market h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); font-weight: 700; margin-bottom: 10px; }
.market-tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 26px; }
html[lang^="ar"] .market-tag { letter-spacing: 0; font-size: .85rem; }
.market-sub { font-size: .85rem; font-weight: 600; margin: 22px 0 10px; }
.market-primary { background: var(--navy); color: rgba(255, 255, 255, .75); box-shadow: var(--shadow-lg); }
.market-primary::after { content: ""; position: absolute; inset-inline-end: -70px; bottom: -70px; width: 220px; height: 220px; border: 22px solid var(--orange); border-radius: 14px; transform: rotate(18deg); opacity: .9; pointer-events: none; }
html[dir="rtl"] .market-primary::after { transform: rotate(-18deg); }
.market-primary > * { position: relative; z-index: 1; }
.market-primary h3, .market-primary .market-sub { color: #fff; }
.market-primary .market-tag { background: var(--orange); color: #fff; }
.market-secondary { background: #fff; border: 1px solid var(--line); }
.market-secondary p { color: var(--muted); }
.market-secondary .market-sub { color: var(--ink); }
.market-secondary .market-tag { background: var(--orange-soft); color: var(--orange-d); }

.corridor-flow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; font-weight: 700; font-size: clamp(1rem, .9rem + .5vw, 1.2rem); }
.market-primary .corridor-flow { color: #fff; }
.market-secondary .corridor-flow { color: var(--ink); }
.cf-to { color: var(--orange); }
.cf-line { position: relative; flex: 1; min-width: 50px; max-width: 160px; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 11px); opacity: .9; }
.market-primary .cf-line { color: rgba(255, 255, 255, .35); }
.market-secondary .cf-line { color: var(--line); }
.cf-dot { position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 0 0 6px rgba(247, 114, 22, .2); }
html[dir="rtl"] .cf-dot { transform: translate(50%, -50%); }
.cf-dot .tl-icon { width: 18px; height: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; color: var(--ink); font-weight: 500; }
.chips-dark li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.chips-dark .tl-icon { width: 16px; height: 16px; color: var(--orange); }
.market-also { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.market-also p { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
@media (max-width: 900px) { .market-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .market-primary::after { display: none; } .corridor-flow { flex-wrap: wrap; gap: 10px; } .cf-line { flex-basis: 60px; } }

.proc-note { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; margin: 48px auto 0; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; color: var(--muted); }
.proc-note .tl-icon { flex: none; color: var(--orange-d); width: 22px; height: 22px; margin-top: 2px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; inset-inline: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; background: #fff; border: 2px solid var(--orange); color: var(--orange-d);
  font-weight: 700; font-size: 1.15rem; font-family: var(--font);
  box-shadow: 0 0 0 8px var(--tint);
}
.step:first-child .step-num { background: var(--orange); color: #fff; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { text-align: start; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-num { margin: 0; grid-row: span 2; }
}

/* ---------- On the ground (photos) ---------- */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 260px; gap: 18px; }
.pg-item { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-2); }
.pg-tall { grid-row: span 2; }
.pg-wide { grid-column: span 2; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pg-item:hover img { transform: scale(1.04); }
.pg-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(10, 16, 30, .88), transparent);
  color: #fff; font-size: .92rem; font-weight: 500; line-height: 1.45;
}
.pg-item figcaption::before { content: ""; display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--orange); margin-bottom: 10px; }
.pg-tall img { object-position: center 30%; }
@media (max-width: 860px) {
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .pg-tall { grid-row: span 2; }
  .pg-wide { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .pg-tall { grid-row: span 2; }
}

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.founder-photo { position: relative; }
.founder-photo::before {
  content: ""; position: absolute; inset-inline-start: -18px; bottom: -18px; width: 55%; height: 60%;
  background: var(--orange); border-radius: var(--radius-lg); z-index: 0;
}
.founder-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 25%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.founder-role { color: var(--orange-d); font-weight: 600; margin-top: -6px; }
.founder-text { font-size: 1.05rem; }
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 560px; margin-inline-start: 18px; }
}

/* ---------- CTA ---------- */
.cta { padding-block: 0 var(--section); }
.cta-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--navy); color: rgba(255, 255, 255, .78);
  border-radius: 28px; padding: clamp(32px, 5vw, 64px);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 20px 20px,
    radial-gradient(55% 80% at 100% 0%, rgba(247, 114, 22, .28), transparent 70%);
}
html[dir="rtl"] .cta-box::before {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0) 0 0 / 20px 20px,
    radial-gradient(55% 80% at 0% 0%, rgba(247, 114, 22, .28), transparent 70%);
}
.cta-box::after { content: ""; position: absolute; inset-inline-start: clamp(32px, 5vw, 64px); top: 0; width: 72px; height: 4px; background: var(--orange); border-radius: 0 0 4px 4px; }
.cta-copy { position: relative; }
.cta-copy h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); font-weight: 700; }
.cta-copy p { font-size: 1.05rem; margin-bottom: 28px; max-width: 520px; }
.cta-contacts { position: relative; display: grid; gap: 12px; }
.cta-contacts li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cta-contacts small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.cta-contacts a, .cta-contacts span > span { color: #fff; font-weight: 500; }
.cta-contacts li > span:last-child { color: #fff; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.cc-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--orange); color: #fff; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0A1120; color: rgba(255, 255, 255, .66); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 72px 48px; }
.footer-about p { margin-top: 20px; max-width: 340px; }
.footer-tagline { font-size: .9rem; font-weight: 600; color: #fff; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s; }
.social-links a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.tl-social-icon { width: 19px; height: 19px; }
.footer-h { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact .tl-icon { color: var(--orange); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 32px; } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -90px; width: 220px; height: 220px; border: 20px solid var(--orange); border-radius: 14px; transform: rotate(18deg); opacity: .9; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 700; margin: 0; position: relative; z-index: 1; }
.page-body { padding-block: clamp(48px, 6vw, 80px); }
.entry-content h2 { font-size: 1.35rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.15rem; margin-top: 1.5em; }
.entry-content ul { list-style: disc; padding-inline-start: 1.3em; margin-bottom: 1em; }
.entry-content ol { list-style: decimal; padding-inline-start: 1.3em; margin-bottom: 1em; }
.entry-content img { border-radius: var(--radius); }
.legal h2:first-child { margin-top: 0; }
.post-item { padding-block: 24px; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.3rem; }
.post-item h2 a { color: var(--ink); }
.post-date { color: var(--muted); font-size: .85rem; margin-bottom: 6px; }

/* ---------- Reveal animation (JS adds .js to <html>) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- WordPress core ---------- */
.alignleft { float: inline-start; margin-inline-end: 1.5em; }
.alignright { float: inline-end; margin-inline-start: 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption.wp-element-caption { font-size: .85rem; color: var(--muted); }
