/*!
 * Baly Site System — Shared Chrome
 *
 * Styles that are used by every page shortcode:
 *   • .bsy-scope / .bsy-page wrapper
 *   • Header + Footer
 *   • Shared primitives (pill, btn, card, section head, badges, avatars,
 *     meta strip, QR, download band, payment methods, safety, drivers,
 *     FAQ, crumbs)
 *
 * Page-specific styles live in assets/css/pages/*.css and depend on this
 * file via wp_register_style().
 */

/* ============================================================
   Scope + page wrapper
   ============================================================ */
.bsy-page { font-family: var(--bsy-font); color: var(--bsy-fg-primary); }
.bsy-page a { color: inherit; }
.bsy-page img { max-width: 100%; height: auto; display: block; }
.bsy-page button { font-family: inherit; }

.bsy-container { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px); }

/* ============================================================
   Pill (small label)
   ============================================================ */
.bsy-pill {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--bsy-brand-lighter); color: var(--bsy-brand);
	padding: 6px 12px; border-radius: var(--bsy-radius-pill);
	font-size: 12px; font-weight: var(--bsy-fw-bold);
	line-height: 1; white-space: nowrap;
	/* Inside a column flex container the default `align-items: stretch`
	 * would stretch the pill to the column's full width. align-self
	 * undoes that without needing to touch every parent. width: auto
	 * defends against themes setting `width: 100%` on .baly-pill. */
	align-self: flex-start;
	width: auto;
}
.bsy-pill__dot {
	width: 6px; height: 6px; border-radius: 999px;
	background: var(--bsy-brand); flex: none;
}
.bsy-pill--dark {
	background: rgba(255,255,255,0.16); color: #fff;
}
.bsy-pill--dark .bsy-pill__dot { background: #fff; }

/* About hero — smaller dark pill per earlier feedback ("should not be
 * that long"). Scoped to the about page so the contact hero stays at
 * the design's larger default. */
.bsy-page--about .bsy-about-hero .bsy-pill--dark {
	padding: 4px 9px; font-size: 10.5px;
}
.bsy-page--about .bsy-about-hero .bsy-pill--dark .bsy-pill__dot {
	width: 5px; height: 5px;
}

/* ============================================================
   Section head
   ============================================================ */
.bsy-shead { direction: rtl; margin-bottom: 18px; }
.bsy-shead--right { text-align: right; }
.bsy-shead--center { text-align: center; }
.bsy-shead__eyebrow { margin-bottom: 8px; }
.bsy-shead__title {
	margin: 0;
	font-family: var(--bsy-font);
	font-weight: var(--bsy-fw-black);
	font-size: clamp(20px, 2.6vw, 30px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--bsy-fg-primary);
}
.bsy-shead--dark .bsy-shead__title { color: #fff; }
.bsy-shead__sub {
	margin: 8px 0 0; font-size: 14px; font-weight: var(--bsy-fw-medium);
	color: var(--bsy-grey-700); line-height: 1.55; max-width: 640px;
}
.bsy-shead--dark .bsy-shead__sub { color: rgba(255,255,255,.7); }
.bsy-shead--center .bsy-shead__sub { margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.bsy-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--bsy-font);
	font-weight: var(--bsy-fw-bold);
	border-radius: var(--bsy-radius-pill);
	text-decoration: none; cursor: pointer; border: none;
	transition: background var(--bsy-duration-fast) var(--bsy-ease-out),
				color var(--bsy-duration-fast) var(--bsy-ease-out),
				transform var(--bsy-duration-fast) var(--bsy-ease-out),
				box-shadow var(--bsy-duration-base) var(--bsy-ease-out);
	white-space: nowrap;
	line-height: 1;
}
.bsy-btn--md { font-size: 14px; padding: 12px 20px; }
.bsy-btn--sm { font-size: 13px; padding: 10px 16px; }
.bsy-btn--lg { font-size: 15px; padding: 14px 28px; }

.bsy-btn--primary { background: var(--bsy-brand); color: #fff; box-shadow: var(--bsy-shadow-brand-lg); }
.bsy-btn--primary:hover { background: var(--bsy-brand-hover); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,67,255,0.34); }
.bsy-btn--primary:active { background: var(--bsy-brand-active); transform: scale(.97); }

.bsy-btn--secondary { background: transparent; color: var(--bsy-brand); border: 1.5px solid var(--bsy-brand); }
.bsy-btn--secondary:hover { background: var(--bsy-brand-lighter); }

.bsy-btn--ghost { background: transparent; color: var(--bsy-fg-primary); }
.bsy-btn--ghost:hover { background: var(--bsy-brand-lighter); color: var(--bsy-brand); }

.bsy-btn--dark { background: var(--bsy-black); color: #fff; }
.bsy-btn--dark:hover { background: var(--bsy-brand); }

.bsy-btn--brand-lighter { background: var(--bsy-brand-lighter); color: var(--bsy-brand); }
.bsy-btn--brand-lighter:hover { background: #D7E1FF; }

/* ============================================================
   Cards
   ============================================================ */
.bsy-card {
	background: #fff;
	border-radius: var(--bsy-radius-2xl);
	padding: 22px;
	direction: rtl;
	border: 1px solid var(--bsy-grey-100);
	box-shadow: var(--bsy-shadow-card);
}
@media (max-width: 640px) {
	.bsy-card { padding: 16px; border-radius: var(--bsy-radius-xl); }
}

/* ============================================================
   Store badges — bundled SVGs (assets/img/{app-store,google-play}-badge.svg).
   ------------------------------------------------------------
   The SVGs have their own black rounded body (~5px corner radius).
   We let that shape show naturally — no border-radius clip on the
   wrapper, no scale on the img — so there's no visible inner-border
   "line" between the SVG and the wrapper background.
   ============================================================ */
/* Badges inherit the parent's direction — in RTL contexts this puts
 * the iOS badge visually right (matching the design); in LTR contexts
 * it stays left. */
.bsy-badges { display: inline-flex; gap: 10px; align-items: center; }
.bsy-badges--stack { flex-direction: column; gap: 8px; align-items: flex-start; }
.bsy-badges--mobile { flex: 1; }
.bsy-badge {
	display: inline-flex; align-items: center; justify-content: center;
	text-decoration: none; line-height: 0;
	background: transparent;
	transition: transform var(--bsy-duration-fast) var(--bsy-ease-out), filter var(--bsy-duration-fast) var(--bsy-ease-out);
}
.bsy-badge img {
	display: block; height: 44px; width: auto;
	filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
}
.bsy-badge:hover { transform: translateY(-1px); }
.bsy-badge:hover img { filter: drop-shadow(0 8px 18px rgba(0,0,0,.24)); }
.bsy-badge:active { transform: scale(.97); }
.bsy-badges--stack .bsy-badge img { height: 46px; }

/* ============================================================
   Avatar stack
   ============================================================ */
.bsy-avatars { display: inline-flex; }
.bsy-avatars__a {
	width: 26px; height: 26px; border-radius: 999px;
	display: grid; place-items: center;
	font-size: 11px; font-weight: 800; color: var(--bsy-grey-800);
	border: 2px solid #fff;
	margin-inline-start: -8px;
}
.bsy-avatars__a:first-child { margin-inline-start: 0; }

/* ============================================================
   Meta strip
   ============================================================ */
.bsy-meta { display: inline-flex; align-items: center; gap: 0; }
.bsy-meta__c { text-align: center; padding: 0 14px; min-width: 80px; }
.bsy-meta__c--div { border-inline-start: 1px solid var(--bsy-grey-200); }
.bsy-meta__v {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 16px; font-weight: var(--bsy-fw-black);
	color: var(--bsy-fg-primary); letter-spacing: -0.01em; line-height: 1;
}
.bsy-meta__star { line-height: 0; }
.bsy-meta__l { font-size: 10.5px; color: var(--bsy-grey-600); font-weight: 500; margin-top: 4px; }

/* ============================================================
   QR box
   ============================================================ */
.bsy-qr {
	padding: 8px; background: #fff; border-radius: 14px;
	display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
	box-shadow: 0 8px 20px rgba(0,30,80,.20);
	flex: none;
}
.bsy-qr__i { width: 84px; height: 84px; border-radius: 6px; }
.bsy-qr__c { font-size: 9px; font-weight: var(--bsy-fw-bold); color: var(--bsy-grey-700); letter-spacing: 0.02em; }

/* ============================================================
   Download band
   ============================================================ */
.bsy-dl {
	position: relative; overflow: hidden;
	background: var(--bsy-brand); color: #fff;
	border-radius: var(--bsy-radius-3xl);
	direction: rtl;
	box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 32px 60px -28px rgba(0,30,80,.40);
}
.bsy-dl__banner { position: relative; width: 100%; height: 130px; overflow: hidden; }
.bsy-dl__banner img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.bsy-dl__banner-fade {
	position: absolute; left: 0; right: 0; bottom: 0; height: 36px;
	background: linear-gradient(180deg, transparent, var(--bsy-brand));
	pointer-events: none;
}
.bsy-dl__body {
	padding: 8px 44px 36px;
	display: grid; grid-template-columns: 1.4fr 1fr;
	gap: 32px; align-items: center;
}
.bsy-dl__title {
	margin: 12px 0 10px;
	font-family: var(--bsy-font);
	font-size: clamp(24px, 3vw, 32px); font-weight: var(--bsy-fw-black);
	letter-spacing: -0.02em; line-height: 1.05; color: #fff;
}
.bsy-dl__sub {
	margin: 0; font-size: 14px; color: rgba(255,255,255,.85);
	font-weight: var(--bsy-fw-medium); line-height: 1.55; max-width: 460px;
}
.bsy-dl__trust {
	margin-top: 16px; padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,.18);
	display: flex; align-items: center; gap: 14px;
}
.bsy-dl__trust-txt { font-size: 12px; font-weight: var(--bsy-fw-semibold); color: rgba(255,255,255,.85); line-height: 1.4; }
.bsy-dl__trust-n { color: #fff; font-weight: var(--bsy-fw-black); font-size: 13px; }
.bsy-dl__cta { display: flex; gap: 12px; align-items: stretch; }
/* Wrap the badge column on a dark surface so the SVGs' black bodies
 * blend with the background — no white halo from the brand-blue
 * showing through where the SVG doesn't cover. */
.bsy-dl__badges {
	flex: 1;
	display: flex; flex-direction: column; gap: 8px; justify-content: center; align-items: stretch;
	background: var(--bsy-black);
	border-radius: 14px;
	padding: 10px 12px;
}
.bsy-dl__cta .bsy-badge { background: transparent; }
.bsy-dl__cta .bsy-badge img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.32)); }
@media (max-width: 768px) {
	.bsy-dl { border-radius: var(--bsy-radius-xl); }
	.bsy-dl__banner { height: 80px; }
	.bsy-dl__body { display: block; padding: 14px 18px 18px; }
	.bsy-dl__title { font-size: 22px; margin: 10px 0 6px; }
	.bsy-dl__sub { font-size: 12.5px; }
	.bsy-dl__trust { display: none; }
	.bsy-dl__cta { display: flex; gap: 8px; margin-top: 14px; }
	.bsy-dl__cta .bsy-qr { display: none; }
	.bsy-dl__badges { flex-direction: row; }
}

/* ============================================================
   Payment methods strip
   ============================================================ */
.bsy-pay__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bsy-pay__c {
	background: var(--bsy-grey-100); border-radius: var(--bsy-radius-lg); padding: 18px;
	border: 1px solid transparent; direction: rtl;
	display: flex; flex-direction: column; gap: 8px;
}
.bsy-pay__c--active { background: var(--bsy-brand-lighter); border-color: rgba(0,67,255,.15); }
.bsy-pay__ic {
	width: 40px; height: 40px; border-radius: 12px;
	background: #fff; color: var(--bsy-brand);
	display: grid; place-items: center;
}
.bsy-pay__c--active .bsy-pay__ic { background: var(--bsy-brand); color: #fff; }
.bsy-pay__t { font-size: 15px; font-weight: var(--bsy-fw-black); color: var(--bsy-fg-primary); letter-spacing: -0.01em; margin-top: 4px; }
.bsy-pay__s { font-size: 12.5px; color: var(--bsy-grey-700); line-height: 1.55; font-weight: var(--bsy-fw-medium); }
@media (max-width: 768px) {
	.bsy-pay__grid { grid-template-columns: 1fr; }
	.bsy-pay__c { padding: 14px; }
}

/* ============================================================
   Safety section
   ============================================================ */
.bsy-safety {
	background: var(--bsy-brand-lighter); color: var(--bsy-fg-primary);
	border-radius: var(--bsy-radius-3xl);
	padding: 28px 32px; direction: rtl;
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: 1.25fr 1fr;
	align-items: center; gap: 28px;
	border: 1px solid rgba(0,67,255,.18);
	box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,30,80,.10), 0 32px 60px -24px rgba(0,30,80,.18);
}
.bsy-safety__bg {
	position: absolute; inset: auto auto -120px -80px;
	width: 340px; height: 340px; border-radius: 999px;
	background: radial-gradient(circle, rgba(0,67,255,.22), transparent 65%);
	filter: blur(32px); pointer-events: none;
}
.bsy-safety__shield {
	position: absolute; top: -18px; inset-inline-end: -32px;
	width: 200px; height: 220px;
	opacity: .10; pointer-events: none;
}
.bsy-safety__copy { position: relative; }
.bsy-safety__eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px; border-radius: 999px;
	background: #fff; color: var(--bsy-brand);
	font-size: 11.5px; font-weight: 800; letter-spacing: 0.01em;
	border: 1px solid rgba(0,67,255,.22);
	box-shadow: 0 1px 0 rgba(0,40,120,.04);
}
.bsy-safety__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--bsy-brand); }
.bsy-safety__title {
	margin: 12px 0 12px;
	font-family: var(--bsy-font);
	font-size: 28px; font-weight: var(--bsy-fw-black);
	letter-spacing: -0.02em; line-height: 1.15;
	color: var(--bsy-fg-primary);
}
.bsy-safety__body { margin: 0; font-size: 14px; font-weight: var(--bsy-fw-medium); color: var(--bsy-grey-700); line-height: 1.75; }
.bsy-safety__tiles { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bsy-safety__tile {
	background: #fff; border-radius: 14px; padding: 12px;
	border: 1px solid var(--bsy-grey-100);
	display: flex; flex-direction: column; gap: 6px;
}
.bsy-safety__tile-ic {
	width: 32px; height: 32px; border-radius: 9px;
	background: var(--bsy-brand-lighter); color: var(--bsy-brand);
	display: grid; place-items: center;
	border: 1px solid rgba(0,67,255,.18);
}
.bsy-safety__tile-t { font-size: 13px; font-weight: 800; color: var(--bsy-fg-primary); margin-top: 4px; }
.bsy-safety__tile-s { font-size: 11px; color: var(--bsy-grey-700); font-weight: var(--bsy-fw-medium); line-height: 1.4; }
@media (max-width: 768px) {
	.bsy-safety { grid-template-columns: 1fr; padding: 20px 18px; gap: 16px; border-radius: var(--bsy-radius-xl); }
	.bsy-safety__shield { width: 140px; height: 154px; }
	.bsy-safety__title { font-size: 22px; }
}

/* ============================================================
   Drivers + App
   ============================================================ */
.bsy-daa { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bsy-daa__c { display: flex; flex-direction: column; gap: 10px; }
.bsy-daa__head { display: flex; align-items: center; gap: 12px; }
.bsy-daa__ic {
	width: 44px; height: 44px; border-radius: 12px;
	background: var(--bsy-brand-lighter); color: var(--bsy-brand);
	display: grid; place-items: center; flex: none;
}
.bsy-daa__t { font-size: 17px; font-weight: var(--bsy-fw-black); color: var(--bsy-fg-primary); letter-spacing: -0.01em; }
.bsy-daa__s { font-size: 12px; font-weight: 500; color: var(--bsy-grey-600); margin-top: 2px; }
.bsy-daa__list { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bsy-daa__list li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: var(--bsy-fw-semibold); color: var(--bsy-grey-800); }
.bsy-daa__check {
	width: 18px; height: 18px; border-radius: 999px;
	background: var(--bsy-success-light); color: var(--bsy-success);
	display: grid; place-items: center; flex: none;
}
@media (max-width: 768px) { .bsy-daa { grid-template-columns: 1fr; gap: 12px; } }

/* ============================================================
   FAQ
   ============================================================ */
.bsy-faq__list { display: flex; flex-direction: column; gap: 8px; }
.bsy-faq__row {
	background: var(--bsy-grey-100);
	border: 1px solid transparent;
	border-radius: 14px; padding: 12px 16px;
}
.bsy-faq__row--first { background: var(--bsy-brand-lighter); border-color: rgba(0,67,255,.15); }
.bsy-faq__q {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; list-style: none; cursor: pointer;
	font-size: 14px; font-weight: 800; color: var(--bsy-fg-primary);
	letter-spacing: -0.005em;
}
.bsy-faq__q::-webkit-details-marker { display: none; }
.bsy-faq__chev {
	width: 22px; height: 22px; border-radius: 999px;
	background: #fff; color: var(--bsy-grey-700);
	display: grid; place-items: center; flex: none;
	transition: transform var(--bsy-duration-base) var(--bsy-ease-out),
	            background var(--bsy-duration-fast) var(--bsy-ease-out);
}
.bsy-faq__row--first .bsy-faq__chev { background: var(--bsy-brand); color: #fff; }
.bsy-faq__row[open] .bsy-faq__chev { transform: rotate(180deg); }
.bsy-faq__a { margin: 10px 0 0; font-size: 13px; color: var(--bsy-grey-700); line-height: 1.6; font-weight: var(--bsy-fw-medium); }

/* ============================================================
   Crumbs (breadcrumbs)
   ============================================================ */
.bsy-crumbs {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; color: var(--bsy-grey-600); font-weight: 500; direction: rtl;
}
.bsy-crumbs__link { color: var(--bsy-grey-600); text-decoration: none; }
.bsy-crumbs__link:hover { color: var(--bsy-brand); }
.bsy-crumbs__cur { color: var(--bsy-black); font-weight: 700; }
.bsy-crumbs__sep { color: var(--bsy-grey-400); display: inline-flex; align-items: center; }

/* ============================================================
   Header
   ============================================================ */
.bsy-header {
	font-family: var(--bsy-font);
	position: sticky; top: 0; z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--bsy-grey-200);
	transition: background var(--bsy-duration-base) var(--bsy-ease-out),
				border-color var(--bsy-duration-base) var(--bsy-ease-out),
				padding var(--bsy-duration-base) var(--bsy-ease-out);
}
.bsy-header.is-scrolled {
	background: rgba(255,255,255,0.86);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-color: rgba(10,10,10,0.08);
}
.bsy-header__inner {
	max-width: 1320px; margin: 0 auto;
	padding: 14px clamp(16px, 5vw, 48px);
	display: flex; align-items: center; gap: 24px;
	transition: padding var(--bsy-duration-base) var(--bsy-ease-out);
}
.bsy-header.is-scrolled .bsy-header__inner { padding-block: 10px; }
.bsy-header__brand img { height: 44px; width: auto; transition: height var(--bsy-duration-base) var(--bsy-ease-out); }
.bsy-header.is-scrolled .bsy-header__brand img { height: 36px; }
.bsy-header__nav { flex: 1 1 auto; min-width: 0; margin-inline-start: clamp(16px, 3vw, 40px); }
.bsy-nav { display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); list-style: none; margin: 0; padding: 0; }
.bsy-nav__item { position: relative; }
.bsy-nav__link {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--bsy-font); font-size: 14.5px; font-weight: 500;
	color: var(--bsy-grey-700);
	padding: 9px 14px; border-radius: 999px;
	text-decoration: none; white-space: nowrap;
	transition: color .18s var(--bsy-ease-out), background .18s var(--bsy-ease-out), box-shadow .18s var(--bsy-ease-out);
}
.bsy-nav__link:hover { color: var(--bsy-brand); background: var(--bsy-brand-lighter); }
.bsy-nav__item.is-active > .bsy-nav__link {
	color: #fff; background: var(--bsy-brand); font-weight: 700;
	box-shadow: 0 6px 18px rgba(0,67,255,0.32);
}
.bsy-nav__item.is-active > .bsy-nav__link:hover { background: var(--bsy-brand-hover); }
.bsy-nav__badge {
	font-size: 9.5px; font-weight: 800; letter-spacing: 0.04em;
	background: var(--bsy-brand); color: #fff;
	padding: 2px 6px; border-radius: 999px; line-height: 1.2;
}
.bsy-nav__chev {
	transition: transform .2s var(--bsy-ease-out);
}
.bsy-nav__item:hover .bsy-nav__chev,
.bsy-nav__item.is-open .bsy-nav__chev { transform: rotate(180deg); }

.bsy-nav__pop {
	position: absolute; top: calc(100% + 12px); right: 0;
	min-width: 300px; padding: 10px;
	background: #fff; border: 1px solid var(--bsy-grey-200);
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(10,10,10,0.14), 0 4px 12px rgba(10,10,10,0.06);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s var(--bsy-ease-out), transform .18s var(--bsy-ease-out), visibility .18s;
	z-index: 60;
}
.bsy-nav__pop::before {
	content: ''; position: absolute; right: 24px; top: -6px;
	width: 12px; height: 12px; background: #fff;
	border-top: 1px solid var(--bsy-grey-200); border-left: 1px solid var(--bsy-grey-200);
	transform: rotate(45deg); border-radius: 2px;
}
.bsy-nav__item:hover .bsy-nav__pop,
.bsy-nav__item.is-open .bsy-nav__pop { opacity: 1; visibility: visible; transform: translateY(0); }

.bsy-nav__sub {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 12px 14px; border-radius: 12px;
	text-decoration: none; color: inherit;
	transition: background .15s, transform .15s;
}
.bsy-nav__sub:hover { background: var(--bsy-grey-100); }
.bsy-nav__sub-dot {
	flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px;
	background: var(--bsy-brand-lighter); color: var(--bsy-brand);
	display: inline-flex; align-items: center; justify-content: center;
	margin-top: 2px; transition: background .15s, color .15s;
}
.bsy-nav__sub:hover .bsy-nav__sub-dot { background: var(--bsy-brand); color: #fff; }
.bsy-nav__sub-l { display: block; font-size: 14.5px; font-weight: 700; color: var(--bsy-black); margin-bottom: 3px; }
.bsy-nav__sub-d { display: block; font-size: 12.5px; font-weight: 400; color: var(--bsy-grey-600); line-height: 1.45; }

.bsy-header__cta {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--bsy-brand); color: #fff;
	padding: 10px 16px; border-radius: 999px;
	font-size: 14px; font-weight: 700; line-height: 1;
	text-decoration: none; white-space: nowrap;
	box-shadow: 0 8px 24px rgba(0,67,255,0.28);
	transition: transform .15s var(--bsy-ease-out), box-shadow .2s var(--bsy-ease-out), background .2s var(--bsy-ease-out);
}
.bsy-header__cta:hover { background: var(--bsy-brand-hover); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,67,255,0.34); }

/* Mobile drawer */
.bsy-header__burger {
	display: none;
	width: 38px; height: 38px; border-radius: 999px; border: none;
	background: transparent; cursor: pointer;
	color: var(--bsy-grey-800);
	align-items: center; justify-content: center;
}
.bsy-header__burger:hover { background: var(--bsy-grey-100); }
.bsy-drawer {
	position: fixed; inset: 0; z-index: 90;
	background: rgba(10,10,10,.4);
	opacity: 0; visibility: hidden; transition: opacity .2s var(--bsy-ease-out), visibility .2s;
}
.bsy-drawer.is-open { opacity: 1; visibility: visible; }
.bsy-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(86%, 360px); background: #fff;
	padding: 18px;
	transform: translateX(20px); transition: transform .25s var(--bsy-ease-out);
	overflow-y: auto;
}
.bsy-drawer.is-open .bsy-drawer__panel { transform: translateX(0); }
.bsy-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bsy-drawer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bsy-drawer__link {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 4px; text-decoration: none;
	color: var(--bsy-grey-900); font-weight: 600; font-size: 15.5px;
	border-bottom: 1px solid var(--bsy-grey-100);
}
.bsy-drawer__link:hover { color: var(--bsy-brand); }

@media (max-width: 960px) {
	.bsy-header__nav, .bsy-header__cta { display: none; }
	.bsy-header__burger { display: inline-flex; margin-inline-start: auto; }
}

/* ============================================================
   Footer
   ============================================================ */
.bsy-footer {
	font-family: var(--bsy-font);
	background: var(--bsy-black); color: #fff;
	padding: 56px clamp(16px, 5vw, 48px) 28px;
	direction: rtl;
}
.bsy-footer__inner { max-width: 1320px; margin: 0 auto; }
.bsy-footer__cta {
	background: var(--bsy-brand); border-radius: var(--bsy-radius-3xl);
	padding: 28px clamp(24px, 3vw, 40px);
	margin-bottom: 56px;
	display: flex; align-items: center; justify-content: space-between;
	gap: 32px; flex-wrap: wrap;
	box-shadow: 0 20px 50px rgba(0,67,255,0.28);
	position: relative; overflow: hidden;
}
.bsy-footer__cta::before,
.bsy-footer__cta::after {
	content: ''; position: absolute; border-radius: 50%;
	background: rgba(255,255,255,0.06); pointer-events: none;
}
.bsy-footer__cta::before { top: -40px; left: -40px; width: 220px; height: 220px; background: rgba(255,255,255,0.08); }
.bsy-footer__cta::after  { bottom: -60px; left: 120px; width: 160px; height: 160px; }
.bsy-footer__cta-copy { position: relative; text-align: right; flex: 1 1 360px; min-width: 0; }
.bsy-footer__cta-eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85);
	padding: 4px 10px; background: rgba(255,255,255,0.12);
	border-radius: 999px; margin-bottom: 10px; letter-spacing: 0.04em;
}
.bsy-footer__cta-dot { width: 5px; height: 5px; background: #fff; border-radius: 999px; }
.bsy-footer__cta-title {
	margin: 0; font-size: 28px; font-weight: 900; line-height: 1.2;
	color: #fff; letter-spacing: -0.01em;
}
.bsy-footer__cta-badges { position: relative; display: flex; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; }
.bsy-footer__cta-badges .bsy-badge { background: #fff; color: var(--bsy-black); }
.bsy-footer__cta-badges .bsy-badge:hover { background: var(--bsy-grey-100); }

.bsy-footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 48px; }
.bsy-footer__brand img { height: 38px; filter: brightness(0) invert(1); }
.bsy-footer__lede {
	margin: 20px 0 0; font-size: 14px; line-height: 1.7;
	color: rgba(255,255,255,0.62); max-width: 320px; font-weight: 400;
}
.bsy-footer__col-h { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.bsy-footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.bsy-footer__col a {
	font-size: 13.5px; font-weight: 400; color: rgba(255,255,255,0.62);
	text-decoration: none; transition: color .15s var(--bsy-ease-out);
}
.bsy-footer__col a:hover { color: #fff; }

.bsy-footer__contact { display: flex; flex-direction: column; gap: 14px; }
.bsy-footer__contact-row { display: flex; align-items: flex-start; gap: 10px; }
.bsy-footer__contact-ic {
	flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.10);
	color: rgba(255,255,255,0.85);
	display: inline-flex; align-items: center; justify-content: center;
	margin-top: 1px;
}
.bsy-footer__contact-txt {
	margin: 0; font-size: 12.5px; line-height: 1.65;
	color: rgba(255,255,255,0.62); font-weight: 400;
}
.bsy-footer__contact-muted { color: rgba(255,255,255,0.5); }
.bsy-footer__contact-legal { font-size: 11.5px; line-height: 1.65; font-weight: 500; color: rgba(255,255,255,0.5); padding-inline-start: 38px; }
.bsy-footer__contact-link {
	display: inline-flex; align-items: center; gap: 10px;
	text-decoration: none; color: rgba(255,255,255,0.85);
	font-size: 13.5px; font-weight: 600;
	transition: color .15s var(--bsy-ease-out);
}
.bsy-footer__contact-link[href^="tel:"] { direction: ltr; }
.bsy-footer__contact-link:hover { color: #fff; }

.bsy-footer__bar {
	margin-top: 56px; padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,0.10);
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; flex-wrap: wrap;
}
.bsy-footer__copy { font-size: 12.5px; color: rgba(255,255,255,0.5); font-weight: 500; }
.bsy-footer__social { display: flex; gap: 8px; }
.bsy-footer__social a {
	width: 38px; height: 38px; border-radius: 999px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.10);
	color: rgba(255,255,255,0.85); text-decoration: none;
	display: inline-flex; align-items: center; justify-content: center;
	transition: background .15s var(--bsy-ease-out), color .15s var(--bsy-ease-out), border-color .15s var(--bsy-ease-out);
}
.bsy-footer__social a:hover { background: var(--bsy-brand); border-color: var(--bsy-brand); color: #fff; }

@media (max-width: 1024px) {
	.bsy-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
	.bsy-footer__cta { flex-direction: column; align-items: stretch; }
	.bsy-footer__cta-title { font-size: 22px; }
	.bsy-footer__cols { grid-template-columns: 1fr; gap: 28px; }
}

/* Decorative SVG hero background — shared between about-hero
 * and contact-hero (the contact shortcode reuses bsy_about_mapbg()).
 * Needs to be position:absolute so it doesn't enter the parent's
 * grid flow as an auto-placed grid item. Was previously only in
 * about.css; contact page wasn't loading that file. */
.bsy-about-hero__bg,
.bsy-mapbg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* ============================================================
   Generic hero — reused by simple pages (about, contact,
   driver-signup, download-driver/passenger). Each page can
   override per-page CSS for finer details.
   ============================================================ */
.bsy-hero {
	position: relative; overflow: hidden;
	border-radius: var(--bsy-radius-3xl);
	background: linear-gradient(160deg, var(--bsy-brand-active) 0%, var(--bsy-brand) 55%, #3463FF 100%);
	color: #fff;
	box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -16px rgba(0,30,80,.40);
	direction: rtl;
	padding: 34px 36px 30px;
	min-height: 320px;
	display: flex; flex-direction: column; gap: 18px;
}
.bsy-hero__title {
	margin: 12px 0 8px;
	font-family: var(--bsy-font);
	font-size: clamp(28px, 4vw, 52px);
	font-weight: var(--bsy-fw-black);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fff;
}
.bsy-hero__lede {
	margin: 0;
	font-size: clamp(14px, 1.5vw, 17px);
	color: rgba(255,255,255,.85);
	line-height: 1.55;
	font-weight: var(--bsy-fw-medium);
	max-width: 560px;
}
.bsy-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 768px) {
	.bsy-hero { padding: 22px 20px 20px; border-radius: var(--bsy-radius-xl); }
}

/* ============================================================
   Page wrapper — vertical stack on every page
   ============================================================ */
.bsy-page__stack {
	/* No top/horizontal padding — the page wrapper sits flush against
	 * the host theme's content column. The host theme's "main-content"
	 * already provides its own top spacing; adding more here stacks. */
	padding: 0 0 28px;
	max-width: 1240px; margin: 0 auto;
	display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 768px) {
	.bsy-page__stack { padding: 0 0 24px; gap: 14px; }
}
