/* Page-only layout for /sa/zoho-partner-in-khobar/ (prefix khb-). Khobar city page: layered Corniche, water tower and
   causeway drawing with parallax and a district switcher in the hero, three mapped workflow chains, SAR estimator split,
   local facts and licensing tiers. Shared look: etc.css + kit-*.css; p-sec-n-local.css supplies sl- notes and price boxes.
   Accent: Gulf blue (#145C85, 7.1:1 on white). */
.khb-hero { overflow-x: clip; }
.khb-hero .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; }

.khb-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  box-shadow: 0 22px 46px -28px rgba(15, 39, 66, .45); }
.khb-card__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px;
  font: 600 14px/1.35 var(--font-ui); color: var(--ink); }
.khb-card__h span { flex: none; font: 700 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #145C85;
  background: #E5F0F7; border-radius: 999px; padding: 6px 9px; }
.khb-card__art { position: relative; aspect-ratio: 420 / 160; border-radius: 12px; overflow: hidden; background: #E9F3F8; }
.khb-card__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.khb-chip { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line); font: 600 12px/1 var(--font-ui); color: var(--ink); }
.khb-tag { position: absolute; right: 10px; bottom: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(20, 92, 133, .88);
  font: 600 11px/1.2 var(--font-ui); color: #fff; }
.khb-card__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.khb-card__tabs button { -webkit-appearance: none; appearance: none; min-height: 36px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid #BCD3E2; background: #fff; font: 600 13px/1.2 var(--font-ui); color: var(--ink); cursor: pointer; }
.khb-card__tabs button:hover { border-color: #145C85; }
.khb-card__tabs button[aria-selected="true"] { background: #145C85; border-color: #145C85; color: #fff; }
.khb-card__tabs button:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }
.khb-card__panel { padding: 14px 16px; border-radius: 12px; background: linear-gradient(180deg, #EFF6FA, #fff); border: 1px solid #D2E3EE; }
.khb-card__panel + .khb-card__panel { margin-top: 10px; }
.khb-card.is-js .khb-card__panel + .khb-card__panel { margin-top: 0; }
.khb-card__panel > b { display: block; margin: 0 0 6px; font: 700 17px/1.35 var(--font); color: var(--ink); }
.khb-card__panel p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.khb-card__panel .khb-card__apps { margin-top: 8px; font: 600 13px/1.4 var(--font-ui); color: var(--green-d, #2B7A0B); }
.khb-card__foot { margin: 10px 0 0; font: 500 12px/1.45 var(--font-ui); color: var(--muted); }

.khb-flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.khb-flow { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.khb-flow h3 { margin: 0 0 14px; font-size: 18px; }
.khb-flow ol { list-style: none; margin: 0; padding: 0; counter-reset: khb; display: grid; gap: 10px; }
.khb-flow li { counter-increment: khb; position: relative; padding: 0 0 0 40px; }
.khb-flow li::before { content: counter(khb); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: #E5F0F7; color: #145C85; font: 700 13px/1 var(--font-ui); }
.khb-flow li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: -10px; width: 2px; background: #D2E3EE; }
.khb-flow li b { display: block; font: 600 15px/1.35 var(--font-ui); color: var(--ink); }
.khb-flow li span { display: block; font: 500 13.5px/1.45 var(--font-ui); color: var(--muted); }

.khb-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.khb-split .sec__head { position: sticky; top: 100px; margin-bottom: 0; }
.khb-ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font: 500 15px/1.4 var(--font-ui); color: var(--ink); }
.khb-ticks li { position: relative; padding-left: 28px; }
.khb-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #E5F0F7; box-shadow: inset 0 0 0 5px #E5F0F7, inset 0 0 0 9px #145C85; }

.khb-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.khb-facts > div { padding: 18px 20px; border-radius: 14px; background: #F4F8FB; border: 1px solid #D2E3EE; }
.khb-facts h3 { margin: 0 0 8px; font-size: 17px; }
.khb-facts p { margin: 0; font-size: 15px; }
.khb-offices { margin-top: 32px; }
.khb-offices__h { margin: 0 0 14px; font: 600 14px/1.4 var(--font-ui); color: var(--muted); }
.khb-after { margin: 18px 0 0; }
.khb-related-h { margin: 0 0 16px; font-size: 22px; }
.lic-note { margin: 12px 0 0; color: var(--muted); }

@media (max-width: 1000px) { .khb-flows { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .khb-hero .hero__grid, .khb-split, .khb-facts { grid-template-columns: 1fr; gap: 24px; }
  .khb-split .sec__head { position: static; }
}
@media (max-width: 680px) { .khb-flows { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .khb-card { padding: 14px 12px; }
  .khb-card__tabs button { font-size: 12px; padding: 5px 10px; }
  .khb-tag { display: none; }
}
