:root {
  --bg: #0b1220;
  --bg-2: #0e1729;
  --surface: #141d33;
  --surface-2: #1a2540;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e6ecf5;
  --muted: #93a3bd;
  --accent: #f97316;
  --accent-2: #ea580c;
  --accent-soft: rgba(249, 115, 22, 0.14);
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --max: 1200px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #0b1220;
  font-weight: 800;
  font-size: 1rem;
}
.brand-name { font-size: 1.02rem; }
.brand-sub { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line-strong);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.9rem;
  }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand-sub { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.3rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #0b1220;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}
.btn-primary:hover { background: var(--accent-2); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #0b1220;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; }

.btn-call {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-call:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 0.6rem 0.95rem; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(249, 115, 22, 0.18), transparent 60%),
    radial-gradient(600px 300px at 0% 110%, rgba(249, 115, 22, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1.1rem;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 1.8rem;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-meta div { display: flex; align-items: center; gap: 0.45rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 18, 32, 0.55) 100%);
  pointer-events: none;
}
.featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: #0b1220;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
}
.hero-image-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  z-index: 1;
}
.hero-image-caption strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.hero-image-caption span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 880px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-2); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 2.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  margin: 0.5rem 0 0;
  max-width: 60ch;
}

/* ---------- Machine grid ---------- */
.grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-color: rgba(249, 115, 22, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.card .thumb {
  aspect-ratio: 4 / 3;
  background: #0d1525;
  overflow: hidden;
  position: relative;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .thumb img { transform: scale(1.04); }
.card .ribbon {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: #0b1220;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
}
.card .body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.card h3 {
  font-size: 1.08rem;
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.3;
}
.card .spec {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.card .actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.card .actions .btn { flex: 1; min-width: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.contact-card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.contact-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .icon {
  width: 36px; height: 36px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row .icon svg { width: 18px; height: 18px; }
.contact-row strong {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}
.contact-row span, .contact-row a {
  display: block;
  font-size: 1rem;
  color: var(--text);
}
.contact-row a:hover { color: var(--accent); }
.contact-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer a:hover { color: var(--accent); }

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #0b1220;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: transform 0.15s ease, background 0.15s ease;
}
.fab-whatsapp:hover { background: var(--whatsapp-dark); transform: scale(1.06); color: #fff; }
.fab-whatsapp svg { width: 28px; height: 28px; }

[dir="rtl"] .fab-whatsapp { right: auto; left: 1.25rem; }

/* ---------- Urdu / RTL ---------- */
[dir="rtl"] body, .urdu body {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Segoe UI', system-ui, sans-serif;
  line-height: 2;
}
[dir="rtl"] .hero h1 { line-height: 1.5; }
[dir="rtl"] .card h3 { line-height: 1.7; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .brand { flex-direction: row-reverse; }

/* ---------- Misc ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Detail page ---------- */
.breadcrumb {
  padding: 1.4rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color .15s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb .current { color: var(--text); }

.detail-hero {
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(249, 115, 22, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.detail-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.12;
  margin: 0.6rem 0 1rem;
}
.detail-hero .tagline {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1.6rem;
  max-width: 52ch;
}
.detail-hero-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  margin: 0;
}
.detail-hero-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) {
  .detail-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Two-column detail layout */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 3rem;
  align-items: start;
}
.detail-aside { position: sticky; top: 88px; }
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail-aside { position: static; }
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:last-child { border-bottom: 0; }
.specs-table td {
  padding: 0.85rem 1.1rem;
  vertical-align: top;
  font-size: 0.92rem;
}
.specs-table td:first-child {
  font-weight: 600;
  color: var(--muted);
  width: 42%;
}
.specs-table td:last-child { color: var(--text); }
@media (max-width: 600px) {
  .specs-table td:first-child { width: 50%; }
}

.aside-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-top: 1.25rem;
}
.aside-block h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}
.aside-block p { margin: 0 0 1rem; color: var(--text); font-size: 0.95rem; }
.aside-block .actions { display: flex; flex-direction: column; gap: 0.5rem; }
.aside-block .actions .btn { width: 100%; }

/* Long-form prose */
.prose { max-width: 70ch; color: var(--text); }
.prose p { margin: 0 0 1.1rem; line-height: 1.8; color: var(--text); }
.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin: 2.6rem 0 1.1rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.prose h2:first-child { margin-top: 0; }
.prose strong { color: #fff; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.7rem; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text);
  line-height: 1.6;
}
.check-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  margin-top: 3px;
}

/* FAQ */
.faq { display: grid; gap: 0.7rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: rgba(249,115,22,.4); }
.faq summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer {
  padding: 1.2rem 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq .answer p { margin: 0; }
.faq .answer p + p { margin-top: 0.8rem; }

/* Related machines */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.related-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
  color: inherit;
}
.related-card:hover {
  border-color: rgba(249,115,22,.45);
  transform: translateY(-2px);
}
.related-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0d1525;
}
.related-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.related-card:hover .thumb img { transform: scale(1.04); }
.related-card .body { padding: 0.95rem 1.05rem 1.05rem; }
.related-card h4 { margin: 0; font-size: 1rem; letter-spacing: -0.01em; font-weight: 700; }
.related-card .body p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.85rem; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, rgba(249,115,22,0.18), rgba(249,115,22,0.04));
  border: 1px solid rgba(249,115,22,0.32);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  text-align: center;
}
.cta-strip h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
}
.cta-strip p { margin: 0 0 1.5rem; color: var(--muted); }
.cta-strip .actions {
  display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap;
}

/* Card title link (landing) */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card-link { display: block; color: inherit; text-decoration: none; }

/* ---------- Language banner (top of page) ---------- */
.lang-banner {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0b1220;
  padding: 0.65rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
}
.lang-banner .container {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lang-banner-cta {
  background: rgba(11, 18, 32, 0.92);
  color: #fff;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.lang-banner-cta:hover { background: #0b1220; }
.lang-banner-close {
  background: transparent;
  border: 0;
  color: #0b1220;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.4rem;
  font-weight: 300;
}
.lang-banner-close:hover { opacity: 0.7; }
@media (max-width: 600px) {
  .lang-banner { font-size: 0.84rem; padding: 0.55rem 0; }
  .lang-banner .container { gap: 0.6rem; }
}

/* ---------- Map section (Contact) ---------- */
.map-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.map-section h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.map-section p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.map-section iframe {
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  display: block;
  width: 100%;
}
.map-section .map-frame {
  position: relative;
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(249, 115, 22, 0.25);
  box-shadow: 0 0 0 1px var(--line) inset, 0 18px 40px -20px rgba(0, 0, 0, 0.5);
}
