/* ===== فونت وزیرمتن — سلف‌هاست شده (بدون وابستگی به CDN بین‌المللی) =====
   فایل‌های woff2 داخل static/fonts/ قرار دارند. */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ===== پالت رنگی ثابت سایت — برگرفته از رنگ‌های لوگوی بیتا بار آذربایجان ===== */
  --navy-900: #0b1f3a;   /* پس‌زمینه تیره هدر/فوتر */
  --navy-800: #10294d;
  --navy-700: #163561;
  --brand-500: #0e88c9;  /* آبی اصلی برند (رنگ نشان B/A در لوگو) — دکمه‌ها و لینک‌های اصلی */
  --brand-600: #0b6ea3;  /* آبی تیره‌تر برند — حالت hover */
  --brand-50: #eaf6fc;   /* آبی خیلی روشن — پس‌زمینه‌های ملایم */
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-300: #cdd3dc;
  --gray-600: #5c6675;
  --gray-800: #2a3140;
  --green-600: #1a9d5c;
  --red-600: #d64545;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 16px 48px rgba(11, 31, 58, 0.16);
  --font-fa: "Vazirmatn", "IRANSans", "Vazir", Tahoma, "Segoe UI", -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-fa);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-800);
}
.logo-icon { font-size: 1.5rem; }

.main-nav {
  display: flex;
  gap: 8px;
}
.main-nav a {
  color: var(--navy-800);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}
.nav-logout-form { display: contents; }
.nav-logout-btn {
  color: var(--navy-800);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.nav-logout-btn:hover {
  background: var(--brand-50);
  color: var(--brand-600);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
}

/* ===================== Messages ===================== */
.messages-wrap { margin-top: 16px; }
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  font-weight: 500;
}
.alert-error { background: #fdecec; color: var(--red-600); border: 1px solid #f6c6c6; }
.alert-success { background: #e9f9f0; color: var(--green-600); border: 1px solid #bfeed4; }
.alert-warning { background: #fff6e6; color: #a56206; border: 1px solid #ffe1a8; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--font-fa);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(14,136,201,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,136,201,0.45); }
.btn-secondary {
  background: #fff;
  color: var(--navy-800);
  border: 2px solid var(--navy-800);
}
.btn-secondary:hover { background: var(--navy-800); color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Secondary button on dark backgrounds (hero, phone-lock, etc.) — was invisible
   before hover because it kept the white .btn-secondary background with white text. */
.btn-secondary-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-secondary-outline:hover { background: #fff; color: var(--navy-800); }

/* ===================== Hero ===================== */
.hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(14,136,201,0.22), transparent 40%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  text-align: right;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(14,136,201,0.18);
  color: #8fd0ef;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.4;
  margin: 0 0 18px;
}
.hero p {
  color: #c8d2e3;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 46px;
  max-width: 460px;
}
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}
.hero-stat strong { display: block; font-size: 1.6rem; color: var(--brand-500); }
.hero-stat span { color: #c8d2e3; font-size: 0.85rem; }

/* ===================== Sections ===================== */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-eyebrow {
  color: var(--brand-600);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: .5px;
}
.section-head h1, .section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 10px 0; color: var(--navy-900); }
.section-head p { color: var(--gray-600); }
.expiry-notice {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  background: #fff6e6;
  color: #a56206;
  border: 1px solid #ffe1a8;
  border-radius: 999px;
  font-size: 0.85rem;
}

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

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50);
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--navy-900); }
.card p { margin: 0; color: var(--gray-600); font-size: 0.95rem; }

/* Trust section */
.trust-band {
  background: var(--navy-900);
  color: #fff;
}
.trust-band .grid-4 .card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.trust-band .card h3 { color: #fff; }
.trust-band .card p { color: #c8d2e3; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
  margin: 0 20px;
}
.cta-band h2 { margin: 0 0 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 26px; }
.cta-band .btn-secondary { background: #fff; color: var(--brand-600); border-color: #fff; }
.cta-band .btn-secondary:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ===================== Forms ===================== */
.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--navy-900);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-300);
  font-family: var(--font-fa);
  font-size: 0.95rem;
  background: var(--gray-50);
  transition: border-color .15s ease, background .15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  background: #fff;
}
.errorlist { color: var(--red-600); font-size: 0.85rem; margin: 6px 0 0; padding: 0; list-style: none; }

.vehicle-type-select {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.vehicle-option {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 18px 10px;
  text-align: center;
  cursor: pointer;
  transition: all .15s ease;
  background: var(--gray-50);
}
.vehicle-option .emoji { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.vehicle-option.active {
  border-color: var(--brand-500);
  background: var(--brand-50);
  box-shadow: 0 0 0 3px rgba(14,136,201,0.15);
}
.vehicle-detail-group { display: none; }
.vehicle-detail-group.visible { display: block; }

.fee-note {
  background: var(--brand-50);
  border: 1px dashed var(--brand-500);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--brand-600);
  font-weight: 600;
  margin: 24px 0;
  text-align: center;
}

/* ===================== Load list / detail ===================== */
.load-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.load-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.load-route {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.05rem;
}
.load-route .arrow { color: var(--brand-500); }
.load-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  background: var(--gray-100);
  color: var(--gray-800);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.tag-price { background: var(--brand-50); color: var(--brand-600); }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-600);
}
.empty-state .emoji { font-size: 3rem; margin-bottom: 14px; }

.detail-box {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.detail-row:last-child { border-bottom: none; }
.detail-row span:first-child { color: var(--gray-600); }
.detail-row span:last-child { font-weight: 700; color: var(--navy-900); }
.phone-lock {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}
.phone-lock .locked-number { filter: blur(5px); font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.phone-unlocked {
  background: var(--green-600);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-top: 24px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ===================== Payment result ===================== */
.result-box {
  max-width: 560px;
  margin: 60px auto;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 36px;
  box-shadow: var(--shadow-lg);
}
.result-icon { font-size: 3.5rem; margin-bottom: 20px; }
.result-box.success .result-icon { color: var(--green-600); }
.result-box.failed .result-icon { color: var(--red-600); }
.result-box h1 { margin: 0 0 12px; font-size: 1.4rem; color: var(--navy-900); }
.result-box p { color: var(--gray-600); margin-bottom: 10px; }
.ref-id { font-family: monospace; background: var(--gray-100); padding: 8px 14px; border-radius: 8px; display: inline-block; margin: 10px 0 24px; }

/* ===================== Static pages ===================== */
.static-page {
  max-width: 820px;
  margin: 0 auto;
}
.static-page h1 { color: var(--navy-900); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* ===================== Footer ===================== */
.site-footer { background: var(--navy-900); color: #c8d2e3; margin-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 30px;
}
.footer-col h3, .footer-col h4 { color: #fff; margin: 0 0 16px; }
.footer-col p { font-size: 0.9rem; line-height: 1.9; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--brand-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #93a0b5;
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 72px;
    inset-inline: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 10px 20px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .vehicle-type-select { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-triple { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 20px; }
  .form-card, .detail-box { padding: 24px; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 36px 4px 8px;
  }
  .footer-col {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-col:first-child { padding-top: 0; }
  .footer-col:last-child { border-bottom: none; padding-bottom: 4px; }
  .footer-bottom .container { padding: 0 24px; }
}

/* ===================== v2 additions ===================== */

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  right: 12px;
  top: -60px;
  background: var(--brand-500);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 1000;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Accessibility: visible focus ring everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.vehicle-option:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
}

/* Nav: driver auth links */
.nav-cta {
  background: var(--brand-500);
  color: #fff !important;
}
.nav-cta:hover { background: var(--brand-600); color: #fff !important; }
.nav-driver-link { border: 1px solid var(--gray-300); }

/* Vehicle showcase (home page) */
.vehicle-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  margin: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.vehicle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vehicle-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-50); }
.vehicle-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehicle-card figcaption { padding: 18px 20px 22px; }
.vehicle-card h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 1.05rem; }
.vehicle-card p { margin: 0; color: var(--gray-600); font-size: 0.9rem; }

/* Triple CTA section */
.cta-triple-section { background: var(--gray-100); }
.cta-triple {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cta-tile {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cta-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-500); }
.cta-tile-icon { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.cta-tile-title { display: block; font-weight: 700; font-size: 1.1rem; color: var(--navy-900); margin-bottom: 6px; }
.cta-tile-desc { display: block; color: var(--gray-600); font-size: 0.88rem; }
.cta-tile-primary { background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); border-color: transparent; }
.cta-tile-primary .cta-tile-title,
.cta-tile-primary .cta-tile-desc { color: #fff; }

/* Auth forms */
.form-card-sm { max-width: 480px; }
.form-card-title { color: var(--navy-900); margin: 0 0 20px; font-size: 1.15rem; }
.form-hint { color: var(--gray-600); font-size: 0.85rem; margin: 10px 0 20px; }
.form-switch { text-align: center; margin-top: 20px; color: var(--gray-600); }
.form-switch a { color: var(--brand-600); font-weight: 700; }
.form-group input:disabled { background: var(--gray-100); color: var(--gray-600); cursor: not-allowed; }

/* Driver dashboard */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.acceptance-list { display: flex; flex-direction: column; gap: 14px; }
.acceptance-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--gray-50);
}
.acceptance-item .load-route { font-size: 0.95rem; margin-bottom: 10px; }
.acceptance-item .load-meta { margin-bottom: 12px; }

@media (max-width: 900px) {
  .cta-triple { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* ===================== v3 additions ===================== */

/* Header logo (uploaded company logo, transparent PNG) */
.logo { gap: 12px; }
.logo-mark-img {
  height: 46px;
  width: auto;
  display: block;
}

/* Dashboard header row (title + action button) */
.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.dashboard-header .btn { white-space: nowrap; }

@media (max-width: 560px) {
  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
  }
  .dashboard-header .btn { width: 100%; }
}

.acceptance-list-wide { display: flex; flex-direction: column; gap: 14px; }
.acceptance-list-wide .acceptance-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: #fff;
}
.acceptance-list-wide .load-route { font-size: 1rem; margin: 0; }
.acceptance-list-wide .load-meta { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }

.empty-state {
  text-align: center;
  background: #fff;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 50px 24px;
}
.empty-state p { color: var(--gray-600); margin-bottom: 20px; }

/* Load detail: description block */
.detail-desc {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.detail-desc span { display: block; color: var(--gray-600); font-size: 0.85rem; margin-bottom: 6px; }
.detail-desc p { margin: 0; color: var(--gray-800); line-height: 1.9; }

/* ===================== Footer v3: logo, contact list, Enamad, credit ===================== */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand img { height: 40px; width: auto; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 1.05rem;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--brand-500); transform: translateY(-3px); }

.footer-enamad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.enamad-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.enamad-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.enamad-badge img { display: block; width: 90px; height: 90px; }

.footer-bottom {
  text-align: center;
}
.footer-bottom .footer-credit {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #7c8aa0;
}
.footer-bottom .footer-credit a {
  color: #9fc9e3;
  font-weight: 600;
}
.footer-bottom .footer-credit a:hover { color: var(--brand-500); }

/* Terms & conditions page */
.terms-intro { color: var(--gray-600); margin: 4px 0 30px; }
.terms-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.terms-box h2 {
  color: var(--navy-900);
  font-size: 1.1rem;
  margin: 30px 0 12px;
}
.terms-box h2:first-child { margin-top: 0; }
.terms-box p { color: var(--gray-800); margin: 0 0 14px; }
.terms-box ul { margin: 0 0 14px; padding-inline-start: 22px; list-style: disc; }
.terms-box ul li { color: var(--gray-800); margin-bottom: 8px; line-height: 1.9; }
.terms-disclaimer {
  margin-top: 30px;
  background: var(--brand-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--navy-800);
  line-height: 1.9;
}
.terms-disclaimer strong { display: block; margin-bottom: 6px; color: var(--navy-900); }

@media (max-width: 720px) {
  .terms-box { padding: 24px; }
}

/* Terms acceptance checkbox (used in load registration & driver registration forms) */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand-500);
  cursor: pointer;
}
.form-check label {
  font-size: 0.92rem;
  color: var(--gray-800);
  line-height: 1.8;
  cursor: pointer;
}
.form-check label a { color: var(--brand-600); font-weight: 700; text-decoration: underline; }
.form-check label a:hover { color: var(--brand-500); }

/* Contact page */
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.contact-info-item .icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-info-item strong { display: block; color: var(--navy-900); margin-bottom: 4px; }
.contact-info-item span, .contact-info-item a { color: var(--gray-600); }
.contact-info-item a:hover { color: var(--brand-500); }

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  margin-top: 36px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}

/* ===================== v2.1: Mobile bottom user nav ===================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #fff;
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -6px 20px rgba(11, 31, 58, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 2px 8px;
  color: var(--gray-600);
  text-align: center;
  transition: color .15s ease;
}
.mnav-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.mnav-item span {
  font-size: 0.63rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 62px;
}
.mnav-item.active,
.mnav-item:hover {
  color: var(--brand-500);
}

@media (max-width: 720px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-bottom: 0; }
  .footer-bottom { padding-bottom: 26px; }
}

/* Footer social icons as image (instagram/whatsapp svg) */
.footer-social a {
  padding: 0;
}
.footer-social a img {
  width: 20px;
  height: 20px;
  display: block;
}

/* Slightly stronger header shadow for better separation from page content */
.site-header { box-shadow: 0 2px 12px rgba(11, 31, 58, 0.15); }
