/* ============================================================
   Dar Al-Qanoun — شركة دار القانون
   Design system: deep navy · gold · cream — IBM Plex Sans Arabic
   ============================================================ */

:root {
  --navy-950: #060F1D;
  --navy-900: #0A1B33;
  --navy-850: #0D2140;
  --navy-800: #123052;
  --navy-700: #1A3B63;
  --ink: #122336;
  --ink-soft: #43536A;
  --gold-300: #E7D3AA;
  --gold-400: #D6B87F;
  --gold-500: #C3A05C;
  --gold-600: #A5814A;
  --cream: #FAF6EE;
  --cream-2: #F3EDE0;
  --white: #FFFFFF;
  --line: rgba(18, 35, 54, 0.10);
  --line-gold: rgba(195, 160, 92, 0.35);
  --shadow-sm: 0 2px 10px rgba(10, 27, 51, 0.06);
  --shadow-md: 0 14px 40px rgba(10, 27, 51, 0.10);
  --shadow-lg: 0 30px 70px rgba(6, 15, 29, 0.16);
  --radius: 18px;
  --radius-lg: 26px;
  --font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }

::selection { background: var(--gold-500); color: var(--navy-950); }

.container { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 10px 26px rgba(195, 160, 92, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(195, 160, 92, 0.45); }

.btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(250, 246, 238, 0.35);
  background: rgba(250, 246, 238, 0.04);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-3px); }

.btn-navy {
  background: var(--navy-900);
  color: var(--cream);
  box-shadow: 0 10px 26px rgba(10, 27, 51, 0.25);
}
.btn-navy:hover { background: var(--navy-800); transform: translateY(-3px); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 18px;
}
.header.scrolled {
  padding-block: 10px;
  background: rgba(6, 15, 29, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(195, 160, 92, 0.22), 0 18px 40px rgba(6, 15, 29, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }
.footer .brand-logo { height: 66px; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  position: relative;
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(250, 246, 238, 0.78);
  border-radius: 999px;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0.95rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--cream); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 238, 0.25);
  color: rgba(250, 246, 238, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.3s, color 0.3s;
}
.lang-switch:hover { border-color: var(--gold-400); color: var(--gold-300); }
.header .btn-gold { padding: 0.62rem 1.5rem; font-size: 0.92rem; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(250,246,238,0.25); place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; stroke: var(--cream); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(1100px 620px at 85% -10%, rgba(26, 59, 99, 0.55), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(195, 160, 92, 0.12), transparent 55%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-850) 100%);
  color: var(--cream);
  overflow: hidden;
  padding-block: 150px 0;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M36 0v72M0 36h72' stroke='%23C3A05C' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  mask-image: radial-gradient(800px 520px at 50% 30%, black, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 160, 92, 0.16), transparent 65%);
  top: -160px; inset-inline-end: -120px;
  filter: blur(10px);
  pointer-events: none;
}
.hero-skyline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, 96%);
  opacity: 0.14;
  pointer-events: none;
  mask-image: linear-gradient(to top, black 40%, transparent 92%);
  -webkit-mask-image: linear-gradient(to top, black 40%, transparent 92%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gold-300);
  border: 1px solid var(--line-gold);
  background: rgba(195, 160, 92, 0.08);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(195,160,92,0.18); }

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.hero h1 .gold {
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: rgba(250, 246, 238, 0.72);
  max-width: 34rem;
  margin-bottom: 2.4rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero visual — photo + statue composition */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-photo {
  position: relative;
  width: min(410px, 100%);
  margin: 0;
}
.hero-photo .photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(195, 160, 92, 0.4);
  box-shadow: 0 40px 90px rgba(6, 15, 29, 0.6), 0 0 0 10px rgba(195, 160, 92, 0.06);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(250, 246, 238, 0.22);
  pointer-events: none;
}
.statue-float {
  position: absolute;
  bottom: -34px;
  inset-inline-start: -78px;
  width: 205px;
  z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(6, 15, 29, 0.65));
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.emblem-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.15rem;
  border-radius: 14px;
  background: rgba(6, 15, 29, 0.78);
  border: 1px solid var(--line-gold);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  animation: float 6s ease-in-out infinite;
}
.emblem-chip small { display: block; font-size: 0.7rem; font-weight: 400; color: var(--gold-300); line-height: 1.4; }
.emblem-chip svg { width: 20px; height: 20px; flex: none; }
.chip-1 { top: 7%; inset-inline-end: -9%; animation-delay: 0.8s; }
.chip-2 { bottom: 20%; inset-inline-end: -12%; animation-delay: 1.6s; }

/* Hero stats band */
.hero-stats {
  position: relative;
  margin-top: clamp(3.5rem, 7vh, 5.5rem);
  border-top: 1px solid rgba(195, 160, 92, 0.2);
  background: rgba(6, 15, 29, 0.35);
  backdrop-filter: blur(8px);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 1.9rem;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 58%;
  background: linear-gradient(to bottom, transparent, rgba(195, 160, 92, 0.4), transparent);
}
.stat-num {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.92rem; color: rgba(250, 246, 238, 0.68); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-600);
  margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.section-head.center .kicker::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-900);
  margin-bottom: 1rem;
}
.section-lead { color: var(--ink-soft); font-size: clamp(0.98rem, 1.4vw, 1.08rem); }

.on-dark .kicker { color: var(--gold-300); }
.on-dark .section-title { color: var(--cream); }
.on-dark .section-lead { color: rgba(250, 246, 238, 0.66); }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.about-copy p { color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.02rem; }
.about-copy p strong { color: var(--navy-900); font-weight: 600; }

.about-highlights { display: grid; gap: 0.9rem; margin-top: 1.8rem; }
.about-highlight {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-weight: 500;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.about-highlight:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.about-highlight svg { width: 22px; height: 22px; flex: none; }

/* Vision / Mission cards */
.vm-stack { display: grid; gap: 1.4rem; position: sticky; top: 110px; }
.vm-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2.1rem 2.2rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vm-card {
  color: var(--cream);
  border: 1px solid rgba(195, 160, 92, 0.35);
  background: var(--navy-900);
}
.vm-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.vm-card:hover .vm-bg { transform: scale(1.05); }
.vm-card.vision::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg, rgba(10, 27, 51, 0.94) 30%, rgba(10, 27, 51, 0.55));
}
.vm-card.mission::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg, rgba(6, 15, 29, 0.92) 30%, rgba(101, 74, 32, 0.55));
}
.vm-card > *:not(.vm-bg) { position: relative; z-index: 2; }
.vm-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.9rem; }
.vm-head svg { width: 26px; height: 26px; flex: none; }
.vm-head h3 { font-size: 1.3rem; font-weight: 700; color: var(--gold-300); }
.vm-card p { font-size: 0.99rem; line-height: 1.9; color: rgba(250, 246, 238, 0.82); }

/* ---------- Showcase band ---------- */
.showcase { background: var(--white); padding-block: 0 clamp(4.5rem, 9vw, 7.5rem); }
.showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-gold);
}
.showcase-frame img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.showcase-frame:hover img { transform: scale(1.03); }
.showcase-frame figcaption {
  position: absolute;
  bottom: 1.4rem;
  inset-inline-start: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(6, 15, 29, 0.72);
  border: 1px solid var(--line-gold);
  backdrop-filter: blur(12px);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 500;
}
.showcase-frame figcaption .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }

/* ---------- Values ---------- */
.values { background: var(--cream); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.value-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem 1.7rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0);
  transform-origin: var(--origin-start, right);
  transition: transform 0.45s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.value-card:hover::before { transform: scaleX(1); }
.value-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(195, 160, 92, 0.16), rgba(195, 160, 92, 0.05));
  border: 1px solid var(--line-gold);
  margin-bottom: 1.1rem;
}
.value-icon svg { width: 25px; height: 25px; }
.value-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.45rem; }
.value-card p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.75; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.service-card {
  position: relative;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.8rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--cream);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  bottom: -60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 160, 92, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
  background: var(--white);
}
.service-card:hover::after { opacity: 1; }
.service-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-600);
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  min-width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--white);
  font-variant-numeric: tabular-nums;
  transition: background 0.35s, color 0.35s;
}
.service-card:hover .service-num { background: var(--navy-900); color: var(--gold-300); border-color: var(--navy-900); }
.service-card h3 { font-size: 1.13rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.4rem; }
.service-card p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.75; }

/* ---------- Sectors ---------- */
.sectors {
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(26, 59, 99, 0.5), transparent 60%),
    radial-gradient(700px 480px at 95% 100%, rgba(195, 160, 92, 0.1), transparent 55%),
    linear-gradient(170deg, var(--navy-950), var(--navy-900) 70%);
  color: var(--cream);
  overflow: hidden;
}
.sectors-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.1;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.sectors .container { position: relative; }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.sector-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: 1.7rem 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(195, 160, 92, 0.18);
  background: linear-gradient(160deg, rgba(250, 246, 238, 0.045), rgba(250, 246, 238, 0.012));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.sector-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(195, 160, 92, 0.5);
  background: linear-gradient(160deg, rgba(195, 160, 92, 0.12), rgba(195, 160, 92, 0.03));
}
.sector-tile svg { width: 30px; height: 30px; }
.sector-tile span { font-size: 0.92rem; font-weight: 500; color: rgba(250, 246, 238, 0.85); line-height: 1.5; }
.sector-tile i {
  width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  opacity: 0.7;
}

/* ---------- Why us ---------- */
.why { background: var(--cream-2); }
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.why-side { position: sticky; top: 110px; }
.why-side .section-head { margin-bottom: 1.8rem; }
.why-quote {
  border-inline-start: 3px solid var(--gold-500);
  padding-inline-start: 1.3rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}
.why-photo {
  margin: 2.2rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-gold);
}
.why-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.why-list { display: grid; gap: 1rem; }
.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.why-item:hover { transform: translateX(var(--shift, -6px)); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.why-item-icon {
  width: 48px; height: 48px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-900);
  color: var(--gold-300);
}
.why-item-icon svg { width: 23px; height: 23px; }
.why-item h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.3rem; }
.why-item p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.75; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0; }
.cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 85% 20%, rgba(195, 160, 92, 0.22), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-850));
  color: var(--cream);
  padding: clamp(2.6rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 2rem;
  border: 1px solid rgba(195, 160, 92, 0.3);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.4; margin-bottom: 0.8rem; }
.cta-card p { color: rgba(250, 246, 238, 0.7); max-width: 32rem; }
.cta-actions { display: flex; flex-direction: column; gap: 0.9rem; align-items: stretch; }
.cta-actions .btn { justify-content: center; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--cream);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.contact-card-icon {
  width: 48px; height: 48px; flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(195, 160, 92, 0.18), rgba(195, 160, 92, 0.05));
  border: 1px solid var(--line-gold);
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 0.1rem; }
.contact-card strong { font-size: 1rem; font-weight: 600; color: var(--navy-900); direction: ltr; unicode-bidi: embed; }
.contact-card strong.bidi-plain { direction: inherit; }

.contact-form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.4rem; }
.contact-form-card > p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: var(--navy-900); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(195, 160, 92, 0.15);
}
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.9rem; display: flex; align-items: center; gap: 0.45rem; }
.form-note svg { width: 15px; height: 15px; flex: none; }
.contact-form-card .btn { width: 100%; justify-content: center; margin-top: 1.4rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(250, 246, 238, 0.7);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.footer-skyline {
  position: absolute;
  bottom: 0;
  inset-inline-end: -60px;
  width: min(520px, 60%);
  opacity: 0.09;
  pointer-events: none;
}
.footer .container { position: relative; }
.footer::before {
  content: "";
  position: absolute; top: 0; inset-inline: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(195, 160, 92, 0.5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.85; margin-top: 1.1rem; max-width: 22rem; }
.footer h4 { color: var(--cream); font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { font-size: 0.9rem; transition: color 0.3s; display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-links a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); opacity: 0.65; }
.footer-links a:hover { color: var(--gold-300); }
.footer-contact { display: grid; gap: 0.8rem; font-size: 0.9rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.7rem; }
.footer-contact svg { width: 17px; height: 17px; flex: none; }
.footer-contact .ltr { direction: ltr; unicode-bidi: embed; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid rgba(195, 160, 92, 0.3);
  transition: background 0.3s, transform 0.3s;
}
.footer-social a:hover { background: rgba(195, 160, 92, 0.15); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.1);
  padding-block: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer-bottom .made { color: rgba(250, 246, 238, 0.45); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-start: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #24BB60;
  box-shadow: 0 12px 30px rgba(36, 187, 96, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 38px rgba(36, 187, 96, 0.5); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-900);
  border: 1px solid var(--line-gold);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; stroke: var(--gold-300); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .vm-stack, .why-side { position: static; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    top: 0;
    inset-inline: 0;
    padding: 110px 6vw 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: rgba(6, 15, 29, 0.97);
    backdrop-filter: blur(20px);
    transform: translateY(-105%);
    transition: transform 0.45s var(--ease);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line-gold);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.1rem; padding: 0.85rem 1rem; border-radius: 12px; }
  .nav a::after { display: none; }
  .nav a:hover { background: rgba(195, 160, 92, 0.1); }
  .menu-toggle { display: grid; }
  .header .btn-gold { display: none; }
  .header { background: rgba(6, 15, 29, 0.82); backdrop-filter: blur(18px); }
}

@media (max-width: 640px) {
  /* App-like compact scale */
  .header { padding-block: 10px; }
  .brand-logo { height: 38px; }
  .lang-switch { padding: 0.4rem 0.8rem; font-size: 0.78rem; }
  .menu-toggle { width: 40px; height: 40px; }

  .hero { min-height: auto; padding-block: 104px 0; }
  .hero-kicker { font-size: 0.7rem; padding: 0.35rem 0.85rem; margin-bottom: 1.1rem; }
  .hero h1 { font-size: clamp(1.65rem, 7.4vw, 2.15rem); line-height: 1.35; margin-bottom: 0.9rem; }
  .hero-lead { font-size: 0.93rem; margin-bottom: 1.5rem; }
  .hero-cta { gap: 0.65rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .btn { padding: 0.8rem 1.4rem; font-size: 0.93rem; }
  .hero-skyline { opacity: 0.1; }

  .hero-stats { margin-top: 2.4rem; }
  .hero-stats-inner { padding-block: 1.05rem; }
  .stat-num { font-size: 1.35rem; }
  .stat-label { font-size: 0.68rem; }

  .section { padding-block: 3.2rem; }
  .section-head { margin-bottom: 1.7rem; }
  .kicker { font-size: 0.7rem; margin-bottom: 0.6rem; }
  .section-title { font-size: 1.4rem; margin-bottom: 0.6rem; }
  .section-lead { font-size: 0.9rem; }

  .about-copy p { font-size: 0.92rem; }
  .about-highlight { padding: 0.8rem 1rem; font-size: 0.86rem; border-radius: 12px; }
  .about-highlight svg { width: 18px; height: 18px; }
  .vm-card { padding: 1.5rem 1.4rem; }
  .vm-head h3 { font-size: 1.1rem; }
  .vm-card p { font-size: 0.9rem; }

  .showcase { padding-block: 0 3.2rem; }
  .showcase-frame img { aspect-ratio: 4 / 3; }
  .showcase-frame figcaption { font-size: 0.72rem; padding: 0.45rem 0.85rem; bottom: 0.9rem; inset-inline-start: 0.9rem; }

  .values-grid, .services-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .value-card { padding: 1.3rem 1.2rem 1.15rem; }
  .value-icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 0.75rem; }
  .value-icon svg { width: 20px; height: 20px; }
  .value-card h3 { font-size: 1rem; }
  .value-card p { font-size: 0.86rem; }

  .service-card { padding: 1.15rem 1.15rem; gap: 0.9rem; border-radius: 14px; }
  .service-num { min-width: 38px; height: 38px; font-size: 0.78rem; border-radius: 10px; }
  .service-card h3 { font-size: 0.99rem; margin-bottom: 0.25rem; }
  .service-card p { font-size: 0.85rem; }

  .sectors-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .sector-tile { padding: 1.05rem 0.6rem 0.95rem; gap: 0.55rem; border-radius: 14px; }
  .sector-tile svg { width: 23px; height: 23px; }
  .sector-tile span { font-size: 0.78rem; }

  .why-item { padding: 1.05rem 1.1rem; gap: 0.85rem; border-radius: 14px; }
  .why-item-icon { width: 38px; height: 38px; border-radius: 11px; }
  .why-item-icon svg { width: 18px; height: 18px; }
  .why-item h3 { font-size: 0.98rem; }
  .why-item p { font-size: 0.85rem; }
  .why-quote { font-size: 0.92rem; margin-bottom: 1.4rem; }

  .cta-card { padding: 1.7rem 1.3rem; border-radius: 18px; }
  .cta-card h2 { font-size: 1.3rem; }
  .cta-card p { font-size: 0.9rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .contact-card { padding: 0.95rem 1.05rem; gap: 0.85rem; border-radius: 14px; }
  .contact-card-icon { width: 40px; height: 40px; border-radius: 11px; }
  .contact-card strong { font-size: 0.92rem; }
  .contact-form-card { padding: 1.35rem 1.2rem; border-radius: 18px; }
  .contact-form-card h3 { font-size: 1.1rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .form-field input, .form-field select, .form-field textarea { padding: 0.75rem 0.95rem; font-size: 0.92rem; border-radius: 11px; }
  .form-field label { font-size: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; padding-bottom: 2rem; }
  .footer .brand-logo { height: 52px; }
  .footer-brand p { font-size: 0.85rem; }
  .footer h4 { font-size: 0.92rem; margin-bottom: 0.7rem; }
  .footer-links a, .footer-contact { font-size: 0.85rem; }
  .footer-bottom { flex-direction: column; text-align: center; font-size: 0.74rem; padding-block: 1.1rem; gap: 0.4rem; }
  .footer-skyline { width: 75%; opacity: 0.07; }

  .wa-float { width: 50px; height: 50px; bottom: 16px; inset-inline-start: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  .to-top { width: 42px; height: 42px; bottom: 16px; inset-inline-end: 16px; }
}

/* ---------- Service tags + note ---------- */
.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.service-tags li {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-600);
  background: rgba(195, 160, 92, 0.07);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 0.26rem 0.7rem;
  line-height: 1.55;
  white-space: nowrap;
}
.service-card:hover .service-tags li { background: rgba(195, 160, 92, 0.13); }
.services-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 62ch;
  margin: 2.2rem auto 0;
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  border: 1px dashed var(--line-gold);
  background: rgba(195, 160, 92, 0.04);
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.services-note svg { width: 20px; height: 20px; flex: none; margin-top: 0.25rem; }

/* ---------- Sector tile descriptor ---------- */
.sector-tile span small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  font-weight: 400;
  color: rgba(250, 246, 238, 0.52);
  line-height: 1.6;
}
.sector-tile:hover span small { color: rgba(250, 246, 238, 0.66); }

/* ---------- Market entry roadmap ---------- */
.roadmap {
  position: relative;
  background:
    radial-gradient(800px 460px at 85% 0%, rgba(26, 59, 99, 0.55), transparent 62%),
    radial-gradient(640px 420px at 8% 100%, rgba(195, 160, 92, 0.11), transparent 58%),
    linear-gradient(200deg, var(--navy-950), var(--navy-900) 72%);
  color: var(--cream);
  overflow: hidden;
}
.roadmap .container { position: relative; }
.roadmap-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  counter-reset: roadmap;
}
.roadmap-step {
  position: relative;
  padding: 1.9rem 1.5rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid rgba(195, 160, 92, 0.18);
  background: linear-gradient(165deg, rgba(250, 246, 238, 0.05), rgba(250, 246, 238, 0.012));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.roadmap-step::before {
  content: "";
  position: absolute;
  top: 3.05rem;
  inset-inline-start: 100%;
  width: 1.1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(195, 160, 92, 0.55), transparent);
}
.roadmap-step:last-child::before { display: none; }
.roadmap-step:hover {
  transform: translateY(-6px);
  border-color: rgba(195, 160, 92, 0.48);
  background: linear-gradient(165deg, rgba(195, 160, 92, 0.11), rgba(195, 160, 92, 0.025));
}
.roadmap-num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold-300);
  border: 1px solid rgba(195, 160, 92, 0.38);
  background: rgba(10, 27, 51, 0.5);
  transition: background 0.35s, color 0.35s;
}
.roadmap-step:hover .roadmap-num { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.roadmap-step h3 { font-size: 1.08rem; font-weight: 700; color: var(--cream); margin-bottom: 0.5rem; }
.roadmap-step p { font-size: 0.9rem; color: rgba(250, 246, 238, 0.62); line-height: 1.8; }

@media (max-width: 1024px) {
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-step::before { display: none; }
}
@media (max-width: 640px) {
  .roadmap-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .roadmap-step { padding: 1.3rem 1.2rem 1.2rem; }
  .roadmap-num { width: 38px; height: 38px; border-radius: 10px; font-size: 0.78rem; margin-bottom: 0.8rem; }
  .roadmap-step h3 { font-size: 1rem; }
  .roadmap-step p { font-size: 0.86rem; }
  .service-tags li { font-size: 0.7rem; padding: 0.22rem 0.6rem; }
  .services-note { font-size: 0.84rem; padding: 0.85rem 1rem; margin-top: 1.4rem; }
  .sector-tile span small { font-size: 0.7rem; }
}

/* LTR (English page) fine-tuning */
[dir="ltr"] .value-card::before { --origin-start: left; }
[dir="ltr"] .why-item:hover { --shift: 6px; }

/* ---------- English display typography (Playfair Display) ---------- */
[dir="ltr"] {
  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
}
[dir="ltr"] .hero h1,
[dir="ltr"] .section-title,
[dir="ltr"] .cta-card h2,
[dir="ltr"] .stat-num,
[dir="ltr"] h2,
[dir="ltr"] h3,
[dir="ltr"] h4 {
  font-family: var(--font-display);
}
/* Playfair runs optically larger and tighter than the sans it replaces */
[dir="ltr"] .hero h1 { letter-spacing: -0.015em; line-height: 1.22; }
[dir="ltr"] .section-title { letter-spacing: -0.012em; line-height: 1.28; }
[dir="ltr"] .cta-card h2 { letter-spacing: -0.012em; line-height: 1.3; }
[dir="ltr"] .stat-num { letter-spacing: -0.01em; }
[dir="ltr"] h3,
[dir="ltr"] h4 { font-weight: 600; letter-spacing: 0; }
/* the small uppercase eyebrow stays in the sans for contrast */
[dir="ltr"] .kicker { font-family: var(--font); }
