/* ===== Theme ===== */
:root {
  --dark: #121417;
  --dark-2: #23272d;
  --ink: #15181c;
  --muted: #62686f;
  --accent: #ff5b1f;
  --accent-hover: #ff7843;
  --accent-ink: #121417; /* dark text on orange keeps AA contrast */
  --accent-text: #c93f0b; /* accent dark enough for text on white */
  --line: #e5e5e1;
  --surface: #f4f4f1;
  --radius: 6px;
  --body: "Barlow", system-ui, sans-serif;
  --heading: "Barlow Condensed", system-ui, sans-serif;
  --hero-img: url("https://images.unsplash.com/photo-1616432043562-3671ea2e5242?auto=format&fit=crop&w=2200&q=80");
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --space: clamp(72px, 9vw, 120px);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 span { color: var(--accent-text); }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--space); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.kicker { display: flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.lead { font-family: var(--heading); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.5; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border: 0; border-radius: 999px; font: 700 .9rem var(--body); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: var(--accent-ink); }
.btn-gold:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid #ffffff70; color: #fff; }
.btn-ghost:hover { background: #ffffff14; }
.text-link { font-weight: 700; color: var(--accent-text); }
.text-link:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s; }
/* no backdrop-filter here: it would trap the fixed mobile drawer inside the header */
.site-header.scrolled { background: color-mix(in srgb, var(--dark) 97%, transparent); box-shadow: 0 6px 30px #0003; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; transition: min-height .3s; }
.scrolled .nav-wrap { min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand b { color: var(--accent); margin-inline-start: 6px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a:not(.btn) { font-size: .88rem; font-weight: 600; opacity: .9; position: relative; padding-block: 6px; }
.nav a:not(.btn)::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav-cta { padding: 11px 20px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle { border: 1px solid #ffffff70; background: transparent; color: inherit; font: 700 .75rem var(--body); letter-spacing: .08em; padding: 9px 11px; border-radius: 8px; cursor: pointer; }
.language-toggle:hover { background: #ffffff18; }
.menu-toggle { display: none; background: transparent; border: 1px solid #ffffff70; border-radius: 8px; color: inherit; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: min(900px, 100svh); display: flex; align-items: center; overflow: hidden; background: var(--dark); color: #fff; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(var(--hero-angle, 100deg), var(--dark) 15%, color-mix(in srgb, var(--dark) 75%, transparent) 50%, color-mix(in srgb, var(--dark) 20%, transparent)), var(--hero-img) center/cover no-repeat; animation: zoom 18s ease-out forwards; }
@keyframes zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-content { position: relative; padding-block: 130px 70px; }
.eyebrow { display: inline-block; padding: 7px 14px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 999px; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; }
.hero h1 { max-width: 820px; font-size: clamp(2.6rem, 6.4vw, 5.2rem); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-copy { max-width: 560px; color: #d5dee6; font-size: 1.1rem; line-height: 1.75; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 1px; margin: 64px 0 0; padding: 0; list-style: none; background: #ffffff22; border: 1px solid #ffffff22; border-radius: var(--radius); overflow: hidden; width: fit-content; backdrop-filter: blur(6px); }
.hero-badges li { padding: 18px 22px; background: color-mix(in srgb, var(--dark) 55%, transparent); }
.hero-badges strong { display: block; font-family: var(--heading); font-size: 1rem; }
.hero-badges span { font-size: .8rem; color: #b9c6d1; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.about-tag { position: absolute; inset-inline-end: -24px; bottom: 32px; max-width: 250px; padding: 20px 22px; background: var(--dark); color: #fff; border-radius: var(--radius); border-inline-start: 4px solid var(--accent); box-shadow: 0 20px 50px #12141740; }
.about-tag strong { display: block; font-family: var(--heading); font-size: 1.6rem; color: var(--accent); }
.about-tag span { font-size: .85rem; color: #c8d3dc; }
.about p:not(.lead):not(.kicker) { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-inline-start: 34px; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, white); color: var(--accent-text); font-size: .75rem; font-weight: 800; }

/* ===== Services ===== */
.services { background: var(--surface); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-top h2 { margin: 0; }
.section-top > p { max-width: 400px; color: var(--muted); margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 30px #1214170d; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px #1214171f; }
.card img { width: 100%; height: 200px; object-fit: cover; transition: transform .6s; }
.card:hover img { transform: scale(1.06); }
.card-body { position: relative; padding: 26px 26px 28px; background: #fff; }
.card-num { position: absolute; top: -22px; inset-inline-end: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: 800 .85rem var(--heading); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, transform .3s; }
.steps li:hover { border-color: var(--accent); transform: translateY(-4px); }
.steps li:not(:last-child)::after { content: "→"; position: absolute; inset-inline-end: -19px; top: 38px; z-index: 1; color: var(--accent-text); font-weight: 700; }
.steps span { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; border: 2px solid var(--accent); font: 800 .9rem var(--heading); color: var(--accent-text); }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ===== Band ===== */
.band { padding-block: var(--space); background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; }
.band-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.band .kicker { color: var(--accent); }
.band h2 { margin: 0; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #ffffff1f; border-radius: var(--radius); overflow: hidden; }
.why div { padding: 28px; background: var(--dark); transition: background .3s; }
.why div:hover { background: var(--dark-2); }
.why h3 { font-size: 1.1rem; color: var(--accent); }
.why p { color: #c3cfd9; font-size: .92rem; margin: 0; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.faq-grid > div:first-child p:not(.kicker) { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding-block: 24px; padding-inline: 0 44px; font: 700 1.05rem var(--heading); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--accent-text); font-size: 1.3rem; transition: rotate .25s, background .25s; }
.faq-list details[open] summary::after { rotate: 45deg; background: var(--accent); color: var(--accent-ink); }
.faq-list details p { color: var(--muted); padding-inline-end: 40px; margin: 0 0 24px; }

/* ===== Contact / Quote ===== */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { padding-inline-start: 18px; border-inline-start: 3px solid var(--accent); }
.contact-list small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-text); }
.quote-form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: var(--radius); box-shadow: 0 20px 60px #12141714; }
.quote-form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: 400 .95rem var(--body); color: var(--ink); transition: border-color .2s, background .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.quote-form textarea { resize: vertical; }
.quote-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: .88rem; color: var(--accent-text); font-weight: 600; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: #fff; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: 48px; }
.footer-main > p { margin: 0; color: #b6c3ce; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: #cfd9e1; font-size: .88rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; border-top: 1px solid #ffffff1f; color: #9fb0bd; font-size: .8rem; }
.footer-bottom a { color: var(--accent); }

/* ===== WhatsApp ===== */
.whatsapp { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 30px #25d36666; transition: transform .2s; }
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 30px; height: 30px; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(340px, 85vw); flex-direction: column; align-items: stretch; gap: 0; padding: 96px 28px 28px; background: var(--dark); transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; }
  .nav.open { transform: none; visibility: visible; box-shadow: -20px 0 60px #0006; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #ffffff18; font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav a.active { color: var(--accent); }
  .nav-cta { margin-top: 24px; }
  .nav-actions { position: relative; z-index: 2; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 860px) {
  .about-grid, .band-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16/10; }
  .about-tag { inset-inline-end: 16px; bottom: 16px; }
  .section-top { flex-direction: column; align-items: start; gap: 16px; }
  .hero-badges { grid-template-columns: repeat(3, 1fr); width: 100%; }
}
@media (max-width: 600px) {
  .hero-content { padding-block: 120px 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badges { grid-template-columns: 1fr; margin-top: 44px; }
  .hero-badges li { padding: 14px 18px; }
  .service-grid, .steps, .why, .form-row { grid-template-columns: 1fr; }
  .brand { font-size: 1.05rem; }
  .brand svg { width: 32px; height: 32px; }
  .quote-form .btn { justify-self: stretch; }
  .footer-main { flex-direction: column; align-items: start; }
  .footer-bottom { flex-direction: column; }
  .faq-list details p { padding-inline-end: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== DSNS TRANS extras ===== */
h1, h2, .brand, .card h3, .steps h3 { text-transform: uppercase; letter-spacing: 0; }
h1 { line-height: 1; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.02; }
.btn { border-radius: var(--radius); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.brand b { margin-left: 4px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--accent) 0 60px, transparent 60px 90px); opacity: .9; }

/* Fleet */
.fleet { background: var(--dark); color: #fff; }
.fleet .section-top > p { color: #aab1b8; }
.fleet .kicker, .fleet h2 span { color: var(--accent); }
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #ffffff1c; border: 1px solid #ffffff1c; border-radius: var(--radius); overflow: hidden; }
.vehicle { padding: 30px 26px; background: var(--dark); transition: background .3s; }
.vehicle:hover { background: var(--dark-2); }
.vehicle svg { width: 84px; height: 44px; color: var(--accent); margin-bottom: 22px; }
.vehicle h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 6px; }
.vehicle .spec { display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 999px; background: #ffffff12; color: var(--accent); font-weight: 700; font-size: .78rem; }
.vehicle p { color: #aab1b8; font-size: .92rem; margin: 0; }

/* Coverage */
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.coverage-grid p:not(.kicker) { color: var(--muted); }
.routes { display: grid; gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.routes li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 600; transition: border-color .25s, transform .25s; }
.routes li:hover { border-color: var(--accent); transform: translateX(6px); }
[dir="rtl"] .routes li:hover { transform: translateX(-6px); }
.routes li small { color: var(--accent-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; white-space: nowrap; }
.coverage-media { position: relative; }
.coverage-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); }

@media (max-width: 1024px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .coverage-grid { grid-template-columns: 1fr; } .coverage-media { order: -1; } }
@media (max-width: 600px) { .fleet-grid { grid-template-columns: 1fr; } .routes li { flex-wrap: wrap; } }

/* ===== Language picker ===== */
select.language-toggle { appearance: none; -webkit-appearance: none; padding-inline: 11px 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 9px center; }
[dir="rtl"] select.language-toggle { background-position: left 9px center; }
select.language-toggle option { color: #111; background: #fff; }

/* ===== Arabic / RTL ===== */
html[lang="ar"] { --body: "Cairo", system-ui, sans-serif; --heading: "Cairo", system-ui, sans-serif; --hero-angle: 260deg; }
html[lang="ar"] body * { letter-spacing: 0 !important; } /* letter-spacing breaks Arabic letter joining */
html[lang="ar"] h1, html[lang="ar"] h2 { line-height: 1.3; }
[dir="rtl"] .steps li:not(:last-child)::after { content: "←"; }
@media (max-width: 1024px) { [dir="rtl"] .nav:not(.open) { transform: translateX(-100%); } }
/* Latin brand names and phone numbers keep left-to-right order inside Arabic text */
.brand span, a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
