/* PureSAF Trading & Logistics — additions on top of the shared site.css */

/* seven nav links: switch to the menu button earlier than the design site */
@media (max-width: 1240px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 80px; display: none; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; color: var(--ink); }
  .nav > a[aria-current]:not(.btn) { box-shadow: none; font-weight: 600; }
  .langs { padding: 18px 0; } .langs a { font-size: 1rem; }
  .nav-cta { justify-content: center; padding: 14px; font-size: 1rem; }
}
@media (min-width: 1241px) { .nav { gap: 20px; } }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.big { width: 34px; height: 34px; stroke-width: 1.2; color: var(--gold); margin-bottom: 14px; }
.arr { width: 18px; height: 18px; }
.lang-ar .arr { transform: scaleX(-1); }

/* hero */
.hero-t { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 64px); }
.hero-t-in { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.hero-t h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; }
.lang-ar .hero-t h1 { letter-spacing: 0; line-height: 1.3; }
.hero-art { width: 100%; height: auto; color: var(--ink); }
.hero-art .acc { color: var(--gold); stroke: var(--gold); }
.hero-art .f1 { fill: var(--grey); } .hero-art .f2 { fill: #e9e3d8; }
.hero-art .rib, .hero-art .sea { stroke: #b9bbc0; }
@media (max-width: 860px) { .hero-t-in { grid-template-columns: 1fr; gap: 28px; } .hero-art { max-width: 520px; } }

/* trust bar */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.trust > div { padding: 22px 20px; display: flex; flex-direction: column; gap: 2px; }
.trust > div + div { border-inline-start: 1px solid var(--line); }
.trust b { font-size: 1.15rem; font-weight: 500; }
.trust span { color: var(--ink2); font-size: .9rem; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } .trust > div:nth-child(3) { border-inline-start: 0; } .trust > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* solution cards on home */
.sol-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sol { grid-column: span 2; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: .2s; min-height: 230px; }
.sol:hover { border-color: var(--ink); }
.sol b { font-size: 1.3rem; font-weight: 500; margin-bottom: 8px; }
.sol span { color: var(--ink2); font-size: .95rem; flex: 1; }
.sol .link { margin-top: 18px; font-size: .9rem; }
.sol.lead-sol { grid-column: span 4; grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); }
.sol.lead-sol span { color: #c9cace; font-size: 1.05rem; }
.sol.lead-sol b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 14em; }
.sol.lead-sol .ico.big { color: var(--gold); }
.sol-grid > .sol:nth-child(4), .sol-grid > .sol:nth-child(5) { grid-column: span 3; min-height: 0; }
.sol.lead-sol svg.sol-art { width: 100%; max-width: 330px; height: auto; color: #fff; margin: 10px 0 6px; opacity: .9; }
.sol .tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lang-ar .sol .tag { letter-spacing: 0; }
@media (max-width: 960px) { .sol-grid { grid-template-columns: 1fr 1fr; } .sol, .sol.lead-sol, .sol-grid > .sol:nth-child(4), .sol-grid > .sol:nth-child(5) { grid-column: span 1; grid-row: auto; } .sol.lead-sol { grid-column: span 2; } }
@media (max-width: 560px) { .sol-grid { grid-template-columns: 1fr; } .sol.lead-sol { grid-column: span 1; } }

/* track record */
.recs { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; }
.rec { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.rec.big { padding: 0; overflow: hidden; }
.rec-side { display: flex; flex-direction: column; gap: 16px; }
.rec.ctry { background: #fff; }
.rec.ctry .countries { margin-top: 10px; }
.rec.ctry .countries li { background: var(--grey); border-color: var(--grey); }
.rec.big img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.rec.big .rec-t { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 6px; }
.rec .yr { color: var(--gold); font-size: .85rem; }
.rec b { font-size: 1.15rem; font-weight: 500; }
.rec small { color: var(--mute); font-size: .85rem; }
.rec p { color: var(--ink2); font-size: .95rem; margin: 0; }
.countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.countries li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.ctry-h { margin-top: 44px; font-size: 1rem; font-weight: 500; color: var(--ink2); }
@media (max-width: 860px) { .recs { grid-template-columns: 1fr; } .rec.big { grid-row: auto; } }

/* what you receive + sample order file */
.recv-wrap { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; }
.recv { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; margin-top: 28px; }
.recv b { display: block; font-weight: 500; margin-bottom: 4px; }
.recv p { color: var(--ink2); font-size: .94rem; margin: 0; }
.recv .ico { color: var(--gold); width: 28px; height: 28px; margin-bottom: 10px; }
.deal { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.25); overflow: hidden; }
.deal-h { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.deal-h small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lang-ar .deal-h small { letter-spacing: 0; }
.deal-h b { font-weight: 500; }
.deal ol { list-style: none; margin: 0; padding: 10px 22px 16px; }
.deal li { display: flex; gap: 12px; align-items: center; padding: 9px 0; font-size: .92rem; color: var(--ink2); }
.deal li + li { border-top: 1px dashed var(--line); }
.deal .dot { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line); }
.deal .done .dot { background: var(--ink); border-color: var(--ink); }
.deal .done .dot svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 2.4; fill: none; }
.deal .now { color: var(--ink); font-weight: 500; }
.deal .now .dot { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176,141,87,.18); }
.deal .now .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.deal-n { padding: 10px 22px; background: var(--grey); font-size: .78rem; color: var(--mute); }
@media (max-width: 900px) { .recv-wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .recv { grid-template-columns: 1fr; } }

/* loading studies */
.load-figs { margin: 0; display: grid; gap: 12px; }
.load-figs img, .load-grid img { width: 100%; height: auto; border-radius: var(--r); background: var(--grey); display: block; }
.load-figs .l-sub { width: 62%; justify-self: end; margin-top: -22%; border: 6px solid #fff; box-shadow: 0 16px 40px -24px rgba(0,0,0,.3); position: relative; }
.load-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 0; }
.load-grid figure { margin: 0; }
@media (max-width: 600px) { .load-grid { grid-template-columns: 1fr; } }

/* solution pages */
.sol-head { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.sol-head .art { width: 100%; height: auto; color: var(--ink); }
.sol-head .art .acc { stroke: var(--gold); }
.sol-head .art .f1 { fill: var(--grey); }
@media (max-width: 860px) { .sol-head { grid-template-columns: 1fr; gap: 24px; } .sol-head .art { max-width: 420px; } }
.supply { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 32px; }
.supply h3 { font-size: 1.05rem; font-weight: 500; margin: 0 0 12px; padding-top: 16px; border-top: 2px solid var(--ink); }
.supply ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.supply li { display: flex; gap: 10px; color: var(--ink2); font-size: .95rem; }
.supply li .ico { color: var(--gold); width: 18px; height: 18px; margin-top: 4px; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.points > div { background: #fff; border-radius: var(--r); padding: 26px; }
.points .n { color: var(--gold); font-size: .85rem; display: block; margin-bottom: 10px; }
.points b { display: block; font-weight: 500; font-size: 1.08rem; margin-bottom: 6px; }
.points p { color: var(--ink2); font-size: .94rem; margin: 0; }
.brands { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--ink); letter-spacing: .02em; margin: 0 0 6px; }
.other-sol { display: flex; flex-wrap: wrap; gap: 10px; }
.other-sol a { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; }
.other-sol a:hover { border-color: var(--ink); }
.other-sol .ico { width: 20px; height: 20px; color: var(--gold); }

/* about */
.check { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.check > div { border-top: 1px solid var(--line); padding-top: 18px; }
.check .ico { color: var(--gold); width: 28px; height: 28px; margin-bottom: 10px; }
.check b { display: block; font-weight: 500; margin-bottom: 4px; }
.check p { color: var(--ink2); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .check { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .check { grid-template-columns: 1fr; } }
.legal { margin-top: 36px; padding: 22px 24px; background: var(--grey); border-radius: var(--r); font-size: .92rem; color: var(--ink2); display: grid; gap: 4px; }
.legal b { color: var(--ink); font-weight: 500; }
.pay { max-width: 46em; }
.pay p { color: var(--ink2); font-size: 1.05rem; }
.team > div { display: flex; flex-direction: column; gap: 2px; }
.team b { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.team span, .team p { color: var(--ink2); font-size: .94rem; margin: 0; }

/* incoterms */
.inco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; }
.inco > div { background: #fff; border-radius: var(--r); padding: 22px; }
.inco dt { font-size: 1.4rem; font-weight: 500; margin-bottom: 6px; }
.inco dd { margin: 0; color: var(--ink2); font-size: .93rem; }
@media (max-width: 900px) { .inco { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .inco { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: 7fr 4fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.narrow { max-width: 44em; color: var(--ink2); }
.nf { text-align: center; }
.nf .btns { justify-content: center; }
.foot-legal { color: var(--mute); font-size: .8rem; }

.sol-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.1; }
.lang-ar .sol-head h1 { line-height: 1.35; }

/* ---- photos (2026-11-22) ---- */
.hero-col { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(360px, 38vw, 520px); }
.hero-col img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); display: block; min-height: 0; }
.hero-col .hc1 { grid-row: span 2; }
@media (max-width: 860px) { .hero-col { height: 360px; } }
@media (max-width: 520px) { .hero-col { height: 300px; gap: 8px; } }
.sol { padding: 0 0 24px; overflow: hidden; }
.sol > :not(.sol-img) { margin-inline: 24px; }
.sol .sol-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; margin-bottom: 20px; transition: transform .4s; }
.sol:hover .sol-img { transform: scale(1.03); }
.sol.lead-sol { padding: 28px 0; }
.sol.lead-sol .sol-img { order: 3; aspect-ratio: 16 / 9; margin: 14px 0 18px; }
.sol.lead-sol > .tag, .sol.lead-sol > b { margin-inline: 28px; }
.sol-grid > .sol:nth-child(4) .sol-img, .sol-grid > .sol:nth-child(5) .sol-img { aspect-ratio: 16 / 8; }
.sol-head .sol-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); display: block; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.strip.n1 { grid-template-columns: 1fr; }
.strip.n1 img { aspect-ratio: 21 / 9 !important; }
.strip figure, .gal figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); display: block; }
.strip figcaption, .gal figcaption { font-size: .85rem; color: var(--ink2); margin-top: 8px; line-height: 1.45; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr 1fr; } .strip figure:first-child:nth-last-child(3) { grid-column: span 2; } }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); display: block; }
@media (max-width: 900px) { .gal { grid-template-columns: 1fr 1fr; } }
.reach { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--ink2); }
.reach .ico { width: 22px; height: 22px; color: var(--gold); flex: none; }
