/*
Theme Name: Baharinet Ultimate
Theme URI: https://bahari.net.id
Author: PT Bahari Nusantara Network
Author URI: https://bahari.net.id
Description: Theme WordPress Baharinet Ultimate 5.3 dengan desain enterprise compact, alur pendaftaran berbasis wilayah, alamat Google Maps opsional, SEO lokal, dan integrasi penuh Baharinet Core 2.3.
Version: 5.3.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: baharinet-ultimate
*/

:root {
  --bn-blue: #132be8;
  --bn-blue-2: #07188f;
  --bn-blue-3: #07174d;
  --bn-orange: #ff6500;
  --bn-orange-2: #ff8b3d;
  --bn-ink: #071028;
  --bn-muted: #5f6b85;
  --bn-soft: #f4f7ff;
  --bn-white: #ffffff;
  --bn-border: rgba(17, 42, 232, .12);
  --bn-shadow: 0 24px 70px rgba(8, 30, 111, .12);
  --bn-radius: 24px;
  --bn-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bn-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.bn-modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.bn-container { width: min(calc(100% - 40px), var(--bn-container)); margin-inline: auto; }
.bn-section { padding: 96px 0; position: relative; }
.bn-section--soft { background: var(--bn-soft); }
.bn-section--dark { color: #fff; background: var(--bn-blue-3); overflow: hidden; }
.bn-section-heading { max-width: 760px; margin-bottom: 42px; }
.bn-section-heading--center { text-align: center; margin-inline: auto; }
.bn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--bn-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bn-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 999px; background: var(--bn-orange); }
.bn-section--dark .bn-eyebrow { color: #9fb1ff; }
.bn-title { margin: 0 0 14px; font-size: clamp(34px, 4vw, 56px); line-height: 1.08; letter-spacing: -.045em; }
.bn-copy { margin: 0; color: var(--bn-muted); font-size: 18px; }
.bn-section--dark .bn-copy { color: rgba(255,255,255,.72); }

/* Header */
.bn-site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.bn-site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  border-color: rgba(9,31,118,.08);
  box-shadow: 0 10px 36px rgba(8,27,89,.08);
  backdrop-filter: blur(18px);
}
.bn-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bn-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.bn-brand img { width: 212px; display: block; }
.bn-nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.bn-nav-links a { position: relative; color: #142044; }
.bn-nav-links a:not(.bn-btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--bn-orange); transition: width .2s ease; }
.bn-nav-links a:hover::after { width: 100%; }
.bn-nav-actions { display: flex; align-items: center; gap: 10px; }
.bn-menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: #edf1ff; }
.bn-menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--bn-blue-3); transition: .2s ease; }

/* Buttons */
.bn-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bn-btn:hover { transform: translateY(-2px); }
.bn-btn--primary { color: #fff !important; background: linear-gradient(135deg, var(--bn-blue), #315aff); box-shadow: 0 14px 28px rgba(19,43,232,.24); }
.bn-btn--orange { color: #fff !important; background: linear-gradient(135deg, var(--bn-orange), var(--bn-orange-2)); box-shadow: 0 14px 30px rgba(255,101,0,.24); }
.bn-btn--ghost { color: var(--bn-blue); border-color: rgba(19,43,232,.18); background: rgba(255,255,255,.82); }
.bn-btn--white { color: var(--bn-blue) !important; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.bn-btn svg { width: 18px; height: 18px; }

/* Hero */
.bn-hero { min-height: 790px; display: flex; align-items: center; padding: 150px 0 88px; position: relative; overflow: hidden; background: linear-gradient(150deg, #f9fbff 0%, #f4f7ff 48%, #fff8f2 100%); }
.bn-hero::before, .bn-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.bn-hero::before { width: 620px; height: 620px; right: -210px; top: -190px; background: radial-gradient(circle, rgba(19,43,232,.16), transparent 66%); }
.bn-hero::after { width: 470px; height: 470px; left: -250px; bottom: -250px; background: radial-gradient(circle, rgba(255,101,0,.14), transparent 67%); }
.bn-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 66px; position: relative; z-index: 2; }
.bn-hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; margin-bottom: 22px; border: 1px solid rgba(19,43,232,.12); border-radius: 999px; color: var(--bn-blue); background: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; box-shadow: 0 10px 28px rgba(16,41,148,.08); }
.bn-pulse { width: 9px; height: 9px; border-radius: 50%; background: #25bd72; box-shadow: 0 0 0 6px rgba(37,189,114,.12); }
.bn-hero h1 { max-width: 720px; margin: 0; font-size: clamp(45px, 5.9vw, 78px); line-height: .99; letter-spacing: -.065em; }
.bn-gradient-text { color: transparent; background: linear-gradient(90deg, var(--bn-blue), #4167ff 58%, var(--bn-orange)); -webkit-background-clip: text; background-clip: text; }
.bn-hero-copy { max-width: 650px; margin: 24px 0 30px; color: var(--bn-muted); font-size: clamp(17px, 2vw, 20px); }
.bn-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bn-hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #394663; font-size: 13px; font-weight: 700; }
.bn-hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.bn-hero-note svg { width: 17px; height: 17px; color: #20a56c; }

.bn-network-card { position: relative; min-height: 520px; border: 1px solid rgba(255,255,255,.6); border-radius: 34px; overflow: hidden; color: #fff; background: linear-gradient(155deg, #07144f, #102bd6 64%, #264fff); box-shadow: 0 40px 100px rgba(10,34,139,.25); isolation: isolate; }
.bn-network-card::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.bn-network-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; bottom: -80px; border-radius: 50%; background: rgba(255,101,0,.85); filter: blur(8px); z-index: -1; }
.bn-orbit { position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.bn-orbit--1 { width: 380px; height: 380px; right: -80px; top: -40px; }
.bn-orbit--2 { width: 270px; height: 270px; right: -26px; top: 16px; }
.bn-orbit--3 { width: 170px; height: 170px; right: 24px; top: 66px; }
.bn-node { position: absolute; width: 12px; height: 12px; border: 3px solid rgba(255,255,255,.55); border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.08); }
.bn-node--1 { right: 134px; top: 52px; }
.bn-node--2 { right: 22px; top: 182px; background: var(--bn-orange); }
.bn-node--3 { right: 195px; top: 245px; }
.bn-card-content { position: relative; z-index: 2; height: 100%; padding: 42px; display: flex; flex-direction: column; justify-content: space-between; }
.bn-card-logo { width: 210px; filter: brightness(0) invert(1); opacity: .96; }
.bn-card-kicker { color: #afbdff; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bn-card-speed { margin: 8px 0 0; font-size: clamp(72px, 9vw, 118px); line-height: .9; letter-spacing: -.08em; font-weight: 900; }
.bn-card-speed small { font-size: 25%; letter-spacing: -.03em; }
.bn-card-price { margin-top: 18px; display: flex; align-items: end; gap: 8px; }
.bn-card-price strong { font-size: 32px; line-height: 1; }
.bn-card-price span { color: #bec8ff; font-size: 14px; }
.bn-card-bottom { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.bn-card-bottom p { max-width: 250px; margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.bn-card-chip { padding: 10px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 800; backdrop-filter: blur(10px); }

/* Trust strip */
.bn-trust-wrap { position: relative; z-index: 5; margin-top: -38px; }
.bn-trust { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--bn-border); border-radius: 22px; background: rgba(255,255,255,.95); box-shadow: var(--bn-shadow); overflow: hidden; backdrop-filter: blur(18px); }
.bn-trust-item { min-height: 108px; display: flex; align-items: center; gap: 15px; padding: 22px; border-right: 1px solid var(--bn-border); }
.bn-trust-item:last-child { border-right: 0; }
.bn-icon-box { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: var(--bn-blue); background: #edf1ff; }
.bn-icon-box svg { width: 24px; height: 24px; }
.bn-trust-item strong { display: block; font-size: 15px; }
.bn-trust-item span { display: block; color: var(--bn-muted); font-size: 12px; }

/* Packages */
.bn-package-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bn-package { position: relative; padding: 28px; border: 1px solid var(--bn-border); border-radius: var(--bn-radius); background: #fff; box-shadow: 0 18px 50px rgba(13,34,113,.07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bn-package:hover { transform: translateY(-8px); border-color: rgba(19,43,232,.26); box-shadow: 0 28px 70px rgba(13,34,113,.13); }
.bn-package--popular { border: 2px solid var(--bn-blue); transform: translateY(-10px); }
.bn-package--popular:hover { transform: translateY(-16px); }
.bn-package-label { position: absolute; top: 16px; right: 16px; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--bn-orange); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.bn-package-name { color: var(--bn-muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.bn-package-speed { margin: 8px 0 16px; color: var(--bn-blue); font-size: 49px; line-height: 1; letter-spacing: -.06em; font-weight: 900; }
.bn-package-speed small { font-size: 17px; letter-spacing: 0; }
.bn-package-price { padding-bottom: 22px; border-bottom: 1px solid #e7ebf5; }
.bn-package-price strong { font-size: 25px; }
.bn-package-price span { color: var(--bn-muted); font-size: 12px; }
.bn-package ul { min-height: 156px; margin: 20px 0 24px; padding: 0; list-style: none; }
.bn-package li { display: flex; gap: 9px; margin: 9px 0; color: #3c4863; font-size: 13px; }
.bn-package li::before { content: "✓"; color: #20a56c; font-weight: 900; }
.bn-package .bn-btn { width: 100%; }
.bn-package-footnote { margin: 24px 0 0; color: var(--bn-muted); text-align: center; font-size: 12px; }

/* Features */
.bn-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bn-feature { padding: 28px; border: 1px solid var(--bn-border); border-radius: 22px; background: #fff; }
.bn-feature .bn-icon-box { margin-bottom: 18px; }
.bn-feature h3 { margin: 0 0 8px; font-size: 20px; }
.bn-feature p { margin: 0; color: var(--bn-muted); font-size: 14px; }

/* Coverage */
.bn-coverage-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 28px; }
.bn-coverage-card { padding: 38px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: rgba(255,255,255,.07); backdrop-filter: blur(14px); }
.bn-location-list { display: grid; gap: 13px; margin-top: 28px; }
.bn-location { display: flex; align-items: center; gap: 13px; padding: 15px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.06); }
.bn-location svg { width: 22px; height: 22px; color: #ff8a40; }
.bn-location strong { display: block; }
.bn-location small { color: rgba(255,255,255,.58); }
.bn-map { min-height: 440px; position: relative; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(53,91,255,.35), transparent 38%), #06113f; }
.bn-map::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; }
.bn-map-line { position: absolute; height: 2px; transform-origin: left center; background: linear-gradient(90deg, rgba(65,103,255,0), #4f76ff, var(--bn-orange)); filter: drop-shadow(0 0 7px #4f76ff); }
.bn-map-line--1 { width: 250px; left: 18%; top: 44%; transform: rotate(-10deg); }
.bn-map-line--2 { width: 210px; left: 45%; top: 48%; transform: rotate(25deg); }
.bn-map-line--3 { width: 190px; left: 28%; top: 64%; transform: rotate(18deg); }
.bn-map-point { position: absolute; width: 16px; height: 16px; border: 4px solid #fff; border-radius: 50%; background: var(--bn-orange); box-shadow: 0 0 0 10px rgba(255,101,0,.12), 0 0 30px rgba(255,101,0,.55); }
.bn-map-point span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #fff; font-size: 12px; font-weight: 800; }
.bn-map-point--tegal { left: 44%; top: 39%; }
.bn-map-point--pemalang { left: 68%; top: 55%; }
.bn-map-point--brebes { left: 24%; top: 57%; }
.bn-map-radar { position: absolute; width: 260px; height: 260px; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(92,119,255,.25); border-radius: 50%; }
.bn-map-radar::before, .bn-map-radar::after { content: ""; position: absolute; inset: 18%; border: inherit; border-radius: inherit; }
.bn-map-radar::after { inset: 36%; }
.bn-map-status { position: absolute; left: 22px; bottom: 20px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #fff; background: rgba(5,17,63,.75); font-size: 12px; font-weight: 800; backdrop-filter: blur(12px); }

/* About & legal */
.bn-about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.bn-about-visual { min-height: 500px; position: relative; border-radius: 30px; overflow: hidden; background: linear-gradient(145deg, #09174e, #1738ef); box-shadow: var(--bn-shadow); }
.bn-about-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.16), transparent 22%), radial-gradient(circle at 78% 78%, rgba(255,101,0,.8), transparent 26%); }
.bn-about-visual img { width: 68%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: brightness(0) invert(1); }
.bn-about-badge { position: absolute; right: 22px; bottom: 22px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; color: #fff; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 800; backdrop-filter: blur(10px); }
.bn-check-list { margin: 25px 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; }
.bn-check-list li { display: flex; gap: 10px; color: #36415b; }
.bn-check-list li::before { content: "✓"; width: 23px; height: 23px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #20a56c; font-size: 12px; font-weight: 900; }
.bn-legal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 35px; }
.bn-legal-item { padding: 18px; border: 1px solid var(--bn-border); border-radius: 17px; background: #fff; }
.bn-legal-item small { display: block; color: var(--bn-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.bn-legal-item strong { display: block; margin-top: 4px; color: var(--bn-blue-3); font-size: 13px; word-break: break-word; }

/* FAQ */
.bn-faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.bn-faq-item { border: 1px solid var(--bn-border); border-radius: 17px; background: #fff; overflow: hidden; }
.bn-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 0; color: var(--bn-ink); background: transparent; text-align: left; font-weight: 800; }
.bn-faq-question span:last-child { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--bn-blue); background: #edf1ff; transition: transform .2s ease; }
.bn-faq-item.is-open .bn-faq-question span:last-child { transform: rotate(45deg); }
.bn-faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.bn-faq-answer p { margin: 0; padding: 0 22px 22px; color: var(--bn-muted); }

/* CTA */
.bn-cta { padding: 0 0 96px; }
.bn-cta-box { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 48px; border-radius: 30px; overflow: hidden; color: #fff; background: linear-gradient(125deg, var(--bn-blue-3), var(--bn-blue) 62%, #395cff); box-shadow: 0 30px 90px rgba(19,43,232,.25); }
.bn-cta-box::after { content: ""; position: absolute; width: 250px; height: 250px; right: -70px; bottom: -130px; border-radius: 50%; background: var(--bn-orange); opacity: .95; }
.bn-cta-box > * { position: relative; z-index: 2; }
.bn-cta-box h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.bn-cta-box p { margin: 0; color: rgba(255,255,255,.72); }

/* Footer */
.bn-footer { padding: 70px 0 24px; color: #fff; background: #050d29; }
.bn-footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .9fr; gap: 55px; }
.bn-footer-logo { width: 220px; filter: brightness(0) invert(1); }
.bn-footer p { max-width: 470px; color: rgba(255,255,255,.62); font-size: 14px; }
.bn-footer h3 { margin: 0 0 16px; font-size: 15px; }
.bn-footer-links { display: grid; gap: 9px; color: rgba(255,255,255,.72); font-size: 14px; }
.bn-footer-links a:hover { color: #fff; }
.bn-contact-item { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.72); font-size: 14px; }
.bn-contact-item svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--bn-orange); }
.bn-footer-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.45); font-size: 12px; }

/* Floating WhatsApp */
.bn-wa-float { position: fixed; z-index: 950; right: 22px; bottom: 22px; min-width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border-radius: 999px; color: #fff; background: #19ad63; box-shadow: 0 16px 40px rgba(25,173,99,.34); font-size: 13px; font-weight: 900; }
.bn-wa-float svg { width: 23px; height: 23px; }

/* Modal */
.bn-modal { position: fixed; z-index: 2000; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2,8,32,.72); backdrop-filter: blur(8px); }
.bn-modal.is-open { display: flex; }
.bn-modal-card { width: min(100%, 590px); max-height: calc(100vh - 40px); overflow-y: auto; position: relative; padding: 34px; border-radius: 25px; background: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.3); }
.bn-modal-close { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--bn-blue-3); background: #eef2ff; font-size: 22px; }
.bn-modal h2 { margin: 0 0 7px; font-size: 30px; letter-spacing: -.04em; }
.bn-modal-intro { margin: 0 0 22px; color: var(--bn-muted); font-size: 14px; }
.bn-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.bn-field { display: grid; gap: 6px; }
.bn-field--full { grid-column: 1 / -1; }
.bn-field label { font-size: 12px; font-weight: 800; }
.bn-field input, .bn-field select, .bn-field textarea { width: 100%; padding: 12px 13px; border: 1px solid #dce2f0; border-radius: 12px; outline: none; background: #fff; }
.bn-field input:focus, .bn-field select:focus, .bn-field textarea:focus { border-color: var(--bn-blue); box-shadow: 0 0 0 4px rgba(19,43,232,.08); }
.bn-form-submit { width: 100%; margin-top: 18px; }

/* Content templates */
.bn-content-shell { padding: 150px 0 90px; min-height: 70vh; }
.bn-content-shell h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.05em; }
.bn-post-card { padding: 26px; margin-bottom: 18px; border: 1px solid var(--bn-border); border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(13,34,113,.06); }
.bn-post-card h2 { margin: 0 0 8px; }
.bn-entry-content { max-width: 850px; }
.bn-entry-content img { border-radius: 18px; }

/* Accessibility */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid rgba(255,101,0,.6); outline-offset: 3px; }

/* Responsive */
@media (max-width: 1050px) {
  .bn-nav-links { position: fixed; inset: 82px 18px auto; display: none; padding: 18px; border: 1px solid var(--bn-border); border-radius: 20px; background: #fff; box-shadow: var(--bn-shadow); }
  .bn-nav-links.is-open { display: grid; gap: 10px; }
  .bn-nav-links a { padding: 10px; }
  .bn-menu-toggle { display: block; }
  .bn-nav-actions .bn-btn { display: none; }
  .bn-hero-grid, .bn-about-grid { grid-template-columns: 1fr; }
  .bn-hero-copy { max-width: 760px; }
  .bn-network-card { min-height: 500px; }
  .bn-package-grid { grid-template-columns: repeat(2, 1fr); }
  .bn-package--popular { transform: none; }
  .bn-package--popular:hover { transform: translateY(-8px); }
  .bn-trust { grid-template-columns: repeat(2, 1fr); }
  .bn-trust-item:nth-child(2) { border-right: 0; }
  .bn-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--bn-border); }
  .bn-coverage-grid { grid-template-columns: 1fr; }
  .bn-footer-grid { grid-template-columns: 1fr 1fr; }
  .bn-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .bn-container { width: min(calc(100% - 28px), var(--bn-container)); }
  .bn-section { padding: 72px 0; }
  .bn-brand img { width: 174px; }
  .bn-nav { min-height: 72px; }
  .bn-nav-links { inset: 72px 14px auto; }
  .bn-hero { min-height: auto; padding: 122px 0 78px; }
  .bn-hero-grid { gap: 42px; }
  .bn-hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .bn-hero-actions .bn-btn { width: 100%; }
  .bn-network-card { min-height: 430px; border-radius: 25px; }
  .bn-card-content { padding: 28px; }
  .bn-card-speed { font-size: 82px; }
  .bn-card-bottom { align-items: flex-start; flex-direction: column; }
  .bn-trust-wrap { margin-top: -24px; }
  .bn-trust { grid-template-columns: 1fr; }
  .bn-trust-item { border-right: 0; border-bottom: 1px solid var(--bn-border) !important; }
  .bn-trust-item:last-child { border-bottom: 0 !important; }
  .bn-package-grid, .bn-feature-grid, .bn-legal-grid { grid-template-columns: 1fr; }
  .bn-package ul { min-height: auto; }
  .bn-about-grid { gap: 38px; }
  .bn-about-visual { min-height: 360px; }
  .bn-coverage-card { padding: 26px; }
  .bn-map { min-height: 380px; }
  .bn-cta-box { grid-template-columns: 1fr; padding: 34px 26px; }
  .bn-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .bn-footer-grid > :first-child { grid-column: auto; }
  .bn-footer-bottom { flex-direction: column; }
  .bn-wa-float span { display: none; }
  .bn-wa-float { min-width: 56px; width: 56px; padding: 0; }
  .bn-form-grid { grid-template-columns: 1fr; }
  .bn-field--full { grid-column: auto; }
  .bn-modal-card { padding: 28px 20px; }
}

/* =========================================================
   Baharinet Premium 2.0
   ========================================================= */

[id] { scroll-margin-top: 96px; }
.admin-bar .bn-site-header { top: 32px; }
.bn-site-header--solid,
.bn-site-header.is-scrolled { background: rgba(255,255,255,.96); border-color: rgba(9,31,118,.08); box-shadow: 0 10px 36px rgba(8,27,89,.08); backdrop-filter: blur(18px); }
.bn-skip-link:focus { z-index: 99999; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--bn-blue-3); }

/* Navigation v2 */
.bn-nav-links { flex: 1; justify-content: center; }
.bn-menu { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.bn-menu > li { position: relative; display: flex; align-items: center; }
.bn-menu > li > a { display: inline-flex; align-items: center; min-height: 44px; }
.bn-menu .current-menu-item > a,
.bn-menu .current_page_item > a { color: var(--bn-blue); }
.bn-submenu-toggle { width: 27px; height: 27px; display: inline-grid; place-items: center; margin-left: -4px; padding: 0; border: 0; color: #50607e; background: transparent; }
.bn-submenu-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.bn-menu .sub-menu { position: absolute; z-index: 40; top: calc(100% + 8px); left: -18px; min-width: 225px; margin: 0; padding: 10px; list-style: none; border: 1px solid var(--bn-border); border-radius: 16px; background: #fff; box-shadow: 0 22px 60px rgba(8,30,111,.16); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.bn-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.bn-menu .sub-menu li { display: block; }
.bn-menu .sub-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #273552; font-size: 13px; white-space: nowrap; }
.bn-menu .sub-menu a::after { display: none !important; }
.bn-menu .sub-menu a:hover { color: var(--bn-blue); background: #f1f4ff; }
.bn-menu li:hover > .sub-menu,
.bn-menu li:focus-within > .sub-menu,
.bn-menu li.is-submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.bn-menu li.is-submenu-open > .bn-submenu-toggle svg { transform: rotate(180deg); }
.bn-header-contact { white-space: nowrap; }
.bn-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bn-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.bn-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Service cards */
.bn-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bn-service-card { position: relative; min-height: 315px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--bn-border); border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(13,34,113,.07); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.bn-service-card:hover { transform: translateY(-7px); box-shadow: 0 28px 70px rgba(13,34,113,.13); }
.bn-service-card--featured { color: #fff; border-color: transparent; background: linear-gradient(145deg, var(--bn-blue-3), var(--bn-blue)); }
.bn-service-card--featured::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -80px; border-radius: 50%; background: var(--bn-orange); opacity: .85; filter: blur(2px); }
.bn-service-card > * { position: relative; z-index: 2; }
.bn-service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 18px; color: var(--bn-blue); background: #edf1ff; }
.bn-service-card--featured .bn-service-icon { color: #fff; background: rgba(255,255,255,.13); }
.bn-service-icon svg { width: 29px; height: 29px; }
.bn-service-card h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.035em; }
.bn-service-card p { margin: 0 0 24px; color: var(--bn-muted); font-size: 15px; }
.bn-service-card--featured p { color: rgba(255,255,255,.72); }
.bn-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--bn-blue); font-size: 14px; font-weight: 850; }
.bn-service-card--featured .bn-text-link { color: #fff; }
.bn-text-link span { transition: transform .2s ease; }
.bn-text-link:hover span { transform: translateX(4px); }

/* Blog */
.bn-section-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.bn-section-heading--split > div { max-width: 760px; }
.bn-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bn-blog-grid--archive { row-gap: 30px; }
.bn-blog-card { min-width: 0; border: 1px solid var(--bn-border); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(13,34,113,.07); transition: transform .24s ease, box-shadow .24s ease; }
.bn-blog-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(13,34,113,.13); }
.bn-blog-thumb { height: 210px; display: block; overflow: hidden; background: linear-gradient(145deg, #edf1ff, #fff2e8); }
.bn-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bn-blog-card:hover .bn-blog-thumb img { transform: scale(1.04); }
.bn-blog-placeholder { width: 100%; height: 100%; min-height: 180px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--bn-blue-3), var(--bn-blue) 65%, var(--bn-orange)); }
.bn-blog-placeholder svg { width: 62px; height: 62px; opacity: .72; }
.bn-blog-body { padding: 24px; }
.bn-blog-body h2,
.bn-blog-body h3 { margin: 10px 0 10px; font-size: 23px; line-height: 1.25; letter-spacing: -.035em; }
.bn-blog-body p { margin: 0 0 18px; color: var(--bn-muted); font-size: 14px; }
.bn-post-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: #7a869e; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.bn-post-meta a { color: inherit; }
.bn-blog-card--empty { grid-column: 1 / -1; display: grid; grid-template-columns: 250px 1fr; }
.bn-center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.bn-pagination { margin-top: 40px; }
.bn-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bn-pagination .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--bn-border); border-radius: 11px; background: #fff; }
.bn-pagination .current { color: #fff; border-color: var(--bn-blue); background: var(--bn-blue); }
.bn-empty-state { padding: 60px 25px; border: 1px dashed rgba(19,43,232,.25); border-radius: 24px; text-align: center; background: #f8faff; }

/* Contact */
.bn-contact-section { background: linear-gradient(160deg, #f4f7ff, #fff9f4); }
.bn-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.bn-contact-cards { display: grid; gap: 12px; margin: 28px 0 20px; }
.bn-contact-cards a { display: grid; gap: 2px; padding: 17px 19px; border: 1px solid var(--bn-border); border-radius: 16px; background: rgba(255,255,255,.86); }
.bn-contact-cards strong { color: var(--bn-blue-3); }
.bn-contact-cards span { color: var(--bn-muted); font-size: 14px; }
.bn-contact-page-link { margin-top: 8px; }
.bn-contact-form { padding: 30px; border: 1px solid var(--bn-border); border-radius: 24px; background: #fff; box-shadow: var(--bn-shadow); }
.bn-contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bn-contact-info-grid > a { min-height: 200px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--bn-border); border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(13,34,113,.07); }
.bn-contact-info-grid span { color: var(--bn-orange); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.bn-contact-info-grid strong { margin: 24px 0 auto; color: var(--bn-blue-3); font-size: 19px; line-height: 1.45; word-break: break-word; }
.bn-contact-info-grid small { margin-top: 18px; color: var(--bn-muted); }

/* Page hero & subpages */
.bn-page-hero { position: relative; overflow: hidden; padding: 158px 0 92px; color: #fff; background: linear-gradient(135deg, var(--bn-blue-3), var(--bn-blue) 66%, #395cff); }
.bn-page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -220px; border-radius: 50%; background: var(--bn-orange); opacity: .9; }
.bn-page-hero--home { background: linear-gradient(135deg, #07174d, #132be8 62%, #315aff); }
.bn-page-hero--business { background: linear-gradient(135deg, #041333, #092c7a 58%, #146bce); }
.bn-page-hero--partner { background: linear-gradient(135deg, #10134d, #5430d9 60%, #ff6500); }
.bn-page-hero--about { background: linear-gradient(135deg, #061849, #1738ef 64%, #ff6500); }
.bn-page-hero--help { background: linear-gradient(135deg, #061849, #2046df 65%, #526fff); }
.bn-page-hero--legal { background: linear-gradient(135deg, #07174d, #18265d); }
.bn-page-hero--contact { background: linear-gradient(135deg, #061849, #1738ef 60%, #ff6500); }
.bn-page-hero--blog { background: linear-gradient(135deg, #061849, #1738ef 65%, #536fff); }
.bn-page-hero > .bn-container,
.bn-page-hero-grid { position: relative; z-index: 2; }
.bn-page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.bn-page-hero h1 { max-width: 780px; margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.06em; }
.bn-page-hero p { max-width: 720px; margin: 24px 0 30px; color: rgba(255,255,255,.76); font-size: 19px; }
.bn-page-hero .bn-eyebrow { color: #c6d0ff; }
.bn-page-hero-card { min-height: 360px; display: flex; flex-direction: column; justify-content: center; padding: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(255,255,255,.09); box-shadow: 0 30px 80px rgba(0,0,0,.18); backdrop-filter: blur(15px); }
.bn-page-hero-card > span { color: #c9d3ff; font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.bn-page-hero-card > strong { margin: 8px 0 0; font-size: clamp(50px, 7vw, 86px); line-height: 1; letter-spacing: -.07em; }
.bn-page-hero-card > small { color: rgba(255,255,255,.7); font-size: 15px; }
.bn-page-hero-card ul { margin: 34px 0 0; padding: 0; list-style: none; }
.bn-page-hero-card li { margin: 10px 0; color: rgba(255,255,255,.78); }
.bn-page-hero-card li::before { content: "✓"; margin-right: 9px; color: #72e2ae; font-weight: 900; }
.bn-page-card-logo { width: min(100%, 310px); margin: 0 auto 20px; filter: brightness(0) invert(1); }
.bn-page-simple-hero { padding: 155px 0 70px; color: #fff; background: linear-gradient(135deg, var(--bn-blue-3), var(--bn-blue)); }
.bn-page-simple-hero h1 { max-width: 900px; margin: 10px 0 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.02; letter-spacing: -.055em; }
.bn-page-simple-hero p { color: rgba(255,255,255,.72); }
.bn-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,.64); font-size: 12px; }
.bn-breadcrumb a:hover { color: #fff; }

.bn-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bn-mini-grid article { padding: 24px; border: 1px solid var(--bn-border); border-radius: 20px; background: #fff; }
.bn-mini-grid strong { color: var(--bn-blue-3); font-size: 18px; }
.bn-mini-grid p { margin: 8px 0 0; color: var(--bn-muted); font-size: 14px; }
.bn-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bn-process-grid article { padding: 26px; border: 1px solid var(--bn-border); border-radius: 20px; background: #fff; }
.bn-process-grid article > span { color: var(--bn-orange); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.bn-process-grid h3 { margin: 20px 0 8px; }
.bn-process-grid p { color: var(--bn-muted); font-size: 14px; }
.bn-partner-panel { padding: 38px; border-radius: 26px; color: #fff; background: linear-gradient(145deg, var(--bn-blue-3), var(--bn-blue)); box-shadow: var(--bn-shadow); }
.bn-partner-panel h3 { margin-top: 0; font-size: 30px; }
.bn-partner-panel p { color: rgba(255,255,255,.72); }
.bn-vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.bn-vm-grid article { padding: 40px; border: 1px solid var(--bn-border); border-radius: 25px; background: #fff; }
.bn-vm-grid h2 { margin: 0; font-size: 34px; line-height: 1.2; letter-spacing: -.04em; }
.bn-faq--wide { max-width: 980px; }
.bn-faq-question small { display: block; margin-bottom: 5px; color: var(--bn-orange); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.bn-legal-content { max-width: 900px; }
.bn-legal-content article { padding: 30px 0; border-bottom: 1px solid var(--bn-border); }
.bn-legal-content h2 { margin: 0 0 10px; color: var(--bn-blue-3); font-size: 27px; }
.bn-legal-content p { color: #4e5a73; }
.bn-legal-updated { color: var(--bn-muted); font-size: 13px; }
.bn-legal-note { margin-top: 32px; padding: 22px; border-left: 4px solid var(--bn-orange); border-radius: 0 14px 14px 0; background: #fff4eb; color: #5e4939; }

/* Single article */
.bn-single-header { padding: 150px 0 72px; color: #fff; background: linear-gradient(135deg, var(--bn-blue-3), var(--bn-blue)); }
.bn-single-header-inner { max-width: 900px; }
.bn-single-header h1 { margin: 18px 0 22px; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -.055em; }
.bn-single-header .bn-post-meta { color: rgba(255,255,255,.66); }
.bn-single-cover { margin-top: -34px; position: relative; z-index: 3; }
.bn-single-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 26px; box-shadow: var(--bn-shadow); }
.bn-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: start; padding-top: 70px; padding-bottom: 100px; }
.bn-entry-content { max-width: 820px; font-size: 18px; }
.bn-entry-content--page { max-width: 900px; }
.bn-entry-content h2 { margin-top: 48px; color: var(--bn-blue-3); font-size: 34px; line-height: 1.2; letter-spacing: -.035em; }
.bn-entry-content h3 { margin-top: 34px; font-size: 25px; }
.bn-entry-content a { color: var(--bn-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bn-entry-content blockquote { margin: 32px 0; padding: 22px 28px; border-left: 4px solid var(--bn-orange); background: #f7f9ff; }
.bn-single-aside { position: sticky; top: 120px; }
.bn-aside-card { padding: 25px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, var(--bn-blue-3), var(--bn-blue)); }
.bn-aside-card strong { font-size: 22px; }
.bn-aside-card p { color: rgba(255,255,255,.7); font-size: 14px; }

/* Footer v2 and back to top */
.bn-footer-grid--v2 { grid-template-columns: 1.35fr .65fr .7fr 1.1fr; gap: 42px; }
.bn-footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bn-footer-badges span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 800; }
.bn-back-to-top { position: fixed; z-index: 949; right: 28px; bottom: 94px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(19,43,232,.14); border-radius: 15px; color: var(--bn-blue); background: rgba(255,255,255,.96); box-shadow: 0 15px 38px rgba(8,30,111,.18); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .22s ease; }
.bn-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.bn-back-to-top:hover { color: #fff; background: var(--bn-blue); }
.bn-back-to-top svg { width: 22px; height: 22px; }

@media (max-width: 1150px) {
  .bn-header-contact { display: none; }
  .bn-menu { gap: 16px; }
  .bn-footer-grid--v2 { grid-template-columns: 1.2fr .8fr .8fr; }
  .bn-footer-grid--v2 > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 1050px) {
  body.bn-nav-open { overflow: hidden; }
  .bn-nav-links { inset: 82px 18px auto; max-height: calc(100vh - 110px); overflow-y: auto; }
  .bn-nav-links.is-open { display: block; }
  .bn-menu { display: grid; gap: 3px; }
  .bn-menu > li { display: grid; grid-template-columns: 1fr auto; }
  .bn-menu > li > a { padding: 10px 12px; }
  .bn-submenu-toggle { width: 42px; height: 42px; margin: 0; }
  .bn-menu .sub-menu { position: static; grid-column: 1 / -1; min-width: 0; display: none; margin: 2px 8px 9px; padding: 7px; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #f5f7ff; }
  .bn-menu li.is-submenu-open > .sub-menu { display: block; }
  .bn-menu .sub-menu a { white-space: normal; }
  .bn-service-grid,
  .bn-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .bn-contact-grid,
  .bn-page-hero-grid,
  .bn-single-layout { grid-template-columns: 1fr; }
  .bn-page-hero-card { min-height: 310px; }
  .bn-contact-info-grid { grid-template-columns: 1fr 1fr; }
  .bn-mini-grid,
  .bn-process-grid { grid-template-columns: repeat(2, 1fr); }
  .bn-single-aside { position: static; }
}

@media (max-width: 782px) {
  .admin-bar .bn-site-header { top: 46px; }
}

@media (max-width: 720px) {
  .bn-section-heading--split { display: block; }
  .bn-section-heading--split .bn-btn { margin-top: 22px; }
  .bn-service-grid,
  .bn-blog-grid,
  .bn-contact-info-grid,
  .bn-mini-grid,
  .bn-process-grid,
  .bn-vm-grid { grid-template-columns: 1fr; }
  .bn-service-card { min-height: 0; }
  .bn-blog-card--empty { grid-template-columns: 1fr; }
  .bn-page-hero { padding: 130px 0 72px; }
  .bn-page-hero h1 { font-size: clamp(42px, 13vw, 61px); }
  .bn-page-hero-card { min-height: 270px; padding: 28px; }
  .bn-contact-form { padding: 22px; }
  .bn-single-header { padding: 130px 0 65px; }
  .bn-single-layout { padding-top: 48px; gap: 38px; }
  .bn-entry-content { font-size: 17px; }
  .bn-footer-grid--v2 { grid-template-columns: 1fr; }
  .bn-footer-grid--v2 > :first-child { grid-column: auto; }
  .bn-back-to-top { right: 18px; bottom: 88px; }
}

/* ==== Baharinet Ultimate 3.0 additions ==== */
.bn-site-header--solid,
.bn-site-header.is-scrolled,
body:not(.home) .bn-site-header {
  background: rgba(255,255,255,.94);
  border-color: rgba(9,31,118,.08);
  box-shadow: 0 10px 36px rgba(8,27,89,.08);
  backdrop-filter: blur(18px);
}

.bn-nav-links .bn-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bn-menu > li {
  position: relative;
}
.bn-menu .sub-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--bn-border);
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 60px rgba(13,34,113,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .22s ease;
}
.bn-menu .sub-menu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}
.bn-menu .sub-menu li a:hover {
  background: #f3f6ff;
}
.bn-menu > li:hover > .sub-menu,
.bn-menu > li.is-submenu-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.bn-submenu-toggle {
  display: none;
}

.bn-hero-slider {
  position: relative;
  overflow: hidden;
  padding: 146px 0 82px;
  background: linear-gradient(150deg, #f9fbff 0%, #f4f7ff 45%, #fff8f2 100%);
}
.bn-hero-slider::before,
.bn-hero-slider::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.bn-hero-slider::before {
  width: 560px;
  height: 560px;
  right: -220px;
  top: -160px;
  background: radial-gradient(circle, rgba(19,43,232,.14), transparent 68%);
}
.bn-hero-slider::after {
  width: 380px;
  height: 380px;
  left: -170px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(255,101,0,.12), transparent 70%);
}
.bn-hero-slider__shell {
  position: relative;
}
.bn-hero-slider__track {
  position: relative;
  min-height: 610px;
}
.bn-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 54px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.bn-hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.bn-hero-slide__content h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px, 5.4vw, 74px);
  line-height: 1;
  letter-spacing: -.06em;
}
.bn-hero-slide__visual {
  display: flex;
  justify-content: flex-end;
}
.bn-network-card--compact {
  width: min(100%, 540px);
  min-height: 470px;
}
.bn-hero-slide__highlight {
  margin-top: 10px;
  font-size: clamp(54px, 6vw, 84px);
  line-height: .96;
  letter-spacing: -.07em;
  font-weight: 900;
}
.bn-hero-slide__caption {
  max-width: 260px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
}
.bn-hero-slider__controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.bn-slider-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(19,43,232,.14);
  border-radius: 50%;
  color: var(--bn-blue);
  background: rgba(255,255,255,.96);
  box-shadow: 0 15px 34px rgba(13,34,113,.08);
  font-size: 28px;
  line-height: 1;
}
.bn-hero-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bn-slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(19,43,232,.18);
  transition: width .2s ease, background .2s ease;
}
.bn-slider-dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, var(--bn-blue), var(--bn-orange));
}

.bn-section-heading--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.bn-section-heading--split > div {
  max-width: 780px;
}

.bn-feature-grid--services {
  grid-template-columns: repeat(3, 1fr);
}
.bn-feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--bn-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(13,34,113,.07);
}
.bn-feature-card h3 {
  margin: 0;
  font-size: 22px;
}
.bn-feature-card p {
  margin: 0;
  color: var(--bn-muted);
  font-size: 15px;
}
.bn-feature-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--bn-blue);
  background: #edf1ff;
}
.bn-feature-icon svg {
  width: 28px;
  height: 28px;
}

.bn-logo-grid,
.bn-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bn-logo-card,
.bn-testimonial-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--bn-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(13,34,113,.07);
}
.bn-logo-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bn-logo-card__media {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f7ff, #eef2ff);
}
.bn-logo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bn-logo-card__placeholder,
.bn-testimonial-card__avatar span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bn-blue);
  background: rgba(19,43,232,.10);
  font-size: 28px;
  font-weight: 900;
}
.bn-logo-card__body h3 {
  margin: 0 0 6px;
  font-size: 22px;
}
.bn-logo-card__body p {
  margin: 0;
  color: var(--bn-muted);
  font-size: 15px;
}
.bn-logo-grid--clients .bn-logo-card__media {
  aspect-ratio: 4 / 3;
}

.bn-testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bn-testimonial-card__rating {
  display: flex;
  gap: 4px;
  color: #d7dcef;
  font-size: 22px;
}
.bn-testimonial-card__rating .is-active {
  color: #ffb23f;
}
.bn-testimonial-card__quote {
  color: #31405f;
  font-size: 16px;
  line-height: 1.8;
}
.bn-testimonial-card__quote p {
  margin: 0;
}
.bn-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.bn-testimonial-card__avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #eff3ff;
}
.bn-testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bn-testimonial-card__author strong {
  display: block;
}
.bn-testimonial-card__author small {
  color: var(--bn-muted);
}

.bn-center-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 1180px) {
  .bn-hero-slider__track {
    min-height: 680px;
  }
  .bn-hero-slide {
    gap: 34px;
  }
  .bn-logo-grid,
  .bn-testimonial-grid,
  .bn-feature-grid--services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .bn-nav-links {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border: 1px solid var(--bn-border);
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 60px rgba(13,34,113,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .22s ease;
  }
  .bn-nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .bn-nav-links .bn-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .bn-nav-links .bn-menu > li > a {
    display: block;
    padding: 12px 6px;
  }
  .bn-menu .sub-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    background: #f7f9ff;
  }
  .bn-menu > li.is-submenu-open > .sub-menu {
    display: block;
  }
  .bn-submenu-toggle {
    display: inline-grid;
    place-items: center;
    position: absolute;
    top: 4px;
    right: 0;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--bn-blue);
    background: #edf1ff;
  }
  .bn-submenu-toggle svg {
    width: 18px;
    height: 18px;
  }
  .bn-menu-toggle {
    display: block;
  }
  .bn-header-contact {
    display: none;
  }
  .bn-hero-slide,
  .bn-page-hero-grid,
  .bn-about-grid {
    grid-template-columns: 1fr;
  }
  .bn-hero-slide__visual {
    justify-content: flex-start;
  }
  .bn-section-heading--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .bn-nav {
    min-height: 76px;
  }
  .bn-brand img {
    width: 184px;
  }
  .bn-hero-slider {
    padding: 128px 0 68px;
  }
  .bn-hero-slider__track {
    min-height: auto;
  }
  .bn-hero-slide {
    gap: 24px;
  }
  .bn-hero-slide__content h1 {
    font-size: clamp(38px, 11vw, 56px);
  }
  .bn-network-card--compact {
    min-height: 380px;
  }
  .bn-card-content {
    padding: 28px;
  }
  .bn-card-logo {
    width: 176px;
  }
  .bn-trust {
    grid-template-columns: 1fr;
  }
  .bn-trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--bn-border);
  }
  .bn-trust-item:last-child {
    border-bottom: 0;
  }
  .bn-package-grid,
  .bn-feature-grid,
  .bn-logo-grid,
  .bn-testimonial-grid,
  .bn-feature-grid--services {
    grid-template-columns: 1fr;
  }
  .bn-package--popular,
  .bn-package--popular:hover {
    transform: none;
  }
  .bn-cta {
    padding-bottom: 74px;
  }
}

/* ==== Baharinet Ultimate 3.1 refinements ==== */
body {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -.008em;
}
.bn-section { padding: 88px 0; }
.bn-title {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -.042em;
}
.bn-copy {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
}
.bn-eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
}
.bn-feature-card h3,
.bn-logo-card__body h3 {
  letter-spacing: -.025em;
}

.bn-hero-slide__content h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.bn-hero-copy {
  max-width: 620px;
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.75;
}
.bn-hero-photo {
  width: min(100%, 540px);
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #eef2ff;
  box-shadow: 0 40px 100px rgba(10,34,139,.22);
}
.bn-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  display: block;
  object-fit: cover;
}

.bn-package-excerpt {
  min-height: 50px;
  margin: 18px 0 0;
  color: var(--bn-muted);
  font-size: 13px;
  line-height: 1.65;
}
.bn-package ul {
  min-height: 148px;
}

.bn-brand-section {
  padding: 72px 0;
  overflow: hidden;
}
.bn-section-heading--compact {
  margin-bottom: 24px;
}
.bn-section-heading--compact .bn-title {
  font-size: clamp(28px, 3vw, 42px);
}
.bn-logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.bn-logo-marquee__track {
  width: max-content;
  display: flex;
  animation: bn-logo-scroll 34s linear infinite;
}
.bn-logo-marquee--reverse .bn-logo-marquee__track {
  animation-direction: reverse;
}
.bn-logo-marquee:hover .bn-logo-marquee__track {
  animation-play-state: paused;
}
.bn-logo-marquee__group {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}
.bn-marquee-logo {
  width: 164px;
  height: 82px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(17,42,232,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 34px rgba(13,34,113,.06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.bn-marquee-logo img {
  max-width: 112px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .56;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.bn-marquee-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(19,43,232,.18);
  box-shadow: 0 20px 48px rgba(13,34,113,.10);
}
.bn-marquee-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}
.bn-marquee-logo__text {
  color: #7a849c;
  text-align: center;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  transition: color .22s ease;
}
.bn-marquee-logo:hover .bn-marquee-logo__text {
  color: var(--bn-blue);
}
@keyframes bn-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.bn-testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bn-testimonial-card {
  padding: 28px;
}
.bn-testimonial-card__quote {
  color: #33405d;
  font-size: 15px;
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  .bn-logo-marquee__track {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .bn-section { padding: 76px 0; }
  .bn-hero-photo,
  .bn-hero-photo img {
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  .bn-section { padding: 64px 0; }
  .bn-title { font-size: clamp(30px, 9vw, 42px); }
  .bn-copy { font-size: 16px; }
  .bn-hero-slide__content h1 { font-size: clamp(38px, 11vw, 52px); }
  .bn-hero-photo,
  .bn-hero-photo img {
    min-height: 320px;
  }
  .bn-marquee-logo {
    width: 136px;
    height: 72px;
    padding: 13px 16px;
  }
  .bn-marquee-logo img {
    max-width: 94px;
    max-height: 40px;
  }
  .bn-logo-marquee__track {
    animation-duration: 26s;
  }
}

/* =========================================================
   Baharinet Ultimate 3.5 — typography, accessibility & UX
   ========================================================= */
:root {
  --bn-reading-width: 72ch;
  --bn-section-space: clamp(68px, 8vw, 108px);
  --bn-shadow-sm: 0 12px 34px rgba(13,34,113,.07);
  --bn-shadow-md: 0 24px 68px rgba(13,34,113,.12);
}
html { scroll-padding-top: 96px; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
p { max-width: var(--bn-reading-width); }
.bn-section { padding: var(--bn-section-space) 0; }
.bn-title {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.bn-copy {
  max-width: 68ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
}
.bn-eyebrow { letter-spacing: .1em; }
.bn-btn { min-height: 48px; padding: 12px 22px; }
.bn-btn:focus-visible,
.bn-menu a:focus-visible,
.bn-slider-arrow:focus-visible,
.bn-slider-dot:focus-visible,
.bn-menu-toggle:focus-visible,
.bn-submenu-toggle:focus-visible,
.bn-faq-question:focus-visible,
.bn-back-to-top:focus-visible,
.bn-modal-close:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bn-orange) 72%, white);
  outline-offset: 3px;
}

.bn-site-header--sticky { position: fixed; }
.bn-no-sticky-header .bn-site-header { position: absolute; }
body:not(.home) .bn-site-header,
.bn-site-header.is-scrolled { background: rgba(255,255,255,.96); }
.bn-menu > .current-menu-item > a,
.bn-menu > .current-menu-ancestor > a,
.bn-menu > .is-scroll-active > a { color: var(--bn-blue); }
.bn-menu > .current-menu-item > a::after,
.bn-menu > .current-menu-ancestor > a::after,
.bn-menu > .is-scroll-active > a::after { width: 100% !important; }

.bn-hero-slider { padding-top: 142px; }
.bn-hero-slider__track { min-height: 620px; }
.bn-hero-slide__content h1,
.bn-hero-slide__title {
  max-width: 700px;
  margin: 0;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.01;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.bn-hero-copy {
  max-width: 62ch;
  margin: 24px 0 30px;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.7;
}
.bn-hero-slide { --bn-slide-accent: var(--bn-orange); }
.bn-hero-slide .bn-eyebrow::before,
.bn-hero-slide .bn-network-card::after { background: var(--bn-slide-accent); }
.bn-hero-slide--business .bn-network-card { background: linear-gradient(155deg, #041333, #0b3f9b 62%, #1673cf); }
.bn-hero-slide--partner .bn-network-card { background: linear-gradient(155deg, #16134f, #5633d6 62%, #ff6500); }
.bn-hero-slide--light .bn-network-card { background: linear-gradient(155deg, #082d40, #08747b 62%, #20a56c); }
.bn-hero-photo {
  min-height: 480px;
  margin: 0;
  border-radius: calc(var(--bn-radius) + 8px);
  overflow: hidden;
  box-shadow: var(--bn-shadow-md);
  background: #e9eeff;
}
.bn-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  object-fit: cover;
}
.bn-network-card,
.bn-feature-card,
.bn-package,
.bn-testimonial-card,
.bn-blog-card,
.bn-faq-item,
.bn-coverage-card,
.bn-map,
.bn-cta-box,
.bn-modal-card,
.bn-page-hero-card,
.bn-vm-grid article,
.bn-legal-item { border-radius: var(--bn-radius); }

.bn-package { border-top: 4px solid var(--bn-package-accent, var(--bn-blue)); }
.bn-package--popular { border-color: var(--bn-package-accent, var(--bn-blue)); }
.bn-package-speed { color: var(--bn-package-accent, var(--bn-blue)); }
.bn-package-excerpt { min-height: 56px; }
.bn-package ul { min-height: 142px; }

.bn-brand-section { padding: clamp(58px, 7vw, 82px) 0; }
.bn-section-heading--compact { max-width: 760px; margin-bottom: 28px; }
.bn-section-heading--compact .bn-title { font-size: clamp(30px, 3.2vw, 44px); }
.bn-section-heading--compact .bn-copy { margin-inline: auto; }
.bn-logo-marquee { padding: 6px 0 12px; }
.bn-marquee-logo {
  width: 154px;
  height: 76px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  background: rgba(255,255,255,.72);
}
.bn-marquee-logo img {
  max-width: 108px;
  max-height: 42px;
  filter: grayscale(1) saturate(0);
  opacity: .48;
}
.bn-marquee-logo:hover,
.bn-marquee-logo:focus-visible { transform: translateY(-2px); box-shadow: var(--bn-shadow-sm); }
.bn-marquee-logo:hover img,
.bn-marquee-logo:focus-visible img { filter: grayscale(0) saturate(1); opacity: 1; }

.bn-carousel-actions { display: flex; align-items: center; gap: 10px; }
.bn-testimonial-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding: 4px 2px 18px;
}
.bn-testimonial-carousel::-webkit-scrollbar { display: none; }
.bn-testimonial-card { scroll-snap-align: start; min-width: 0; position: relative; }
.bn-placeholder-label {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #765200;
  background: #fff3c4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bn-field label span { color: var(--bn-muted); font-size: 12px; font-weight: 500; }
.bn-form-feedback { min-height: 22px; margin: 8px 0; color: var(--bn-muted); font-size: 13px; }
.bn-modal-card { max-height: min(90vh, 780px); overflow-y: auto; }

.bn-blog-search {
  max-width: 720px;
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.bn-blog-search label { flex: 1; }
.bn-blog-search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--bn-button-radius, 16px);
  color: #fff;
  background: rgba(255,255,255,.1);
}
.bn-blog-search input::placeholder { color: rgba(255,255,255,.64); }
.bn-related-posts { margin-top: 70px; }
.bn-related-posts h2 { margin-bottom: 26px; font-size: clamp(28px, 3vw, 40px); }

.bn-legal-note {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--bn-muted);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .bn-testimonial-carousel { grid-auto-columns: calc((100% - 22px) / 2); }
  .bn-hero-slide__content h1,
  .bn-hero-slide__title { font-size: clamp(42px, 6vw, 62px); }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 82px; }
  body { font-size: 16px; }
  .bn-section { padding: 64px 0; }
  .bn-title { font-size: clamp(30px, 9vw, 42px); }
  .bn-hero-slider { padding-top: 118px; }
  .bn-hero-slider__track { min-height: auto; }
  .bn-hero-slide__content h1,
  .bn-hero-slide__title { font-size: clamp(38px, 11vw, 50px); }
  .bn-hero-copy { font-size: 17px; }
  .bn-hero-photo,
  .bn-hero-photo img { min-height: 300px; }
  .bn-testimonial-carousel { grid-auto-columns: 88%; }
  .bn-section-heading--split { align-items: stretch; }
  .bn-carousel-actions { justify-content: flex-end; }
  .bn-blog-search { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .bn-logo-marquee__track { animation: none !important; transform: none !important; }
  .bn-logo-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}

/* Baharinet Ultimate 4.0 */
.bn-v40-quick-coverage {
  position: relative;
  z-index: 12;
  margin-top: -54px;
  padding: 0 0 42px;
}
.bn-v40-recommender-section { padding-top: 72px; }
.bn-v40-fallback {
  padding: 34px;
  border: 1px solid var(--bn-border);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--bn-shadow);
}
.bn-v40-fallback h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.bn-v40-fallback p { max-width: 680px; margin: 0 0 22px; color: var(--bn-muted); }
.bn-v40-core-page { padding-top: 150px; }

@media (max-width: 767px) {
  .bn-v40-quick-coverage { margin-top: -24px; padding-bottom: 18px; }
  .bn-v40-recommender-section { padding-top: 58px; }
  .bn-v40-core-page { padding-top: 120px; }
}

/* =========================================================
   Baharinet Ultimate 5.1 — compact visual system
   ========================================================= */
:root {
  --bn-container: 1160px;
  --bn-radius: 20px;
  --bn-shadow: 0 18px 54px rgba(8, 30, 111, .10);
}
body {
  font-size: 16px;
  line-height: 1.62;
}
.bn-container { width: min(calc(100% - 36px), var(--bn-container)); }
.bn-section { padding: 78px 0; }
.bn-section--compact { padding: 64px 0; }
.bn-title { font-size: clamp(34px, 4vw, 46px); line-height: 1.1; letter-spacing: -.04em; }
.bn-copy { max-width: 720px; font-size: 16px; line-height: 1.65; }
.bn-section-heading { margin-bottom: 34px; }
.bn-eyebrow { margin-bottom: 11px; font-size: 12px; }

/* Compact header */
.bn-nav { min-height: 72px; gap: 20px; }
.bn-brand img { width: 190px; }
.bn-nav-links { gap: 24px; font-size: 14px; }
.bn-header-contact { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.bn-site-header.is-scrolled .bn-nav { min-height: 68px; }
.bn-site-header { transition: background .2s ease, box-shadow .2s ease, border-color .2s ease; }

/* Stable hero slider: every slide occupies the same visual height */
.bn-hero-slider { padding: 120px 0 58px; }
.bn-hero-slider__track { min-height: 548px; }
.bn-hero-slide {
  min-height: 548px;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: 46px;
  align-items: center;
}
.bn-hero-slide__content {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bn-hero-slide__content h1,
.bn-hero-slide__title {
  min-height: 2.22em;
  display: flex;
  align-items: flex-end;
  margin: 0;
  font-size: clamp(48px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -.052em;
}
.bn-hero-copy {
  min-height: 3.35em;
  max-width: 640px;
  margin: 18px 0 24px;
  font-size: 17px;
  line-height: 1.65;
}
.bn-hero-actions { min-height: 48px; align-items: center; }
.bn-hero-note { min-height: 26px; margin-top: 20px; }
.bn-hero-slide__visual { min-height: 470px; align-items: center; }
.bn-network-card--compact,
.bn-hero-photo {
  width: min(100%, 520px);
  height: 440px;
  min-height: 440px;
  aspect-ratio: 13 / 11;
}
.bn-hero-photo { overflow: hidden; border-radius: 28px; box-shadow: 0 30px 80px rgba(8,30,111,.18); }
.bn-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.bn-hero-slider__controls { margin-top: 18px; }

/* Homepage cards and buttons */
.bn-feature-card { padding: 25px; }
.bn-feature-card h3 { font-size: 21px; }
.bn-package { padding: 24px; }
.bn-package-speed { font-size: 44px; }
.bn-package ul { min-height: 138px; }
.bn-btn { min-height: 46px; padding: 11px 19px; border-radius: 12px; font-size: 14px; }
.bn-trust-item { min-height: 92px; padding: 18px 20px; }
.bn-cta { padding-bottom: 78px; }
.bn-cta-box { padding: 40px; }
.bn-cta-box h2 { font-size: clamp(30px, 3.5vw, 43px); }

/* Internal page hero */
.bn-page-hero { padding: 122px 0 68px; }
.bn-page-hero h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1.06; }
.bn-page-hero p { margin: 17px 0 24px; font-size: 17px; }
.bn-page-hero--compact { padding: 112px 0 58px; }
.bn-page-hero--compact .bn-page-hero-grid { gap: 42px; }
.bn-page-hero--compact h1 { max-width: 720px; font-size: clamp(38px, 4.8vw, 54px); }
.bn-services-hero-summary {
  display: grid;
  gap: 9px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
}
.bn-services-hero-summary strong { margin-bottom: 7px; font-size: 24px; }
.bn-services-hero-summary span { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.82); }

/* Services hub */
.bn-services-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.bn-service-overview-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--bn-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(13,34,113,.07);
}
.bn-service-overview-card__index { color: var(--bn-orange); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.bn-service-overview-card h2 { margin: 12px 0 8px; font-size: 27px; line-height: 1.12; letter-spacing: -.035em; }
.bn-service-overview-card p { margin: 0; color: var(--bn-muted); font-size: 15px; }
.bn-service-overview-card ul { display: grid; gap: 7px; margin: 18px 0 24px; padding: 0; list-style: none; color: #3d4964; font-size: 14px; }
.bn-service-overview-card li::before { content: "✓"; margin-right: 8px; color: #20a56c; font-weight: 900; }
.bn-card-actions { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.bn-package-grid--compact .bn-package { min-height: 0; }
.bn-package-grid--compact .bn-package .bn-btn { margin-top: 20px; width: 100%; }

/* Footer slightly tighter */
.bn-footer { padding-top: 58px; }
.bn-footer-grid--v2 { gap: 34px; }
.bn-footer-bottom { margin-top: 40px; }

@media (max-width: 1024px) {
  .bn-hero-slider__track { min-height: 930px; }
  .bn-hero-slide {
    min-height: 930px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
  }
  .bn-hero-slide__content { min-height: 410px; }
  .bn-hero-slide__visual { min-height: 420px; justify-content: center; }
  .bn-network-card--compact,
  .bn-hero-photo { height: 410px; min-height: 410px; }
  .bn-services-page-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .bn-container { width: min(calc(100% - 24px), var(--bn-container)); }
  .bn-section,
  .bn-section--compact { padding: 54px 0; }
  .bn-nav { min-height: 64px; }
  .bn-brand img { width: 168px; }
  .bn-nav-links { inset: 64px 12px auto; max-height: calc(100vh - 82px); }
  .bn-menu-toggle { width: 42px; height: 42px; }
  .bn-hero-slider { padding: 94px 0 44px; }
  .bn-hero-slider__track { min-height: 790px; }
  .bn-hero-slide { min-height: 790px; gap: 18px; }
  .bn-hero-slide__content { min-height: 370px; }
  .bn-hero-slide__content h1,
  .bn-hero-slide__title {
    min-height: 2.5em;
    font-size: clamp(35px, 10vw, 43px);
    line-height: 1.08;
  }
  .bn-hero-copy { min-height: 4.8em; margin: 14px 0 19px; font-size: 15px; }
  .bn-hero-actions { min-height: 102px; align-content: flex-start; }
  .bn-hero-actions .bn-btn { flex: 1 1 100%; }
  .bn-hero-note { display: none; }
  .bn-hero-slide__visual { min-height: 350px; }
  .bn-network-card--compact,
  .bn-hero-photo { height: 340px; min-height: 340px; border-radius: 22px; }
  .bn-card-content { padding: 25px; }
  .bn-page-hero,
  .bn-page-hero--compact { padding: 94px 0 48px; }
  .bn-page-hero h1,
  .bn-page-hero--compact h1 { font-size: clamp(33px, 10vw, 41px); }
  .bn-page-hero p { font-size: 15px; }
  .bn-services-page-grid { grid-template-columns: 1fr; }
  .bn-service-overview-card { padding: 22px; }
  .bn-card-actions { align-items: flex-start; flex-direction: column; }
  .bn-cta-box { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bn-hero-slide { transition: none; }
}

/* =========================================================
   Baharinet Ultimate 5.1 production refinements
   ========================================================= */
.bn-nav{min-height:64px;gap:18px}
.bn-site-header.is-scrolled .bn-nav{min-height:64px}
.bn-brand img{width:180px}
.bn-nav-links{gap:21px;font-size:14px}
.bn-header-contact{min-height:42px;padding:9px 16px}
.bn-title{font-size:clamp(30px,3.5vw,40px)}
.bn-section{padding:68px 0}
.bn-section--compact{padding:56px 0}
.bn-page-hero,.bn-page-hero--compact{padding:100px 0 52px}
.bn-page-hero h1,.bn-page-hero--compact h1{font-size:clamp(36px,4.5vw,48px)}
.bn-hero-slider{padding:106px 0 48px;cursor:grab}
.bn-hero-slider.is-grabbing{cursor:grabbing;user-select:none}
.bn-hero-slider__track{min-height:510px}
.bn-hero-slide{min-height:510px;grid-template-columns:minmax(0,1.03fr) minmax(360px,.97fr);gap:40px}
.bn-hero-slide.is-active{transform:translateX(var(--bn-drag-x,0));transition:opacity .45s ease,transform .18s ease}
.bn-hero-slider.is-dragging .bn-hero-slide.is-active{transition:none}
.bn-hero-slide__content{min-height:430px}
.bn-hero-slide__content h1,.bn-hero-slide__title{min-height:2.15em;font-size:clamp(44px,4.8vw,56px)}
.bn-hero-copy{min-height:3.3em;font-size:16px}
.bn-hero-slide__visual{min-height:420px}
.bn-network-card--compact,.bn-hero-photo{height:400px;min-height:400px}
.bn-v40-quick-coverage{margin-top:-36px;padding-bottom:24px}
.bn-area-compact{background:#07174d;color:#fff}
.bn-area-compact__inner{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr) auto;gap:28px;align-items:center}
.bn-area-compact .bn-title{max-width:650px;color:#fff;font-size:clamp(28px,3vw,38px)}
.bn-area-compact .bn-copy{color:rgba(255,255,255,.7)}
.bn-area-compact__regions{display:grid;gap:9px}
.bn-area-compact__regions span{display:block;padding:10px 12px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.07);font-size:14px;font-weight:750}
.bn-area-compact__actions{display:flex;flex-direction:column;gap:10px}
.bn-area-compact .bn-btn--ghost{border-color:rgba(255,255,255,.22);color:#fff;background:rgba(255,255,255,.08)}
.bn-cta-box--compact{padding:28px}.bn-cta-box--compact h2{font-size:30px}
.bn-faq-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px;align-items:start}
.bn-faq-categories{position:sticky;top:88px;display:grid;gap:5px;padding:10px;border:1px solid var(--bn-border);border-radius:16px;background:#fff}
.bn-faq-categories a{padding:9px 11px;border-radius:10px;color:#52607a;font-size:13px;font-weight:750}.bn-faq-categories a:hover,.bn-faq-categories a.is-active{background:#edf1ff;color:var(--bn-blue)}
.bn-faq-groups{display:grid;gap:38px}.bn-faq-group{scroll-margin-top:90px}.bn-faq-group .bn-section-heading h2{margin:0;font-size:28px}
.bn-game-hero{position:relative;overflow:hidden;padding:108px 0 58px;color:#fff;background:radial-gradient(circle at 80% 20%,rgba(63,92,255,.28),transparent 33%),radial-gradient(circle at 20% 90%,rgba(255,101,0,.2),transparent 28%),#050d2b}
.bn-game-hero::before{content:"";position:absolute;inset:0;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 92%)}
.bn-game-hero__grid{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}.bn-game-hero h1{max-width:720px;margin:0;font-size:clamp(40px,5vw,54px);line-height:1.04;letter-spacing:-.05em}.bn-game-hero p{max-width:660px;margin:18px 0 24px;color:rgba(255,255,255,.72);font-size:16px}.bn-game-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.bn-game-chips span{padding:7px 10px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;font-weight:750}
.bn-game-console{padding:26px;border:1px solid rgba(255,255,255,.16);border-radius:26px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.04));box-shadow:0 30px 90px rgba(0,0,0,.28);backdrop-filter:blur(12px)}
.bn-game-console__screen{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(93,119,255,.35);border-radius:20px;background:radial-gradient(circle,rgba(32,58,211,.55),#050c31 66%);text-align:center}.bn-game-console__screen span{color:#72e2ae;font-size:11px;font-weight:900;letter-spacing:.16em}.bn-game-console__screen strong{margin:8px 0 4px;font-size:42px;letter-spacing:-.05em}.bn-game-console__screen small{color:#aab6e8}.bn-game-console__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.bn-game-console__stats div{padding:12px;border-radius:12px;background:rgba(255,255,255,.07);text-align:center}.bn-game-console__stats b,.bn-game-console__stats span{display:block}.bn-game-console__stats span{color:#aeb8dc;font-size:11px}
.bn-game-activity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.bn-game-activity-grid article{padding:22px;border:1px solid var(--bn-border);border-radius:18px;background:#fff;box-shadow:0 14px 38px rgba(13,34,113,.06)}.bn-game-activity-grid article>span{font-size:26px}.bn-game-activity-grid h3{margin:10px 0 7px;font-size:20px}.bn-game-activity-grid p{margin:0;color:var(--bn-muted);font-size:14px}.bn-game-package{position:relative;overflow:hidden}.bn-game-package::after{content:"";position:absolute;inset:auto -30px -50px auto;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(19,43,232,.14),transparent 70%);pointer-events:none}
@media(max-width:1024px){.bn-area-compact__inner{grid-template-columns:1fr 1fr}.bn-area-compact__actions{grid-column:1/-1;flex-direction:row}.bn-game-hero__grid{grid-template-columns:1fr}.bn-game-console{max-width:620px}.bn-game-activity-grid{grid-template-columns:repeat(2,1fr)}.bn-faq-layout{grid-template-columns:1fr}.bn-faq-categories{position:static;display:flex;overflow:auto}}
@media(max-width:767px){.bn-nav{min-height:58px}.bn-site-header.is-scrolled .bn-nav{min-height:58px}.bn-brand img{width:154px}.bn-nav-links{inset:58px 10px auto}.bn-hero-slider{padding:84px 0 38px}.bn-hero-slider__track{min-height:710px}.bn-hero-slide{min-height:710px;grid-template-columns:1fr}.bn-hero-slide__content{min-height:330px}.bn-hero-slide__content h1,.bn-hero-slide__title{min-height:2.35em;font-size:clamp(31px,9vw,38px)}.bn-hero-copy{font-size:15px}.bn-hero-slide__visual{min-height:310px}.bn-network-card--compact,.bn-hero-photo{height:300px;min-height:300px}.bn-area-compact__inner{grid-template-columns:1fr}.bn-area-compact__actions{grid-column:auto;flex-direction:column}.bn-game-hero{padding:88px 0 44px}.bn-game-hero h1{font-size:clamp(32px,10vw,40px)}.bn-game-console{padding:16px}.bn-game-console__screen{min-height:210px}.bn-game-console__screen strong{font-size:32px}.bn-game-activity-grid{grid-template-columns:1fr}.bn-page-hero,.bn-page-hero--compact{padding:84px 0 42px}.bn-page-hero h1,.bn-page-hero--compact h1{font-size:clamp(30px,9vw,36px)}}
@media(prefers-reduced-motion:reduce){.bn-hero-slider{cursor:default}.bn-hero-slide.is-active{transform:none!important}}

/* Baharinet Ultimate 5.1 — production stabilization */
.bn-hero-slider__shell {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.bn-hero-slider__shell.is-grabbing,
.bn-hero-slider__shell.is-dragging,
.bn-hero-slider.is-grabbing,
.bn-hero-slider.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.bn-hero-slider__track {
  min-height: 520px;
  display: flex;
  align-items: stretch;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.bn-hero-slide,
.bn-hero-slide.is-active {
  position: relative;
  inset: auto;
  flex: 0 0 100%;
  width: 100%;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0,1.03fr) minmax(360px,.97fr);
  align-items: center;
  gap: 40px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: none;
}
.bn-hero-slide[aria-hidden="true"] { pointer-events: none; }
.bn-hero-slide__content { min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.bn-hero-slide__content h1,
.bn-hero-slide__title { min-height: 2.18em; margin-bottom: 16px; font-size: clamp(42px,4.6vw,54px); line-height: 1.05; }
.bn-hero-copy { min-height: 3.35em; }
.bn-hero-actions { min-height: 48px; align-items: center; }
.bn-hero-slide__visual { min-height: 420px; }
.bn-hero-slider__controls { position: relative; z-index: 5; }

@media (max-width: 1024px) {
  .bn-hero-slider__track { min-height: 780px; }
  .bn-hero-slide,
  .bn-hero-slide.is-active { min-height: 780px; grid-template-columns: 1fr; gap: 20px; }
  .bn-hero-slide__content { min-height: 340px; }
  .bn-hero-slide__visual { min-height: 330px; justify-content: center; }
}

@media (max-width: 767px) {
  .bn-hero-slider__track { min-height: 690px; }
  .bn-hero-slide,
  .bn-hero-slide.is-active { min-height: 690px; }
  .bn-hero-slide__content { min-height: 320px; }
  .bn-hero-slide__content h1,
  .bn-hero-slide__title { min-height: 2.35em; font-size: clamp(30px,8.8vw,37px); }
  .bn-hero-copy { min-height: 4.6em; }
  .bn-hero-slide__visual { min-height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  .bn-hero-slider__track { transition: none !important; }
}

/* =========================================================
   Baharinet Ultimate 5.3 — functional integrity refinements
   ========================================================= */
.bn-site-header .bn-nav { min-height: 64px; }
.bn-site-header.is-scrolled .bn-nav { min-height: 62px; }
.bn-brand img { width: 178px; height: auto; }
.bn-nav-links { font-size: 13.5px; }
.bn-header-contact { min-height: 40px; padding: 8px 16px; }

.bn-hero-slider__shell { touch-action: pan-y; overscroll-behavior-x: contain; }
.bn-hero-slider__track {
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.bn-hero-slide { backface-visibility: hidden; transform: translateZ(0); }
.bn-hero-slider.is-dragging,
.bn-hero-slider.is-grabbing { cursor: grabbing; }
.bn-hero-slider.is-dragging a,
.bn-hero-slider.is-dragging button { pointer-events: none; }

.bn-page-hero h1,
.bn-page-hero--compact h1 { font-size: clamp(36px, 4.4vw, 50px); }
.bn-title { font-size: clamp(31px, 3.6vw, 42px); }

@media (max-width: 767px) {
  .bn-site-header .bn-nav,
  .bn-site-header.is-scrolled .bn-nav { min-height: 58px; }
  .bn-brand img { width: 150px; }
  .bn-page-hero h1,
  .bn-page-hero--compact h1 { font-size: clamp(29px, 8.8vw, 35px); }
  .bn-title { font-size: clamp(27px, 8vw, 32px); }
}
