/* Freight Forces – website. Brand: charcoal #181b20, red #b62526. Logical properties throughout for Arabic (RTL). */
:root {
	--ink: #181b20;
	--ink-2: #22262d;
	--night: #14171c;
	--red: #b62526;
	--red-2: #d12f2f;
	--paper: #ffffff;
	--soft: #f4f5f7;
	--line: #e3e5ea;
	--muted: #5d6270;
	--radius: 16px;
	--shadow: 0 18px 40px -22px rgba(20, 23, 28, .45);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Barlow Condensed", "Inter", sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);

	/* quote form tokens */
	--rwl-navy: var(--ink);
	--rwl-blue: var(--red);
	--rwl-red: #c0392b;
	--rwl-sky: #fbecec;
	--rwl-ink: var(--ink);
	--rwl-muted: var(--muted);
	--rwl-line: var(--line);
	--rwl-radius: var(--radius);
	--rwl-radius-sm: 10px;
	--rwl-shadow: var(--shadow);
	--rwl-font: var(--font);
}
.lang-ar { --font: "Cairo", system-ui, sans-serif; --display: "Cairo", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { line-height: 1.35; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; text-transform: uppercase; }
.lang-ar h2 { text-transform: none; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.45rem; font-weight: 700; }
.lang-ar h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--red); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red-2); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(182, 37, 38, .8); }
.btn-red:hover { background: var(--red-2); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.is-solid, .site-header.is-scrolled { background: rgba(20, 23, 28, .96); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .6); backdrop-filter: blur(8px); }
.page-plain .site-header { position: sticky; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { display: block; width: auto; height: 46px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn):hover { color: #fff; }
.nav .lang-switch { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font-size: .9rem; }
.nav .btn { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: var(--night); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
	.nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav .lang-switch { border: 0; padding: 12px 4px; }
	.nav .btn { margin-top: 10px; border: 0; }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, #2a2f38 0%, transparent 60%), var(--night); color: #fff; padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 130px); }
.hero-shape { position: absolute; inset-block: 0; inset-inline-end: -8%; width: min(720px, 70%); background:
	linear-gradient(135deg, transparent 0 38%, rgba(182, 37, 38, .9) 38% 58%, transparent 58%) ,
	linear-gradient(135deg, transparent 0 62%, rgba(255, 255, 255, .06) 62% 74%, transparent 74%);
	clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); opacity: .55; pointer-events: none; }
.lang-ar .hero-shape { transform: scaleX(-1); }
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 800; text-transform: uppercase; margin-bottom: .35em; }
.lang-ar .hero h1 { text-transform: none; font-size: clamp(2.2rem, 5.6vw, 4rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: rgba(255, 255, 255, .85); }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 8px; border-radius: 2px; background: var(--red-2); transform: rotate(45deg); }

/* sections */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-soft { background: var(--soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--red); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: .95rem; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ff6b5f; }
.muted { color: var(--muted); max-width: 640px; }
.lead-dark { font-size: 1.12rem; color: var(--muted); }

/* services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.card { position: relative; display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 0; height: 4px; background: var(--red); transition: width .4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::after { width: 100%; }
.card p { color: var(--muted); flex: 1; }
.card-icon { width: 56px; height: 56px; margin-bottom: 18px; border-radius: 14px; background: var(--ink) center / 30px no-repeat; }
.icon-express { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 6h11v9h2.2a3 3 0 0 1 5.6 0H22v-4l-3-4h-4V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v10h.2a3 3 0 0 1 5.6 0H14v-1H3V6zm16.5 13a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm-14 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E"); background-color: var(--red); }
.icon-air { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E"); }
.icon-sea { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20 21c-1.4 0-2.8-.5-4-1.3a7 7 0 0 1-8 0C6.8 20.5 5.4 21 4 21H2v2h2c1.4 0 2.7-.3 4-1a8.7 8.7 0 0 0 8 0c1.3.7 2.6 1 4 1h2v-2h-2zM3.9 19H4c1.6 0 3-.9 4-2 1 1.1 2.4 2 4 2s3-.9 4-2c1 1.1 2.4 2 4 2h.1l1.9-6.7-2-.6V7a2 2 0 0 0-2-2h-3V2H9v3H6a2 2 0 0 0-2 2v4.6l-2 .6L3.9 19zM6 7h12v4l-6-2-6 2V7z'/%3E%3C/svg%3E"); }
.icon-land { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20 8h-3V4H3a2 2 0 0 0-2 2v11h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-3-4zM6 18.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm13.5-9 1.96 2.5H17V9.5h2.5zM18 18.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E"); }
.tag { align-self: flex-start; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: .82rem; font-weight: 700; }
.tag-red { background: #fbecec; color: var(--red); }

/* steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); }
.steps p { color: rgba(255, 255, 255, .7); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.5rem; clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }

/* quote */
.section-quote { background: linear-gradient(180deg, var(--soft) 0, #fff 340px); }
.quote-head { max-width: 760px; margin-bottom: 30px; }
.rwl-quote .rwl-q-title { display: none; } /* the section already has a heading */
.rwl-quote .rwl-q-steps .is-current span { background: var(--red); border-color: var(--red); }
.rwl-quote .rwl-q-btn { font-family: var(--font); }
.rwl-quote .rwl-q-mode__icon { background-color: #fbecec; }

/* about */
.about { display: grid; grid-template-columns: 1.4fr .9fr; gap: 50px; align-items: center; }
.about-mark { display: grid; place-items: center; padding: 30px; border-radius: 28px; background: var(--soft); }
.about-mark img { width: min(320px, 100%); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--red); }
.link-arrow::after { content: "→"; transition: transform .25s; }
.lang-ar .link-arrow::after { content: "←"; }
.link-arrow:hover::after { transform: translateX(4px); }
.lang-ar .link-arrow:hover::after { transform: translateX(-4px); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about-mark { max-width: 260px; } }

/* contact */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.contact { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
a.contact:hover { border-color: var(--red); transform: translateY(-3px); }
.contact-label { color: var(--muted); font-size: .85rem; font-weight: 600; }
.contact-value { font-weight: 700; font-size: 1.08rem; unicode-bidi: isolate; }
.lang-ar .contact-value[dir="ltr"] { text-align: end; }

/* footer */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 40px 0; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner img { height: 40px; width: auto; }
.footer-inner p { margin: 0; flex: 1; min-width: 240px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { color: #ff6b5f; }

/* privacy */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; }
.lang-ar .prose h1 { text-transform: none; }
.prose h2 { font-size: 1.4rem; text-transform: none; margin-top: 1.6em; }
.prose p { color: var(--muted); }
