/* BoldTarget KSA — design v2. RTL-first; logical properties keep LTR working.
   Brand: navy #2d4058, lime #d6ee52 (from the company profile). */
:root {
  --navy: #2d4058;
  --navy-2: #22324a;
  --navy-3: #18243a;
  --lime: #d6ee52;
  --lime-2: #c4dc3f;
  --lime-soft: #f2f9cf;
  --ink: #0f1722;
  --ink-2: #3c4757;
  --muted: #6b7686;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --radius: 18px;
  --wrap: 1240px;
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --shadow: 0 10px 30px rgba(15, 23, 34, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }
.lead { color: var(--ink-2); font-size: 1.12rem; max-width: 64ch; }
.mx { margin-inline: auto; }
.center { text-align: center; }
.h-xl { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.h-lg { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: .92rem; letter-spacing: .04em; margin-bottom: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--lime); border-radius: 3px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 80; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; border: 2px solid var(--navy); transition: transform .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-1px); }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--navy-3); }
.btn.lime:hover { background: var(--lime-2); border-color: var(--lime-2); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost.light:hover { background: #fff; color: var(--navy); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: .95rem; background: var(--lime); border-color: var(--lime); color: var(--navy-3); }
.btn.sm:hover { background: var(--lime-2); border-color: var(--lime-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.arr { flex: none; }
[dir="rtl"] .arr { transform: scaleX(-1); }

/* Header: transparent over the photo hero, solid after scrolling */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .25s, box-shadow .25s; background: linear-gradient(180deg, rgba(15,23,34,.55), rgba(15,23,34,0)); }
.site-header.solid { background: rgba(24, 36, 58, .96); box-shadow: 0 6px 20px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 176px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .98rem; opacity: .9; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { opacity: 1; color: var(--lime); }
.nav a.lang { border: 1px solid rgba(255,255,255,.35); margin-inline: 6px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-btn span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
@media (max-width: 900px) {
  .brand img { width: 140px; }
  .nav-btn { display: flex; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--navy-3); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .nav a:not(.btn) { padding: 12px; }
  .nav a.lang { margin: 6px 0; text-align: center; }
  .nav .btn.sm { margin-top: 6px; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* Photo heroes */
.hero, .phero, .band { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.hero .bg, .phero .bg, .band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,28,44,.25) 0%, rgba(18,28,44,.75) 55%, rgba(18,28,44,.92) 100%); }
[dir="ltr"] .shade { background: linear-gradient(270deg, rgba(18,28,44,.25) 0%, rgba(18,28,44,.75) 55%, rgba(18,28,44,.92) 100%); }
.shade.solid { background: linear-gradient(135deg, var(--navy-3), var(--navy)); }
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; width: 100%; }
.hero .kicker, .phero .kicker { color: var(--lime); font-weight: 700; margin-bottom: .6em; }
.hero h1 { color: #fff; }
.hero .lead, .phero .lead { color: rgba(255,255,255,.88); }
.glasses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); padding: 22px 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.glass svg { color: var(--lime); margin-bottom: 10px; }
.glass .glass-h, .glass h3 { font-size: 1.15rem; margin-bottom: .4em; color: #fff; }
.glass p { color: rgba(255,255,255,.85); font-size: .93rem; margin: 0; line-height: 1.7; }
.hero .glasses .glass:nth-child(2) { transform: translateY(18px); }
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero .glasses .glass:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  .glasses { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; }
}
.phero { min-height: 460px; display: flex; align-items: flex-end; padding: 140px 0 56px; }
.phero h1 { color: #fff; max-width: 18ch; }
.phero.nf { min-height: 70vh; align-items: center; }

/* Highlights row under hero */
.hls { background: #fff; border-bottom: 1px solid var(--line); }
.hls-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.hl { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; text-decoration: none; color: var(--ink); border-inline-start: 1px solid var(--line); transition: background .15s; }
.hl:first-child { border-inline-start: 0; }
.hl:hover { background: var(--bg-alt); }
.hl-k { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.hl-t { font-size: 1.3rem; font-weight: 800; }
.hl-l { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: .95rem; margin-top: auto; }
@media (max-width: 760px) { .hls-in { grid-template-columns: 1fr; } .hl { border-inline-start: 0; border-top: 1px solid var(--line); } .hl:first-child { border-top: 0; } }

/* Sections */
.sec { padding: 84px 0; }
.sec.alt { background: var(--bg-alt); }
@media (max-width: 640px) { .sec { padding: 60px 0; } }

/* Filter pills + service cards */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.pill { border: 0; background: var(--bg-alt); color: var(--ink-2); padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: background .15s, color .15s; }
.pill:hover { background: var(--lime-soft); }
.pill.on { background: linear-gradient(90deg, var(--lime), #9fcf3f); color: var(--navy-3); }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard[hidden] { display: none; }
.scard-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.scard:hover .scard-img img { transform: scale(1.05); }
.scard-ic { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; width: 46px; height: 46px; border-radius: 12px; background: var(--lime); color: var(--navy-3); display: grid; place-items: center; }
.scard-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.scard-body p { color: var(--ink-2); font-size: .98rem; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Split block (big colour panel) */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: stretch; }
.split-text p { color: var(--ink-2); font-size: 1.05rem; }
.mini { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.mini li { position: relative; padding-inline-start: 22px; font-weight: 600; }
.mini li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.split-panel { position: relative; overflow: hidden; border-radius: 24px; background: var(--navy); color: #fff; padding: 40px; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.split-panel::after { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-end: -120px; bottom: -160px; border-radius: 50%;
  background: radial-gradient(circle, var(--lime) 0 10%, transparent 10% 20%, rgba(214,238,82,.5) 20% 22%, transparent 22% 36%, rgba(214,238,82,.3) 36% 37.5%, transparent 37.5% 54%, rgba(214,238,82,.18) 54% 55%, transparent 55%); }
.split-big { position: relative; z-index: 1; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.15; margin: 0 0 24px; max-width: 12ch; }
.split-panel .btn { position: relative; z-index: 1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .mini { grid-template-columns: 1fr; } .split-panel { min-height: 260px; padding: 28px; } }

/* Numbered steps (expanding panels) */
.steps { display: flex; gap: 12px; margin-top: 28px; min-height: 280px; }
.step { flex: 1; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; transition: flex .35s, background .35s, color .35s; overflow: hidden; }
.step:nth-child(2) { background: #eef3d6; }
.step:nth-child(3) { background: #e3ecbf; }
.step:nth-child(4) { background: #d8e6a6; }
.step.on { flex: 2.6; background: var(--navy); color: #fff; border-color: var(--navy); }
.step-btn { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
.step-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 8px; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; font-weight: 800; }
.step.on .step-n { background: var(--lime); color: var(--navy-3); border-color: var(--lime); }
.step-t { font-size: 1.2rem; font-weight: 800; }
.step-d { margin: 14px 0 0; opacity: 0; transition: opacity .3s; color: inherit; }
.step.on .step-d { opacity: .9; }
@media (max-width: 760px) {
  .steps { flex-direction: column; min-height: 0; }
  .step, .step.on { flex: none; }
  .step-d { opacity: .85; }
}

/* Giant watermark word */
.mark-sec { position: relative; overflow: hidden; padding-top: 120px; }
.mark { position: absolute; top: 10px; inset-inline: 0; text-align: center; font-size: clamp(2.6rem, 10vw, 9rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #dfe4ea; white-space: nowrap; pointer-events: none; user-select: none; }
.mark-in { position: relative; }

/* Octagon badges */
.octs { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.octs li { width: 136px; height: 136px; display: grid; place-items: center; background: var(--navy); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); transition: transform .2s; }
.octs li:hover { transform: translateY(-4px); }
.octs span { width: 126px; height: 126px; display: grid; place-items: center; text-align: center; padding: 10px; background: #fff; color: var(--navy); font-weight: 800; font-size: .98rem; line-height: 1.3; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
@media (max-width: 520px) { .octs li { width: 112px; height: 112px; } .octs span { width: 104px; height: 104px; font-size: .88rem; } }

/* Photo band */
.band { padding: 96px 0; }
.band .shade { background: linear-gradient(180deg, rgba(18,28,44,.82), rgba(18,28,44,.9)); }
.band h2 { color: #fff; }
.glasses.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; }
.glasses.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .glasses.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .glasses.four, .glasses.two { grid-template-columns: 1fr; } }

/* Tiles */
.values { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.values li { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--lime); }
.values p { color: var(--ink-2); margin: 0; }

/* Services page */
.svc { scroll-margin-top: 80px; }
.svc:nth-of-type(even) { background: var(--bg-alt); }
.svc-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.svc.flip .svc-media { order: 2; }
.svc-media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-n { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; background: var(--lime); color: var(--navy-3); font-weight: 800; border-radius: 999px; padding: 4px 14px; }
.items { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.items li { background: #fff; border: 1px solid var(--line); border-inline-start: 4px solid var(--lime); border-radius: 14px; padding: 16px 18px; }
.items h3 { margin-bottom: .2em; font-size: 1.05rem; }
.items p { color: var(--ink-2); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .svc-in { grid-template-columns: 1fr; gap: 24px; } .svc.flip .svc-media { order: 0; } }

/* Contact cards */
.ccards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 30px; border-radius: 22px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; transition: transform .2s, box-shadow .2s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ccard.main { background: var(--navy); color: #fff; border-color: var(--navy); }
.ccard-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--lime); color: var(--navy-3); display: grid; place-items: center; margin-bottom: 8px; }
.ccard-k { font-weight: 600; opacity: .8; }
.ccard-v { font-size: 1.6rem; font-weight: 800; }

/* CTA panel */
.cta-wrap { padding-top: 0; }
.sec.alt + .cta-wrap, .band + .cta-wrap, .phero + .cta-wrap { padding-top: 84px; }
.cta-panel { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(120deg, var(--navy-3), var(--navy) 60%, #3d5878); color: #fff; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-panel::before { content: ""; position: absolute; width: 360px; height: 360px; inset-inline-start: -110px; top: -150px; border-radius: 50%; border: 40px solid rgba(214,238,82,.12); }
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-panel p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .cta-panel { padding: 30px 22px; } }

/* Floating call button */
.float-call { position: fixed; z-index: 50; bottom: 20px; inset-inline-start: 20px; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--navy-3); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.22); transition: transform .15s; }
.float-call:hover { transform: scale(1.06); }

/* Footer */
.site-footer { background: var(--navy-3); color: #c3ccd6; padding: 60px 0 24px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot img { width: 180px; margin-bottom: 14px; }
.foot p { max-width: 46ch; font-size: .95rem; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-h { color: #fff; font-weight: 800; margin: 0 0 6px; }
.foot-col a, .contact-line a { color: #dfe6ee; text-decoration: none; }
.foot-col a:hover, .contact-line a:hover { color: var(--lime); }
.copy { border-top: 1px solid #2c3b4f; margin-top: 36px; padding-top: 18px; font-size: .9rem; }
.copy p { margin: 0; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* Reveal on scroll (enabled by JS only) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
