/* IBS website - Integrated Business Solutions
   Layout: white, airy page with hairline columns, large headings, floating colour dots. */

/* self-hosted fonts (no third-party requests) */
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/exo-2-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/exo-2-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Exo 2'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/exo-2-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/open-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/open-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --blue: #14438C;
  --blue-d: #0E3270;
  --navy: #0A1B3D;
  --navy-2: #12306A;
  --sky: #2EA8FF;
  --orange: #FF7A1A;
  --gray: #6C7987;
  --slate: #5B6877;
  --line: #E6E9EE;
  --soft: #F4F7FB;
  --ink: #0A0F1E;
  --text: #1F2533;
  --muted: #4A5263;
  --wa: #0E7C4A;
  --head: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1340px;
  --pad: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--text); background: #fff; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
section[id] { scroll-margin-top: 84px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 32px; border-radius: 999px; font: 700 15px/1 var(--body); border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-align: center; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(20, 67, 140, .28); }
.btn-blue:hover { background: var(--blue-d); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #DCE7FA; color: var(--navy); }
.btn-line { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0A6339; color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- top bar ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: stretch; min-height: 44px; padding-left: var(--pad); }
.topbar-left { display: flex; align-items: center; gap: 26px; }
.topbar a { color: #2B3140; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.topbar a:hover { color: var(--blue); }
.topbar-right { display: flex; align-items: stretch; }
.topbar-right a { padding: 0 20px; }
.topbar-right a.t-li { padding: 0 16px; }
.topbar a.topbar-cta { background: var(--sky); color: var(--navy); font-weight: 700; padding: 0 28px; justify-content: center; min-width: 150px; }
.topbar a.topbar-cta:hover { background: #1F97EE; color: var(--navy); }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.nav-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; padding: 10px 24px; }
.brand img { height: 42px; width: auto; }
.nav { display: contents; }
.nav a { display: flex; align-items: center; justify-content: center; min-height: 68px; padding: 0 10px; border-left: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; text-align: center; transition: background .2s, color .2s; }
.nav a:hover { background: var(--soft); color: var(--blue); }
.nav a.active { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); }
.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; border-radius: 8px; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- page frame (no background column lines) ---------- */
.frame { max-width: var(--wrap); margin-inline: auto; }
.frame > section { position: relative; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 24px; padding: 48px 0 8px; }
.hero-copy { padding: 40px var(--pad); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s, transform .5s, visibility .5s; }
.slide.active { opacity: 1; visibility: visible; transform: none; }
.kicker-big { font: 700 26px/1.1 var(--head); color: var(--ink); margin-bottom: 14px; }
.slide h1, .slide h2 { font-size: clamp(36px, 4.3vw, 58px); font-weight: 600; line-height: 1.08; }
.slide p { margin-top: 20px; max-width: 440px; font-size: 18px; line-height: 1.55; }
.slide .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0 40px; }
.dot { background: none; border: 0; padding: 20px 5px; cursor: pointer; }
.dot::before { content: ""; display: block; width: 34px; height: 4px; background: #D5DAE2; transition: background .2s; }
.dot.active::before { background: var(--blue); }

/* hero illustration, scales with its container */
.hero-art { container-type: inline-size; width: 100%; max-width: 660px; margin-inline: auto; aspect-ratio: 560 / 530; position: relative; overflow: hidden; }
.ha { --u: calc(100cqw / 560); position: absolute; }
.ha-circle { right: calc(var(--u) * 6); top: calc(var(--u) * 6); width: calc(var(--u) * 470); height: calc(var(--u) * 470); border-radius: 50%; background: var(--sky); }
.ha-frame { left: calc(var(--u) * 110); top: calc(var(--u) * 30); width: calc(var(--u) * 370); height: calc(var(--u) * 410); border-radius: calc(var(--u) * 28); background: #C9D5E6; box-shadow: 0 20px 40px rgba(10, 27, 61, .14); }
.ha-ring { left: calc(var(--u) * 24); top: calc(var(--u) * 24); width: calc(var(--u) * 34); height: calc(var(--u) * 34); border-radius: 50%; border: calc(var(--u) * 6) solid var(--blue); background: #E8EEF8; }
.ha-bar { height: calc(var(--u) * 10); border-radius: 99px; background: var(--blue); }
.ha-bar.a { left: calc(var(--u) * 72); top: calc(var(--u) * 36); width: calc(var(--u) * 96); }
.ha-bar.b { left: calc(var(--u) * 72); bottom: calc(var(--u) * 38); width: calc(var(--u) * 200); }
.ha-disc { left: calc(var(--u) * 24); bottom: calc(var(--u) * 26); width: calc(var(--u) * 34); height: calc(var(--u) * 34); border-radius: 50%; background: var(--blue); }
.ha-menu { right: calc(var(--u) * 26); top: calc(var(--u) * 26); display: flex; flex-direction: column; gap: calc(var(--u) * 6); }
.ha-menu i { display: block; width: calc(var(--u) * 9); height: calc(var(--u) * 9); border-radius: 50%; background: var(--blue); }
.ha-card { left: calc(var(--u) * 40); top: calc(var(--u) * 120); width: calc(var(--u) * 400); height: calc(var(--u) * 210); border-radius: calc(var(--u) * 16); background: #fff; box-shadow: 0 24px 50px rgba(10, 27, 61, .24); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--u) * 20); }
.ha-card img { height: calc(var(--u) * 64); width: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--u) * 8); }
.chip { font-size: max(9px, calc(var(--u) * 11.5)); font-weight: 700; letter-spacing: .1em; color: var(--blue); background: #E8EEF8; border-radius: 999px; padding: calc(var(--u) * 6) calc(var(--u) * 14); transition: background .3s, color .3s; }
.chip.on { background: var(--blue); color: #fff; }
.dot-o, .dot-b, .dot-g { border-radius: 50%; box-shadow: 8px 10px 14px rgba(10, 15, 30, .22); }
.dot-o { left: calc(var(--u) * 440); top: calc(var(--u) * 140); width: calc(var(--u) * 36); height: calc(var(--u) * 36); background: var(--orange); }
.dot-b { left: calc(var(--u) * 14); top: calc(var(--u) * 88); width: calc(var(--u) * 24); height: calc(var(--u) * 24); background: var(--blue); }
.dot-g { left: calc(var(--u) * 350); top: calc(var(--u) * 360); width: calc(var(--u) * 22); height: calc(var(--u) * 22); background: #9AA5B3; }

/* ---------- section heads ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.h2 { font-size: clamp(32px, 3.9vw, 52px); font-weight: 500; }
.lead { font-size: 17px; line-height: 1.7; }
.center { text-align: center; }

/* ---------- about + highlights ---------- */
.about { padding: 88px var(--pad) 24px; text-align: center; }
.about .lead { max-width: 820px; margin: 24px auto 0; }
.about .lead + .lead { margin-top: 16px; }
.highlights { padding: 40px var(--pad) 88px; }
.highlights h3 { text-align: center; font-size: 34px; margin-bottom: 44px; }
.hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; max-width: 980px; margin-inline: auto; }
.hl { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.hl svg { width: 84px; height: 84px; }
.hl .num { font: 600 44px/1 var(--head); color: var(--ink); }
.hl .lbl { font-size: 15px; font-weight: 600; color: var(--muted); max-width: 220px; }

/* ---------- services ---------- */
.services { padding-top: 24px; }
.sec-head { padding: 0 var(--pad) 56px; text-align: center; }
.sec-head p { margin: 14px auto 0; max-width: 620px; font-size: 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc { padding: 48px var(--pad); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; background: #fff; transition: background .2s; }
.svc:hover { background: var(--soft); }
.svc svg { width: 64px; height: 64px; margin-bottom: 4px; }
.svc h3 { font-size: 26px; font-weight: 500; line-height: 1.2; }
.svc p { font-size: 15px; line-height: 1.65; }
.svc a { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 88px var(--pad); }
.feature.rev .f-copy { order: 2; }
.feature.rev .f-vis { order: 1; }
.f-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.f-copy .lead { max-width: 480px; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checks li::before { content: ""; flex: 0 0 auto; width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: var(--sky); }
.f-vis { position: relative; min-height: 440px; display: grid; place-items: center; overflow: hidden; background: var(--soft); border-radius: 4px; }
.f-vis .c1, .f-vis .c2, .f-vis .c3 { position: absolute; border-radius: 50%; }
.f-vis .c1 { width: 360px; height: 360px; left: -90px; bottom: -120px; background: var(--sky); }
.f-vis .c2 { width: 150px; height: 300px; right: 46px; top: 36px; border-radius: 80px; background: var(--blue); opacity: .92; }
.f-vis .c3 { width: 46px; height: 46px; right: 34px; bottom: 40px; background: var(--orange); box-shadow: 8px 10px 14px rgba(10, 15, 30, .25); }

/* phone mock */
.phone { position: relative; z-index: 2; width: 232px; height: 440px; border: 8px solid var(--navy); border-radius: 38px; background: #fff; box-shadow: 0 24px 50px rgba(10, 27, 61, .28); overflow: hidden; display: flex; flex-direction: column; }
.phone-top { background: var(--blue); color: #fff; padding: 20px 16px 14px; font: 600 15px var(--head); }
.phone-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.p-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.p-av { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #DCE7FA; }
.p-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.p-bars i { display: block; height: 6px; border-radius: 3px; background: #D5DDEA; }
.p-bars i + i { width: 58%; }
.p-tag { flex: 0 0 auto; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #DCE7FA; color: var(--blue); }
.p-tag.o { background: #FFE6D1; color: #8A3B00; }
.phone-tabs { display: flex; justify-content: space-around; padding: 12px; border-top: 1px solid var(--line); }
.phone-tabs i { display: block; width: 22px; height: 22px; border-radius: 6px; background: #D5DDEA; }
.phone-tabs i.on { background: var(--blue); }

/* ERP window mock */
.win { position: relative; z-index: 2; width: min(88%, 520px); background: #fff; border-radius: 12px; box-shadow: 0 24px 50px rgba(10, 27, 61, .24); overflow: hidden; }
.win-bar { display: flex; gap: 6px; padding: 12px 14px; background: #EEF2F8; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C3CCD9; }
.win-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 300px; }
.win-side { background: var(--navy); padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.win-side b { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .28); }
.win-side b.on { background: var(--sky); }
.win-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: 10px; font-size: 11px; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.kpi i { display: block; height: 8px; border-radius: 4px; background: var(--blue); width: 70%; }
.kpi:nth-child(2) i { width: 45%; background: var(--sky); }
.kpi:nth-child(3) i { width: 85%; background: var(--gray); }
.chart { display: flex; align-items: flex-end; gap: 10px; flex: 1; min-height: 130px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.chart i { flex: 1; background: var(--blue); border-radius: 4px 4px 0 0; }
.chart i:nth-child(odd) { background: var(--sky); }

/* ---------- integration band ---------- */
.band { background: var(--navy); color: #fff; }
.band .feature { padding: 96px var(--pad); }
.band h2, .band .h2 { color: #fff; }
.band .eyebrow { color: #8DB4F0; }
.band .lead { color: #C5D2E8; }
.band .checks li { color: #fff; }
.flow-wrap { position: relative; min-height: 380px; border-radius: 6px; background: var(--navy-2); display: grid; place-items: center; overflow: hidden; padding: 28px; }
.flow-wrap .c1 { position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: var(--blue); }
.flow-wrap .c3 { position: absolute; left: 30px; top: 30px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); box-shadow: 8px 10px 14px rgba(0, 0, 0, .3); }
.flow { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; }
.node { flex: 0 0 auto; width: 108px; padding: 18px 8px; border-radius: 12px; background: #fff; box-shadow: 0 14px 28px rgba(0, 0, 0, .28); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--navy); font-size: 14px; font-weight: 700; text-align: center; }
.node svg { width: 40px; height: 40px; }
.node.core { width: 124px; padding: 26px 8px; background: var(--blue); border: 2px solid #8DB4F0; color: #fff; gap: 4px; }
.node.core strong { font: 700 28px/1 var(--head); }
.node.core span { font-size: 13px; color: #DCE7FA; }
.link { flex: 1 1 20px; min-width: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #C5D2E8; font-size: 11px; font-weight: 700; }
.link::after { content: ""; display: block; width: 100%; height: 2px; background: #8DB4F0; }

/* ---------- team gallery ---------- */
.team { padding: 88px var(--pad) 32px; }
.gallery { max-width: 920px; margin: 44px auto 0; display: grid; grid-template-columns: minmax(0, 689fr) minmax(0, 219fr); gap: 12px; }
.g-side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: 6px; background: var(--soft); aspect-ratio: 4 / 3; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(10, 27, 61, .82); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; }

/* ---------- clients ---------- */
.clients { padding: 96px var(--pad); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 32px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #C3CCD9; background: #fff; color: var(--ink); font: 600 14px var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.logo { height: 100px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; display: grid; place-items: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.logo:hover { border-color: var(--blue); box-shadow: 0 10px 26px rgba(10, 27, 61, .10); transform: translateY(-2px); }
.logo img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }
.logo[hidden], .more[hidden] { display: none; }
.more { margin-top: 32px; text-align: center; }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; padding: 96px var(--pad); }
.c-info { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.c-list { display: flex; flex-direction: column; gap: 18px; margin: 6px 0 4px; }
.c-list dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.c-list dd { margin: 4px 0 0; font-size: 19px; font-weight: 600; color: var(--ink); }
.c-list a { color: var(--ink); }
.c-list a:hover { color: var(--blue); }
.c-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form { background: var(--soft); border-radius: 6px; padding: 40px; display: grid; gap: 20px; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px var(--body); color: var(--ink); background: #fff; border: 1px solid #C3CCD9; border-radius: 4px; padding: 0 14px; height: 50px; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 24px; font-size: 15px; font-weight: 600; }
.status.ok { color: #0A6339; }
.status.err { color: #B3261E; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ---------- footer ---------- */
.footer { background: #071433; color: #AEBBD3; }
.footer .wrap { padding: 72px var(--pad) 32px; display: flex; flex-direction: column; gap: 56px; }
.f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.f-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.f-brand p { max-width: 340px; font-size: 15px; }
.footer h4 { font: 600 17px var(--head); color: #fff; margin-bottom: 14px; }
.footer ul { display: flex; flex-direction: column; gap: 2px; }
.footer a { color: #AEBBD3; font-size: 15px; display: inline-flex; min-height: 36px; align-items: center; }
.footer a:hover { color: #fff; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 24px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }

/* ---------- whatsapp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(10, 15, 30, .35); transition: transform .2s, background .2s; }
.wa-float:hover { background: #0A6339; transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .f-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --pad: 24px; }
  .topbar .wrap { padding-left: 16px; }
  .topbar-left a.t-mail, .topbar-right a.t-about { display: none; }
  .nav-row { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 0; border-left: 0; border-right: 0; min-height: 64px; }
  .brand { padding: 8px 16px; }
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(10, 27, 61, .12); padding: 8px 16px 16px; flex-direction: column; }
  .nav.open { display: flex; }
  .nav a { justify-content: flex-start; min-height: 52px; padding: 0 8px; border-left: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a.active { box-shadow: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 16px; gap: 0; }
  .hero-copy { padding: 24px var(--pad) 8px; }
  .hero-art { max-width: 520px; }
  .slide p { font-size: 17px; }
  .about { padding-top: 56px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 64px var(--pad); }
  .feature.rev .f-copy, .feature.rev .f-vis { order: 0; }
  .f-vis { min-height: 400px; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 64px var(--pad); }
  .clients { padding: 64px var(--pad); }
  .team { padding: 64px var(--pad) 24px; }
  .gallery { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .g-side { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band .feature { padding: 64px var(--pad); }
}

@media (max-width: 640px) {
  :root { --pad: 18px; }
  body { font-size: 15.5px; }
  .topbar-left { gap: 14px; }
  .topbar a.topbar-cta { min-width: 0; padding: 0 16px; }
  .topbar-right a.t-li { display: none; }
  .team { padding-block: 48px 16px; }
  .gallery, .g-side { gap: 8px; }
  .gallery { margin-top: 32px; }
  .g-side .g-item { aspect-ratio: 1; }
  .g-item figcaption { left: 10px; bottom: 10px; font-size: 12px; padding: 5px 12px; }
  .brand img { height: 36px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 28px var(--pad); gap: 10px; }
  .svc svg { width: 52px; height: 52px; }
  .svc a { padding-top: 0; }
  .feature, .band .feature { padding: 48px var(--pad); gap: 28px; }
  .about { padding-top: 48px; }
  .highlights { padding-bottom: 56px; }
  .clients, .contact { padding-block: 48px; }
  .hl-grid { gap: 20px 10px; }
  .hl svg { width: 56px; height: 56px; }
  .hl .num { font-size: 32px; }
  .hl .lbl { font-size: 13px; }
  .f-row { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 24px 18px; }
  .f-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .flow { flex-direction: column; }
  .link { flex-direction: row; min-height: 40px; flex: 0 0 auto; }
  .link::after { width: 2px; height: 28px; }
  .f-vis { min-height: 380px; }
  .f-vis .c1 { width: 280px; height: 280px; }
  .f-vis .c2 { width: 110px; height: 220px; right: 20px; }
  .logos { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
  .logo { height: 76px; padding: 8px; }
  .logo img { max-height: 54px; }
  .win-body { grid-template-columns: 70px minmax(0, 1fr); }
  .kpi { font-size: 10px; padding: 8px; }
}

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

/* ---- Odoo logo placements ---- */
.odoo-logo { display: block; height: 28px; width: auto; }
.plate { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; padding: 8px 12px; }
.svc { position: relative; }
.svc-odoo { position: absolute; top: 40px; right: var(--pad); display: block; }
.svc-odoo .odoo-logo { height: 24px; }
.win-bar { align-items: center; }
.win-brand { margin-left: auto; display: block; }
.win-brand .odoo-logo { height: 20px; }
.node.core .plate { padding: 8px 10px; }
.node.core .odoo-logo { height: 22px; }
.f-odoo { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: #B9C4D8; }
.f-brand .f-odoo .odoo-logo { height: 28px; width: auto; margin: 0; }
@media (max-width: 640px) {
  .svc-odoo { top: 28px; }
}

/* ---- apps we've built ---- */
.apps { background: #fff; }
.app-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: center; padding: 72px var(--pad); border-top: 1px solid var(--line); }
.app-row.rev { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.app-row.rev .app-copy { order: 2; }
.app-row.rev .app-stage { order: 1; }
.app-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.app-copy h3 { font: 500 clamp(30px, 3.4vw, 44px)/1.1 var(--head); }
.app-copy p { font-size: 17px; line-height: 1.7; max-width: 480px; }
.app-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.app-tags span { font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: #E8EEF8; padding: 8px 12px; border-radius: 999px; }
.app-link { font-size: 14px; font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.app-stage { display: flex; justify-content: center; align-items: center; gap: 3%; padding: 64px 4% 56px; border-radius: 4px; background: radial-gradient(circle at 18% 12%, rgba(46, 168, 255, .24), transparent 46%), radial-gradient(circle at 90% 95%, rgba(20, 67, 140, .12), transparent 45%), var(--soft); }
.app-stage.warm { background: radial-gradient(circle at 84% 10%, rgba(221, 176, 90, .38), transparent 48%), radial-gradient(circle at 8% 95%, rgba(176, 140, 80, .16), transparent 45%), #F6F0E4; }
.app-stage .dv { flex: 0 1 31%; max-width: 236px; }
.app-stage .dv:nth-child(2) { transform: translateY(-22px); }

/* phone frame (sized from its own width) */
.dv { container-type: inline-size; margin: 0; min-width: 0; }
.bezel { position: relative; padding: 2.6cqw; border-radius: 15cqw; background: linear-gradient(145deg, #2C3444, #0B0F1A 58%); box-shadow: 0 3cqw 8cqw rgba(10, 27, 61, .32), inset 0 0 0 .5cqw #3A4458; }
.bezel::before, .bezel::after { content: ""; position: absolute; width: 1cqw; background: #1A2130; }
.bezel::before { right: -.8cqw; top: 27cqw; height: 17cqw; border-radius: 0 .6cqw .6cqw 0; }
.bezel::after { left: -.8cqw; top: 22cqw; height: 11cqw; border-radius: .6cqw 0 0 .6cqw; }
.screen { position: relative; aspect-ratio: 366 / 806; border-radius: 12.4cqw; overflow: hidden; background: #fff; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen::before { content: ""; position: absolute; left: 50%; bottom: 1.8cqw; width: 30cqw; height: 1.1cqw; margin-left: -15cqw; border-radius: 1cqw; background: rgba(0, 0, 0, .3); z-index: 2; }
.screen::after { content: ""; position: absolute; left: 50%; top: 3.1cqw; width: 3.6cqw; height: 3.6cqw; margin-left: -1.8cqw; border-radius: 50%; background: #0B0F1A; box-shadow: 0 0 0 .4cqw rgba(255, 255, 255, .08); z-index: 2; }
.sb { position: absolute; left: 8.5cqw; right: 8.5cqw; top: 3cqw; height: 4cqw; display: flex; justify-content: space-between; align-items: center; font: 700 3.7cqw/1 var(--body); color: #111; z-index: 2; }
.sb::before { content: "9:41"; }
.sb::after { content: ""; width: 14cqw; height: 3.8cqw; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'><g fill='%23111'><rect x='0' y='7' width='3' height='5' rx='1'/><rect x='5' y='5' width='3' height='7' rx='1'/><rect x='10' y='2.5' width='3' height='9.5' rx='1'/><rect x='15' y='0' width='3' height='12' rx='1'/><rect x='26' y='3.5' width='11' height='5' rx='1.2'/><rect x='42' y='4.5' width='2' height='3' rx='1'/></g><rect x='24.5' y='1.5' width='15' height='9' rx='2.5' fill='none' stroke='%23111' stroke-opacity='.45'/></svg>") no-repeat right center / contain; }
.dark .sb { color: #fff; }
.dark .sb::after { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 12'><g fill='%23fff'><rect x='0' y='7' width='3' height='5' rx='1'/><rect x='5' y='5' width='3' height='7' rx='1'/><rect x='10' y='2.5' width='3' height='9.5' rx='1'/><rect x='15' y='0' width='3' height='12' rx='1'/><rect x='26' y='3.5' width='11' height='5' rx='1.2'/><rect x='42' y='4.5' width='2' height='3' rx='1'/></g><rect x='24.5' y='1.5' width='15' height='9' rx='2.5' fill='none' stroke='%23fff' stroke-opacity='.45'/></svg>"); }
.dark .screen::before { background: rgba(255, 255, 255, .5); }

@media (max-width: 1100px) {
  .app-row { gap: 36px; }
}
@media (max-width: 900px) {
  .app-row, .app-row.rev { grid-template-columns: minmax(0, 1fr); padding: 56px var(--pad); gap: 32px; }
  .app-row.rev .app-copy, .app-row.rev .app-stage { order: 0; }
}
@media (max-width: 640px) {
  .app-row { padding: 40px var(--pad); gap: 26px; }
  .app-stage { justify-content: flex-start; gap: 14px; padding: 36px 18px 30px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .app-stage .dv { flex: 0 0 56%; max-width: 230px; scroll-snap-align: center; }
  .app-stage .dv:nth-child(2) { transform: none; }
}

/* PMO row (wide, four phones) */
.app-row.wide, .app-row.wide.rev { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.app-row.wide .app-copy { max-width: 760px; }
.app-row.wide .app-copy p { max-width: 640px; }
.app-stage.green { background: radial-gradient(circle at 12% 10%, rgba(40, 120, 84, .22), transparent 46%), radial-gradient(circle at 92% 92%, rgba(176, 140, 74, .26), transparent 46%), #EEF2EE; }
.app-stage.four { gap: 2.2%; }
.app-stage.four .dv { flex: 0 1 22%; }
.app-stage.four .dv:nth-child(2) { transform: none; }
.app-stage.four .dv:nth-child(2n) { transform: translateY(-22px); }
@media (max-width: 900px) {
  .app-row.wide, .app-row.wide.rev { gap: 28px; }
}
@media (max-width: 640px) {
  .app-stage.four { gap: 14px; }
  .app-stage.four .dv { flex: 0 0 56%; }
  .app-stage.four .dv:nth-child(2n) { transform: none; }
}

/* hero card: IBS + Odoo lockup */
.ha-card .lockup { display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 22); }
.ha-card .lockup img { height: calc(var(--u) * 56); width: auto; }
.ha-card .lockup .odoo-logo { height: calc(var(--u) * 34); }
.lk-sep { flex: none; width: 1px; height: calc(var(--u) * 46); background: #D3DCEA; }

/* Olympic Sports row (wide, five phones) */
.app-stage.gold { background: radial-gradient(circle at 88% 10%, rgba(245, 166, 35, .30), transparent 46%), radial-gradient(circle at 8% 95%, rgba(14, 32, 61, .16), transparent 46%), #F3F1EC; }
.app-stage.five { gap: 1.8%; padding-inline: 3%; }
.app-stage.five .dv { flex: 0 1 18.4%; }
.app-stage.five .dv:nth-child(2) { transform: none; }
.app-stage.five .dv:nth-child(2n) { transform: translateY(-22px); }
@media (max-width: 640px) {
  .app-stage.five { gap: 14px; padding-inline: 18px; }
  .app-stage.five .dv { flex: 0 0 56%; }
  .app-stage.five .dv:nth-child(2n) { transform: none; }
}

/* =====================================================================
   Language switch + Arabic (RTL) version
   ===================================================================== */
.num-ltr { unicode-bidi: isolate; direction: ltr; white-space: nowrap; }
.topbar a.t-lang { font-weight: 700; color: var(--blue); }

/* self-hosted Arabic font (Cairo, SIL Open Font License) */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url('../fonts/cairo-arabic-wght-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url('../fonts/cairo-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

html[lang="ar"] { --head: 'Cairo', 'Segoe UI', Tahoma, system-ui, sans-serif; --body: 'Cairo', 'Segoe UI', Tahoma, system-ui, sans-serif; }
html[lang="ar"] body { line-height: 1.8; }

/* Arabic letters must stay joined: no tracking, no forced capitals, taller line boxes */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; font-weight: 700; line-height: 1.35; }
html[lang="ar"] .slide h1, html[lang="ar"] .slide h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.3; font-weight: 700; }
html[lang="ar"] .h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; font-weight: 700; }
html[lang="ar"] .kicker-big { font-weight: 800; line-height: 1.4; }
html[lang="ar"] .eyebrow, html[lang="ar"] .c-list dt, html[lang="ar"] .app-tags span { letter-spacing: 0; text-transform: none; }
html[lang="ar"] .eyebrow { font-size: 15px; }
html[lang="ar"] .c-list dt { font-size: 14px; }
html[lang="ar"] .app-tags span { font-size: 13px; line-height: 1.3; }
html[lang="ar"] .chip { letter-spacing: 0; font-size: max(10px, calc(var(--u, 1px) * 12.5)); }
html[lang="ar"] .svc h3 { line-height: 1.4; font-size: 24px; }
html[lang="ar"] .app-copy h3 { line-height: 1.3; font-weight: 700; }
html[lang="ar"] .highlights h3 { font-size: 30px; }
html[lang="ar"] .slide p, html[lang="ar"] .lead, html[lang="ar"] .app-copy p { line-height: 1.85; }
html[lang="ar"] .btn { font-size: 16px; line-height: 1.3; }
html[lang="ar"] .tab { font-size: 15px; }
html[lang="ar"] .nav a { font-size: 16px; }

/* mirrored layout */
[dir="rtl"] .skip { left: auto; right: -999px; }
[dir="rtl"] .skip:focus { right: 8px; }
[dir="rtl"] .topbar .wrap { padding-left: 0; padding-right: var(--pad); }
[dir="rtl"] .nav a { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .svc-odoo { right: auto; left: var(--pad); }
[dir="rtl"] .g-item figcaption { left: auto; right: 14px; }
[dir="rtl"] .wa-float { right: auto; left: 18px; }
[dir="rtl"] .hp { left: auto; right: -9999px; }
[dir="rtl"] .win-brand { margin-left: 0; margin-right: auto; }
[dir="rtl"] .f-vis .c1 { left: auto; right: -90px; }
[dir="rtl"] .f-vis .c2 { right: auto; left: 46px; }
[dir="rtl"] .f-vis .c3 { right: auto; left: 34px; }
[dir="rtl"] .flow-wrap .c1 { right: auto; left: -70px; }
[dir="rtl"] .flow-wrap .c3 { left: auto; right: 30px; }

/* e-mail, phone and the phone-screen mockups stay left-to-right */
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
[dir="rtl"] input[type="email"]::placeholder, [dir="rtl"] input[type="tel"]::placeholder { text-align: right; }
[dir="rtl"] .dv { direction: ltr; }
[dir="rtl"] .field select { padding-inline-end: 10px; }

@media (max-width: 900px) {
  [dir="rtl"] .topbar .wrap { padding-left: 0; padding-right: 16px; }
  [dir="rtl"] .nav-row { padding: 0 0 0 12px; }
  [dir="rtl"] .nav a { border-right: 0; }
}
@media (max-width: 640px) {
  [dir="rtl"] .g-item figcaption { left: auto; right: 10px; }
  [dir="rtl"] .f-vis .c2 { right: auto; left: 20px; }
  [dir="rtl"] .svc-odoo { top: 28px; }
}

/* compact top bar on phones (phone, WhatsApp, language, contact) */
.topbar a { white-space: nowrap; }
@media (max-width: 640px) {
  .topbar-left { gap: 10px; }
  .topbar a { font-size: 12.5px; gap: 6px; }
  .topbar-right a { padding: 0 10px; }
  .topbar a.topbar-cta { padding: 0 12px; }
}
@media (max-width: 400px) {
  .topbar .wrap { padding-left: 10px; }
  [dir="rtl"] .topbar .wrap { padding-left: 0; padding-right: 10px; }
  .topbar-left { gap: 8px; }
  .topbar a { font-size: 12px; gap: 5px; }
  .topbar a svg { width: 14px; height: 14px; }
  .topbar-right a { padding: 0 8px; }
  .topbar a.topbar-cta { padding: 0 10px; }
}
