/* =====================================================
   سطحة جنوب الرياض لنقل السيارات — style.css
   تصميم Mobile First، خفيف بدون مكتبات خارجية
   ===================================================== */

:root {
  --charcoal: #1b1f27;
  --charcoal-2: #232833;
  --charcoal-3: #2c313c;
  --white: #ffffff;
  --bg-light: #f5f6f8;
  --bg-light-2: #eceef1;
  --accent: #ff5a2e;
  --accent-dark: #e13f16;
  --text-main: #1b1f27;
  --text-muted: #5b6270;
  --text-on-dark: #f3f4f6;
  --text-on-dark-muted: #b7bcc6;
  --border-light: #e3e5ea;
  --success: #1f8a4c;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-card: 0 6px 24px rgba(27, 31, 39, 0.08);
  --shadow-btn: 0 8px 20px rgba(255, 90, 46, 0.28);
  --container-w: 1180px;
  --header-h: 76px;
  --callbar-h: 64px;
  --ff: "Cairo", "Tahoma", "Segoe UI", sans-serif;
}

/* ---------- إعادة ضبط أساسية ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--callbar-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
}

svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 18px;
}

/* ---------- رابط تخطي المحتوى ---------- */
.skip-link {
  position: absolute;
  right: 12px;
  top: -60px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  z-index: 1000;
  transition: top 0.2s ease;
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- تركيز واضح لإمكانية الوصول ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn svg {
  flex-shrink: 0;
}
.btn:active {
  transform: translateY(1px);
}
.btn-call {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-call:hover {
  background: var(--accent-dark);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1fb955;
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-dark-outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-dark-outline:hover {
  background: var(--charcoal);
  color: #fff;
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 16px 26px;
  font-size: 1.05rem;
}

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(27, 31, 39, 0.97);
  backdrop-filter: saturate(140%) blur(6px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}
.brand-mark {
  width: clamp(142px, 39vw, 190px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: right center;
  flex-shrink: 0;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.header-call-btn:hover {
  background: var(--accent-dark);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-s);
  color: #fff;
}

.main-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--charcoal);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  overflow-y: auto;
  z-index: 490;
}
.main-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.main-nav ul {
  display: flex;
  flex-direction: column;
  padding: 10px 18px 28px;
}
.main-nav a {
  display: block;
  color: #fff;
  padding: 16px 6px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.main-nav .nav-cta {
  margin-top: 16px;
}

@media (min-width: 940px) {
  .brand-mark {
    width: 210px;
    max-height: 62px;
  }
  .nav-toggle {
    display: none;
  }
  .main-nav {
    position: static;
    inset: auto;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
    flex: 1;
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    padding: 0;
    justify-content: center;
    gap: 4px;
  }
  .main-nav a {
    border-bottom: none;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-s);
  }
  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
  .main-nav .nav-cta {
    display: none;
  }
  .header-inner {
    gap: 24px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #14171d;
  border-radius: var(--radius-l);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-body {
  padding: 30px 0 38px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 90, 46, 0.15);
  color: #ffb08e;
  border: 1px solid rgba(255, 90, 46, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 1.7rem;
  line-height: 1.4;
  font-weight: 800;
  margin-bottom: 14px;
}
.hero-sub {
  color: var(--text-on-dark-muted);
  font-size: 1rem;
  margin-bottom: 22px;
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-actions .btn {
  width: 100%;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-s);
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #eef0f2;
}
.trust-badge svg {
  flex-shrink: 0;
  color: var(--accent);
}

@media (min-width: 700px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-actions {
    flex-direction: row;
  }
  .hero-actions .btn {
    width: auto;
  }
  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 940px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
  }
  .hero-media {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-l);
    order: 2;
  }
  .hero-body {
    order: 1;
    padding: 60px 0;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
}

/* ---------- الأقسام العامة ---------- */
.section {
  padding: 48px 0;
}
.section-alt {
  background: var(--bg-light);
}
.section-dark {
  background: var(--charcoal);
  color: #fff;
}
.section-head {
  max-width: 62ch;
  margin-bottom: 30px;
}
.section-tag {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.section-dark .section-tag {
  color: #ff9a72;
}
.section-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
}
.section-head p {
  color: var(--text-muted);
}
.section-dark .section-head p {
  color: var(--text-on-dark-muted);
}

@media (min-width: 700px) {
  .section {
    padding: 72px 0;
  }
  .section-head h2 {
    font-size: 1.9rem;
  }
}

/* ---------- نموذج طلب الخدمة ---------- */
.request-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  background: #fbfbfc;
  color: var(--text-main);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
}
.form-field textarea {
  resize: vertical;
  min-height: 90px;
}
.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}
.form-actions {
  margin-top: 18px;
}

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-field.full {
    grid-column: 1 / -1;
  }
  .request-card {
    padding: 32px;
  }
}

/* ---------- الخدمات ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
}
.service-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-s);
  background: rgba(255, 90, 46, 0.1);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.service-card-featured {
  display: block;
  padding: 0;
  overflow: hidden;
}
.service-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--charcoal);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.service-card-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 940px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card-featured {
    grid-column: span 1;
  }
}

/* ---------- خبرة اختيار السطحة ---------- */
.expertise-grid {
  display: grid;
  gap: 16px;
}
.expertise-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.expertise-num {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.expertise-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.expertise-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.expertise-summary {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 18px;
  padding: 18px 20px;
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius-s);
  background: rgba(255, 90, 46, 0.08);
}
.expertise-summary span {
  color: var(--text-muted);
  font-size: 0.92rem;
}
@media (min-width: 700px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .expertise-summary {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
}

/* ---------- مناطق التغطية ---------- */
.coverage-note {
  background: rgba(255, 90, 46, 0.08);
  border: 1px solid rgba(255, 90, 46, 0.25);
  border-radius: var(--radius-m);
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  color: var(--text-main);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.coverage-note svg {
  flex-shrink: 0;
  color: var(--accent-dark);
  margin-top: 2px;
}
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.areas-list li {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.areas-list li svg {
  color: var(--accent);
  width: 16px;
  height: 16px;
}

/* ---------- خطوات الطلب ---------- */
.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}
.step-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.step-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (min-width: 940px) {
  .steps-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .step-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ---------- قسم الثقة ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.trust-layout {
  display: grid;
  gap: 22px;
}
.trust-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #14171d;
}
.trust-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-m);
  padding: 18px;
}
.trust-item .service-icon {
  background: rgba(255, 90, 46, 0.16);
  color: #ff9a72;
}
.trust-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}
.trust-item p {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
}

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 940px) {
  .trust-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .trust-media {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* ---------- الأسئلة الشائعة ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 700;
  font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item .faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--accent);
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- الاتصال النهائي ---------- */
.final-cta {
  text-align: center;
}
.final-cta h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.final-cta p {
  color: var(--text-on-dark-muted);
  max-width: 55ch;
  margin: 0 auto 26px;
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .final-cta-actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

/* ---------- الفوتر ---------- */
.site-footer {
  background: #14171d;
  color: var(--text-on-dark-muted);
  padding: 40px 0 24px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-brand img {
  width: 210px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: right center;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- شريط الاتصال الثابت (جوال) ---------- */
.call-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 600;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: var(--callbar-h);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18);
}
.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}
.call-bar .call-bar-phone {
  background: var(--accent);
}
.call-bar .call-bar-wa {
  background: #25d366;
}

@media (min-width: 940px) {
  .call-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* ---------- عناصر مساعدة ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.badge-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
}
.badge-list svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}

.policy-page main {
  padding: 40px 0 60px;
}
.policy-page h1 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.policy-page h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.policy-page p,
.policy-page li {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.policy-page ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline-start: 4px;
}
.policy-page li {
  position: relative;
  padding-inline-start: 18px;
}
.policy-page li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-weight: 700;
  color: var(--accent-dark);
}

.noscript-banner {
  background: #fff3ea;
  color: #7a3412;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 700;
}
