
body {
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #e9edf5;
  background: linear-gradient(180deg, #0b1120 0%, #111a30 100%);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  direction: rtl;
}

h1, h2, h3, h4 { font-family: inherit; font-weight: 700; color: #f4f6fb; margin: 0 0 14px 0; }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }
p  { font-family: inherit; font-size: 16px; }

.site-header {
  background: rgba(11, 17, 32, 0.95);
  border-bottom: 2px solid #d4af37;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-name { font-size: 22px; font-weight: 700; color: #f4f6fb; }
.brand-name .gold { color: #d4af37; }
.brand-sub { font-size: 12px; color: #aab4c8; letter-spacing: 1px; }

.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: block;
  color: #dbe2ee;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.main-nav a:hover { color: #d4af37; border-color: rgba(212, 175, 55, 0.4); }
.main-nav a.active { color: #1a1408; background: linear-gradient(135deg, #d4af37, #f0d68a); font-weight: 700; }

.container { max-width: 1100px; margin: 0 auto; padding: 24px 20px 40px 20px; }

.card {
  background: #141e38;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid #d4af37;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}
.card h2 .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d68a);
  display: inline-block;
}

.section-lead { color: #aab4c8; font-size: 15px; margin-bottom: 16px; }

.hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.hero img.hero-bg { width: 100%; height: 340px; object-fit: cover; display: block; filter: brightness(0.55); }
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.hero-text h1 { font-size: 38px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); margin-bottom: 8px; }
.hero-text h1 .gold { color: #d4af37; }
.hero-text p { color: #e6eaf3; font-size: 18px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); margin: 0 0 20px 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #1a1408;
  background: linear-gradient(135deg, #d4af37, #f0d68a);
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35); }
.btn-secondary {
  color: #f0d68a;
  background: transparent;
  border: 2px solid #d4af37;
}
.btn-secondary:hover { background: rgba(212, 175, 55, 0.12); }
.btn-submit { font-size: 17px; padding: 12px 40px; }
.btn-reset {
  color: #f87171;
  background: transparent;
  border: 2px solid rgba(248, 113, 113, 0.6);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #101830;
  border-radius: 10px;
  overflow: hidden;
}
.data-table th {
  background: linear-gradient(135deg, #2a2413, #3a3018);
  color: #f0d68a;
  font-size: 15px;
  padding: 12px 10px;
  border-bottom: 2px solid #d4af37;
  text-align: center;
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  color: #e2e8f2;
  vertical-align: middle;
}
.data-table tbody tr:hover td { background: rgba(212, 175, 55, 0.07); }
.data-table .price { color: #f0d68a; font-weight: 700; white-space: nowrap; }
.data-table .code { color: #8fb4ff; font-weight: 600; letter-spacing: 1px; }

.table-wrap { overflow-x: auto; }

.car-thumb {
  width: 92px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
  margin: 0 auto;
}
.model-cell { display: flex; align-items: center; gap: 10px; text-align: right; }
.model-cell .m-name { font-weight: 700; color: #f4f6fb; white-space: nowrap; }

.details-row td {
  background: #182546;
  border-right: 4px solid #d4af37;
  text-align: right;
}
.details-box { padding: 6px 10px; }
.details-box h4 { color: #f0d68a; margin-bottom: 8px; font-size: 15px; }
.spec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.spec-list li { color: #cbd5e1; font-size: 14px; }
.spec-list li b { color: #f0d68a; font-weight: 600; }

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #d4af37;
  cursor: pointer;
}
.chk-cell { text-align: center; }
.chk-label { font-size: 13px; color: #aab4c8; display: block; }


.warn-box {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.5);
  border-radius: 10px;
  padding: 14px 18px;
  color: #fca5a5;
  font-size: 15px;
  margin: 14px 0;
}
.success-strip {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: 10px;
  padding: 12px 18px;
  color: #6ee7b7;
  font-size: 15px;
}

.link-placeholder {
  border: 2px dashed rgba(143, 180, 255, 0.5);
  border-radius: 10px;
  padding: 16px;
  color: #8fb4ff;
  text-align: center;
  font-size: 15px;
  background: rgba(222, 229, 239, 0.47);
}


input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  font-family: inherit;
  font-size: 16px;
  color: #f4f6fb;               
  background: #0d1428;          
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
input[type="date"] { color-scheme: dark; }

fieldset {
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 18px 20px 22px 20px;
  margin: 0 0 20px 0;
}
legend {
  color: #f0d68a;
  font-weight: 700;
  font-size: 16px;
  padding: 2px 14px;
  background: #141e38;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; color: #dbe2ee; font-weight: 600; }
.form-row label .req { color: #f87171; font-weight: 700; }
.form-row .hint { font-size: 12px; color: #8b95a9; }
.err { font-size: 13px; color: #f87171; min-height: 0; font-weight: 600; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }

.input-invalid { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-card {
  background: #141e38;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-top: 5px solid #d4af37;
  border-radius: 14px;
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 26px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.modal-card h3 { color: #f0d68a; display: flex; justify-content: space-between; align-items: center; }
.modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e9edf5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.modal-close:hover { border-color: #d4af37; color: #d4af37; }

.summary-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.summary-table th {
  background: rgba(212, 175, 55, 0.15);
  color: #f0d68a;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.summary-table td { padding: 9px; border: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: #e2e8f2; }
.total-row td { color: #f0d68a; font-weight: 700; background: rgba(212, 175, 55, 0.08); }
.discount-row td { color: #6ee7b7; font-weight: 700; }

/* ---------- 11) بطاقات القيم في صفحة من نحن ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.value-item {
  background: #101830;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
}
.value-item h3 { color: #f0d68a; font-size: 16px; margin-bottom: 6px; }
.value-item p { color: #cbd5e1; font-size: 14px; margin: 0; }

.about-photo { width: 100%; max-width: 520px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); display: block; margin: 10px auto; }

.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step-list li {
  position: relative;
  padding: 10px 52px 10px 10px;
  color: #dbe2ee;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  right: 0;
  top: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #f0d68a);
  color: #1a1408;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.tech-list { list-style: none; padding: 0; margin: 0; }
.tech-list li { padding: 8px 0; color: #cbd5e1; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.tech-list li b { color: #f0d68a; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); color: #dbe2ee; display: flex; gap: 8px; align-items: baseline; }
.contact-list li b { color: #f0d68a; min-width: 110px; display: inline-block; }

.site-footer {
  border-top: 2px solid #d4af37;
  background: #0b1120;
  margin-top: 30px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: #8b95a9;
  font-size: 14px;
}
.footer-inner .gold { color: #d4af37; }
.footer-nav { margin-top: 8px; }
.footer-nav a { color: #aab4c8; text-decoration: none; margin: 0 10px; font-size: 13px; }
.footer-nav a:hover { color: #d4af37; }

.hidden { display: none; }
.text-center { text-align: center; }
.gold-text { color: #d4af37; }

@media (max-width: 760px) {
  .header-inner { flex-direction: column; gap: 10px; }
  .hero-text h1 { font-size: 26px; }
  .hero img.hero-bg { height: 260px; }
  .form-grid { grid-template-columns: 1fr; }
  .model-cell .m-name { white-space: normal; }
  .data-table { font-size: 13px; }
  .car-thumb { width: 70px; height: 48px; }
}
