﻿* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--vt-font-en);
  color: var(--vt-color-ink);
  background: var(--vt-color-white);
  line-height: 1.6;
}
body.lang-ar { font-family: var(--vt-font-ar); }

.lang-ar-only { display: none !important; }
body.lang-ar .lang-en-only { display: none !important; }
body.lang-ar .lang-ar-only { display: inline !important; }

h1, h2, h3, h4 { color: var(--vt-color-navy); line-height: 1.25; }
h1 { font-size: var(--vt-text-3xl); font-weight: 700; }
h2 { font-size: var(--vt-text-2xl); font-weight: 700; margin-bottom: var(--vt-space-4); }
h3 { font-size: var(--vt-text-xl); font-weight: 650; }

a { color: var(--vt-color-blue); text-decoration: none; }
a:hover { color: var(--vt-color-blue-strong); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(18, 134, 255, 0.35);
  outline-offset: 2px;
}

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 1100; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.94);
  border-bottom: 1px solid transparent; backdrop-filter: blur(7px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--vt-color-gray-200); box-shadow: 0 8px 20px rgba(11, 31, 58, .08); }
.brand-logo { width: 210px; height: auto; }

.nav-main .nav-link { color: var(--vt-color-ink); font-weight: 500; border-bottom: 2px solid transparent; padding: .45rem .2rem; }
.nav-main .nav-link.active, .nav-main .nav-link:hover { color: var(--vt-color-blue-strong); border-color: var(--vt-color-blue); }

.mobile-nav-toggle { border: 1px solid var(--vt-color-gray-200); background: var(--vt-color-white); border-radius: .5rem; padding: .35rem .7rem; }

.hero {
  background: var(--vt-gradient-hero);
  color: var(--vt-color-white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -12rem;
  top: -7rem;
  background: radial-gradient(circle, rgba(18,134,255,.33), transparent 65%);
  pointer-events: none;
}
.hero h1, .hero h2, .hero p { color: var(--vt-color-white); }
.hero .lead { font-size: var(--vt-text-lg); max-width: 58ch; }
.hero-visual { max-width: 500px; width: 100%; border-radius: var(--vt-radius-lg); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); }
.media-photo {
  width: 100%;
  height: auto;
  border-radius: var(--vt-radius-lg);
  border: 1px solid var(--vt-color-gray-200);
  box-shadow: var(--vt-shadow-card);
  object-fit: cover;
}
.media-photo.square { aspect-ratio: 1 / 1; }
.media-photo.wide { aspect-ratio: 16 / 9; }

.quick-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .8rem;
  margin-top: 1.2rem;
}
.quick-proof .item {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  border-radius: .8rem;
  padding: .7rem .9rem;
  font-weight: 600;
  font-size: var(--vt-text-sm);
}

.proof-bar { background: var(--vt-color-gray-100); border-top: 1px solid var(--vt-color-gray-200); border-bottom: 1px solid var(--vt-color-gray-200); }
.proof-list { list-style: none; margin: 0; padding: .9rem 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.proof-list li { font-size: var(--vt-text-sm); font-weight: 600; color: var(--vt-color-navy); display: flex; align-items: center; gap: .5rem; }
.proof-list li::before { content: '•'; color: var(--vt-color-success); font-size: 1.2rem; }

.section-subtitle { color: var(--vt-color-gray-500); max-width: 70ch; margin-bottom: var(--vt-space-6); }
.icon-chip { width: 46px; height: 46px; border-radius: 12px; background: rgba(18, 134, 255, .1); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.icon-chip img { width: 22px; height: 22px; }

.vt-note { font-size: var(--vt-text-sm); color: var(--vt-color-gray-500); }
.risk-grid, .trust-strip, .timeline-grid, .severity-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.risk-item, .trust-item, .timeline-item, .severity-item {
  background: var(--vt-color-white);
  border: 1px solid var(--vt-color-gray-200);
  border-radius: var(--vt-radius-md);
  padding: 1rem;
}
.risk-item strong, .timeline-item strong, .severity-item strong { display: block; margin-bottom: .4rem; color: var(--vt-color-navy); }

.package-card { height: 100%; }
.package-card .badge-tier { display: inline-block; font-size: var(--vt-text-xs); background: var(--vt-color-gray-100); border: 1px solid var(--vt-color-gray-200); border-radius: 999px; padding: .25rem .7rem; margin-bottom: .75rem; }
.package-card ul, .check-list, .step-list, .feature-list { padding-left: 1.2rem; }
body.lang-ar .package-card ul, body.lang-ar .check-list, body.lang-ar .step-list, body.lang-ar .feature-list { padding-left: 0; padding-right: 1.2rem; }

.path-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.path-step { background: var(--vt-color-gray-100); border: 1px solid var(--vt-color-gray-200); border-radius: var(--vt-radius-md); padding: var(--vt-space-4); font-weight: 600; }

.case-card, .industry-card, .project-card, .service-card { height: 100%; }
.case-meta { font-size: var(--vt-text-sm); color: var(--vt-color-gray-500); }

.cta-band { background: linear-gradient(145deg, #0f2d56 0%, #0b1f3a 100%); color: #fff; border-radius: var(--vt-radius-lg); padding: var(--vt-space-7); }
.cta-band h2, .cta-band p { color: #fff; }

.page-hero { background: linear-gradient(180deg, #eef4fc 0%, #ffffff 80%); border-bottom: 1px solid var(--vt-color-gray-200); }
.page-hero .title-wrap { padding: var(--vt-space-8) 0 var(--vt-space-7); }

.table-wrap { overflow-x: auto; }
.table-vt { width: 100%; border-collapse: collapse; min-width: 700px; }
.table-vt th, .table-vt td { border: 1px solid var(--vt-color-gray-200); padding: .8rem; text-align: left; vertical-align: top; }
body.lang-ar .table-vt th, body.lang-ar .table-vt td { text-align: right; }
.table-vt th { background: var(--vt-color-gray-100); color: var(--vt-color-navy); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: .75rem; }
.whatsapp-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1200;
  background: #26d366; color: white; width: 52px; height: 52px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
body.lang-ar .whatsapp-fab { right: auto; left: 1rem; }

.site-footer {
  margin-top: var(--vt-space-8); padding: var(--vt-space-7) 0 var(--vt-space-5);
  background: var(--vt-color-navy); color: #d3deed;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #d3deed; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: var(--vt-space-5); border-top: 1px solid rgba(255,255,255,0.2); padding-top: var(--vt-space-4); font-size: var(--vt-text-sm); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .nav-main { display: none; width: 100%; margin-top: .75rem; }
  .nav-main.open { display: block; }
  .nav-main .nav-list { display: flex; flex-direction: column; gap: .35rem; }
}

@media (min-width: 992px) {
  .mobile-nav-toggle { display: none; }
  .nav-main { display: block !important; }
  .nav-main .nav-list { display: flex; gap: 1.3rem; align-items: center; margin: 0; padding: 0; list-style: none; }
}

@media (max-width: 767.98px) {
  .vt-section { padding: var(--vt-space-7) 0; }
  .cta-band { padding: var(--vt-space-6); }
}
