/* BDTECH Solutions — site styles */
:root {
  --navy: #0A1540;
  --navy-2: #172A63;
  --navy-line: #22346E;
  --blue: #2457A5;
  --blue-dark: #1B4383;
  --sky: #6FA8F5;
  --ink: #0F1B33;
  --muted: #4A5670;
  --muted-on-dark: #C9D3E6;
  --bg: #F2F4F8;
  --card: #FFFFFF;
  --line: #D5DBE6;
  --field: #B8C2D6;
  --radius: 16px;
  --max: 1280px;
  --pad: clamp(20px, 5vw, 80px);
  --font-display: 'Space Grotesk', 'IBM Plex Sans', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html[lang="ar"] {
  --font-display: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.skip { position: absolute; inset-inline-start: -9999px; top: 8px; background: var(--card); padding: 12px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--white { background: var(--card); }
.section--dark { background: var(--navy); color: var(--bg); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.section--dark .eyebrow { color: var(--sky); }
.h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); line-height: 1.6; }
.section--dark .lead { color: var(--muted-on-dark); }
.section-head { margin-bottom: 44px; max-width: 820px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 8px; font-weight: 600; font-size: 17px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--sky { background: var(--sky); color: var(--navy); }
.btn--sky:hover { background: #8DBBF8; color: var(--navy); }
.btn--ghost { border-color: #6B7FA8; color: var(--bg); }
.btn--ghost:hover { border-color: var(--sky); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 15px; color: var(--muted); text-decoration: none; font-weight: 500; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { background: var(--navy); color: var(--bg); padding-block: clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 700; line-height: 1.05; margin-block: 4px 24px; }
html[lang="ar"] .hero h1 { line-height: 1.3; }
.hero .lead { color: var(--muted-on-dark); max-width: 580px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { justify-self: center; width: 100%; max-width: 520px; }

/* Partners */
.partners { background: var(--card); border-bottom: 1px solid var(--line); padding-block: 36px; }
.partners__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.partners__label { font-size: 15px; font-weight: 600; color: var(--muted); max-width: 240px; }
.partners__list { display: flex; flex-wrap: wrap; gap: 20px 72px; list-style: none; margin: 0; padding: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); color: #3B4763; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.section--white .card { background: var(--bg); border-color: transparent; }
.card__tag { font-size: 15px; font-weight: 600; color: var(--blue); }
.card h3 { font-size: 26px; font-weight: 700; }
.card p { color: var(--muted); font-size: 17px; }
.card--sm { padding: 28px; }
.card--sm h3 { font-size: 21px; }
.card--sm p { font-size: 16px; }

/* Health check */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 28px; }
.hc__price { font-size: 17px; color: var(--muted); }
.checklist { background: var(--bg); border-radius: var(--radius); padding: 40px; list-style: none; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.checklist__title { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.checklist li { display: flex; gap: 14px; align-items: center; font-size: 18px; }
.checklist svg { flex: none; width: 24px; height: 24px; }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 14px 24px; background: var(--bg); border-radius: 999px; font-size: 18px; font-weight: 500; }

/* About */
.countries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.country { background: var(--navy-2); border-radius: 12px; padding: 24px; }
.country strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--sky); margin-bottom: 4px; }
.country span { font-size: 15px; color: var(--muted-on-dark); }
.section--dark .h2 { margin-bottom: 20px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__links { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; font-size: 18px; font-weight: 600; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(36,87,165,.25); outline-offset: 0; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { grid-column: 1 / -1; width: 100%; }
.form__note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); font-weight: 400; }
.alert { grid-column: 1 / -1; padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.alert--ok { background: #E3F1E8; color: #14532D; }
.alert--err { background: #FBE7E7; color: #7F1D1D; }

/* Footer */
.footer { background: var(--navy); color: var(--muted-on-dark); padding-block: 64px 40px; font-size: 15px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.footer__logo { align-self: flex-start; background: #fff; padding: 10px 16px; border-radius: 8px; }
.footer__logo img { width: 170px; height: auto; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong { color: var(--bg); }
.footer a { color: var(--muted-on-dark); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid var(--navy-line); margin-top: 40px; padding-top: 24px; font-size: 14px; color: #9AA8C7; }

/* Simple pages */
.page { padding-block: clamp(48px, 8vw, 96px); max-width: 820px; }
.page h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; }
.page h2 { font-size: 24px; margin: 32px 0 12px; }
.page p { color: var(--muted); margin-bottom: 14px; font-size: 17px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 15px; }
  .header__actions .btn { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero__grid, .split, .contact__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 380px; order: -1; }
  .grid--3 { grid-template-columns: 1fr; }
  .countries { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo img { width: 150px; }
  .form { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .checklist { padding: 24px; }
  .hero__art { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
