/* Business Partner — Brand-aligned stylesheet
   Colors, logo rules and type per approved Brand Guidelines (Notion).
   Primary Navy #0B1B5A · White #FFFFFF · Light Gray #F5F6FA · Dark Gray #1F2430 */

:root {
  --navy: #0B1B5A;
  --navy-700: #13246e;
  --navy-900: #081345;
  --white: #FFFFFF;
  --gray-bg: #F5F6FA;
  --gray-line: #E4E7F0;
  --text: #1F2430;
  --text-soft: #4a4f5e;
  --shadow-sm: 0 1px 3px rgba(11, 27, 90, 0.06);
  --shadow: 0 8px 30px rgba(11, 27, 90, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 27, 90, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --wa: #25D366;
  --maxw: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: "IBM Plex Sans Arabic", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--navy-700); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-soft); }

.wordmark-en { font-family: "Playfair Display", Georgia, serif; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  color: var(--navy); background: rgba(11,27,90,.07); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: inherit; font-size: 1rem;
  font-weight: 700; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-700); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { color: var(--navy-700); }
.btn-wa { background: var(--wa); color: #05330f; }
.btn-wa:hover { background: #1fbe5b; color: #05330f; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn svg { width: 20px; height: 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--gray-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 18px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--text); font-weight: 600; font-size: .98rem; padding: 8px 13px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--navy); background: var(--gray-bg); }
.nav a.active { color: var(--navy); background: rgba(11,27,90,.08); }
.nav-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; background:
   radial-gradient(1200px 500px at 85% -10%, rgba(19,36,110,.10), transparent 60%),
   linear-gradient(180deg, #fff 0%, var(--gray-bg) 100%); overflow: hidden; }
.hero-inner { padding: 78px 0 84px; max-width: 820px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.22rem; color: var(--text-soft); margin-bottom: 34px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tagline { font-family: "Playfair Display", Georgia, serif; font-style: italic; color: var(--navy);
  font-size: 1.05rem; margin-bottom: 22px; opacity: .85; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--navy); font-size: .96rem; }
.hero-badge svg { width: 20px; height: 20px; color: var(--wa); }

/* Grid + cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11,27,90,.18); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card-icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(11,27,90,.08); color: var(--navy); margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 16px; font-size: .95rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(-4px); }

/* Service card (catalog) */
.svc-card { display: flex; flex-direction: column; height: 100%; }
.svc-card .tag { align-self: flex-start; font-size: .74rem; font-weight: 700; color: var(--navy);
  background: rgba(11,27,90,.07); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.svc-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.svc-card .desc { font-size: .93rem; flex: 1; margin-bottom: 16px; }
.svc-card .price { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.svc-card .price-soft { font-weight: 700; color: var(--text-soft); font-size: .86rem; }
.price-tailored { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.svc-card .code { font-size: .72rem; color: #8a90a2; letter-spacing: .04em; }
.svc-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px;
  padding-top: 16px; border-top: 1px solid var(--gray-line); }

/* Why / features */
.feature { text-align: right; }

/* Agent highlight */
.agent { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; border-radius: var(--radius-lg);
  padding: 56px; box-shadow: var(--shadow-lg); }
.agent h2 { color: #fff; margin-bottom: 18px; }
.agent p { color: rgba(255,255,255,.86); font-size: 1.1rem; }
.agent-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.agent-list { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.agent-list li { display: flex; align-items: flex-start; gap: 11px; color: #fff; font-weight: 600; }
.agent-list svg { width: 22px; height: 22px; color: var(--wa); flex-shrink: 0; margin-top: 2px; }
.agent-visual { text-align: center; }
.agent-visual .bubble { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px; padding: 22px; text-align: right; }
.agent-visual .bubble + .bubble { margin-top: 14px; }
.agent-visual .bubble span { display: block; font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.agent-visual .bubble.me { background: var(--wa); color: #05330f; border-color: transparent; }
.agent-visual .bubble.me span { color: rgba(5,51,15,.6); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--navy); line-height: 1.1; }
.section--navy .stat .num { color: #fff; }
.stat .lbl { color: var(--text-soft); font-weight: 600; margin-top: 6px; }
.section--navy .stat .lbl { color: rgba(255,255,255,.8); }

/* Testimonials */
.quote { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 28px; }
.quote p { color: var(--text); font-size: 1.02rem; margin-bottom: 18px; }
.quote .who { font-weight: 700; color: var(--navy); }
.quote .role { font-size: .85rem; color: var(--text-soft); }
.quote::before { content: "”"; font-family: "Playfair Display", serif; font-size: 3rem; color: rgba(11,27,90,.15); line-height: 0; display: block; height: 26px; }

/* Packages */
/* Packages tabs */
.pk-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; background: var(--gray-bg);
  border: 1px solid var(--gray-line); border-radius: 999px; padding: 6px; max-width: 640px; margin: 0 auto 34px; }
.pk-tab { flex: 1; min-width: 150px; padding: 11px 18px; border: 0; background: none; border-radius: 999px;
  font: inherit; font-weight: 700; color: var(--text-soft); cursor: pointer; white-space: nowrap; transition: all .18s; }
.pk-tab.active { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.pk-panel { display: none; }
.pk-panel.active { display: block; }
.pk-group-desc { text-align: center; color: var(--text-soft); margin: -6px auto 28px; max-width: 640px; }

.pkg { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.pkg.pop { border-color: var(--navy); box-shadow: var(--shadow); position: relative; }
.pkg.pop::before { content: "الأكثر طلباً"; position: absolute; top: -14px; inset-inline-start: 28px;
  background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.pkg .pk-name { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.pkg .pk-name small { font-family: "Playfair Display", serif; font-weight: 600; font-size: .95rem; color: var(--text-soft); display: block; margin-top: 2px; }
.pkg .pk-price { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-top: 14px; }
.pkg .pk-price-sub { display: block; font-size: .78rem; font-weight: 600; color: var(--text-soft); margin-top: 2px; }
.pkg .pk-price--quote { font-size: 1.15rem; color: var(--wa); }

/* AI agents — how it works steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.step-n { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .92rem; }
@media (max-width: 960px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.pkg .pk-for { color: var(--text-soft); margin: 10px 0 20px; font-size: .96rem; }
.pkg ul { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.pkg li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--text); }
.pkg li svg { width: 20px; height: 20px; color: var(--wa); flex-shrink: 0; margin-top: 3px; }

/* Service detail (seven-part) */
.svc-hero { background: var(--gray-bg); border-bottom: 1px solid var(--gray-line); padding: 46px 0; }
.breadcrumb { font-size: .86rem; color: var(--text-soft); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--navy); }
.svc-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 26px; }
.svc-meta .chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--gray-line);
  border-radius: 999px; padding: 8px 15px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.svc-meta .chip svg { width: 17px; height: 17px; color: var(--navy); }
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; padding: 64px 0; }
.svc-main > section { margin-bottom: 44px; }
.svc-main h2 { font-size: 1.5rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-line); }
.doc-list, .feat-list { list-style: none; display: grid; gap: 12px; }
.doc-list li, .feat-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--gray-bg);
  border-radius: 10px; padding: 14px 16px; }
.doc-list li svg, .feat-list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.doc-list li svg { color: var(--navy); }
.feat-list li svg { color: var(--wa); }
.feat-list { grid-template-columns: 1fr 1fr; }
.faq-item { border: 1px solid var(--gray-line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: right; background: none; border: 0; font-family: inherit; font-size: 1.02rem;
  font-weight: 700; color: var(--navy); padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .2s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.faq-item.open .faq-a { padding: 0 20px 18px; max-height: 400px; }
.faq-a p { color: var(--text-soft); }

.callout { display: flex; gap: 14px; align-items: flex-start; background: rgba(11,27,90,.05);
  border: 1px solid rgba(11,27,90,.14); border-inline-start: 4px solid var(--navy); border-radius: 12px; padding: 20px 22px; }
.callout .ico { font-size: 1.4rem; line-height: 1; }
.callout p { color: var(--text); margin: 0; }
.callout strong { color: var(--navy); }

/* Sidebar (sticky order box) */
.svc-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.order-box { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.order-box .price-big { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.order-box .price-note { font-size: .84rem; color: var(--text-soft); margin: 8px 0 20px; }
.order-box .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.order-box .mini { font-size: .82rem; color: var(--text-soft); text-align: center; margin-top: 8px; }
.order-facts { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-line); display: grid; gap: 12px; }
.order-facts li { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; }
.order-facts .k { color: var(--text-soft); }
.order-facts .v { color: var(--navy); font-weight: 700; text-align: left; }

/* Services index */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.cat-nav a { font-size: .9rem; font-weight: 600; color: var(--navy); background: var(--gray-bg);
  border: 1px solid var(--gray-line); padding: 8px 16px; border-radius: 999px; }
.cat-nav a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-block { margin-bottom: 60px; scroll-margin-top: calc(var(--header-h) + 20px); }
.cat-block h2 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cat-block h2 .count { font-size: .95rem; font-weight: 600; color: var(--text-soft); }
.cat-block > p { margin-bottom: 26px; }

/* Category hub cards (services index) */
.cat-card { display: flex; flex-direction: column; height: 100%; text-align: start; }
.cat-card-icon { font-size: 2.1rem; line-height: 1; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--navy); }
.cat-card .desc { font-size: .92rem; color: var(--text-soft); flex: 1; margin-bottom: 16px; }
.cat-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cat-card .count-pill { font-size: .78rem; font-weight: 700; color: var(--navy); background: var(--gray-bg);
  border: 1px solid var(--gray-line); padding: 4px 12px; border-radius: 999px; }
.cat-card .card-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--navy); font-size: .9rem; }
.cat-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy);
  font-size: .9rem; margin-bottom: 14px; }
.back-link svg { width: 15px; height: 15px; transform: rotate(180deg); }
.cat-other { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--gray-line); }
.cat-other h2 { font-size: 1.15rem; margin-bottom: 14px; }

/* Calculator */
.calc-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.calc-form { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 9px; font-size: .96rem; }
.field select, .field input, .field textarea { width: 100%; font-family: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--gray-line); border-radius: 11px; background: var(--white); transition: border-color .15s ease; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.calc-result { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 32px; position: sticky; top: calc(var(--header-h) + 20px); }
.calc-result h3 { color: #fff; margin-bottom: 20px; }
.calc-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.calc-line .k { color: rgba(255,255,255,.8); }
.calc-line .v { font-weight: 700; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; }
.calc-total .k { font-weight: 700; }
.calc-total .v { font-size: 1.8rem; font-weight: 800; }
.calc-note { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 14px; line-height: 1.6; }
.calc-result .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 20px; margin: 26px 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(11,27,90,.08); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list .k { font-size: .82rem; color: var(--text-soft); }
.info-list .v { font-weight: 700; color: var(--navy); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-line); margin-top: 12px; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }
.form-note { font-size: .85rem; color: var(--text-soft); margin-top: 10px; }

/* Knowledge article cards */
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card .tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .74rem;
  font-weight: 700; color: var(--navy); background: rgba(11,27,90,.07); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.article-card .tag svg { width: 14px; height: 14px; }
.article-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.article-card .desc { font-size: .93rem; flex: 1; margin-bottom: 14px; }

/* News platform update cards */
.update-head { margin-bottom: 12px; }
.update-badge { display: inline-block; font-size: .82rem; font-weight: 700; color: #fff; background: var(--navy);
  padding: 5px 14px; border-radius: 999px; }

/* Careers path switch */
.path-switch { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.path-switch .btn svg { width: 20px; height: 20px; }
/* Talent platform choice cards */
.talent-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; max-width: 640px; }
.talent-card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: var(--white);
  border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .16s, border-color .2s; }
.talent-card:hover { transform: translateY(-3px); border-color: var(--navy); }
.talent-card .tc-ico { font-size: 1.9rem; margin-bottom: 6px; }
.talent-card strong { color: var(--navy); font-size: 1.15rem; }
.talent-card span { color: var(--text-soft); font-size: .92rem; }
.talent-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
@media (max-width: 560px) { .talent-choose { grid-template-columns: 1fr; } }
#employers, #seekers { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Trust band emphasis */
.trust-band .stat .num { font-size: clamp(2.2rem, 5vw, 3.2rem); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; border-radius: var(--radius-lg);
  padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 560px; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer-logo img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer p { color: rgba(255,255,255,.7); font-size: .95rem; }
.footer-tag { font-family: "Playfair Display", serif; font-style: italic; color: rgba(255,255,255,.85); margin-top: 10px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 9px; margin-bottom: 12px; font-size: .93rem; color: rgba(255,255,255,.8); }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: rgba(255,255,255,.6); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: .86rem; color: rgba(255,255,255,.6); }

/* WhatsApp floating */
.wa-fab { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #05330f; font-weight: 700; padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .15s ease; }
.wa-fab:hover { transform: translateY(-3px); color: #05330f; }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab .lbl { font-size: .96rem; }

/* Utility */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.lead-p { font-size: 1.15rem; color: var(--text-soft); }
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 1280px) {
  .nav a { padding: 8px 9px; font-size: .9rem; }
  .header-cta .btn-ghost, .header-cta > .btn-primary { display: none; }
  .lang-toggle .lang-label { display: none; }
}
@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .header-inner { gap: 10px; }
  .nav.open { display: flex; position: absolute; top: var(--header-h); inset-inline: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--gray-line); padding: 14px 22px; gap: 4px; box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open a { padding: 12px; width: 100%; font-size: 1rem; }
  .nav.open .nav-cta { display: inline-flex; justify-content: center; margin-top: 8px; }
}
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .agent-inner { grid-template-columns: 1fr; gap: 30px; }
  .svc-layout { grid-template-columns: 1fr; gap: 30px; }
  .svc-aside { position: static; }
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .agent { padding: 34px 24px; }
  .cta-band, .agent { padding: 36px 22px; }
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .logo img { height: 30px; }
  .header-inner { gap: 10px; }
  .nav.open { display: flex; position: absolute; top: var(--header-h); inset-inline: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--gray-line); padding: 14px 22px; gap: 4px; box-shadow: var(--shadow); }
  .nav.open a { padding: 12px; width: 100%; }
  .nav.open .nav-cta { display: inline-flex; justify-content: center; margin-top: 8px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .feat-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 54px 0 60px; }
  .wa-fab .lbl { display: none; }
  .wa-fab { padding: 14px; }
  .section-head { margin-bottom: 38px; }
}

/* Saudi — government entities directory */
.entity-card { display: flex; flex-direction: column; height: 100%; }
.entity-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.entity-head h3 { font-size: 1.1rem; }
.entity-gov { font-size: .74rem; font-weight: 700; color: var(--navy); background: rgba(11,27,90,.07); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.entity-card .desc { font-size: .92rem; margin-bottom: 8px; }
.entity-card .desc strong { color: var(--navy); }
.entity-card .card-link { margin-top: auto; }

/* المستشار — advisor chatbot widget */
.advisor-fab { position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy); color: #fff; font-family: inherit; font-weight: 700; border: 0; padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(11,27,90,.4); cursor: pointer; transition: transform .15s ease; }
.advisor-fab:hover { transform: translateY(-3px); }
.advisor-fab svg { width: 24px; height: 24px; }
.advisor-fab.hide { display: none; }
.advisor-panel { position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 90; width: 370px; max-width: calc(100vw - 44px);
  height: 560px; max-height: calc(100vh - 44px); background: #fff; border: 1px solid var(--gray-line); border-radius: 20px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.advisor-panel[hidden] { display: none; }
.advisor-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px;
  background: var(--navy); color: #fff; }
.advisor-title { display: flex; align-items: center; gap: 11px; }
.advisor-title svg { width: 26px; height: 26px; }
.advisor-title strong { display: block; font-size: 1rem; }
.advisor-title span { font-size: .78rem; color: rgba(255,255,255,.75); }
.advisor-close { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 9px; cursor: pointer; display: grid; place-items: center; }
.advisor-close svg { width: 18px; height: 18px; }
.advisor-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--gray-bg); }
.advisor-msg { max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: .93rem; line-height: 1.7; white-space: pre-wrap; word-wrap: break-word; }
.advisor-msg.bot { background: #fff; border: 1px solid var(--gray-line); color: var(--text); align-self: flex-start; border-bottom-inline-start-radius: 4px; }
.advisor-msg.me { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-inline-end-radius: 4px; }
.advisor-msg.typing { color: var(--text-soft); font-style: italic; }
.advisor-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--gray-line); background: #fff; }
.advisor-form input { flex: 1; font-family: inherit; font-size: .95rem; padding: 11px 14px; border: 1.5px solid var(--gray-line); border-radius: 12px; }
.advisor-form input:focus { outline: none; border-color: var(--navy); }
.advisor-form button { background: var(--navy); color: #fff; border: 0; width: 44px; border-radius: 12px; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.advisor-form button:disabled { opacity: .5; cursor: default; }
.advisor-form button svg { width: 20px; height: 20px; }
.advisor-wa { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; font-size: .84rem; font-weight: 600;
  color: #05330f; background: var(--wa); text-align: center; }
.advisor-wa svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .advisor-panel { inset-inline: 10px; width: auto; bottom: 10px; height: calc(100vh - 20px); max-height: none; border-radius: 16px; }
  .advisor-fab .lbl { display: none; }
  .advisor-fab { padding: 14px; inset-inline-start: 16px; bottom: 16px; }
  .wa-fab { inset-inline-end: 16px; bottom: 16px; }
}

/* ============ Commerce / portal / i18n (added) ============ */
/* Language toggle + header icons */
.lang-toggle { display: inline-flex; align-items: center; gap: 7px; background: var(--gray-bg); border: 1px solid var(--gray-line);
  border-radius: 999px; padding: 5px 12px 5px 8px; cursor: pointer; color: var(--navy); font: inherit; font-size: .9rem; font-weight: 600; }
.lang-toggle:hover { background: #eceffa; }
.lang-toggle svg { border-radius: 3px; display: block; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 12px; color: var(--navy); border: 1px solid var(--gray-line); background: var(--white); }
.icon-btn:hover { background: var(--gray-bg); color: var(--navy); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-badge { position: absolute; top: -6px; inset-inline-end: -6px; background: var(--navy); color: #fff; font-size: .68rem;
  min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 700; }
.cart-badge[hidden] { display: none; }

/* Buy / add-to-cart rows */
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 6px; }
.buy-row .btn { flex: 1 1 auto; justify-content: center; }
.add-cart svg { width: 18px; height: 18px; }

/* Small hero variant */
.hero--sm { padding: 48px 0 28px; }

/* Cart / checkout layout */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.cart-aside .order-box { position: sticky; top: calc(var(--header-h) + 16px); }
.cart-item { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--gray-line); }
.ci-main { display: flex; flex-direction: column; gap: 3px; }
.ci-kind { font-size: .8rem; color: var(--text-soft); }
.ci-qty { display: inline-flex; align-items: center; gap: 10px; }
.ci-qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--gray-line); background: var(--white); cursor: pointer; color: var(--navy); font-size: 1rem; }
.ci-price { font-weight: 700; color: var(--navy); white-space: nowrap; }
.ci-del { background: none; border: 0; cursor: pointer; color: #b0263b; font-size: 1rem; }
.cart-empty { text-align: center; padding: 40px 0; }
.cart-empty p { margin-bottom: 18px; }
.co-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: .95rem; border-bottom: 1px dashed var(--gray-line); }

/* Bank box */
.bank-box { background: var(--gray-bg); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 18px 20px; margin: 8px 0 20px; }
.bank-head { display: flex; align-items: center; gap: 10px; color: var(--navy); margin-bottom: 12px; }
.bank-head svg { width: 22px; height: 22px; }
.bank-list { list-style: none; }
.bank-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--gray-line); }
.bank-list .k { color: var(--text-soft); }
.bank-list .v { font-weight: 600; color: var(--navy); }

/* File drop */
.file-drop { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.5px dashed var(--gray-line);
  border-radius: var(--radius); cursor: pointer; color: var(--text-soft); transition: border-color .15s, background .15s; }
.file-drop:hover { border-color: var(--navy); background: var(--gray-bg); }
.file-drop.has-file { border-color: var(--wa); color: var(--text); background: #f2fbf5; }
.file-ico svg { width: 24px; height: 24px; color: var(--navy); }
.file-text { font-size: .95rem; }

/* Form success */
.form-success { background: #f2fbf5; border: 1px solid #bfe8cd; color: #14663a; border-radius: var(--radius); padding: 14px 16px; margin-top: 14px; }

/* Account portal */
.account-wrap { max-width: 460px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.auth-tabs { display: flex; gap: 6px; background: var(--gray-bg); padding: 5px; border-radius: 12px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 10px; border: 0; background: none; border-radius: 9px; cursor: pointer; font: inherit; font-weight: 600; color: var(--text-soft); }
.auth-tab.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.dash-card { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 22px; }
.dash-card h3 { margin-bottom: 14px; }
.ord { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-line); }
.ord:last-child { border-bottom: 0; }
.ord-items { font-size: .88rem; margin-top: 2px; }
.ord-status { font-size: .82rem; padding: 3px 10px; border-radius: 999px; height: fit-content; white-space: nowrap; font-weight: 600; }
.ord-status.wait { background: #fff4e0; color: #9a6a08; }
.ord-status.ok { background: #eaf7ef; color: #14663a; }
.upl { padding: 8px 0; border-bottom: 1px dashed var(--gray-line); font-size: .92rem; }

/* Client dashboard (etmaam-style) */
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.dash-side { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.dash-user { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--gray-line); }
.dash-avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.dash-user strong { display: block; font-size: .95rem; }
.dash-user span { font-size: .78rem; }
.dash-nav { display: flex; flex-direction: column; gap: 3px; }
.dash-navi { display: flex; align-items: center; gap: 11px; width: 100%; text-align: start; background: none; border: 0; font: inherit; font-weight: 600; color: var(--text-soft); padding: 11px 13px; border-radius: 11px; cursor: pointer; }
.dash-navi svg { width: 18px; height: 18px; flex-shrink: 0; }
.dash-navi:hover { background: var(--gray-bg); color: var(--navy); }
.dash-navi.active { background: rgba(11,27,90,.08); color: var(--navy); }
.dash-badge { margin-inline-start: auto; background: var(--navy); color: #fff; font-size: .72rem; min-width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.dash-logout { width: 100%; margin-top: 14px; }
.dash-main { min-width: 0; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-panel-head { margin-bottom: 18px; }
.dash-panel-head h2 { margin-bottom: 4px; }
.dash-panel-head p { color: var(--text-soft); font-size: .93rem; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.dash-stat { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 18px; text-align: center; }
.dash-stat .ds-ico { font-size: 1.5rem; }
.dash-stat strong { display: block; font-size: 2rem; color: var(--navy); line-height: 1.1; margin: 4px 0; }
.dash-stat span:last-child { font-size: .82rem; color: var(--text-soft); }
.dash-quick { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-empty { color: var(--text-soft); font-size: .93rem; padding: 6px 0 14px; }
.pkg-active { border-color: var(--navy); }
.pkg-tag { display: inline-block; background: #eaf7ef; color: #14663a; font-size: .74rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; margin-bottom: 8px; }
.dash-progress { height: 8px; background: var(--gray-bg); border-radius: 999px; overflow: hidden; margin-bottom: 6px; }
.dash-progress span { display: block; height: 100%; background: var(--navy); border-radius: 999px; width: 0; transition: width .35s; }
.dash-progress-label { font-size: .82rem; color: var(--text-soft); margin-bottom: 16px; }
.text-soft { color: var(--text-soft); }
.text-soft.mt-16, .mt-16 { margin-top: 16px; }

/* Toast */
.bp-toast { position: fixed; inset-inline-start: 50%; bottom: 90px; transform: translateX(-50%) translateY(12px);
  background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 1200;
  opacity: 0; transition: opacity .28s, transform .28s; font-weight: 600; pointer-events: none; }
.bp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 880px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-aside .order-box { position: static; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-navi { width: auto; }
  .dash-navi span:not(.dash-badge) { display: none; }
  .dash-navi.active span:not(.dash-badge) { display: inline; }
  .dash-stats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 1fr auto; row-gap: 8px; }
  .ci-price { grid-column: 1; }
  .lang-label { display: none; }
}

/* ============ Services calculator v2 (accordion + basket) ============ */
.calc2 { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.calc2-cats { display: flex; flex-direction: column; gap: 14px; }
.calc2-cat { border: 1px solid var(--gray-line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.calc2-cathead { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: none; border: 0; cursor: pointer; font: inherit; text-align: start; }
.calc2-cathead:hover { background: var(--gray-bg); }
.calc2-caticon { font-size: 1.5rem; line-height: 1; }
.calc2-cattitle { flex: 1; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; }
.calc2-catcount { font-weight: 500; font-size: .82rem; color: var(--text-soft); }
.calc2-chev { color: var(--navy); transition: transform .2s; }
.calc2-cathead[aria-expanded="true"] .calc2-chev { transform: rotate(180deg); }
.calc2-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; }
.calc2-chip { font-size: .74rem; background: rgba(11,27,90,.06); color: var(--navy); padding: 3px 10px; border-radius: 999px; }
.calc2-list { border-top: 1px solid var(--gray-line); }
.calc2-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 18px; background: none; border: 0; border-bottom: 1px solid var(--gray-line); cursor: pointer; font: inherit; text-align: start; }
.calc2-item:last-child { border-bottom: 0; }
.calc2-item:hover { background: var(--gray-bg); }
.calc2-check { width: 20px; height: 20px; border: 2px solid var(--gray-line); border-radius: 6px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.calc2-item.on .calc2-check { background: var(--navy); border-color: var(--navy); }
.calc2-item.on .calc2-check::after { content: "✓"; color: #fff; font-size: .8rem; font-weight: 700; }
.calc2-iname { flex: 1; color: var(--text); }
.calc2-item.on .calc2-iname { color: var(--navy); font-weight: 600; }
.calc2-iprice { color: var(--text-soft); font-size: .9rem; white-space: nowrap; font-weight: 600; }
.calc2-cart .calc2-box { position: sticky; top: calc(var(--header-h) + 16px); }
.calc2-selected { margin-bottom: 18px; max-height: 320px; overflow-y: auto; }
.calc2-empty { color: var(--text-soft); font-size: .92rem; padding: 8px 0; }
.calc2-sel { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--gray-line); }
.calc2-sel > span:first-child { flex: 1; font-size: .92rem; }
.calc2-selp { font-size: .82rem; color: var(--navy); font-weight: 600; white-space: nowrap; }
.calc2-rm { background: none; border: 0; cursor: pointer; color: #b0263b; font-size: .95rem; }
.calc2-totals { border-top: 2px solid var(--gray-line); padding-top: 14px; }
.calc2-vat .k, .calc2-vat .v { color: var(--text-soft); font-size: .88rem; }
.calc2-warn { display: flex; gap: 10px; align-items: flex-start; background: #fff8e6; border: 1px solid #f2d98a; color: #7a5b12; border-radius: 12px; padding: 12px 14px; margin: 14px 0; font-size: .88rem; }
.calc2-warn svg { width: 20px; height: 20px; flex-shrink: 0; }
.calc2-box .btn { margin-top: 10px; }
@media (max-width: 880px) {
  .calc2 { grid-template-columns: 1fr; }
  .calc2-cart .calc2-box { position: static; }
}

/* ============ Account OTP + Nafath (Business Partner 3.0) ============ */
.otp-lead { color: var(--text-soft); margin-bottom: 6px; }
.otp-lead strong { color: var(--navy); }
.otp-actions { display: flex; justify-content: space-between; margin-top: 12px; }
.linkbtn { background: none; border: 0; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; padding: 4px; }
.linkbtn:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--text-soft); font-size: .85rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--gray-line); }
.nafath-btn { width: 100%; justify-content: center; opacity: .7; cursor: not-allowed; }
.nafath-btn svg { color: #1f7a54; }

/* ============ Grouped nav dropdowns (BP 3.0) ============ */
.nav-group { position: relative; }
.nav-drop { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--text); font-weight: 600; font-size: .98rem; padding: 8px 13px; border-radius: 8px; white-space: nowrap; }
.nav-drop:hover, .nav-drop.active { color: var(--navy); background: var(--gray-bg); }
.nav-drop svg { width: 14px; height: 14px; transition: transform .18s; }
.nav-group.open .nav-drop svg { transform: rotate(180deg); }
.nav-menu { display: none; position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 230px;
  background: var(--white); border: 1px solid var(--gray-line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; z-index: 80; flex-direction: column; }
/* Click-only: the menu opens when JS adds .open. A padded hit-bridge keeps the
   pointer from dropping the menu in the gap between the button and the panel. */
.nav-group.open .nav-menu { display: flex; }
.nav-group.open::after { content: ""; position: absolute; top: 100%; inset-inline-start: 0; width: 100%; height: 10px; }
.nav-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-weight: 600; color: var(--text); white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.active { background: var(--gray-bg); color: var(--navy); }
.nav-cta.btn-primary { display: none; }
@media (max-width: 1080px) {
  .nav.open .nav-group { width: 100%; }
  .nav.open .nav-drop { width: 100%; justify-content: flex-start; padding: 12px; font-size: .82rem; color: var(--text-soft);
    letter-spacing: .06em; text-transform: uppercase; cursor: default; }
  .nav.open .nav-drop svg { display: none; }
  .nav.open .nav-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 10px 6px; min-width: 0; }
  .nav.open .nav-cta.btn-primary { display: inline-flex; justify-content: center; margin-top: 8px; }
}

/* ============ Insights & news hub ============ */
.hub { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.hub-side { position: sticky; top: calc(var(--header-h) + 16px); }
.hub-nav { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--gray-line);
  border-radius: var(--radius); padding: 10px; }
.hub-nav a { padding: 10px 14px; border-radius: 9px; font-weight: 600; color: var(--text); }
.hub-nav a:hover, .hub-nav a.active { background: var(--gray-bg); color: var(--navy); }
.hub-sec { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 20px); }
.hub-sec h2 { margin-bottom: 8px; }
.hub-sub { color: var(--text-soft); margin-bottom: 22px; max-width: 640px; }
@media (max-width: 880px) {
  .hub { grid-template-columns: 1fr; }
  .hub-side { position: sticky; top: var(--header-h); z-index: 40; }
  .hub-nav { flex-direction: row; overflow-x: auto; white-space: nowrap; border-radius: 0; border-inline: 0; margin: 0 -22px; padding: 10px 16px; }
}

/* ============ Consultation booking ============ */
.booking-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.booking-side .order-box { position: sticky; top: calc(var(--header-h) + 16px); }
#booking-form select, #booking-form input[type="date"] { width: 100%; }
@media (max-width: 880px) {
  .booking-wrap { grid-template-columns: 1fr; }
  .booking-side .order-box { position: static; }
}

/* ============ Footer social icons ============ */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; transition: background .18s; }
.footer-social a:hover { background: rgba(255,255,255,.22); color: #fff; }
.footer-social svg { width: 19px; height: 19px; }

/* ============ Compact scale (site felt oversized) ============ */
:root { --header-h: 64px; }
body { font-size: 16px; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.12rem; }
.section { padding: 56px 0; }
.section-head { margin-bottom: 36px; }
.hero-inner { padding: 46px 0 54px; }
.hero .lead { font-size: 1.05rem; margin-bottom: 26px; }
.hero-badges { margin-top: 26px; }
.hero-tagline { margin-bottom: 14px; font-size: .98rem; }
.btn { padding: 11px 22px; font-size: .95rem; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }
.card { padding: 22px; }
.card-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.logo img { height: 30px; }
.nav a, .nav-drop { font-size: .92rem; padding: 7px 11px; }
.agent { padding: 40px; }
.cta-band { padding: 44px 30px; }
.stat .num { font-size: 2.1rem; }
.pkg { padding: 24px; }
.section-head p { font-size: 1rem; }

/* ---------- Bank copy buttons + online payment ---------- */
.bank-list li { flex-wrap: wrap; align-items: center; }
.bank-list .v.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; direction: ltr; unicode-bidi: embed; }
.copy-btn { border: 1px solid var(--gray-line); background: var(--white); border-radius: 8px; padding: 3px 10px; font-size: .75rem; font-family: inherit; cursor: pointer; color: var(--navy); white-space: nowrap; }
.copy-btn:hover { border-color: var(--navy); }
#epay-box { border-color: var(--navy); }
#epay-form { min-height: 40px; }

/* Careers consent row */
.consent-row { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text-soft); margin: 4px 0 18px; cursor: pointer; }
.consent-row input { margin-top: 4px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--navy); }

/* Employer candidate browser (/employers) */
.emp-access { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.emp-filters { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.emp-filters input, .emp-filters select, .emp-unlock input {
  padding: 11px 14px; border: 1px solid var(--gray-line); border-radius: 12px; font: inherit; background: var(--white); min-width: 150px; }
.emp-unlock { display: flex; gap: 10px; }
.emp-note { color: var(--text-soft); font-size: .9rem; margin: 8px 0 18px; }
.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.emp-card { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.emp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.emp-card-top strong { color: var(--navy); font-size: 1.05rem; }
.emp-tag { font-size: .72rem; font-weight: 700; color: var(--navy); background: rgba(11,27,90,.08); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.emp-role { font-weight: 600; color: var(--text); margin-bottom: 6px; }
.emp-skills { font-size: .86rem; color: var(--text-soft); margin-bottom: 8px; }
.emp-meta { font-size: .82rem; color: var(--text-soft); line-height: 1.9; }
.emp-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-line); font-size: .88rem; font-weight: 600; }
@media (max-width: 640px) { .emp-access { flex-direction: column; align-items: stretch; } .emp-unlock { flex-direction: column; } }
.emp-filters input, .emp-filters select { flex: 1 1 auto; }

/* ============ Mobile polish — phones (must stay last to win the cascade) ============ */
@media (max-width: 640px) {
  :root { --header-h: 58px; }
  .container { padding: 0 16px; }

  /* Typography — tighter, no oversized headings on small screens */
  h1 { font-size: clamp(1.55rem, 7vw, 2rem); line-height: 1.25; }
  h2 { font-size: clamp(1.25rem, 5.5vw, 1.6rem); line-height: 1.3; }
  h3 { font-size: 1.05rem; }
  body { font-size: 15.5px; }

  /* Sections & hero — less vertical bulk */
  .section { padding: 42px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head p { font-size: .95rem; }
  .hero-inner { padding: 30px 0 40px; }
  .hero .lead { font-size: 1rem; margin-bottom: 20px; }
  .hero-tagline { font-size: .9rem; margin-bottom: 10px; }
  .hero-badges { gap: 10px 16px; margin-top: 18px; }
  .hero-badge { font-size: .8rem; }

  /* Buttons stack full-width — easier to tap on a phone */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 13px 22px; font-size: .98rem; }

  /* Cards / grids / packages — compact spacing */
  .grid { gap: 16px; }
  .card { padding: 20px; }
  .pkg { padding: 22px; }
  .agent { padding: 26px 20px; }
  .agent-inner { gap: 24px; }
  .cta-band { padding: 32px 22px; }
  .stats { gap: 18px; }
  .stat .num, .trust-band .stat .num { font-size: 1.9rem; }
  .footer-grid { gap: 22px; }

  /* Floating buttons — smaller, icon-only, pinned to opposite corners */
  .wa-fab, .advisor-fab { padding: 12px; }
  .wa-fab svg, .advisor-fab svg { width: 22px; height: 22px; }
  .wa-fab .lbl, .advisor-fab .lbl { display: none; }
  .advisor-fab { inset-inline-start: 14px; bottom: 14px; }
  .wa-fab { inset-inline-end: 14px; bottom: 14px; }
}

@media (max-width: 400px) {
  .container { padding: 0 13px; }
  h1 { font-size: 1.45rem; }
  .btn { font-size: .9rem; padding: 11px 18px; }
  .stat .num, .trust-band .stat .num { font-size: 1.7rem; }
}
