/* 051 · Targo Logistics (تارغو للإمداد) — 1:1 Reference-Faithful Chamfered Dark Stylesheet */
:root {
  --tg-bg: #000000;
  --tg-brand: #ee3f2c;
  --tg-brand-hover: #d63525;
  --tg-card: rgba(255, 255, 255, 0.05);
  --tg-line: rgba(255, 255, 255, 0.1);
  --tg-ink: #ffffff;
  --tg-muted: rgba(255, 255, 255, 0.6);
  --tg-eyebrow: rgba(255, 255, 255, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--tg-bg); color: var(--tg-ink); }

body {
  margin: 0;
  background: var(--tg-bg);
  color: var(--tg-ink);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  line-height: 1.68;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, a, button, span, dt, dd { letter-spacing: 0; }
[dir="ltr"] { font-family: 'JetBrains Mono', 'Readex Pro', monospace; }

/* Signature 45-Degree Chamfered Clip-Corner */
.clip-corner {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.tg-btn-brand {
  height: 44px;
  padding: 0 26px;
  border: 0;
  background: var(--tg-brand);
  color: #ffffff;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tg-btn-brand:hover {
  background: var(--tg-brand-hover);
}

.tg-pill-white {
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
}

/* Sub-Route Views (#/about, #/contact) */
.tg-subview {
  display: none;
  min-height: 100dvh;
  padding: 96px clamp(24px, 5vw, 64px);
  max-width: 960px;
  margin: 0 auto;
}

body.is-subroute .tg-home-view { display: none; }
body[data-route="about"] #tg-view-about { display: block; }
body[data-route="contact"] #tg-view-contact { display: block; }

/* Section 1: Full-Viewport Video/Motion Hero + Overlaid Navbar */
.tg-hero {
  position: relative;
  min-height: 100dvh;
  padding: 24px clamp(20px, 4.5vw, 56px) 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.tg-hero-bg { position: absolute; inset: 0; z-index: 0; }
.tg-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tg-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.48) 52%, rgba(0, 0, 0, 0.24) 100%);
}

.tg-nav {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tg-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Readex Pro', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.tg-t-badge {
  width: 36px;
  height: 36px;
  background: var(--tg-brand);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.tg-links { display: flex; align-items: center; gap: 28px; }
.tg-links a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.tg-links a:hover { color: #ffffff; }

.tg-hero-main {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  width: 100%;
  margin: 8vh auto 36px;
}

.tg-h1 {
  margin: 0 0 28px;
  max-width: 780px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
}

/* Bottom-Start Chamfered Glass Consultation Card */
.tg-glass-wrap {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  width: 100%;
  margin: auto auto 0;
}

.tg-glass-card {
  max-width: 390px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s ease;
}

.tg-glass-card:hover { background: rgba(255, 255, 255, 0.13); }

.tg-phone-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tg-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Lower Sections */
.tg-sec {
  border-top: 1px solid var(--tg-line);
  padding: clamp(76px, 8.5vw, 112px) clamp(20px, 4.5vw, 56px);
}

.tg-wrap { max-width: 1160px; margin: 0 auto; }

.tg-eyebrow {
  display: block;
  font-size: 0.75rem;
  color: var(--tg-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tg-h2 {
  margin: 0 0 28px;
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 600;
}

.tg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tg-card {
  background: var(--tg-card);
  border: 1px solid var(--tg-line);
  border-radius: 16px;
  padding: 24px;
}

.tg-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.tg-card p { margin: 0; color: var(--tg-muted); font-size: 0.92rem; }

.tg-faq-stack {
  max-width: 780px;
  margin: 0;
  display: grid;
  gap: 14px;
}

.tg-faq-item {
  background: var(--tg-card);
  border: 1px solid var(--tg-line);
  border-radius: 16px;
  padding: 24px;
}

.tg-faq-item dt { font-weight: 700; margin-bottom: 8px; }
.tg-faq-item dd { margin: 0; color: var(--tg-muted); font-size: 0.92rem; }

.tg-showcase-tail {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--tg-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--tg-muted);
}

@media (max-width: 720px) {
  .tg-links { display: none; }
  .tg-grid-3 { grid-template-columns: 1fr; }
}
