/* =========================================================
   Medrar Freight — Design System
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --primary: #c81e0a;
  --primary-hover: #9e170a;
  --primary-soft: #fce8e4;
  --on-primary: #ffffff;
  --accent-red: #c0392b;
  --navy: #051233;

  /* Light theme surfaces */
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --border: #e3e6eb;
  --text: #1c2230;
  --text-muted: #5b6472;
  --header-bg: rgba(255, 255, 255, 0.92);
  --overlay: linear-gradient(180deg, rgba(10, 14, 22, 0.55) 0%, rgba(10, 14, 22, 0.72) 100%);
  --shadow-sm: 0 1px 2px rgba(20, 24, 33, 0.06), 0 1px 1px rgba(20, 24, 33, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 24, 33, 0.08);
  --shadow-lg: 0 16px 48px rgba(20, 24, 33, 0.14);

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Poppins', var(--font-body);
  --header-h: 84px;
}

:root[dir="rtl"] {
  --font-body: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
  --font-head: 'Tajawal', var(--font-body);
}

:root[data-theme="dark"] {
  --primary: #ff5c42;
  --primary-hover: #ff7a63;
  --primary-soft: rgba(255, 92, 66, 0.14);
  --on-primary: #1a0805;

  --bg: #0c1016;
  --bg-alt: #10151d;
  --surface: #141a24;
  --surface-2: #1a212c;
  --border: #262f3d;
  --text: #e8ecf3;
  --text-muted: #99a3b3;
  --header-bg: rgba(12, 16, 22, 0.88);
  --overlay: linear-gradient(180deg, rgba(6, 8, 12, 0.6) 0%, rgba(6, 8, 12, 0.82) 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  transition: background-color .25s ease, color .25s ease;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--text); }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); }
p { color: var(--text-muted); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

section { padding-block: clamp(56px, 6vw, 96px); }
.section--tight { padding-block: clamp(40px, 4vw, 64px); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--primary); display: inline-block; }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { margin-top: 12px; font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.22); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.topbar {
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-muted);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar__contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
.topbar__contacts a:hover { color: var(--primary); }
.topbar__tag { font-weight: 600; color: var(--text); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav a.nav-link {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; color: var(--text);
}
.nav a.nav-link:hover, .nav a.nav-link.is-active { background: var(--primary-soft); color: var(--primary); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text);
}
.dropdown a:hover { background: var(--bg-alt); color: var(--primary); }
.dropdown a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface-2); align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; display: flex; align-items: center;
  min-height: min(88vh, 780px); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.hero .container { padding-block: 60px; }
.hero__content { max-width: 720px; }
.hero__content .eyebrow { color: #ffb3a3; }
.hero__content .eyebrow::before { background: #ffb3a3; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__content p { color: rgba(255,255,255,0.86); font-size: 1.15rem; max-width: 600px; }
.hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero__badge { display: flex; flex-direction: column; gap: 2px; }
.hero__badge strong { font-size: 1.3rem; font-family: var(--font-head); }
.hero__badge span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

.page-hero {
  position: relative; color: #fff; padding-block: 100px 70px; overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; margin-top: 14px; font-size: 1.08rem; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: 0.6; }

/* ---------- Stats / trust bar ---------- */
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 36px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item .icon svg { width: 24px; height: 24px; }
.trust-item strong { display: block; font-size: 0.98rem; color: var(--text); }
.trust-item span { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.card .card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.service-block + .service-block { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--border); }
.service-block__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.service-block__media img { width: 100%; height: 100%; object-fit: cover; }
.service-block__body .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-block__body .icon svg { width: 28px; height: 28px; }
.service-block__body ul { display: grid; gap: 10px; margin-top: 18px; }
.service-block__body li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--text-muted); }
.service-block__body li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.service-block.is-reverse .service-block__media { order: 2; }

/* ---------- About / split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split__stat {
  position: absolute; bottom: 20px; left: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 20px; box-shadow: var(--shadow-lg);
}
.split__stat strong { display: block; font-size: 1.6rem; font-family: var(--font-head); color: var(--primary); }
.split__stat span { font-size: 0.8rem; color: var(--text-muted); }
.split__body ul { display: grid; gap: 14px; margin-top: 22px; }
.split__body li { display: flex; gap: 12px; align-items: flex-start; }
.split__body li svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.split__body li strong { display: block; font-size: 0.98rem; }
.split__body li span { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 42px; margin-bottom: 28px; }
.timeline-item::before { content: ""; position: absolute; left: 5px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 4px solid var(--primary-soft); }
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { font-size: 0.92rem; }

/* ---------- Values grid ---------- */
.value-card { text-align: center; padding: 26px 20px; }
.value-card .icon { margin-inline: auto; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg); color: #fff; padding: clamp(36px, 5vw, 60px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.88); }
.cta-banner .btn--primary { background: #fff; color: var(--primary-hover); }
.cta-banner .btn--primary:hover { background: #fff0ee; }

/* ---------- Iraq routes ---------- */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.route-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.route-card .badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--primary-soft); color: var(--primary); padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.route-card h3 { margin-bottom: 8px; }
.route-card p { font-size: 0.92rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group.span-2 { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-group .req { color: var(--accent-red); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-alt); color: var(--text); font-size: 0.95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-hp { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form-status.is-success { display: block; background: rgba(46, 160, 67, 0.12); color: #2ea043; border: 1px solid rgba(46, 160, 67, 0.3); }
.form-status.is-error { display: block; background: rgba(192, 57, 43, 0.1); color: var(--accent-red); border: 1px solid rgba(192, 57, 43, 0.3); }

/* ---------- Contact info blocks ---------- */
.contact-info { display: grid; gap: 18px; }
.contact-info-item { display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
.contact-info-item .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .icon svg { width: 22px; height: 22px; }
.contact-info-item h4 { margin-bottom: 4px; font-size: 0.98rem; }
.contact-info-item p, .contact-info-item a { font-size: 0.92rem; }
.contact-info-item a:hover { color: var(--primary); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(0.15); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }
.footer-col .contact-line svg { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.84rem; color: var(--text-muted); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 12px 18px;
  border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; border-top: 1px solid var(--border); }
  .nav.is-open { transform: translateX(0); }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a.nav-link { padding: 14px 16px; }
  .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 14px; display: none; margin-top: 4px; background: transparent; }
  .has-dropdown.is-open .dropdown { display: grid; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-top: 14px; }

  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .service-block, .service-block.is-reverse { grid-template-columns: 1fr; }
  .service-block__media, .service-block.is-reverse .service-block__media { order: -1; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .route-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .brand img { height: 36px; }
  .topbar__contacts span.topbar__tag { display: none; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero__badges { gap: 20px; }
  .hero { min-height: auto; padding-top: 40px; }
}

/* =========================================================
   RTL (Arabic) overrides
   ========================================================= */
[dir="rtl"] { letter-spacing: 0; }
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }
[dir="rtl"] .dropdown { left: auto; right: 0; }
[dir="rtl"] .split__stat { left: auto; right: 20px; }
[dir="rtl"] .skip-link { left: auto; right: -9999px; border-radius: 0 0 0 8px; }
[dir="rtl"] .skip-link:focus { right: 0; }
[dir="rtl"] .card .card-link svg,
[dir="rtl"] .breadcrumbs svg,
[dir="rtl"] .nav-link .icon-chevron { transform: scaleX(-1); }
[dir="rtl"] .card:hover .card-link svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .timeline::before { left: auto; right: 13px; }
[dir="rtl"] .timeline-item { padding-left: 0; padding-right: 42px; }
[dir="rtl"] .timeline-item::before { left: auto; right: 5px; }

@media (max-width: 980px) {
  [dir="rtl"] .nav { transform: translateX(-100%); }
  [dir="rtl"] .nav.is-open { transform: translateX(0); }
  [dir="rtl"] .has-dropdown .dropdown { padding-left: 0; padding-right: 14px; }
}
