/* الخط المحلي المستخدم في الموقع. */
@font-face {
  font-family: Cairo;
  src: url('../fonts/cairo.ttf') format('truetype');
  font-display: swap;
}
/* ألوان الموقع الأساسية؛ تعديلها يغيّر الألوان في مواضع متعددة. */
:root {
  --dark: #182426;
  --ink: #182426;
  --muted: #64706e;
  --yellow: #efb820;
  --cream: #f7f6f1;
  --line: #dce1dc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Cairo, Arial, sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.7;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #dd9e05;
  outline-offset: 3px;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.en {
  display: none;
}
html[lang='en'] .ar {
  display: none;
}
html[lang='en'] .en {
  display: inline;
}
html[lang='en'] {
  font-family: Arial, sans-serif;
}
section[id] {
  scroll-margin-top: 90px;
}
/* تنسيق الشريط العلوي والتنقل. */
.topline {
  background: #1a2829;
  color: #d5dcd8;
  font-size: 12px;
}
.topline .container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.topline a {
  color: white;
}
.header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e7ebe7;
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo {
  margin-inline-end: auto;
}
.logo img {
  width: 220px;
  height: 60px;
  object-fit: contain;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 700;
}
.nav nav a:hover,
.text-link:hover {
  color: #ae7800;
}
.nav-buttons {
  display: flex;
  gap: 8px;
}
.language,
.menu {
  border: 1px solid #d4dcd7;
  background: white;
  border-radius: 4px;
  padding: 8px 14px;
  font-weight: 700;
}
.menu {
  display: none;
}
/* تنسيق الواجهة الرئيسية والأزرار. */
.hero {
  background: var(--dark);
  color: white;
  padding: 34px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy {
  padding: 38px 0 58px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #9b720b;
  margin-bottom: 16px;
}
.eyebrow:before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 2px;
  background: var(--yellow);
  vertical-align: middle;
  margin-inline-end: 10px;
}
.eyebrow.light {
  color: #f4c64d;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 67px);
  line-height: 1.22;
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero p {
  color: #c9d1cc;
  max-width: 520px;
  font-size: 17px;
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
}
.yellow {
  background: var(--yellow);
  color: #172223;
}
.yellow:hover {
  background: #ffd052;
}
.outline {
  border-color: #81908b;
  color: white;
}
.outline:hover {
  background: #fff;
  color: var(--dark);
}
.hero-note {
  margin-top: 35px;
  font-size: 13px;
  color: #dce3df;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  margin-inline-end: 7px;
}
.hero-image {
  position: relative;
  align-self: stretch;
  min-height: 480px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.image-caption {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  background: var(--yellow);
  color: var(--dark);
  padding: 18px 24px;
  min-width: 210px;
}
.image-caption > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.image-caption strong {
  font-size: 15px;
}
.highlights {
  background: #e9eee8;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.highlight-grid div {
  padding: 24px 15px;
  border-inline-end: 1px solid #d6ded7;
  font-weight: 700;
  font-size: 14px;
}
.highlight-grid b {
  color: #ae810c;
  margin-inline-end: 14px;
  font-size: 12px;
}
/* تنسيق الأقسام العامة وبطاقات الأسطول. */
.section {
  padding: 100px 0;
}
.about-grid,
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
h2 {
  font-size: clamp(30px, 3.4vw, 45px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
.lead {
  font-size: 18px;
  color: #4d5b57;
  line-height: 1.9;
}
.text-link {
  display: inline-block;
  margin-top: 25px;
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
}
.fleet {
  background: var(--cream);
}
.section-heading {
  align-items: end;
}
.section-heading p {
  color: var(--muted);
  max-width: 490px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 36px 0 24px;
}
.filter {
  border: 1px solid #d4d9d2;
  border-radius: 3px;
  background: transparent;
  padding: 9px 18px;
  color: #44524e;
  font-size: 13px;
  font-weight: 700;
}
.filter.active,
.filter:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid #e4e7df;
}
.card[hidden] {
  display: none;
}
.card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: #f1f1ed;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-image span {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--dark);
  color: white;
  font:
    700 10px Arial,
    sans-serif;
  letter-spacing: 0.06em;
  padding: 7px 9px;
}
.card-body {
  padding: 22px;
}
.card-body small {
  color: #8b9990;
  font:
    700 10px Arial,
    sans-serif;
  letter-spacing: 0.12em;
}
.card-body h3 {
  margin: 4px 0;
  font:
    800 28px Arial,
    sans-serif;
  text-align: start;
}
.card-body p {
  font-size: 14px;
  color: var(--muted);
}
.card-link {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e8ece6;
  margin-top: 20px;
  padding-top: 15px;
  font-size: 14px;
  font-weight: 800;
}
.card-link:hover {
  color: #a47700;
}
/* الخدمات والتغطية والتواصل. */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 45px;
}
.services-grid > div {
  border-top: 2px solid var(--yellow);
  background: #f7f8f4;
  padding: 28px;
  min-height: 210px;
}
.services-grid > div > span {
  font:
    700 12px Arial,
    sans-serif;
  color: #ad831b;
}
.services-grid h3 {
  font-size: 20px;
  margin: 20px 0 10px;
}
.services-grid p {
  color: var(--muted);
  font-size: 14px;
}
.coverage {
  background: var(--dark);
  color: white;
  padding: 65px 0;
}
.coverage-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.coverage p {
  color: #c5d0cb;
  margin-top: 15px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact .lead {
  margin-top: 20px;
}
.contact-detail {
  margin-top: 30px;
}
.contact-detail small {
  display: block;
  font-weight: 800;
  color: #8e9b94;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.contact-detail a {
  display: inline-block;
  font:
    800 25px Arial,
    sans-serif;
  margin-top: 8px;
}
.contact-detail p {
  margin-top: 6px;
}
.quote-form {
  padding: 32px;
  background: var(--cream);
  border: 1px solid #e8ebe3;
}
.quote-form h3 {
  font-size: 23px;
  margin: 0;
}
.quote-form p {
  color: var(--muted);
  font-size: 13px;
  margin: 3px 0 20px;
}
.quote-form label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 14px 0 5px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d8dfd8;
  background: white;
  border-radius: 2px;
  padding: 11px;
  color: var(--ink);
}
.quote-form textarea {
  resize: vertical;
}
.submit {
  width: 100%;
  margin-top: 20px;
}
/* تذييل الصفحة. */
footer {
  background: #111c1d;
  color: #c0cbc5;
  padding: 55px 0 20px;
  font-size: 13px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  width: 220px;
  background: white;
  padding: 7px;
  margin-bottom: 15px;
}
.footer-main strong {
  display: block;
  color: white;
  font-size: 12px;
  margin-bottom: 15px;
}
.footer-main a {
  display: block;
  margin-bottom: 8px;
}
.footer-main a:hover {
  color: var(--yellow);
}
.footer-bottom {
  border-top: 1px solid #3d4b48;
  margin-top: 40px;
  padding-top: 20px;
  font:
    11px Arial,
    sans-serif;
  color: #aab9b0;
}
.footer-bottom span {
  display: block;
  margin-bottom: 10px;
}
.footer-bottom a {
  text-decoration: underline;
}
/* تنسيقات الشاشات الصغيرة؛ القواعد اللاحقة قد تعدّل القواعد السابقة. */
@media (max-width: 850px) {
  .menu {
    display: block;
  }
  .nav {
    min-height: 72px;
  }
  .logo img {
    width: 175px;
    height: 55px;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 15px #0001;
  }
  .nav nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-copy {
    padding: 30px 0 38px;
  }
  .hero-image {
    min-height: 340px;
  }
  .section {
    padding: 70px 0;
  }
  .about-grid,
  .section-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    gap: 35px;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 1180px);
  }
  .topline {
    font-size: 10px;
  }
  .nav {
    gap: 8px;
  }
  .language {
    padding: 7px 9px;
  }
  .logo img {
    width: 150px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-image {
    min-height: 260px;
  }
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .highlight-grid div {
    padding: 13px 0;
    border-inline-end: 0;
    border-bottom: 1px solid #d6ded7;
  }
  .fleet-grid,
  .services-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }
  .coverage-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .quote-form {
    padding: 22px;
  }
  .contact-detail a {
    font-size: 22px;
  }
  .section {
    padding: 60px 0;
  }
}

/* عرض الصورة كاملة داخل إطار متناسق دون قص المعدّة. */
.hero-image {
  align-self: center;
  min-height: 0;
  margin: 30px 0 42px;
  background: #253536;
  border: 1px solid #3c4a47;
  overflow: hidden;
}
.hero-image img {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 1.65 / 1;
  object-fit: contain;
  background: #253536;
}
.image-caption {
  position: static;
  min-width: 0;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.image-caption > span {
  margin: 0;
}
.image-caption strong {
  font-size: 14px;
}
.card-image img {
  object-fit: contain;
}
.card-image {
  background: #ecefe9;
}
.card-body .model-year {
  margin-top: 8px;
  color: #4d5b57;
  font-size: 13px;
}
@media (max-width: 850px) {
  .hero-image {
    margin: 0 0 28px;
  }
  .hero-image img {
    aspect-ratio: 1.65 / 1;
  }
}

/* الواجهة الرئيسية ونموذج الاستفسار السريع */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 12px #142b3320;
}
.nav {
  width: min(1550px, calc(100% - 48px));
  min-height: 76px;
  gap: 24px;
}
.logo {
  margin-inline-end: auto;
  flex-shrink: 0;
}
.logo img {
  width: 230px;
  height: 62px;
}
.nav nav {
  gap: 23px;
  white-space: nowrap;
}
.nav-buttons {
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.language {
  border-radius: 25px;
  padding: 8px 15px;
}
.nav-quote {
  background: #f7be27;
  color: #192323;
  padding: 11px 17px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}
.nav-quote:hover {
  background: #ffd04f;
}
.nav-phone {
  font:
    700 14px Arial,
    sans-serif;
  color: #17282a;
}
.hero {
  position: relative;
  min-height: 730px;
  padding: 0;
  display: flex;
  align-items: center;
  background: #253536;
  isolation: isolate;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  z-index: -2;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 24, 28, 0.76),
    rgba(15, 26, 29, 0.42) 52%,
    rgba(15, 26, 29, 0.54)
  );
  z-index: -1;
}
.hero-content {
  width: min(1460px, calc(100% - 48px));
  padding: 70px 0 90px;
}
.hero-intro {
  color: #fff;
  margin-bottom: 28px;
  text-shadow: 0 2px 15px #0008;
  max-width: 900px;
}
.hero-intro .hero-kicker {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #ffd053;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.hero .hero-intro h1 {
  font-size: clamp(30px, 3.1vw, 47px);
  line-height: 1.35;
  margin: 0 0 12px;
  letter-spacing: 0;
}
.hero .hero-intro p {
  max-width: none;
  color: #fff;
  font-size: 16px;
}
.quick-quote {
  background: #fff;
  color: #1b2929;
  border-top: 5px solid #f4bd27;
  border-radius: 14px;
  padding: 27px 30px 32px;
  box-shadow: 0 20px 50px #0003;
  text-align: start;
}
.quick-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 1px solid #e6ebe9;
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.quick-heading h2 {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 4px;
  letter-spacing: 0;
}
.hero .quick-heading p {
  color: #6a7775;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.operator-badge {
  display: inline-flex;
  align-items: center;
  background: #f4f7ef;
  color: #55722d;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  white-space: nowrap;
}
.quick-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.95fr;
  gap: 16px;
  align-items: end;
}
.quick-field label {
  display: block;
  margin: 0 0 7px;
  font-weight: 800;
  font-size: 13px;
  color: #263634;
}
.quick-field select {
  display: block;
  width: 100%;
  height: 58px;
  padding: 0 15px;
  border: 1px solid #d7dfdb;
  border-radius: 7px;
  background: #fff;
  color: #263634;
  font: inherit;
  font-size: 14px;
  box-shadow: 0 1px 4px #172b2510;
}
.quick-field select:focus {
  border-color: #c68d00;
}
.quick-submit {
  height: 58px;
  border: 0;
  border-radius: 7px;
  background: #f8bf26;
  color: #172323;
  font-weight: 900;
  font-size: 14px;
  padding: 0 14px;
  box-shadow: 0 7px 18px #e6aa2938;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
}
.quick-submit:hover {
  background: #ffd052;
}
.wa-symbol {
  font-size: 20px;
  line-height: 1;
}
@media (max-width: 1200px) {
  .nav {
    gap: 15px;
  }
  .nav nav {
    gap: 14px;
  }
  .nav-phone {
    display: none;
  }
  .logo img {
    width: 195px;
  }
}
@media (max-width: 850px) {
  .nav {
    width: calc(100% - 32px);
    min-height: 70px;
  }
  .nav-quote {
    display: none;
  }
  .nav .logo img {
    width: 170px;
  }
  .nav nav {
    white-space: normal;
  }
  .hero {
    min-height: 690px;
  }
  .hero-content {
    padding: 70px 0;
    width: calc(100% - 32px);
  }
  .hero-intro {
    margin-bottom: 24px;
  }
  .quick-fields {
    grid-template-columns: 1fr 1fr;
  }
  .quick-quote {
    padding: 24px;
  }
  .quick-submit {
    margin-top: 0;
  }
}
@media (max-width: 560px) {
  .hero {
    min-height: 0;
    align-items: start;
  }
  .hero-background {
    object-position: 44% center;
  }
  .hero-content {
    padding: 54px 0 60px;
  }
  .hero .hero-intro h1 {
    font-size: 30px;
  }
  .hero .hero-intro p {
    font-size: 14px;
  }
  .quick-quote {
    border-radius: 10px;
    padding: 20px 18px 22px;
  }
  .quick-heading {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  .quick-heading h2 {
    font-size: 19px;
  }
  .quick-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .quick-field select,
  .quick-submit {
    height: 50px;
  }
  .quick-submit {
    margin-top: 5px;
  }
  .operator-badge {
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* قسم أسئلة العملاء عن تأجير الكريدرات. */
.faq {
  background: #f7f6f1;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e2e7e0;
  border-top: 3px solid var(--yellow);
  padding: 24px;
}
.faq-item h3 {
  font-size: 18px;
  margin: 0 0 10px;
}
.faq-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
@media (max-width: 700px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
