/* BIS website stylesheet — corrected V8 */
:root {
  color-scheme: light;
  --navy: #092b4d;
  --navy-deep: #08284b;
  --gold: #d5a52c;
  --gold-dark: #a87900;
  --ink: #102b4e;
  --muted: #52647a;
  --line: #dce4ed;
  --paper: #f4f7fb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
.site-header { position: relative; z-index: 5; width: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 14px clamp(16px, 4vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-deep); flex-shrink: 0; }
.brand-mark { font-size: 34px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.brand-mark span { color: #c99a16; }
.brand-name { display: inline-block; font-size: 10px; font-weight: 800; line-height: 1.25; max-width: 130px; }
nav { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.5vw, 22px); flex-wrap: wrap; }
nav a { font-size: 13px; text-decoration: none; font-weight: 700; padding: 8px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible { color: #bd8b08; border-color: var(--gold); }
.language { border: 1px solid #d8e0ea; border-radius: 24px; background: #fff; color: var(--ink); padding: 9px 12px; cursor: pointer; white-space: nowrap; font: inherit; font-size: 13px; }
.hero { position: relative; min-height: 360px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; }
.hero-image { pointer-events: none; position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-shade { pointer-events: none; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5,28,52,.95), rgba(5,28,52,.78) 38%, rgba(5,28,52,.08) 100%); }
.hero-copy { position: relative; z-index: 1; width: 100%; padding: 46px clamp(22px, 6vw, 84px); max-width: 760px; }
.eyebrow { margin: 0 0 12px; font-size: 11px; letter-spacing: 2px; font-weight: 700; }
.hero h1 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; margin: 16px 0; color: #fff; }
.hero-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.65; max-width: 530px; margin: 0 0 22px; }
.button { display: inline-block; border: 0; border-radius: 5px; padding: 13px 19px; text-decoration: none; font-size: 14px; font-weight: 700; cursor: pointer; }
.gold { background: var(--gold); color: var(--navy-deep); }
.gold:hover, .gold:focus-visible { background: #efc65c; }
.section { width: 100%; max-width: 1180px; margin: 0 auto; padding: 38px 24px; }
.section h2, .contact-grid h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 14px; color: var(--navy); }
.section p { font-size: 17px; line-height: 1.8; max-width: 900px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.service-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; text-decoration: none; box-shadow: 0 4px 18px rgba(11,45,77,.08); border: 1px solid #e6ebf1; transition: transform .15s ease, box-shadow .15s ease; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(11,45,77,.13); }
.service-card img { width: 100%; height: 155px; object-fit: cover; object-position: center 30%; }
.service-card span { display: block; font-size: 18px; font-weight: 800; padding: 14px 16px 4px; }
.service-card small { display: block; font-size: 14px; line-height: 1.6; padding: 0 16px 18px; color: var(--muted); }
.compact .service-card { padding: 18px; }
.stats { display: flex; justify-content: center; gap: clamp(28px, 8vw, 100px); background: var(--navy); color: #fff; padding: 22px; flex-wrap: wrap; }
.stats div { display: flex; gap: 10px; align-items: center; }
.stats strong { font-size: 25px; color: #e3b53d; }
.stats span { font-size: 13px; }
.split { background: #fff; margin: 26px auto; border-radius: 12px; }
.text-link { color: var(--gold-dark); font-weight: 700; }
.feature-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.feature-list div { background: #fff; border: 1px solid #e2e9f1; padding: 16px; border-radius: 8px; flex: 1; min-width: 190px; }
.contact-grid { max-width: 1180px; margin: 0 auto; padding: 36px 24px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
.contact-details, .form-panel { background: #fff; border: 1px solid #e4eaf1; border-radius: 12px; padding: 24px; }
.contact-details p { line-height: 1.7; }
.contact-details a { color: #174d7c; }
.form-panel > p { line-height: 1.6; color: #53677c; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 700; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #cfd8e3; border-radius: 5px; font: inherit; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
form button { justify-self: start; }
#formStatus { font-size: 13px; align-self: center; }
footer { background: #fff; border-top: 1px solid #e2e8f0; text-align: center; padding: 25px 16px; color: var(--muted); }
.social { display: flex; gap: 12px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.social a { border: 1px solid #d8e0ea; border-radius: 20px; padding: 8px 14px; text-decoration: none; font-weight: 700; color: var(--ink); }
.social a:hover, .social a:focus-visible { background: var(--navy); color: #fff; }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] nav { direction: rtl; }
html[dir="rtl"] .hero-shade { background: linear-gradient(270deg, rgba(5,28,52,.95), rgba(5,28,52,.78) 38%, rgba(5,28,52,.08) 100%); }
html[dir="rtl"] .hero-copy { margin-left: auto; text-align: right; }
html[dir="rtl"] .stats div, html[dir="rtl"] .social { direction: rtl; }
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .brand { margin-inline-end: auto; }
  nav { order: 3; width: 100%; gap: 12px; }
  nav a { font-size: 12px; }
  .hero { min-height: 330px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards { gap: 12px; }
}
@media (max-width: 600px) {
  .site-header { padding: 12px 14px; gap: 10px; }
  .brand-mark { font-size: 30px; }
  .brand-name { font-size: 9px; }
  .language { padding: 7px 9px; }
  nav { justify-content: flex-start; overflow: visible; gap: 8px 14px; }
  nav a { font-size: 12px; padding: 4px 0; }
  .hero { min-height: 390px; align-items: flex-end; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,28,52,.97), rgba(5,28,52,.72) 58%, rgba(5,28,52,.12)); }
  .hero-copy { padding: 26px 20px; }
  .hero h1 { font-size: 34px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .section { padding: 28px 16px; }
  .cards { grid-template-columns: 1fr; }
  .service-card img { height: 180px; }
  .stats { justify-content: flex-start; gap: 18px; }
  .stats div { min-width: 40%; }
  .contact-grid { padding: 24px 14px; gap: 16px; }
  .contact-details, .form-panel { padding: 18px; }
  form { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
}
