/* Rashed Transport — shared styles (site + profile). Apple-like: light, quiet, rounded. */
:root {
  --blue: #2b5597;
  --blue-deep: #1e3f73;
  --blue-soft: #eaf0f9;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --green: #1f9d55;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Arabic", "SF Pro Display", "IBM Plex Sans Arabic", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.container { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Navigation: frosted glass bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 38px; }
.brand small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: var(--blue); line-height: 1.2; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }

/* Buttons: pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #188a49; }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: #dce6f5; }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.link { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-logo { width: 112px; height: 112px; margin: 0 auto 22px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-weight: 600; font-size: 17px; }
.hero h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero-sub { max-width: 34em; margin: 18px auto 30px; color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-media {
  margin: 56px auto 0;
  width: min(980px, 100%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats { padding: 32px 0 80px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--bg-2); border-radius: var(--radius-sm); padding: 26px 18px; text-align: center; }
.stat strong { display: block; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.stat span { color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: 96px 0; }
.section-gray { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 19px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 24px 60px rgba(0,0,0,.09); }
.card h3 { margin: 18px 0 6px; font-size: 24px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); }
.card .en { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--blue); text-transform: uppercase; }
.icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
}
.icon svg { width: 28px; height: 28px; }

.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.reason h3 { margin: 0 0 6px; font-size: 20px; }
.reason p { margin: 0; color: var(--muted); font-size: 16px; }
.reason .num { display: block; font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }

/* Fleet: dark band */
.section-dark { background: #000; color: #f5f5f7; }
.section-dark .section-head p { color: #a1a1a6; }
.gallery { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.2; background: #111; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* Quote form */
.quote-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.quote-copy h2 { margin: 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.quote-copy p { color: var(--muted); font-size: 19px; }
.quote-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.quote-copy li { display: flex; gap: 10px; align-items: center; }
.quote-copy li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16px stops iOS zoom on focus */
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 85, 151, 0.15);
}
.form .btn { width: 100%; min-height: 52px; font-size: 17px; }
.form-note { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
.contact-card { background: var(--bg-2); border-radius: var(--radius); padding: 30px; display: grid; gap: 22px; align-content: start; }
.contact-item small { display: block; color: var(--muted); font-size: 14px; }
.contact-item a, .contact-item strong { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.contact-item a:hover { color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 360px; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Footer */
.footer { background: var(--bg-2); color: var(--muted); font-size: 13px; padding: 28px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a:hover { color: var(--ink); }

/* Floating WhatsApp (phones) */
.fab {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 30px rgba(31, 157, 85, 0.35);
}
.fab svg { width: 28px; height: 28px; }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .gallery img, .btn { transition: none; }
}

/* Tablet */
@media (max-width: 900px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .quote-wrap, .contact-grid { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .hero { padding: 48px 0 24px; }
  .hero-logo { width: 88px; height: 88px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-media { margin-top: 36px; border-radius: 22px; aspect-ratio: 4 / 3.4; }
  .stats { padding: 20px 0 56px; }
  .stats-grid { gap: 10px; }
  .stat { padding: 18px 8px; }
  .stat span { font-size: 13px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 17px; }
  .cards, .reasons, .gallery, .row { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; border-radius: 22px; }
  .gallery figure { aspect-ratio: 4 / 3.3; border-radius: 22px; }
  .form { padding: 22px; border-radius: 22px; }
  .contact-card { border-radius: 22px; }
  .map { border-radius: 22px; min-height: 280px; }
  .map iframe { min-height: 280px; }
  .fab { display: grid; }
  .footer { padding-bottom: 96px; }
}

/* 3D truck renders (transparent product shots) */
.hero-shot { margin: 40px auto 0; width: min(1000px, 100%); }
.hero-shot img { width: 100%; height: auto; }
.fleet-side { margin: 0 auto; width: min(1080px, 100%); }
.fleet-side img { width: 100%; height: auto; }
.fleet-door { margin: 40px auto 0; width: min(760px, 100%); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.fleet-door img { width: 100%; height: auto; }
.fleet-door figcaption { padding: 16px 22px; color: var(--muted); font-size: 15px; text-align: center; }
.footer .credit-link { font-size: 12px; color: #86868b; }
#fleet + #quote { padding-top: 0; }
@media (max-width: 640px) {
  .hero-shot { margin-top: 24px; }
  .fleet-door { border-radius: 22px; margin-top: 24px; }
}
