/* =========================================================
   FINAXIL — UAE Business Setup page
   Reuses tokens, nav, footer, buttons from styles.css
   ========================================================= */

.bs-main { padding-top: clamp(96px, 12vw, 132px); }
.icon { width: 1em; height: 1em; display: inline-block; }

/* override the 28ch homepage section-head constraint */
.bs-main .section-head { max-width: none; }
.bs-main .section-head__title { max-width: 26ch; font-size: clamp(28px, 3.8vw, 56px); }

/* ---------- shared text ---------- */
.bs-lede { font-size: clamp(15px, 1.05vw, 17px); color: var(--ink-soft); max-width: 62ch; margin: 14px 0 0; }
.bs-lede--light { color: var(--light-soft); }
.bs-body { font-size: clamp(15px, 1.05vw, 17px); color: var(--ink-soft); max-width: 58ch; margin: 0 0 30px; }

/* ---------- section rhythm ---------- */
.bs-section { padding-block: clamp(72px, 8vw, 118px); }
.bs-section--light { background: var(--paper-2); }
.bs-section--dark { background: var(--char-2); color: var(--light); }
.bs-section--dark .section-head__title { color: #fff; }

/* =========================================================
   IMAGE PLACEHOLDERS
   Swap each .img-ph for a real <img> when assets land.
   The data-ph attribute describes the intended image.
   ========================================================= */
.img-ph {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border: 1.5px dashed rgba(22, 21, 26, 0.28);
  background-color: rgba(22, 21, 26, 0.025);
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 11px,
    rgba(22, 21, 26, 0.045) 11px, rgba(22, 21, 26, 0.045) 22px
  );
}
.img-ph::before {
  content: attr(data-ph);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  max-width: 34ch;
  background: var(--paper);
  padding: 10px 16px;
  border: 1px solid rgba(22, 21, 26, 0.14);
}
.img-ph--hero  { aspect-ratio: 16 / 10; min-height: 0; }
.img-ph--tall  { aspect-ratio: 3 / 4;  min-height: 0; }
.img-ph--dark {
  border-color: rgba(241, 240, 236, 0.24);
  background-color: rgba(241, 240, 236, 0.03);
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 11px,
    rgba(241, 240, 236, 0.05) 11px, rgba(241, 240, 236, 0.05) 22px
  );
  aspect-ratio: 16 / 6;
  min-height: 0;
}
.img-ph--dark::before {
  color: var(--light-soft);
  background: var(--char-2);
  border-color: rgba(241, 240, 236, 0.18);
}

/* ---------- inline dictionary trigger ---------- */
.bs-term {
  font: inherit; background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  color: var(--accent);
  background-image: linear-gradient(to right, var(--brass) 50%, transparent 0);
  background-size: 4px 1px; background-repeat: repeat-x; background-position: 0 1.16em;
  transition: color 0.2s var(--ease);
}
.bs-term:hover, .bs-term.is-active { color: var(--brass); }
.bs-section--dark .bs-term { color: var(--teal); background-image: linear-gradient(to right, var(--teal) 50%, transparent 0); }

/* ---------- hero ---------- */
.bs-hero { padding-block: clamp(24px, 3vw, 48px) clamp(56px, 6vw, 88px); }
.bs-hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bs-hero__title {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.97;
  font-size: clamp(38px, 5vw, 70px); margin: 0 0 24px;
}
.bs-hero__title em { font-style: normal; color: var(--accent); }
.bs-hero__sub { font-size: clamp(16px, 1.15vw, 18px); color: var(--ink-soft); max-width: 52ch; margin: 0 0 32px; line-height: 1.6; }
.bs-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- facts strip ---------- */
.bs-facts { background: var(--char-2); }
.bs-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline-d); }
.bs-fact {
  background: var(--char-2); padding: clamp(20px, 2.6vw, 32px) clamp(18px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 6px; color: var(--light);
}
.bs-fact__icon { color: var(--teal); width: 26px; height: 26px; display: flex; align-items: center; }
.bs-fact__icon .icon { width: 100%; height: 100%; }
.bs-fact__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light-soft); }
.bs-fact__value { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; }
.bs-fact__note { font-size: 12.5px; color: var(--light-soft); }

/* ---------- latest updates / news ---------- */
.bs-news { display: flex; flex-direction: column; gap: 1px; background: var(--hairline); margin-top: clamp(44px, 5vw, 72px); border-top: 2px solid var(--ink); }
.bs-news__item { background: var(--paper); padding: clamp(26px, 3vw, 38px) clamp(24px, 3vw, 40px); border-left: 4px solid transparent; }
.bs-news__item--live { border-left-color: var(--accent); }
.bs-news__item--warn { border-left-color: var(--brass); }
.bs-news__item--soon { border-left-color: var(--teal); }
.bs-news__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.bs-news__badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 5px 11px; background: rgba(22,21,26,0.07); color: var(--ink-soft);
}
.bs-news__badge--live { background: rgba(14,90,78,0.11); color: var(--accent); }
.bs-news__badge--warn { background: rgba(176,138,79,0.15); color: #8A6A34; }
.bs-news__badge--soon { background: rgba(24,168,140,0.13); color: #0E7A66; }
.bs-news__date { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-soft); }
.bs-news__head { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.24; margin: 0 0 12px; max-width: 42ch; }
.bs-news__body { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0; max-width: 74ch; }

.bs-news__facts { display: flex; gap: 1px; background: var(--hairline); margin: 20px 0 0; flex-wrap: wrap; border: 1px solid var(--hairline); }
.bs-news__fact { background: var(--paper-2); padding: 13px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 150px; }
.bs-news__fact span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.bs-news__fact strong { font-size: 14.5px; font-weight: 600; }

.bs-news__why { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--hairline); max-width: 74ch; }
.bs-news__why strong { color: var(--ink); }
.bs-news__link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; margin-left: 6px; }
.bs-news__link .icon { width: 14px; height: 14px; }
.bs-news__link:hover { color: var(--brass); }

/* ---------- three routes ---------- */
.bs-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); margin-top: clamp(44px, 5vw, 72px); border-top: 2px solid var(--ink); }
.bs-route { background: var(--paper); display: flex; flex-direction: column; }
.bs-route__head { padding: 26px 24px 22px; border-bottom: 1px solid var(--hairline); }
.bs-route--mainland .bs-route__head { border-top: 3px solid var(--accent); }
.bs-route--freezone .bs-route__head { border-top: 3px solid var(--teal); }
.bs-route--offshore .bs-route__head { border-top: 3px solid var(--brass); }
.bs-route__badge {
  display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; padding: 4px 10px; margin-bottom: 10px;
}
.bs-route--mainland .bs-route__badge { background: rgba(14,90,78,0.1); color: var(--accent); }
.bs-route--freezone .bs-route__badge { background: rgba(24,168,140,0.12); color: #0E7A66; }
.bs-route--offshore .bs-route__badge { background: rgba(176,138,79,0.14); color: #8A6A34; }
.bs-route__name { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.bs-route__tag { font-size: 13px; color: var(--ink-soft); margin: 0; }
.bs-route__rows { display: flex; flex-direction: column; flex: 1; }
.bs-route__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 24px; border-bottom: 1px solid var(--hairline); font-size: 13.5px; }
.bs-route__rows li span { color: var(--ink-soft); flex: 0 0 auto; max-width: 46%; }
.bs-route__rows li strong { text-align: right; font-weight: 600; }
.bs-good { color: var(--accent); }
.bs-warn { color: #B45309; }
.bs-bad  { color: #9B2C2C; }
.bs-route__best { padding: 18px 24px 24px; font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; background: var(--paper-2); }
.bs-route__best strong { color: var(--ink); }

.bs-note {
  display: flex; gap: 18px; align-items: flex-start; margin-top: clamp(32px, 4vw, 52px);
  background: var(--char-2); color: var(--light-soft);
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 38px); border-left: 4px solid var(--teal);
}
.bs-note__icon { flex: none; width: 26px; height: 26px; color: var(--teal); margin-top: 2px; }
.bs-note p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.bs-note strong { color: var(--light); }

/* ---------- free zone filter ---------- */
.bs-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 52px); }
.bs-filter__btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; font-weight: 500;
  padding: 10px 18px; border: 1px solid var(--hairline); background: var(--paper-2); color: var(--ink-soft);
  cursor: pointer; transition: all 0.2s var(--ease);
}
.bs-filter__btn:hover { border-color: var(--accent); color: var(--ink); }
.bs-filter__btn.is-active { background: var(--char-2); border-color: var(--char-2); color: #fff; }

/* ---------- free zone cards ---------- */
.bs-zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); margin-top: 28px; border-top: 2px solid var(--ink); }
.bs-zone { background: var(--paper); padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 8px; transition: background 0.2s var(--ease); }
.bs-zone:hover { background: var(--paper-2); }
.bs-zone[hidden] { display: none; }
.bs-zone__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bs-zone__top h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 0; }
.bs-zone__cost { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--brass); white-space: nowrap; font-weight: 500; }
.bs-zone__full { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.bs-zone__desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin: 4px 0 0; flex: 1; }
.bs-zone__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.bs-zone__tags span { font-size: 11px; padding: 4px 10px; background: rgba(22,21,26,0.06); color: var(--ink-soft); }
.bs-zone--premium { border-top: 3px solid var(--brass); }
.bs-zone--value   { border-top: 3px solid var(--accent); }
.bs-zones__foot { font-size: 13.5px; color: var(--ink-soft); margin: 24px 0 0; max-width: 72ch; line-height: 1.6; }

/* ---------- how to choose ---------- */
.bs-choose { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline-d); margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--hairline-d); }
.bs-q { background: rgba(255,255,255,0.03); padding: 28px 26px 30px; display: flex; gap: 18px; }
.bs-q__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--brass); flex: none; padding-top: 4px; }
.bs-q__body h3 { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--light); margin: 0 0 10px; line-height: 1.3; }
.bs-q__body p { font-size: 14px; color: var(--light-soft); margin: 0 0 10px; line-height: 1.55; }
.bs-q__flag { font-family: var(--mono); font-size: 12px !important; color: var(--teal) !important; letter-spacing: 0.02em; margin: 0 !important; }
.bs-choose__art { margin-top: clamp(36px, 4vw, 56px); }

/* ---------- process ---------- */
.bs-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.bs-steps { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.bs-step { display: flex; gap: 18px; padding: 20px 0 22px; border-bottom: 1px solid var(--hairline); }
.bs-step__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--brass); flex: none; padding-top: 3px; }
.bs-step h3 { font-family: var(--display); font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.bs-step p { font-size: 14px; color: var(--ink-soft); margin: 0 0 8px; line-height: 1.55; }
.bs-step__time { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }

.bs-after { margin-top: 28px; background: var(--char-2); color: var(--light-soft); padding: 24px 24px 26px; border-top: 3px solid var(--brass); }
.bs-after__head { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.bs-after__list { display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; line-height: 1.5; }
.bs-after__list strong { color: var(--light); font-weight: 600; }

/* ---------- visas ---------- */
.bs-visas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
.bs-visa { background: var(--paper); padding: 26px 22px 30px; display: flex; flex-direction: column; gap: 8px; }
.bs-visa__icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 4px; }
.bs-visa__icon .icon { width: 100%; height: 100%; }
.bs-visa h3 { font-family: var(--display); font-weight: 700; font-size: 16px; margin: 0; line-height: 1.3; }
.bs-visa__term { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); margin: 0; }
.bs-visa p:last-child { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 0; line-height: 1.55; }
.bs-visa--gold { border-top: 3px solid var(--brass); }
.bs-visa--gold .bs-visa__icon { color: var(--brass); }

/* ---------- glossary chips ---------- */
.bs-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: clamp(28px, 3vw, 44px); }
.bs-chip {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  padding: 11px 20px; border: 1px solid var(--hairline); border-radius: 100px; background: var(--paper);
  color: var(--ink); cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  background-image: none;
}
.bs-chip:hover, .bs-chip.is-active { border-color: var(--accent); background: var(--paper-2); }

/* ---------- CTA ---------- */
.bs-cta { background: var(--char-2); color: var(--light); padding-block: clamp(56px, 7vw, 96px); }
.bs-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.bs-cta__head { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.03em; margin: 0 0 12px; color: #fff; }
.bs-cta__body { font-size: 15px; color: var(--light-soft); margin: 0; max-width: 56ch; line-height: 1.6; }
.btn--lg { padding: 17px 38px; font-size: 15px; }

/* ---------- sources ---------- */
.bs-sources { padding-block: clamp(40px, 5vw, 64px) clamp(60px, 7vw, 96px); }
.bs-sources__head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); margin: 0 0 10px; }
.bs-sources__body { font-size: 13px; line-height: 1.65; color: var(--ink-soft); max-width: 84ch; margin: 0; }

/* ---------- popover ---------- */
.bs-pop { position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity 0.2s var(--ease); }
.bs-pop.is-open { pointer-events: auto; opacity: 1; }
.bs-pop::before { content: ""; position: absolute; inset: 0; }
.bs-pop__card {
  position: absolute; width: min(380px, calc(100vw - 40px)); background: var(--char-2); color: var(--light);
  border: 1px solid var(--hairline-d); border-top: 3px solid var(--brass); padding: 22px 24px 24px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); transform: translateY(6px); transition: transform 0.25s var(--ease);
}
.bs-pop.is-open .bs-pop__card { transform: translateY(0); }
.bs-pop__close { position: absolute; top: 10px; right: 12px; background: none; border: none; color: var(--light-soft); font-size: 22px; line-height: 1; cursor: pointer; font-family: var(--display); }
.bs-pop__close:hover { color: #fff; }
.bs-pop__title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; padding-right: 20px; }
.bs-pop__body { font-size: 14.5px; line-height: 1.55; color: var(--light-soft); margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bs-zones { grid-template-columns: repeat(2, 1fr); }
  .bs-visas { grid-template-columns: repeat(2, 1fr); }
  .bs-routes { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .bs-hero__grid { grid-template-columns: 1fr; }
  .bs-hero__art { order: -1; }
  .bs-facts__grid { grid-template-columns: repeat(2, 1fr); }
  .bs-split { grid-template-columns: 1fr; }
  .bs-choose { grid-template-columns: 1fr; }
  .bs-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .bs-zones { grid-template-columns: 1fr; }
  .bs-visas { grid-template-columns: 1fr; }
  .bs-facts__grid { grid-template-columns: 1fr 1fr; }
  .bs-news__fact { min-width: 100%; }
  .img-ph::before { font-size: 10px; }
}
