/* Wasla, a mobility app demo. The marketing page is light Material You; inside
   the Android frame a Material 3 app prototype runs as real, tappable screens
   with the booking flow (search, pick a ride, track the trip). One stylesheet,
   English (ltr) and Arabic (rtl) via logical properties. With no JS the app
   shows its Home screen; reveals fail open. */

:root {
  /* Material 3 baseline, purple, light scheme */
  --primary: #6750A4;
  --primary-d: #5B4791;
  --on-primary: #FFFFFF;
  --primary-c: #EADDFF;
  --on-primary-c: #21005D;
  --secondary-c: #E8DEF8;
  --on-secondary-c: #1D192B;
  --tertiary: #7D5260;
  --tertiary-c: #FFD8E4;
  --on-tertiary-c: #31111D;
  --surface: #FEF7FF;
  --surface-1: #F7F2FA;
  --surface-2: #F2ECF6;
  --surface-3: #ECE3F2;
  --surface-var: #E7E0EC;
  --on-surface: #1D1B20;
  --on-surface-var: #49454F;
  --outline: #79747E;
  --outline-var: #CAC4D0;
  --scrim: rgba(28,27,31,.4);
  --ok: #386A20;
  --sans: "Switzer", ui-sans-serif, system-ui, sans-serif;
  --ar: "IBM Plex Sans Arabic", "Switzer", sans-serif;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-emph: cubic-bezier(.3, 0, 0, 1);
  --pad: clamp(20px, 5vw, 64px);
  --gut: clamp(48px, 6vw, 90px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--on-surface); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
[dir="rtl"] body { font-family: var(--ar); line-height: 1.85; }
body.noscroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--primary-c); color: var(--on-primary-c); }

h1, h2, h3 { font-family: var(--sans); font-weight: 700; margin: 0; letter-spacing: -.02em; line-height: 1.1; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--ar); letter-spacing: 0; line-height: 1.32; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--gut); }
.display { font-size: clamp(2.1rem, 5vw, 3.7rem); letter-spacing: -.03em; font-weight: 700; }
[dir="rtl"] .display { letter-spacing: 0; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-surface-var); }
.lat { direction: ltr; unicode-bidi: isolate; }
.num { direction: ltr; unicode-bidi: isolate; font-feature-settings: "tnum" 1; }

/* M3 chip used as a label, not a tracked-uppercase eyebrow */
.chip-label { display: inline-flex; align-items: center; gap: .5em; font-size: .86rem; font-weight: 600; color: var(--primary); background: var(--primary-c); padding: .42em 1em; border-radius: 100px; }
.chip-label.on-dark { background: rgba(255,255,255,.14); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: .85em 1.6em; background: var(--primary); color: var(--on-primary); border-radius: 100px; transition: box-shadow .3s, background .3s, transform .3s; }
[dir="rtl"] .btn { font-family: var(--ar); }
.btn:hover { background: var(--primary-d); box-shadow: 0 2px 8px rgba(103,80,164,.35); }
.btn--tonal { background: var(--secondary-c); color: var(--on-secondary-c); }
.btn--tonal:hover { background: #DDD0F0; box-shadow: none; }
.btn--out { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1px var(--outline); }
.btn--out:hover { background: rgba(103,80,164,.08); box-shadow: inset 0 0 0 1px var(--primary); }
.store { display: inline-flex; align-items: center; gap: 10px; padding: .7em 1.2em; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--outline-var); transition: background .3s; }
.store:hover { background: var(--surface-3); }
.store svg { width: 24px; height: 24px; flex: none; color: var(--primary); }
.store .st { display: flex; flex-direction: column; line-height: 1.15; }
.store .st .s { font-size: .68rem; color: var(--on-surface-var); }
.store .st .b { font-weight: 700; font-size: 1rem; }

html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-emph), transform .7s var(--ease-emph); }
html.js .reveal.d2 { transition-delay: .08s; } html.js .reveal.d3 { transition-delay: .16s; } html.js .reveal.d4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------------------------------------------------------------- nav, material top app bar */
.nav { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 70; padding: 14px var(--pad); display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); border-block-end: 1px solid transparent; transition: background .4s, padding .4s, box-shadow .4s, border-color .4s; }
.nav.scrolled { background: rgba(237,224,247,.9); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); padding-block: 9px; box-shadow: 0 10px 28px -18px rgba(50,40,80,.55); border-block-end-color: var(--outline-var); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .mark { width: 34px; height: 34px; flex: none; } .brand .mark svg { width: 100%; height: 100%; display: block; }
.brand-en { font-weight: 700; font-size: 1.26rem; letter-spacing: -.02em; }
[dir="rtl"] .brand-en { font-family: var(--ar); }
.nav-menu { display: contents; }
.nav-links { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 44px); margin-inline-start: auto; }
.nav-links a { position: relative; font-size: .98rem; font-weight: 500; color: var(--on-surface); padding-block: 4px; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; inset-block-end: -1px; inset-inline-start: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left center; transition: transform .3s var(--ease-emph); }
[dir="rtl"] .nav-links a::after { transform-origin: right center; }
.nav-links a:hover { color: var(--primary); } .nav-links a:hover::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 26px); margin-inline-start: auto; }
.lang { position: relative; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .96rem; color: var(--on-surface); transition: color .25s; }
.lang:hover { color: var(--primary); }
.lang .globe { width: 16px; height: 16px; } .lang .globe svg { width: 100%; height: 100%; display: block; }
.nav-cta { padding: .66em 1.3em; font-size: .95rem; box-shadow: 0 8px 18px -8px rgba(103,80,164,.7); }
.nav-cta svg { width: 18px; height: 18px; }
.nav-toggle { display: none; position: relative; z-index: 80; width: 46px; height: 46px; border-radius: 50%; flex-direction: column; gap: 5px; align-items: center; justify-content: center; margin-inline-start: auto; transition: background .25s; }
.nav-toggle:hover { background: rgba(103,80,164,.1); }
.nav-toggle span { width: 22px; height: 2px; background: var(--on-surface); transition: transform .4s var(--ease), opacity .3s; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero, the map in motion */
.hero { position: relative; min-height: clamp(620px, 92vh, 940px); display: flex; align-items: center; padding-block: clamp(120px, 16vh, 184px) clamp(56px, 9vw, 120px); overflow: hidden; }
.hero-map { position: absolute; inset: 0; z-index: 0; }
.hero-map svg { width: 100%; height: 100%; display: block; }
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, var(--surface) 20%, rgba(254,247,255,.72) 42%, rgba(254,247,255,0) 66%), linear-gradient(to bottom, var(--surface) 0%, rgba(254,247,255,0) 16%, rgba(254,247,255,0) 84%, var(--surface) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.7rem, 6.4vw, 4.9rem); letter-spacing: -.04em; line-height: 1; margin-block-start: 18px; }
[dir="rtl"] .hero-copy h1 { letter-spacing: 0; line-height: 1.18; }
.hero-copy h1 .hl { color: var(--primary); }
.hero-tag { margin-block: 22px 0; max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 30px; }
.hero-meta { display: flex; gap: clamp(20px, 3vw, 38px); margin-block-start: 34px; flex-wrap: wrap; }
.hero-meta .m .n { font-weight: 700; font-size: 1.7rem; color: var(--primary); } .hero-meta .m .l { font-size: .86rem; color: var(--on-surface-var); }
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::before { content: ""; position: absolute; inset: 4% 8%; background: radial-gradient(circle at 55% 42%, rgba(103,80,164,.3), transparent 64%); border-radius: 50%; filter: blur(16px); z-index: -1; }

.hero-route { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .hero-route { animation: routedraw 2.4s var(--ease-emph) .35s forwards; }
html:not(.js) .hero-route { stroke-dashoffset: 0; }
@keyframes routedraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { html.js .hero-route { animation: none; stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------- Android device + Material 3 app */
.aphone { position: relative; width: min(340px, 84vw); aspect-ratio: 9 / 19.6; background: #15131A; border-radius: 40px; padding: 9px; box-shadow: 0 50px 90px -42px rgba(50,40,80,.55), inset 0 0 0 2px rgba(255,255,255,.05); }
.aphone::before { content: ""; position: absolute; inset-inline-end: -3px; inset-block-start: 24%; width: 3px; height: 52px; background: #2a2730; border-radius: 0 3px 3px 0; box-shadow: 0 70px 0 #2a2730; }
.aphone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; isolation: isolate; }
.punch { position: absolute; inset-block-start: 12px; inset-inline: 0; margin-inline: auto; width: 11px; height: 11px; background: #0a0810; border-radius: 50%; z-index: 40; box-shadow: 0 0 0 2px rgba(0,0,0,.3); }
.and-status { flex: none; height: 34px; padding: 11px 18px 0; display: flex; align-items: center; justify-content: space-between; font-size: .72rem; font-weight: 600; color: var(--on-surface); }
.and-status .ic { display: inline-flex; gap: 5px; align-items: center; } .and-status .ic svg { height: 12px; width: auto; display: block; }

.app { position: relative; flex: 1; overflow: hidden; }
.screen { position: absolute; inset: 0; overflow-y: auto; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.screen.active { opacity: 1; transform: none; pointer-events: auto; }
.screen::-webkit-scrollbar { width: 0; }
html:not(.js) .screen { position: relative; opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .screen:not(#scr-home) { display: none; }
.screen-pad { padding: 8px 16px 96px; }

/* M3 top app bar */
.appbar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; min-height: 56px; }
.appbar .ttl { font-size: 1.32rem; font-weight: 600; }
.appbar .ic-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--on-surface); transition: background .2s; } .appbar .ic-btn:hover { background: var(--surface-var); } .appbar .ic-btn svg { width: 22px; height: 22px; }
.appbar .ic-btn.end { margin-inline-start: auto; } [dir="rtl"] .appbar .ic-btn.end { margin-inline-start: 0; margin-inline-end: auto; }

/* map */
.map { position: absolute; inset: 0; z-index: 0; background: #E9E4EF; }
.map svg { width: 100%; height: 100%; display: block; }
.map-search { position: absolute; inset-block-start: 44px; inset-inline: 14px; z-index: 6; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 100px; padding: 13px 18px; box-shadow: 0 3px 10px rgba(28,27,31,.16); font-size: .92rem; color: var(--on-surface-var); }
.map-search svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.fab { position: absolute; inset-inline-end: 16px; inset-block-end: 304px; z-index: 7; width: 52px; height: 52px; border-radius: 16px; background: var(--primary-c); color: var(--on-primary-c); display: grid; place-items: center; box-shadow: 0 4px 10px rgba(28,27,31,.22); transition: transform .2s; } .fab:hover { transform: scale(1.04); } .fab svg { width: 24px; height: 24px; }

/* bottom sheet (booking flow) */
.bsheet { position: absolute; inset-inline: 0; inset-block-end: 78px; z-index: 8; background: var(--surface); border-radius: 26px 26px 0 0; box-shadow: 0 -3px 18px rgba(28,27,31,.14); padding: 8px 16px 18px; }
.bsheet .grab { width: 36px; height: 4px; border-radius: 3px; background: var(--outline-var); margin: 6px auto 12px; }
.bstate { display: none; } .bstate.on { display: block; }
.bsheet h3 { font-size: 1.12rem; font-weight: 600; margin-block-end: 12px; }
.place { display: flex; align-items: center; gap: 14px; padding: 11px 4px; width: 100%; text-align: start; border-radius: 12px; transition: background .2s; } .place:hover { background: var(--surface-1); }
.place .pic { width: 40px; height: 40px; border-radius: 50%; background: var(--secondary-c); color: var(--on-secondary-c); display: grid; place-items: center; flex: none; } .place .pic svg { width: 20px; height: 20px; }
.place > span:not(.pic) { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.3; }
.place .pn { font-weight: 600; font-size: .95rem; } .place .pa { font-size: .8rem; color: var(--on-surface-var); }

.ride { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; width: 100%; text-align: start; border: 1px solid var(--outline-var); margin-block-end: 10px; background: var(--surface); transition: border-color .2s, background .2s; }
.ride[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-c); }
.ride .ri { width: 48px; height: 40px; display: grid; place-items: center; color: var(--primary); flex: none; } .ride .ri svg { width: 38px; height: 30px; }
.ride > span:not(.ri):not(.rp) { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.3; }
.ride .rn { font-weight: 600; } .ride .rd { font-size: .8rem; color: var(--on-surface-var); }
.ride .rp { margin-inline-start: auto; font-weight: 700; } [dir="rtl"] .ride .rp { margin-inline-start: 0; margin-inline-end: auto; }
.pay-row { display: flex; align-items: center; gap: 10px; padding: 10px 4px; font-size: .9rem; color: var(--on-surface-var); margin-block: 4px 12px; }
.pay-row svg { width: 20px; height: 20px; color: var(--primary); }
.pay-row .chg { margin-inline-start: auto; color: var(--primary); font-weight: 600; } [dir="rtl"] .pay-row .chg { margin-inline-start: 0; margin-inline-end: auto; }
.bsheet .btn { width: 100%; }

/* trip state */
.driver { display: flex; align-items: center; gap: 14px; margin-block-end: 14px; }
.driver .dav { width: 52px; height: 52px; border-radius: 50%; background: var(--tertiary-c); color: var(--on-tertiary-c); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; flex: none; }
.driver .dn { font-weight: 600; } .driver .dr { font-size: .82rem; color: var(--on-surface-var); display: flex; align-items: center; gap: 4px; } .driver .dr svg { width: 14px; height: 14px; color: #E8A12C; }
.driver .car { margin-inline-start: auto; text-align: end; } [dir="rtl"] .driver .car { margin-inline-start: 0; margin-inline-end: auto; text-align: start; }
.driver .plate { font-weight: 700; font-size: .92rem; } .driver .cm { font-size: .8rem; color: var(--on-surface-var); }
.eta-bar { background: var(--primary-c); color: var(--on-primary-c); border-radius: 14px; padding: 13px 16px; font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 10px; margin-block-end: 14px; } .eta-bar svg { width: 20px; height: 20px; }
.trip-acts { display: flex; gap: 10px; } .trip-acts .btn { flex: 1; }

/* generic app cards / lists for other tabs */
.m-card { background: var(--surface-1); border-radius: 16px; padding: 16px; margin-block-end: 12px; }
.trip-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-block-end: 1px solid var(--surface-var); }
.trip-item:last-child { border-block-end: 0; }
.trip-item .tic { width: 42px; height: 42px; border-radius: 12px; background: var(--secondary-c); color: var(--on-secondary-c); display: grid; place-items: center; flex: none; } .trip-item .tic svg { width: 21px; height: 21px; }
.trip-item .tn { font-weight: 600; font-size: .94rem; } .trip-item .tsub { font-size: .8rem; color: var(--on-surface-var); }
.trip-item .tp { margin-inline-start: auto; font-weight: 700; } [dir="rtl"] .trip-item .tp { margin-inline-start: 0; margin-inline-end: auto; }
.wallet-hero { background: linear-gradient(135deg, var(--primary), var(--tertiary)); color: #fff; border-radius: 22px; padding: 22px; margin-block-end: 16px; }
.wallet-hero .wl { font-size: .82rem; opacity: .85; } .wallet-hero .wb { font-weight: 700; font-size: 2rem; margin-block: 4px; }
.acc-top { display: flex; align-items: center; gap: 14px; padding: 4px 0 16px; }
.acc-top .aav { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-c); color: var(--on-primary-c); display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; }
.acc-top .an { font-weight: 600; } .acc-top .ae { font-size: .82rem; color: var(--on-surface-var); }
.acc-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-block-end: 1px solid var(--surface-var); font-size: .94rem; } .acc-row:last-child { border-block-end: 0; }
.acc-row svg { width: 21px; height: 21px; color: var(--on-surface-var); } .acc-row .chev { margin-inline-start: auto; opacity: .5; } [dir="rtl"] .acc-row .chev { margin-inline-start: 0; margin-inline-end: auto; transform: scaleX(-1); }

/* M3 bottom navigation with pill indicator */
.navbar { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 20; height: 78px; padding: 10px 6px 14px; display: flex; justify-content: space-around; background: var(--surface-2); }
.navd { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; color: var(--on-surface-var); font-size: .68rem; font-weight: 500; }
.navd .pill { width: 56px; height: 30px; border-radius: 100px; display: grid; place-items: center; transition: background .25s var(--ease); }
.navd .pill svg { width: 22px; height: 22px; }
.navd .ico-fill { display: none; }
.navd.active .ico-out { display: none; } .navd.active .ico-fill { display: block; }
.navd.active { color: var(--on-surface); } .navd.active .pill { background: var(--secondary-c); color: var(--on-secondary-c); }
.gesture { position: absolute; inset-inline: 0; inset-block-end: 7px; margin-inline: auto; width: 108px; height: 4px; border-radius: 3px; background: var(--on-surface); opacity: .55; z-index: 21; }

/* ---------------------------------------------------------------- features bento */
.bento-head { max-width: 30ch; margin-block-end: clamp(26px, 4vw, 44px); }
.bento-head .chip-label { margin-block-end: 16px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.b-main { grid-column: span 7; grid-row: span 2; background: var(--primary-c); color: var(--on-primary-c); border-radius: 30px; padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column; }
.b-card { border-radius: 26px; padding: clamp(24px, 2.6vw, 34px); }
.b-fare { grid-column: span 5; background: var(--tertiary-c); color: var(--on-tertiary-c); }
.b-track { grid-column: span 5; background: var(--secondary-c); color: var(--on-secondary-c); }
.b-ic { width: 54px; height: 54px; border-radius: 17px; background: rgba(255,255,255,.6); display: grid; place-items: center; margin-block-end: 18px; } .b-ic svg { width: 27px; height: 27px; }
.b-main .b-ic { width: 60px; height: 60px; border-radius: 19px; } .b-main .b-ic svg { width: 31px; height: 31px; }
.b-main h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.02em; margin-block-end: 10px; }
.b-main > p { font-size: 1.04rem; opacity: .92; max-width: 36ch; margin: 0; }
.b-card h3 { font-size: 1.3rem; margin-block-end: 8px; } .b-card p { margin: 0; font-size: .98rem; opacity: .92; }
.b-steps { list-style: none; margin: auto 0 0; padding: clamp(20px, 2.4vw, 30px) 0 0; display: grid; gap: 12px; }
.b-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .98rem; }
.b-steps .sn { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-size: .9rem; font-weight: 700; }

/* coverage band */
.coverage { background: var(--surface-2); border-radius: clamp(24px, 3vw, 36px); padding: clamp(30px, 4vw, 58px); display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cov-stat { text-align: center; padding-inline-end: clamp(20px, 3vw, 44px); border-inline-end: 1px solid var(--outline-var); }
.cov-num { display: block; font-size: clamp(4.5rem, 9vw, 7.6rem); font-weight: 700; color: var(--primary); line-height: .9; letter-spacing: -.04em; }
.cov-label { display: block; font-size: .95rem; color: var(--on-surface-var); margin-block-start: 6px; }
.cov-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
[dir="rtl"] .cov-body h3 { letter-spacing: 0; }
.cov-body > p { color: var(--on-surface-var); margin-block: 10px 18px; max-width: 44ch; }
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.city { padding: .55em 1.15em; border-radius: 100px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--outline-var); font-weight: 600; font-size: .92rem; }

/* safety panel, asymmetric */
.safety { background: var(--primary); color: var(--on-primary); border-radius: clamp(24px, 3vw, 40px); padding: clamp(34px, 5vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.safety .display { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.safety-lead .chip-label { margin-block-end: 18px; }
.safety-lead p { color: rgba(255,255,255,.82); margin-block: 16px 0; max-width: 34ch; }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 2vw, 22px); }
.safety-list li { display: flex; gap: 16px; align-items: flex-start; }
.s-ic { flex: none; width: 50px; height: 50px; border-radius: 16px; background: rgba(255,255,255,.16); display: grid; place-items: center; } .s-ic svg { width: 25px; height: 25px; color: #fff; }
.safety-list h4 { font-size: 1.12rem; margin-block-end: 4px; } .safety-list p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.82); }

/* testimonial block */
.testi { background: var(--secondary-c); color: var(--on-secondary-c); border-radius: clamp(24px, 3vw, 36px); padding: clamp(34px, 5vw, 64px); max-width: 62ch; margin-inline: auto; text-align: center; }
.testi .qt { font-weight: 600; font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.36; margin: 0; }
.testi .by { margin-block-start: 22px; display: inline-flex; align-items: center; gap: 11px; }
.testi .by .av { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 700; }
.testi .by .nm { font-weight: 600; } .testi .by .rl { font-size: .85rem; opacity: .72; margin-inline-start: .5em; }

/* cta band */
.cta-band { background: var(--primary-c); color: var(--on-primary-c); border-radius: clamp(26px, 3.4vw, 44px); padding: clamp(40px, 6vw, 86px) clamp(24px, 4vw, 56px); text-align: center; }
.cta-band .display { color: var(--on-primary-c); max-width: 16ch; margin-inline: auto; }
.cta-band > p { color: var(--on-primary-c); opacity: .82; margin-block: 14px 28px; }

/* ---------------------------------------------------------------- footer */
.footer { padding-block: var(--gut) 30px; }
.footer-panel { background: var(--primary-c); color: var(--on-primary-c); border-radius: clamp(28px, 4vw, 48px); padding: clamp(34px, 5vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.footer-word { font-weight: 700; font-size: clamp(3.6rem, 12vw, 9rem); line-height: .9; letter-spacing: -.05em; color: var(--primary); }
[dir="rtl"] .footer-word { letter-spacing: 0; line-height: 1; font-family: var(--ar); }
.footer-panel-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-blurb { color: var(--on-primary-c); opacity: .82; max-width: 36ch; font-size: .98rem; margin: 0; }
.footer-cta svg { width: 18px; height: 18px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--on-primary-c); opacity: .82; font-size: .95rem; font-weight: 500; transition: opacity .25s; } .footer-nav a:hover { opacity: 1; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 18px 26px; flex-wrap: wrap; margin-block-start: clamp(26px, 4vw, 42px); font-size: .84rem; color: var(--on-surface-var); }
.footer-base-l { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-1); box-shadow: inset 0 0 0 1px var(--outline-var); color: var(--on-surface); transition: background .3s, color .3s; }
.socials a:hover { background: var(--primary); color: var(--on-primary); } .socials svg { width: 18px; height: 18px; }
.credit { display: inline-flex; align-items: center; gap: 12px; }
.credit-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--on-surface-var); }
[dir="rtl"] .credit-label { letter-spacing: 0; text-transform: none; font-size: .9rem; font-family: var(--ar); }
.wlogo { display: inline-flex; align-items: center; gap: 11px; opacity: .92; transition: opacity .4s; } .wlogo:hover { opacity: 1; }
.wlogo-mark { height: 38px; width: auto; display: block; } .wlogo-word { height: 26px; width: auto; display: block; }

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: var(--scrim); }
.modal-card { position: relative; background: var(--surface-1); max-width: 440px; width: 100%; padding: clamp(28px, 4vw, 42px); border-radius: 28px; text-align: center; }
.modal-card .mk { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 15px; background: var(--primary-c); color: var(--on-primary-c); display: grid; place-items: center; } .modal-card .mk svg { width: 26px; height: 26px; }
.modal-card h3 { font-size: 1.4rem; } .modal-card p { color: var(--on-surface-var); margin: 12px 0 0; }
.modal-close { margin-block-start: 22px; }

.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 10px 16px; z-index: 200; border-radius: 8px; } .skip:focus { inset-inline-start: 12px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .b-main { grid-column: span 2; grid-row: auto; }
  .b-fare, .b-track { grid-column: span 1; }
  .safety { grid-template-columns: 1fr; gap: 28px; }
  .footer-panel { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-menu { position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; padding: 80px var(--pad); background: rgba(254,247,255,.98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateX(100%); transition: transform .5s var(--ease); pointer-events: none; }
  [dir="rtl"] .nav-menu { transform: translateX(-100%); }
  body.menu-open .nav-menu { transform: none; pointer-events: auto; }
  /* the scrolled nav gets backdrop-filter, which makes it the containing block
     for the fixed .nav-menu and collapses the overlay. drop it while menu is open. */
  body.menu-open .nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-links { flex-direction: column; align-items: center; gap: 26px; margin: 0; }
  .nav-links a { font-size: 1.4rem; }
  .nav-links a::after { display: none; }
  .nav-end { flex-direction: column; align-items: center; gap: 22px; margin: 0; }
  .nav-end .lang { font-size: 1.2rem; }
  .nav-end .nav-cta { font-size: 1.05rem; padding: .8em 1.7em; }
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-veil { background: linear-gradient(to bottom, var(--surface) 0%, rgba(254,247,255,.32) 38%, rgba(254,247,255,.88) 78%); }
  .phone-stage { order: -1; margin-block-end: 18px; }
  .bento { grid-template-columns: 1fr; }
  .b-main, .b-fare, .b-track { grid-column: auto; grid-row: auto; }
  .coverage { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .cov-stat { border-inline-end: 0; border-block-end: 1px solid var(--outline-var); padding: 0 0 20px; }
  .cities { justify-content: center; }
  .footer-base { justify-content: center; text-align: center; }
}
