/* مرافئ للنقل والخدمات اللوجستية — maritime navy, steel and signal orange */
:root {
  --accent: #e8692a; --fab: #e8692a;
  --navy: #0c1f2e;
  --navy-2: #13304a;
  --steel: #8ea3b5;
  --mist: #eef2f5;
  --signal: #e8692a;
  --ink: #0f1b24;
  --muted: #5c6b78;
  --line: #d4dde5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: "Almarai", Tahoma, sans-serif; font-size: 17px; line-height: 1.85; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Reem Kufi", sans-serif; margin: 0; line-height: 1.3; }

.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 5vw, 70px); color: #fff; transition: background .3s, padding .3s; }
.top.scrolled { background: var(--navy); padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; color: var(--signal); }
.brand b { font-family: "Reem Kufi", sans-serif; font-weight: 800; font-size: 23px; display: block; line-height: 1.1; }
.brand small { display: block; font-size: 11.5px; opacity: .8; }
.menu { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.menu a { text-decoration: none; }
.menu a:hover { color: var(--signal); }
.menu .menu-cta { border: 1px solid var(--signal); padding: 7px 16px; color: #fff; }
.menu .menu-cta:hover { background: var(--signal); color: #fff; }
.menu-btn { display: none; background: none; border: 0; width: 32px; height: 24px; position: relative; color: #fff; }
.menu-btn span { position: absolute; right: 0; left: 0; height: 2px; background: currentColor; }
.menu-btn span:first-child { top: 6px; } .menu-btn span:last-child { bottom: 6px; }

.hero { position: relative; min-height: 100vh; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 120px clamp(16px, 5vw, 70px) 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 20, 30, .9) 10%, rgba(8, 20, 30, .35) 60%, rgba(8, 20, 30, .55)); }
.hero-text { position: relative; z-index: 2; max-width: 680px; margin-bottom: 50px; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .5px; color: #d6e0e8; margin: 0 0 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(232, 105, 42, .25); }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; }
.lead { font-size: 19px; color: #dfe7ee; max-width: 540px; }
.btn { display: inline-block; margin-top: 12px; padding: 13px 26px; background: var(--signal); color: #fff; text-decoration: none; font: inherit; font-weight: 600; font-size: 15.5px; border: 0; cursor: pointer; }
.btn:hover { background: #d25a1f; }
.hero-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 calc(-1 * clamp(16px, 5vw, 70px)); border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-facts div { padding: 20px clamp(16px, 5vw, 70px); border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-facts div:last-child { border-left: 0; }
.hero-facts dt { font-family: "Reem Kufi", sans-serif; font-weight: 700; font-size: 20px; color: var(--signal); }
.hero-facts dd { margin: 0; color: #c9d5df; font-size: 15px; }

section { padding: clamp(60px, 9vw, 120px) clamp(16px, 5vw, 70px); }
.sec-title { font-size: clamp(30px, 3.8vw, 46px); color: var(--navy); margin-bottom: 44px; display: flex; align-items: baseline; gap: 16px; }
.sec-title span { font-size: 15px; color: var(--signal); font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 600; border: 1px solid currentColor; padding: 0 8px; }
.sec-title.light { color: #fff; }

.svc { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.svc-row img { width: 100%; height: 190px; object-fit: cover; filter: grayscale(.35); transition: filter .3s; }
.svc-row:hover img { filter: none; }
.svc-row h3 { font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.svc-row p { margin: 0; color: var(--muted); max-width: 640px; }

.routes { background: var(--navy); color: #d6e0e8; }
.routes-note { max-width: 620px; margin: -24px 0 30px; color: var(--steel); }
.route-map { width: 100%; height: auto; }
.route-map .port circle { fill: var(--navy); stroke: #fff; stroke-width: 3; }
.route-map .port text { fill: #fff; font-family: "Reem Kufi", sans-serif; font-size: 20px; text-anchor: middle; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: t; position: relative; }
.timeline::before { content: ""; position: absolute; top: 14px; right: 0; left: 0; height: 2px; background: var(--line); }
.timeline li { position: relative; padding: 46px 0 0 24px; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; top: 0; right: 0; width: 30px; height: 30px; background: var(--navy); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.timeline b { display: block; font-family: "Reem Kufi", sans-serif; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.timeline span { color: var(--muted); font-size: 15px; }

.wide-photo { padding: 0; height: 48vh; min-height: 300px; overflow: hidden; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }

.quote { background: #fff; }
.q-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 90px); }
.quote h2 { font-size: clamp(30px, 3.8vw, 46px); color: var(--navy); margin-bottom: 10px; }
.quote p { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 26px 0 0; }
.facts li { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts span { width: 70px; color: var(--muted); font-size: 14px; }
.facts a, .facts em { font-style: normal; text-decoration: none; }
form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-2); margin-bottom: 14px; }
form input, form select, form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #c8d3dc; background: var(--mist); font: inherit; font-weight: 400; color: var(--ink); border-radius: 0; }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--signal); outline-offset: -1px; background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.foot { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; padding: 30px clamp(16px, 5vw, 70px); background: var(--navy); color: #b9c7d3; }
.foot .brand { color: #fff; } .brand.small .mark { width: 22px; height: 22px; }
.social a { margin-left: 14px; text-decoration: none; font-size: 14px; }
.group { text-decoration: none; font-size: 14px; }
.copy { flex-basis: 100%; margin: 0; font-size: 12.5px; color: #7d8e9c; }

.thanks { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; background: var(--navy); color: #d6e0e8; }
.thanks h1 { font-size: 44px; color: #fff; margin: 14px 0; }

@media (max-width: 960px) {
  .menu { position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; font-size: 22px; display: none; }
  .menu-open .menu { display: flex; }
  .menu-btn { display: block; position: relative; z-index: 30; }
  .svc-row, .q-grid { grid-template-columns: 1fr; gap: 16px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .timeline::before { display: none; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 560px) { .timeline, .row2 { grid-template-columns: 1fr; } .route-map .port text { font-size: 26px; } }

/* ───── motion edition ───── */
.hero { background: var(--navy); }
.hero::after { z-index: 1; }
.hero-text, .hero-facts { z-index: 3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.slide-dots { left: clamp(16px, 5vw, 70px); bottom: 120px; }
.waves { position: absolute; z-index: 2; left: 0; bottom: 70px; width: 100%; height: 70px; pointer-events: none; overflow: visible; }
.waves path { transform-box: fill-box; }
.waves .wv1 { fill: rgba(232, 105, 42, .14); animation: wave 9s linear infinite; }
.waves .wv2 { fill: rgba(255, 255, 255, .07); animation: wave 13s linear infinite reverse; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.svc-row .wipe img { width: 100%; height: 190px; object-fit: cover; }
.svc-row:hover .wipe img { transform: scale(1.06); transition-duration: .7s; }
.route-map .port { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .5s, transform .6s cubic-bezier(.2, 1.4, .4, 1); }
.route-map.in .port { opacity: 1; transform: none; }
.route-map.in .port:nth-of-type(1) { transition-delay: .2s; } .route-map.in .port:nth-of-type(2) { transition-delay: .7s; }
.route-map.in .port:nth-of-type(3) { transition-delay: 1.2s; } .route-map.in .port:nth-of-type(4) { transition-delay: 1.7s; }
.route-map.in .port:nth-of-type(5) { transition-delay: 2.2s; }
.route-map .port circle { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
.route-map .ship { opacity: 0; transition: opacity .6s; }
.route-map.sailing .ship { opacity: 1; }
.route-map.sailing .port circle { animation: ping 3s ease-out infinite; }
@keyframes ping { 0% { stroke-width: 3; } 50% { stroke-width: 6; } 100% { stroke-width: 3; } }
.tl-track { height: 2px; background: var(--line); position: relative; margin-bottom: -16px; }
.tl-track .grow { position: absolute; inset: 0; background: var(--signal); }
.timeline::before { display: none; }
.wide-photo { position: relative; height: 62vh; display: flex; align-items: center; }
.wide-photo img { position: absolute; inset: 0; will-change: transform; }
.wide-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(8, 20, 30, .85), rgba(8, 20, 30, .2)); }
.wp-text { position: relative; z-index: 2; margin: 0 clamp(16px, 5vw, 70px); max-width: 640px; }
.wp-text p { color: #fff; font-family: "Reem Kufi", sans-serif; font-weight: 700; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.5; margin: 0 0 18px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) { .waves { bottom: 200px; } .slide-dots { bottom: 230px; } }

/* ═══ polish ═══ */

/* readable type scale */
html { font-size: 18px; }
body { font-size: 18px; line-height: 1.95; }
.lead { font-size: 21px !important; line-height: 1.9; }
.menu { font-size: 16.5px !important; }
.menu a { font-weight: 500; }
.brand b { font-size: 27px; }
.brand small { font-size: 13px; }

:root { --muted: #4f5e6b; --ghost: rgba(12, 31, 46, .07);
  --c2-bg: #0c1f2e; --c2-ink: #d6e0e8; --c2-head: #fff; --c2-tile: rgba(255,255,255,.05); --c2-line: rgba(255,255,255,.14); --c2-accent: #e8692a;
  --c2-card: #fff; --c2-card-ink: #0f1b24; --c2-card-muted: #5c6b78; --c2-field: #eef2f5; --c2-field-line: #c8d3dc;
  --f2-bg: #07131c; --f2-ink: #9fb1c0; --f2-head: #fff; --f2-line: rgba(255,255,255,.1); --f2-accent: #e8692a; }
.hero h1 { font-size: clamp(46px, 6.4vw, 86px); }
.hero-facts dt { font-size: 22px; } .hero-facts dd { font-size: 16.5px; }
.services { position: relative; overflow: hidden; }
.svc2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-card { position: relative; display: block; height: 420px; overflow: hidden; color: #fff; text-decoration: none; background: #0c1f2e; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 16, 24, .92) 8%, rgba(6, 16, 24, .25) 60%, rgba(6, 16, 24, .05)); transition: background .4s; }
.svc-card .svc-body { position: absolute; z-index: 2; right: 0; left: 0; bottom: 0; padding: 30px 32px; }
.svc-card span { font-weight: 700; color: var(--signal); font-size: 15px; }
.svc-card h3 { color: #fff; font-size: 30px; margin: 4px 0 6px; }
.svc-card p { margin: 0; color: #d3dde6; font-size: 17px; max-width: 520px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .5s, margin .5s; }
.svc-card em { display: inline-block; margin-top: 12px; font-style: normal; font-weight: 600; font-size: 15.5px; color: #fff; border-bottom: 2px solid var(--signal); }
.svc-card:hover img { transform: scale(1.07); }
.svc-card:hover p, .svc-card:focus p { max-height: 120px; opacity: 1; margin-top: 4px; }
@media (hover: none) { .svc-card p { max-height: none; opacity: 1; } }
.timeline b { font-size: 20px; } .timeline span { font-size: 16.5px; }
.routes-note { font-size: 18px; color: #a9bccb; }
@media (max-width: 900px) { .svc2 { grid-template-columns: 1fr; } .svc-card { height: 340px; } }

/* typography — Reem Kufi (headings) + Almarai (text) */
body, input, select, textarea, button { font-family: "Almarai", Tahoma, sans-serif; }
h1, h2, h3, h4, blockquote, .brand b, .btn, .menu a { font-family: "Reem Kufi", sans-serif; }
