@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800;900&family=Inter:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --red: #eb0a1e;
  --red-dark: #cc0011;
  --ink: #0b0d12;
  --ink-2: #141720;
  --metal: #8292a1;
  --line: rgba(255, 255, 255, 0.08);
  --soft: #0f1118;
  --white: #ffffff;
  --green: #25d366;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --glass: rgba(11, 13, 18, 0.75);
  --radius: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #d1d5db;
  background: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: 'Tajawal', sans-serif; }

img { max-width: 100%; display: block; height: auto; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
a { color: inherit; text-decoration: none; transition: color 0.2s ease, background 0.2s ease; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}
p { margin: 0 0 1.2rem; }

h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.2; color: var(--white); font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 860px); }

.topbar { background: var(--red); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.topbar__inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--glass); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header__inner { min-height: 90px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: 58px; object-fit: contain; flex: 0 0 auto; border-radius: 8px; box-shadow: 0 8px 24px rgba(235, 10, 30, 0.4); }
.brand strong { display: block; font-size: 1.2rem; color: var(--white); font-family: 'Outfit', sans-serif; font-weight: 800; }
html[dir="rtl"] .brand strong { font-family: 'Tajawal', sans-serif; }
.brand small { display: block; color: var(--metal); font-size: .8rem; text-transform: uppercase; letter-spacing: 0.05em; }

.site-nav { display: flex; justify-content: center; gap: 8px; align-items: center; }
.site-nav a { padding: 8px 16px; border-radius: 20px; color: #9ca3af; font-weight: 500; font-size: .95rem; transition: all 0.3s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,0.1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.language-link { padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; font-weight: 600; color: #d1d5db; transition: background 0.3s ease; }
.language-link:hover { background: rgba(255,255,255,0.1); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 30px; border: 1px solid transparent; font-weight: 700; line-height: 1; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-family: 'Outfit', sans-serif; letter-spacing: 0.02em; }
html[dir="rtl"] .btn { font-family: 'Tajawal', sans-serif; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 40px; padding: 10px 18px; font-size: .9rem; border-radius: 20px; }
.btn--red { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; box-shadow: 0 8px 24px rgba(235, 10, 30, 0.3); }
.btn--red:hover { background: linear-gradient(135deg, #ff1f34, var(--red)); box-shadow: 0 12px 32px rgba(235, 10, 30, 0.4); color:#fff; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #f3f4f6; color: var(--ink); }
.btn--outline-light { border: 1px solid rgba(255,255,255,0.3); color: #fff; background: rgba(255,255,255,0.05); }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); color: #fff; }
.text-link { color: #ff4d5e; font-weight: 700; display: inline-flex; margin-top: .5rem; align-items: center; gap: 4px; }
.text-link:hover { color: #ff3344; }

.nav-toggle { display: none; background: transparent; border: 0; padding: 6px; color: var(--white); cursor: pointer; }

.hero { min-height: 85vh; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--ink); }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: contrast(1.1) brightness(0.7); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 13, 18, 0.85) 45%, transparent 100%); }
html[dir="rtl"] .hero__overlay { background: linear-gradient(270deg, var(--ink) 0%, rgba(11, 13, 18, 0.85) 45%, transparent 100%); }
.hero__content { position: relative; z-index: 10; color: #fff; padding-block: 100px; max-width: 800px; }
.hero p { font-size: 1.25rem; color: #9ca3af; margin-bottom: 30px; font-weight: 400; }
.eyebrow { display: inline-block; padding: 6px 12px; background: rgba(235, 10, 30, 0.1); color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: .8rem; margin-bottom: 16px; border-radius: 20px; border: 1px solid rgba(235, 10, 30, 0.2); }
html[dir="rtl"] .eyebrow { text-transform: none; letter-spacing: 0; }
.hero__actions, .cta-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.trust-strip span { background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: #d1d5db; padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; backdrop-filter: blur(4px); }

.section { padding: 100px 0; }
.section--muted { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head p { font-size: 1.15rem; color: #9ca3af; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid--models { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; display: flex; flex-direction: column; }
.category-card,
.model-card,
.blog-card { min-height: 100%; }
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.6); border-color: rgba(255,255,255,0.15); }
.card > div { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.card > div > .btn { margin-top: auto; align-self: flex-start; }

.img-wrapper { overflow: hidden; }
.img-wrapper img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card:hover .img-wrapper img { transform: scale(1.05); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split > img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; border: 1px solid var(--line); }
.check-list { padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { position: relative; padding-inline-start: 36px; margin: 16px 0; color: #d1d5db; font-weight: 500; font-size: 1.1rem; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--red); font-weight: 900; font-size: 1.2rem; }

.testimonial { margin: 0; background: linear-gradient(135deg, var(--ink-2), var(--soft)); padding: 40px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.testimonial::before { content: '"'; position: absolute; top: -20px; right: 20px; font-size: 120px; color: rgba(255,255,255,0.03); font-family: 'Outfit', sans-serif; line-height: 1; }
html[dir="rtl"] .testimonial::before { left: 20px; right: auto; }
.testimonial span { color: #f59e0b; font-size: 1.4rem; display: block; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial p { color: var(--white); font-size: 1.25rem; font-style: italic; line-height: 1.5; font-family: 'Outfit', sans-serif; }
html[dir="rtl"] .testimonial p { font-family: 'Tajawal', sans-serif; }
.testimonial cite { color: var(--metal); font-style: normal; font-weight: 700; display: block; margin-top: 16px; }

.faq-list { margin-top: 30px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--white); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--red); font-size: 1.5rem; font-weight: 400; transition: transform 0.3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 16px 0 0; color: #9ca3af; padding-inline-end: 40px; }

.request-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: var(--shadow);
}
.request-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.request-table th,
.request-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.request-table th {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
html[dir="rtl"] .request-table th {
  text-transform: none;
  letter-spacing: 0;
}
.request-table td {
  color: #cbd5e1;
}
.request-table tr:last-child td { border-bottom: 0; }
.request-table strong { color: var(--white); }

.cta-band { background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>'); opacity: 0.5; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; align-items: center; position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: 2.5rem; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 600px; margin: 0; }

.page-hero { background: var(--soft); padding: 80px 0 60px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin-inline: auto; text-align: center; }
.page-hero p { max-width: 700px; margin: 16px auto 0; text-align: center; color: #9ca3af; font-size: 1.2rem; }
.page-hero.compact { padding: 64px 0; }
.page-hero .split h1,
.page-hero .split p { text-align: start; margin-inline: 0; }

.breadcrumb { display: flex; align-items: center; gap: 10px; padding: 18px 0; color: #9ca3af; font-size: .9rem; }
.breadcrumb a { color: #d1d5db; font-weight: 700; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.prose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.prose-grid article,
.contact-card,
.inquiry-box,
.article-cta {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.prose-grid article h2,
.contact-card h2,
.inquiry-box h3 { font-size: 1.45rem; }

.part-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.part-directory__group,
.intent-link-grid a {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.part-directory__group {
  padding: 24px;
}

.part-directory__group h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.part-directory__group ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.part-directory__group a {
  color: #cbd5e1;
  font-weight: 600;
}

.part-directory__group a:hover {
  color: #ff4d5e;
}

.intent-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.intent-link-grid a {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: #d1d5db;
  font-weight: 700;
}

.intent-link-grid a:hover {
  border-color: rgba(235, 10, 30, 0.45);
  color: #fff;
}

.steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin: 16px 0;
  color: #d1d5db;
  font-weight: 600;
}
.steps li::before {
  content: counter(step);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
}

.contact-card { color: #d1d5db; }
.contact-card strong { color: #fff; }
.map-placeholder { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--ink-2); }
.map-placeholder iframe { display: block; }
.map-placeholder--hero { width: 100%; min-height: 360px; }
.map-placeholder--hero iframe { width: 100%; min-height: 360px; height: 100%; }

.article { background: var(--ink); }
.article-hero { padding: 72px 0 0; background: var(--soft); border-bottom: 1px solid var(--line); text-align: center; }
.article-hero p { max-width: 760px; margin: 16px auto 0; color: #9ca3af; font-size: 1.18rem; }
.article-hero img {
  width: min(100% - 40px, 900px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 40px auto -70px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.article-body { padding: 120px 0 80px; }
.article-body h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-top: 38px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 26px; font-size: 1.2rem; }
.article-body p { color: #cbd5e1; font-size: 1.08rem; }
.article-body a { color: #ff4d5e; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-cta { margin: 34px 0; }
.article-cta p { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-form { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--white); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 16px; font: inherit; color: var(--white); background: rgba(255,255,255,0.03); transition: border-color 0.3s ease, background 0.3s ease; margin-bottom: 24px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,0.06); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-note { color: #9ca3af; font-size: .9rem; margin: 0; }

.meta { display: inline-block; padding: 4px 10px; background: rgba(255,255,255,0.05); border-radius: 12px; color: #9ca3af; font-size: .8rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; align-items: start; }
.site-footer p { color: #9ca3af; }
.site-footer h2 { font-size: 1.2rem; color: var(--white); margin-bottom: 24px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: #9ca3af; transition: color 0.2s ease; font-weight: 500; }
.footer-links a:hover { color: var(--red); }
.brand--footer { margin-bottom: 18px; }
.brand--footer img { width: 50px; height: 50px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 60px; padding: 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; color: #9ca3af; font-size: 0.9rem; }

.floating-actions { position: fixed; z-index: 60; inset-inline-end: 24px; bottom: 24px; display: grid; gap: 12px; }
.float-btn { min-width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 28px; color: #fff; font-weight: 800; box-shadow: 0 10px 25px rgba(0,0,0,0.3); padding: 0 24px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.float-btn:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); color: #fff; }
.float-btn--whatsapp { background: var(--green); }
.float-btn--call { background: var(--red); }

@media (max-width: 1024px) {
  .hero__content { padding-block: 60px; }
  h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--glass); backdrop-filter: blur(16px); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); }
  .site-header.is-open .site-nav { display: flex; }
  .grid--3, .grid--models, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .header-actions { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
}
