/* ── TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:    #0A1628;
  --navy-c:  #0D1E3C;
  --dark:    #050E1A;
  --light:   #F4F6F9;
  --acc:     #1A6BAA;
  --acc-h:   #155a92;
  --acc-sub: rgba(26,107,170,0.10);
  --acc-bdr: rgba(26,107,170,0.22);
  --bd:      rgba(255,255,255,0.10);
  --bdc:     rgba(255,255,255,0.06);
  --bl:      #E2E8F0;
  --td1:     #FFFFFF;
  --td2:     rgba(255,255,255,0.70);
  --td3:     rgba(255,255,255,0.42);
  --tl1:     #0A1628;
  --tl2:     rgba(10,22,40,0.62);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--navy); color: var(--td1); overflow-x: hidden; }

/* ── NAVBAR ── */
.nb {
  position: fixed; inset: 0 0 auto 0; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; z-index: 200;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nb.solid { background: var(--navy); border-color: var(--bd); }

/* Brand */
.nb-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nb-logo  { height: 70px; width: auto; filter: brightness(0) invert(1); display: block; }

/* Nav links — pill-style */
.nb-links { display: flex; gap: 2px; list-style: none; position: relative; }
.nb-pill  {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 34px; border-radius: 5px;
  background: rgba(26,107,170,0.14);
  pointer-events: none; opacity: 0;
  transition: left 0.22s cubic-bezier(.4,0,.2,1), width 0.22s cubic-bezier(.4,0,.2,1), opacity 0.18s;
  z-index: 0;
}
.nb-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.65);
  text-decoration: none; letter-spacing: 0.01em;
  padding: 6px 14px; border-radius: 5px;
  position: relative; z-index: 1;
  transition: color 0.18s;
  display: block;
}
.nb-links a:hover, .nb-links a.on { color: var(--td1); }

/* Nav right */
.nb-right   { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.nb-lang    { font-size: 12px; font-weight: 500; color: var(--td3); cursor: pointer; letter-spacing: 0.06em; user-select: none; }
.nb-lang .lo { transition: color 0.18s; }
.nb-lang .lo.on { color: var(--td1); }
.nb-lang .sp { margin: 0 4px; opacity: 0.4; }

/* Scroll progress bar */
.nb-bar {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%; background: var(--acc);
  transition: width 0.08s linear;
}

/* Hamburger button */
.nb-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.nb-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--td1); transition: all 0.25s;
}
.nb-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nb-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nb-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn-p {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--acc); color: var(--td1); border: none;
  padding: 9px 20px; border-radius: 4px;
  font: 600 13px/1 'Inter', sans-serif; letter-spacing: 0.04em;
  cursor: pointer; text-decoration: none; transition: background 0.2s;
  white-space: nowrap;
}
.btn-p:hover { background: var(--acc-h); }
.btn-g {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--td1);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 9px 22px; border-radius: 4px;
  font: 500 14px/1 'Inter', sans-serif; letter-spacing: 0.02em;
  cursor: pointer; text-decoration: none; transition: border-color 0.2s;
  white-space: nowrap;
}
.btn-g:hover { border-color: rgba(255,255,255,0.60); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; overflow: hidden;
  padding-top: 68px;
}

/* BG image + Ken Burns */
.hero-bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-img  {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  animation: kenBurns 18s ease-in-out infinite alternate;
  transform-origin: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes kenBurns {
  0%   { transform: scale(1.00) translate(0,     0   ); }
  100% { transform: scale(1.09) translate(-1.5%, -0.8%); }
}

/* Overlay */
.hero-ov {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,14,26,0.60) 0%, transparent 20%),
    linear-gradient(to right,
      rgba(5,14,26,0.93) 0%,
      rgba(5,14,26,0.78) 38%,
      rgba(5,14,26,0.44) 68%,
      rgba(5,14,26,0.18) 100%
    );
  transition: opacity 0.4s;
}

/* Dot texture */
.hero-tex {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: radial-gradient(circle, rgba(26,107,170,0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  transition: opacity 0.3s;
}

/* Content */
.hero-in {
  position: relative; z-index: 2;
  flex: 1; display: flex; align-items: center;
  padding: 80px 56px;
}
.hero-main { max-width: 680px; }

/* Staggered load animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.au  { opacity: 0; animation: fadeUp 0.85s cubic-bezier(0.22,1,0.36,1) forwards; }
.au0 { animation-delay: 0.30s; }
.au1 { animation-delay: 0.52s; }
.au2 { animation-delay: 0.70s; }
.au3 { animation-delay: 0.88s; }
.au4 { animation-delay: 1.06s; }

.h-lbl {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; color: var(--acc);
  letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 22px;
}
.h-lbl::before { content: ''; width: 28px; height: 1px; background: var(--acc); flex-shrink: 0; }
.h-h1  { font-size: 60px; font-weight: 700; line-height: 1.06; letter-spacing: -0.022em; color: var(--td1); margin-bottom: 22px; }
.h-sub { font-size: 17px; color: rgba(255,255,255,0.56); line-height: 1.78; max-width: 530px; margin-bottom: 38px; }
.h-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats bar */
.hero-stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.09);
  background: rgba(5,14,26,0.75);
  padding: 0 56px;
}
.hst-in {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; padding: 26px 0;
  flex-wrap: wrap; gap: 0;
}
.hst-stat { display: flex; flex-direction: column; gap: 5px; flex: 0 0 auto; }
.hst-n    { font-size: 30px; font-weight: 700; color: var(--td1); line-height: 1; }
.hst-l    { font-size: 12px; color: var(--td3); }
.hst-div  { width: 1px; height: 44px; background: rgba(255,255,255,0.10); margin: 0 52px; flex-shrink: 0; }

/* ── SHARED ── */
.s-in  { max-width: 1320px; margin: 0 auto; }
.s-tag {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; color: var(--acc);
  letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 14px;
}
.s-tag::before { content: ''; width: 28px; height: 1px; background: var(--acc); flex-shrink: 0; }
.s-h2d { font-size: 38px; font-weight: 700; color: var(--tl1); letter-spacing: -0.015em; line-height: 1.15; }
.s-h2l { font-size: 38px; font-weight: 700; color: var(--td1); letter-spacing: -0.015em; line-height: 1.15; }
.s-subd { font-size: 16px; color: var(--tl2); line-height: 1.75; max-width: 500px; }

/* ── SERVICES (accordion) ── */
.sec-svc  { background: var(--navy); padding: 100px 56px; border-top: 1px solid var(--bd); }
.svc-hd   {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 64px; gap: 20px; flex-wrap: wrap;
}
.svc-count {
  font-size: 11px; font-weight: 600; color: var(--td3);
  letter-spacing: 0.10em; text-transform: uppercase;
  border: 1px solid var(--bd); padding: 7px 14px;
  margin-bottom: 4px; display: inline-block;
}

/* accordion list */
.sv-list  { border-top: 1px solid var(--bd); }
.sv-item  { border-bottom: 1px solid var(--bd); }

.sv-row {
  display: flex; align-items: center; gap: 28px;
  padding: 30px 0; cursor: pointer; user-select: none;
}
.sv-num {
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
  color: var(--td3); flex: 0 0 38px;
  transition: color 0.22s;
}
.sv-item.open .sv-num { color: var(--acc); }

.sv-title {
  font-size: 24px; font-weight: 600; color: var(--td1);
  flex: 1; letter-spacing: -0.012em; line-height: 1;
  transition: color 0.22s;
}
.sv-row:hover .sv-title { color: rgba(255,255,255,0.72); }
.sv-item.open .sv-title { color: var(--td1); }

.sv-chip {
  font-size: 10px; font-weight: 600; color: var(--td3);
  letter-spacing: 0.09em; text-transform: uppercase;
  border: 1px solid var(--bd); padding: 5px 11px;
  flex-shrink: 0;
}
.sv-item.open .sv-chip { border-color: var(--acc-bdr); color: var(--acc); }

.sv-arrow {
  flex: 0 0 32px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--bd);
  transition: transform 0.34s cubic-bezier(.4,0,.2,1),
              background 0.22s, border-color 0.22s;
}
.sv-item.open .sv-arrow {
  transform: rotate(45deg);
  background: var(--acc); border-color: var(--acc);
}

.sv-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.sv-item.open .sv-body { grid-template-rows: 1fr; }
.sv-body-clip { min-height: 0; }

.sv-body-in {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px;
  padding: 4px 0 40px 66px;
}
.sv-desc {
  font-size: 15px; color: var(--td2); line-height: 1.80;
}
.sv-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.sv-feats li {
  font-size: 13px; color: var(--td3);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.55;
}
.sv-feats li::before {
  content: ''; flex-shrink: 0;
  width: 5px; height: 5px; margin-top: 5px; background: var(--acc);
}

/* ── ABOUT ── */
.sec-abt  { background: var(--navy); padding: 100px 56px; border-top: 1px solid var(--bd); }
.abt-g    { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.abt-body { font-size: 16px; color: var(--td2); line-height: 1.75; margin: 20px 0 40px; }
.abt-creds { display: flex; flex-direction: column; }
.abt-cr   { padding: 18px 0 18px 20px; border-left: 3px solid var(--acc); border-bottom: 1px solid rgba(255,255,255,0.06); }
.abt-cr:last-child { border-bottom: none; }
.abt-crn  { font-size: 19px; font-weight: 700; color: var(--td1); line-height: 1; margin-bottom: 5px; }
.abt-crl  { font-size: 12px; color: var(--td3); }
.abt-panel { background: var(--navy-c); border: 1px solid var(--bd); }
.abt-ph   { padding: 22px 28px 18px; border-bottom: 1px solid var(--bd); font-size: 10px; font-weight: 600; color: var(--td3); letter-spacing: 0.12em; text-transform: uppercase; }
.abt-mx   { display: grid; grid-template-columns: 1fr 1fr; }
.abt-m    { padding: 26px; border-right: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.abt-m:nth-child(2n) { border-right: none; }
.abt-m:nth-last-child(-n+2) { border-bottom: none; }
.abt-mn   { font-size: 32px; font-weight: 700; color: var(--td1); line-height: 1; margin-bottom: 6px; }
.abt-ml   { font-size: 12px; color: var(--td3); }
.abt-pb   { padding: 24px 28px; font-size: 14px; color: var(--td2); line-height: 1.75; }

/* ── CONTACT ── */
.sec-cnt  {
  background: var(--dark); padding: 0;
  border-top: 1px solid var(--bd); position: relative; overflow: hidden;
}
.sec-cnt::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26,107,170,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cnt-wrap {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; z-index: 1;
}
.cnt-left {
  padding: 96px 72px 96px 56px;
  border-right: 1px solid var(--bd);
  display: flex; flex-direction: column;
}
.cnt-right { padding: 96px 56px 96px 72px; }
.cnt-h2 {
  font-size: 66px; font-weight: 700; color: var(--td1);
  letter-spacing: -0.03em; line-height: 1.0;
  margin: 14px 0 28px;
}
.cnt-sub { font-size: 15px; color: var(--td3); line-height: 1.75; max-width: 340px; margin-bottom: 52px; }
.cnt-infos { display: flex; flex-direction: column; }
.cnt-row  {
  padding: 20px 0 20px 22px;
  border-left: 2px solid var(--acc);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cnt-row:last-child { border-bottom: none; }
.cnt-il   { font-size: 9.5px; font-weight: 600; color: var(--acc); letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 5px; display: block; }
.cnt-iv   { font-size: 15px; color: var(--td1); font-weight: 500; display: block; line-height: 1.3; }
.cnt-ic   { font-family: 'Courier New', monospace; font-size: 10px; color: var(--td3); letter-spacing: 0.05em; margin-top: 3px; display: block; }
.cnt-avail {
  margin-top: auto; padding-top: 40px;
  font-size: 12px; color: rgba(255,255,255,0.28); line-height: 1.70;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Form */
.f-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg       { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.fl       { font-size: 9.5px; font-weight: 600; color: rgba(255,255,255,0.36); letter-spacing: 0.10em; text-transform: uppercase; }
.fi-inp, .fi-ta {
  font: 14px/1.5 'Inter', sans-serif; color: var(--td1);
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: 0; padding: 12px 14px;
  outline: none; width: 100%; transition: border-color 0.2s, background 0.2s;
}
.fi-inp::placeholder, .fi-ta::placeholder { color: rgba(255,255,255,0.20); }
.fi-inp:focus, .fi-ta:focus {
  border-color: var(--acc); background: rgba(26,107,170,0.06);
}
.fi-inp.err, .fi-ta.err { border-color: #DC2626; }
.fi-ta { resize: vertical; min-height: 108px; }

/* Service chips */
.svc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-chip  {
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--td3); padding: 7px 13px;
  border: 1px solid rgba(255,255,255,0.10);
  cursor: pointer; transition: all 0.16s; user-select: none;
}
.svc-chip:hover       { border-color: rgba(255,255,255,0.28); color: var(--td1); }
.svc-chip.sel         { background: var(--acc-sub); border-color: var(--acc-bdr); color: var(--acc); }

/* Submit */
.btn-sub {
  width: 100%; background: var(--acc); color: var(--td1); border: none;
  padding: 16px 24px; border-radius: 0;
  font: 600 12px/1 'Inter', sans-serif; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-sub:hover { background: var(--acc-h); }

/* ── FOOTER ── */
.ft     { background: var(--dark); padding: 64px 56px 0; }
.ft-g   { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.ft-logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.60; display: block; margin-bottom: 16px; }
.ft-tag  { font-size: 14px; color: rgba(255,255,255,0.38); line-height: 1.72; max-width: 280px; }
.ft-hd   { font-size: 10px; font-weight: 600; color: var(--td3); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.ft-l    { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-l a  { font-size: 14px; color: rgba(255,255,255,0.48); text-decoration: none; transition: color 0.2s; }
.ft-l a:hover { color: var(--td1); }
.ft-bar  { max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; flex-wrap: wrap; gap: 8px; }
.ft-copy { font-size: 12px; color: rgba(255,255,255,0.26); }
.ft-reg  { font-size: 12px; color: rgba(255,255,255,0.26); letter-spacing: 0.04em; }

/* ── PROJECTS ── */
.sec-prj  { background: var(--dark); padding: 100px 56px; border-top: 1px solid var(--bd); }
.prj-hd   { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; gap: 20px; flex-wrap: wrap; }
.prj-count { font-size: 11px; font-weight: 600; color: var(--td3); letter-spacing: 0.10em; text-transform: uppercase; border: 1px solid var(--bd); padding: 7px 14px; display: inline-block; margin-bottom: 14px; }
.prj-flt  { display: flex; flex-wrap: wrap; }
.prj-ft   {
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--td3); padding: 8px 18px; border: 1px solid var(--bd);
  cursor: pointer; transition: all 0.18s; margin-left: -1px;
  position: relative; z-index: 0;
}
.prj-ft:first-child { margin-left: 0; }
.prj-ft.on { background: var(--acc); border-color: var(--acc); color: #fff; z-index: 1; }
.prj-ft:hover:not(.on) { border-color: rgba(255,255,255,0.30); color: var(--td1); z-index: 1; }

/* Bento grid */
.prj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.prj-card {
  position: relative; overflow: hidden;
  background: var(--navy-c); border: 1px solid var(--bd);
  cursor: default; transition: border-color 0.26s;
  display: flex; flex-direction: column;
}
.prj-card:hover { border-color: rgba(26,107,170,0.45); }
.prj-card.wide  { grid-column: span 2; }

/* Placeholder image */
.prj-img  { position: relative; overflow: hidden; flex-shrink: 0; height: 186px; }
.prj-card.wide .prj-img { height: 224px; }
.prj-stripe {
  width: 100%; height: 100%;
  background-color: rgba(5,14,26,0.9);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(26,107,170,0.07) 0px, rgba(26,107,170,0.07) 1px,
    transparent 1px, transparent 16px
  );
  transition: background-color 0.26s;
}
.prj-card:hover .prj-stripe { background-color: rgba(10,28,54,0.9); }
.prj-img-lbl {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Courier New', monospace; font-size: 10px;
  color: rgba(255,255,255,0.15); letter-spacing: 0.04em;
  text-align: center; padding: 20px; line-height: 1.6;
}
.prj-num {
  position: absolute; top: 16px; left: 20px;
  font-family: 'Courier New', monospace;
  font-size: 10px; font-weight: 600; color: var(--td3); letter-spacing: 0.10em;
}
.prj-badge {
  position: absolute; top: 16px; right: 20px;
  font-size: 9.5px; font-weight: 600; color: var(--acc); letter-spacing: 0.09em; text-transform: uppercase;
  border: 1px solid var(--acc-bdr); padding: 4px 11px;
  background: rgba(5,14,26,0.82);
}

/* Card body */
.prj-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.prj-name { font-size: 18px; font-weight: 700; color: var(--td1); letter-spacing: -0.013em; margin-bottom: 8px; line-height: 1.18; }
.prj-card.wide .prj-name { font-size: 21px; }
.prj-scope { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.60; flex: 1; }
.prj-meta  { display: flex; align-items: center; margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.06); }
.prj-client { font-size: 12px; color: var(--td2); font-weight: 500; }
.prj-yr    { font-size: 11px; color: var(--td3); margin-left: auto; font-family: 'Courier New', monospace; letter-spacing: 0.06em; }

/* Hover arrow */
.prj-cta {
  position: absolute; bottom: 24px; right: 24px;
  width: 28px; height: 28px; border: 1px solid var(--bd);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(4px, 4px);
  transition: opacity 0.22s, transform 0.22s, background 0.22s, border-color 0.22s;
}
.prj-card:hover .prj-cta { opacity: 1; transform: translate(0,0); background: var(--acc); border-color: var(--acc); }

/* Filter fade */
.prj-card.prj-hide { opacity: 0.15; pointer-events: none; }

/* ── BRANDS BAR ── */
.hero-brands {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.09);
  background: rgba(5,14,26,0.90);
}

/* Header row */
.hbr-in {
  max-width: 1320px; margin: 0 auto;
  padding: 22px 56px 18px;
}
.hbr-head {
  display: flex; align-items: center; gap: 16px;
}
.hbr-label {
  font-size: 8.5px; font-weight: 600; color: var(--acc);
  letter-spacing: 0.18em; text-transform: uppercase;
  flex-shrink: 0; white-space: nowrap;
}
.hbr-hr { flex: 1; height: 1px; background: rgba(255,255,255,0.07); }

/* Ticker */
.hbr-ticker-wrap {
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}
/* Edge fades */
.hbr-ticker-wrap::before,
.hbr-ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 140px; z-index: 2; pointer-events: none;
}
.hbr-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(5,14,26,0.98) 0%, transparent 100%);
}
.hbr-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(5,14,26,0.98) 0%, transparent 100%);
}

.hbr-ticker {
  display: flex; width: max-content;
  animation: tickerScroll 38s linear infinite;
}
.hbr-ticker:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual brand card */
.hbr-card {
  padding: 18px 28px 18px 22px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 5px;
  flex-shrink: 0; cursor: default;
  position: relative;
  transition: background 0.22s;
}
/* Left accent bar */
.hbr-card::before {
  content: '';
  position: absolute; left: 0; top: 24%; bottom: 24%;
  width: 2px; background: var(--acc);
  opacity: 0.30;
  transition: opacity 0.22s, top 0.22s, bottom 0.22s;
}
.hbr-card:hover::before { opacity: 1; top: 14%; bottom: 14%; }
.hbr-card:hover { background: rgba(26,107,170,0.07); }

.hbr-name {
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.04em; line-height: 1;
  white-space: nowrap;
  transition: color 0.22s;
}
.hbr-card:hover .hbr-name { color: rgba(255,255,255,0.90); }

.hbr-use {
  font-size: 8.5px; font-weight: 600; color: var(--acc);
  letter-spacing: 0.10em; text-transform: uppercase;
  white-space: nowrap; opacity: 0.70;
  transition: opacity 0.22s;
}
.hbr-card:hover .hbr-use { opacity: 1; }

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.40);
  transition: transform 0.22s, box-shadow 0.22s;
  text-decoration: none;
}
.wa-fab:hover { transform: scale(1.10); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* ── WHATSAPP INLINE LINK ── */
.wa-inline {
  color: var(--td1); text-decoration: none; display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 500;
  transition: color 0.18s;
}
.wa-inline:hover { color: #25D366; }

/* ── SELECT INPUT ── */
select.fi-inp {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
select.fi-inp option { background: var(--navy-c); color: var(--td1); }

/* ── SCROLL FADE ── */
.fi { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fi.vis { opacity: 1; transform: none; }
.d1{transition-delay:.06s;} .d2{transition-delay:.13s;} .d3{transition-delay:.20s;} .d4{transition-delay:.27s;} .d5{transition-delay:.34s;} .d6{transition-delay:.41s;}


/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════ */

/* ── Tablet / Small desktop (≤ 1024px) ── */
@media (max-width: 1024px) {
  .nb { padding: 0 32px; }

  .hero-in { padding: 60px 32px; }
  .h-h1 { font-size: 48px; }
  .h-sub { font-size: 16px; }
  .hbr-in { padding: 18px 32px 14px; }
  .hbr-ticker-wrap::before, .hbr-ticker-wrap::after { width: 80px; }

  .sec-svc { padding: 80px 32px; }
  .sv-title { font-size: 20px; }
  .sv-body-in { gap: 40px; padding-left: 46px; }

  .sec-abt { padding: 80px 32px; }
  .abt-g { gap: 52px; }

  .sec-prj { padding: 80px 32px; }
  .prj-grid { grid-template-columns: repeat(2, 1fr); }
  .prj-card.wide { grid-column: span 2; }

  .sec-cnt::before { display: none; }
  .cnt-left { padding: 72px 40px 72px 32px; }
  .cnt-right { padding: 72px 32px 72px 40px; }
  .cnt-h2 { font-size: 52px; }

  .ft { padding: 52px 32px 0; }
  .ft-g { gap: 40px; }
}

/* ── Tablet portrait (≤ 768px) ── */
@media (max-width: 768px) {
  /* Navbar */
  .nb { padding: 0 20px; }
  .nb-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--bd);
    z-index: 199;
    gap: 0;
  }
  .nb-links.mob-open { display: flex; }
  .nb-links li { width: 100%; }
  .nb-links a { padding: 13px 20px; border-radius: 0; font-size: 15px; }
  .nb-pill { display: none; }
  .nb-lang { display: none; }
  .nb-right .btn-p { display: none; }
  .nb-menu-btn { display: flex; }

  /* Hero */
  .hero-in { padding: 48px 20px; justify-content: center; }
  .hero-main { text-align: center; }
  .h-lbl { justify-content: center; }
  .h-lbl::before { display: none; }
  .h-sub { margin-left: auto; margin-right: auto; }
  .h-btns { justify-content: center; }
  .h-h1 { font-size: 38px; }
  .h-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-ov {
    background:
      linear-gradient(to bottom, rgba(5,14,26,0.70) 0%, rgba(5,14,26,0.30) 30%),
      rgba(5,14,26,0.55);
  }
  .hbr-in { padding: 14px 20px 12px; }
  .hbr-ticker-wrap::before, .hbr-ticker-wrap::after { width: 48px; }
  .hbr-card { padding: 14px 22px 14px 18px; }
  .hbr-name { font-size: 12px; }
  .hbr-ticker { animation-duration: 28s; }
  /* WhatsApp FAB smaller on mobile */
  .wa-fab { width: 48px; height: 48px; bottom: 18px; right: 18px; }

  /* Services */
  .sec-svc { padding: 64px 20px; }
  .svc-hd { margin-bottom: 40px; }
  .sv-row { gap: 16px; padding: 22px 0; }
  .sv-title { font-size: 18px; }
  .sv-chip { display: none; }
  .sv-body-in {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 4px 0 28px 0;
  }

  /* Projects */
  .sec-prj { padding: 64px 20px; }
  .prj-hd { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .prj-grid { grid-template-columns: 1fr; }
  .prj-card.wide { grid-column: span 1; }
  .prj-card.wide .prj-img { height: 186px; }
  .prj-card.wide .prj-name { font-size: 18px; }

  /* Contact */
  .cnt-wrap { grid-template-columns: 1fr; }
  .cnt-left {
    padding: 64px 20px 48px;
    border-right: none;
    border-bottom: 1px solid var(--bd);
  }
  .cnt-right { padding: 48px 20px 64px; }
  .cnt-h2 { font-size: 44px; }
  .cnt-sub { margin-bottom: 36px; }

  /* Footer */
  .ft { padding: 48px 20px 0; }
  .ft-g { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .ft-g > div:first-child { grid-column: 1 / -1; }

  .s-h2l, .s-h2d { font-size: 30px; }
}

/* ── Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .h-h1 { font-size: 30px; }
  .h-sub { font-size: 14px; }
  .h-btns { flex-direction: column; gap: 10px; }
  .h-btns .btn-p, .h-btns .btn-g { width: 100%; justify-content: center; }

  .sv-title { font-size: 16px; }
  .sv-num { flex: 0 0 28px; font-size: 11px; }

  .cnt-h2 { font-size: 36px; }
  .f-row { grid-template-columns: 1fr; }

  .ft-g { grid-template-columns: 1fr; gap: 32px; }
  .ft-bar { flex-direction: column; align-items: flex-start; }

  .prj-flt { gap: 0; }
  .prj-ft { padding: 7px 12px; font-size: 10px; }
}


/* ══════════════════════════════════════════
   RTL / ARABIC OVERRIDES
   ══════════════════════════════════════════ */
html[dir="rtl"] {
  font-family: 'Cairo', -apple-system, sans-serif;
}

/* Decorative lines: flip from left to right side */
html[dir="rtl"] .h-lbl::before,
html[dir="rtl"] .s-tag::before { display: none; }
html[dir="rtl"] .h-lbl,
html[dir="rtl"] .s-tag { flex-direction: row-reverse; }
html[dir="rtl"] .h-lbl::after,
html[dir="rtl"] .s-tag::after {
  content: '';
  width: 28px; height: 1px; background: var(--acc); flex-shrink: 0;
}

/* Accordion body indent flips */
html[dir="rtl"] .sv-body-in { padding-left: 0; padding-right: 66px; }
html[dir="rtl"] .sv-num { text-align: right; }

/* Contact info left-border flips to right */
html[dir="rtl"] .cnt-row {
  border-left: none;
  border-right: 2px solid var(--acc);
  padding-left: 0; padding-right: 22px;
}

/* About credentials left-border flips */
html[dir="rtl"] .abt-cr {
  border-left: none;
  border-right: 3px solid var(--acc);
  padding-left: 0; padding-right: 20px;
}

/* Brands ticker: reverse scroll direction for RTL */
html[dir="rtl"] .hbr-ticker { animation-direction: reverse; }
html[dir="rtl"] .hbr-card::before { left: auto; right: 0; }
html[dir="rtl"] .hbr-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(5,14,26,0.98), transparent);
}
html[dir="rtl"] .hbr-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(5,14,26,0.98), transparent);
}

/* WhatsApp inline icon margin flips */
html[dir="rtl"] .wa-inline svg { margin-right: 0; margin-left: 6px; }

/* Scroll progress bar direction */
html[dir="rtl"] .nb-bar { left: auto; right: 0; }

/* Footer bar text alignment */
html[dir="rtl"] .ft-bar { flex-direction: row-reverse; }

/* Mobile RTL overrides */
@media (max-width: 768px) {
  html[dir="rtl"] .sv-body-in { padding-right: 0; }
  html[dir="rtl"] .cnt-row { padding-left: 0; padding-right: 18px; }
}
