/* YAHYA's public front page (resources/views/yahya/landing.blade.php) on Bootstrap 5.
   YAHYA's own blue: --yl-brand is the design's colour for fills, icons and borders; --yl-primary is the same hue
   darkened so text on it, and of it, reads at 4.5:1 or better. The red is the heart of the logo — a small accent. */
:root {
  --yl-brand: #4894FE; --yl-primary: #2F6FD8; --yl-primary-ink: #2458B8; --yl-deep: #183470; --yl-night: #0D1B34;
  --yl-soft: #EEF5FF; --yl-soft-2: #F6F9FE; --yl-line: #E2EAF6; --yl-ink: #0D1B34; --yl-ink-2: #2D3748; --yl-muted: #5A6A8C;
  --yl-vital: #D91C20; --yl-ok: #15803D;
  --yl-radius: 18px; --yl-shadow: 0 18px 50px -24px rgba(24, 52, 112, .35);
  --bs-font-sans-serif: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--yl-ink); --bs-link-color: var(--yl-primary); --bs-link-hover-color: var(--yl-primary-ink);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--bs-font-sans-serif); color: var(--yl-ink); background: #fff; line-height: 1.75; overflow-x: hidden; }
.yl-skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--yl-brand); outline-offset: 2px; }

/* buttons */
.yl-btn { background: var(--yl-primary); color: #fff; border: 0; border-radius: 999px; font-weight: 700; padding-inline: 1.25rem; box-shadow: 0 10px 24px -12px rgba(47, 111, 216, .8); }
.yl-btn:hover, .yl-btn:focus { background: var(--yl-primary-ink); color: #fff; }
.yl-btn-ghost { background: #fff; color: var(--yl-primary-ink); border: 1.5px solid var(--yl-line); border-radius: 999px; font-weight: 700; padding-inline: 1.25rem; }
.yl-btn-ghost:hover { border-color: var(--yl-brand); color: var(--yl-primary-ink); background: var(--yl-soft-2); }
.btn-lg.yl-btn, .btn-lg.yl-btn-ghost { padding: .8rem 1.6rem; font-size: 1.05rem; }

/* nav */
.yl-nav { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .2s, background .2s; padding-block: .7rem; }
.yl-nav.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 6px 24px -12px rgba(13, 27, 52, .25); }
.yl-nav .nav-link { color: var(--yl-ink-2); font-weight: 600; border-radius: 10px; padding-inline: .8rem !important; }
.yl-nav .nav-link:hover, .yl-nav .nav-link.active { color: var(--yl-primary-ink); background: var(--yl-soft); }
.yl-lang { color: var(--yl-ink-2); font-weight: 700; }

/* hero */
.yl-hero { position: relative; padding: 140px 0 64px; background: linear-gradient(180deg, #F3F8FF 0%, #FFFFFF 100%); overflow: hidden; }
.yl-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.yl-blob-1 { width: 520px; height: 520px; background: #CBE1FF; top: -160px; inset-inline-end: -120px; }
.yl-blob-2 { width: 380px; height: 380px; background: #FFE3E3; bottom: -140px; inset-inline-start: -120px; opacity: .45; }
.yl-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--yl-line); color: var(--yl-primary-ink); font-weight: 700; font-size: .9rem; border-radius: 999px; padding: .35rem .9rem; }
.yl-eyebrow i { color: var(--yl-vital); }
.yl-h1 { font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.25; margin: 1.1rem 0 1rem; letter-spacing: -.01em; }
.yl-h1 span { color: var(--yl-primary); }
.yl-lead { font-size: 1.15rem; color: var(--yl-ink-2); max-width: 36rem; }
.yl-trust li { display: inline-flex; align-items: center; gap: .45rem; color: var(--yl-muted); font-weight: 600; font-size: .95rem; }
.yl-trust i { color: var(--yl-ok); }

/* the phone in the hero */
.yl-stage { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.yl-phone { width: 290px; border-radius: 44px; background: #0D1B34; padding: 12px; box-shadow: 0 40px 80px -30px rgba(13, 27, 52, .55); position: relative; }
.yl-phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #0D1B34; z-index: 2; }
.yl-phone-screen { border-radius: 34px; background: #F6F9FE; overflow: hidden; padding: 50px 14px 12px; min-height: 560px; display: flex; flex-direction: column; gap: 10px; }
.yl-app-top { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #2F6FD8, #4894FE); color: #fff; border-radius: 18px; padding: 12px 14px; }
.yl-app-top img { width: 34px; height: 34px; }
.yl-app-top div { flex: 1; line-height: 1.3; }
.yl-app-top small { display: block; opacity: .85; font-size: .75rem; }
.yl-app-top b { font-size: 1rem; }
.yl-app-card { padding: 2px; }
.yl-mini-card { border-radius: 16px; padding: 14px; color: #fff; background: linear-gradient(135deg, #183470 0%, #2F6FD8 60%, #4894FE 100%); min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 30px -18px rgba(24, 52, 112, .9); }
.yl-mini-card span { font-size: .78rem; opacity: .9; }
.yl-mini-card b { font-size: 1.15rem; letter-spacing: .12em; text-align: left; }
.yl-app-row { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--yl-line); }
.yl-app-row i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--yl-soft); color: var(--yl-primary); flex: none; }
.yl-app-row small { display: block; font-size: .72rem; color: var(--yl-muted); line-height: 1.3; }
.yl-app-row b { font-size: .82rem; line-height: 1.4; display: block; }
.yl-app-tabs { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 16px; padding: 10px; color: var(--yl-muted); border: 1px solid var(--yl-line); }
.yl-app-tabs i:first-child { color: var(--yl-primary); }
.yl-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--yl-shadow); border: 1px solid var(--yl-line); animation: yl-bob 6s ease-in-out infinite; }
.yl-float i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #FDECEC; color: var(--yl-vital); }
.yl-float b { display: block; font-size: 1.1rem; line-height: 1.1; }
.yl-float small { color: var(--yl-muted); font-size: .75rem; }
.yl-float-1 { top: 70px; inset-inline-end: 4%; }
.yl-float-2 { bottom: 70px; inset-inline-start: 2%; animation-delay: -3s; }
.yl-float-2 i { background: var(--yl-soft); color: var(--yl-primary); }
.yl-rot { transform: rotate(90deg); }
@keyframes yl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* numbers */
.yl-stat { background: #fff; border: 1px solid var(--yl-line); border-radius: var(--yl-radius); padding: 1.1rem 1.2rem; text-align: center; height: 100%; }
.yl-stat b { display: block; font-size: 2rem; font-weight: 900; color: var(--yl-primary); line-height: 1.2; }
.yl-stat > span { color: var(--yl-muted); font-weight: 600; font-size: .92rem; }

/* sections */
.yl-section { padding: 88px 0; }
.yl-soft { background: var(--yl-soft-2); }
.yl-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.yl-head h2, .yl-h2 { font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.3; margin: .4rem 0 .8rem; }
.yl-head p { color: var(--yl-ink-2); font-size: 1.08rem; margin: 0; }
.yl-kicker { display: inline-block; color: var(--yl-primary-ink); font-weight: 800; font-size: .9rem; background: var(--yl-soft); border-radius: 999px; padding: .25rem .9rem; }
.yl-h3 { font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.yl-h3 i { color: var(--yl-vital); }
.yl-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--yl-soft); color: var(--yl-primary); font-size: 1.25rem; flex: none; }
.yl-ico-sm { width: 42px; height: 42px; font-size: 1.05rem; }
.yl-feature { background: #fff; border: 1px solid var(--yl-line); border-radius: var(--yl-radius); padding: 1.4rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.yl-feature:hover { transform: translateY(-4px); box-shadow: var(--yl-shadow); border-color: #CBE1FF; }
.yl-feature h3 { font-size: 1.08rem; font-weight: 800; margin: 1rem 0 .35rem; }
.yl-feature p, .yl-benefit p, .yl-step p { color: var(--yl-muted); margin: 0; font-size: .96rem; }

/* card section */
.yl-benefit { display: flex; gap: .9rem; background: #fff; border: 1px solid var(--yl-line); border-radius: 16px; padding: 1rem; height: 100%; }
.yl-benefit h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .2rem; }
.yl-note { margin-top: 1.2rem; color: var(--yl-muted); font-size: .92rem; display: flex; gap: .5rem; align-items: center; }
.yl-note i { color: var(--yl-primary); }
.yl-cards { position: relative; height: 330px; max-width: 420px; margin: 0 auto; }
.yl-ycard { position: absolute; width: 340px; max-width: 86%; aspect-ratio: 1.586; border-radius: 20px; color: #fff; padding: 20px 22px; background: linear-gradient(135deg, #0D1B34 0%, #183470 45%, #2F6FD8 100%); box-shadow: 0 30px 60px -28px rgba(13, 27, 52, .8); inset-inline-start: 0; bottom: 0; transform: rotate(-6deg); }
.yl-ycard-e { inset-inline-start: auto; inset-inline-end: 0; top: 0; bottom: auto; transform: rotate(5deg); background: linear-gradient(135deg, #2F6FD8 0%, #4894FE 70%, #6FABFE 100%); }
.yl-yc-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; }
.yl-yc-logo img { width: 34px; height: 34px; }
.yl-yc-chip { position: absolute; top: 44%; left: 22px; width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #F7DB8C, #C9A24A); }
.yl-yc-nfc { position: absolute; top: 46%; left: 80px; font-size: 1.3rem; transform: rotate(90deg); opacity: .9; }
.yl-yc-num { position: absolute; bottom: 46px; left: 22px; right: 22px; text-align: left; font-size: 1.35rem; font-weight: 800; letter-spacing: .14em; }
.yl-yc-who { position: absolute; bottom: 16px; inset-inline-start: 22px; font-size: .8rem; opacity: .9; }
.yl-yc-qr { position: absolute; top: 22px; left: 22px; font-size: 2rem; opacity: .95; }
.yl-price { margin: 24px auto 0; max-width: 340px; background: #fff; border: 1px solid var(--yl-line); border-radius: 16px; padding: .9rem 1.2rem; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; justify-content: center; box-shadow: var(--yl-shadow); }
.yl-price span { color: var(--yl-muted); font-weight: 600; }
.yl-price b { font-size: 1.6rem; font-weight: 900; color: var(--yl-primary); }
.yl-price small { color: var(--yl-muted); width: 100%; text-align: center; }
.yl-offer { background: #fff; border: 1px solid var(--yl-line); border-radius: 16px; padding: 1.1rem 1.2rem; position: relative; }
.yl-offer-pct { position: absolute; top: 14px; inset-inline-end: 14px; background: #ECFDF3; color: var(--yl-ok); font-weight: 900; border-radius: 999px; padding: .1rem .7rem; }

/* steps */
.yl-step { position: relative; background: #fff; border: 1px solid var(--yl-line); border-radius: var(--yl-radius); padding: 2.2rem 1.5rem 1.5rem; text-align: center; }
.yl-step-n { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--yl-primary); color: #fff; font-weight: 900; font-size: 1.2rem; box-shadow: 0 10px 22px -10px rgba(47, 111, 216, .9); }
.yl-step h3 { font-weight: 800; font-size: 1.15rem; margin-bottom: .4rem; }

/* map */
.yl-mapbox { background: #fff; border: 1px solid var(--yl-line); border-radius: 24px; overflow: hidden; box-shadow: var(--yl-shadow); }
.yl-map { height: 640px; background: radial-gradient(circle at 30% 30%, #E4F0FF 0%, #CFE3FB 70%, #C3DBF8 100%); }
.yl-map .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .7); }
.yl-legend { position: absolute; z-index: 500; bottom: 14px; inset-inline-start: 14px; background: rgba(255, 255, 255, .92); border-radius: 12px; padding: .45rem .8rem; font-size: .82rem; display: flex; gap: .9rem; box-shadow: 0 6px 18px -10px rgba(13, 27, 52, .4); }
.yl-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.yl-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--yl-primary); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--yl-primary); }
.yl-dot-card { background: var(--yl-vital); box-shadow: 0 0 0 1px var(--yl-vital); }
.yl-finder { display: flex; flex-direction: column; height: 640px; border-inline-end: 1px solid var(--yl-line); }
.yl-filters { padding: 1rem; border-bottom: 1px solid var(--yl-line); background: var(--yl-soft-2); }
.yl-search { border-radius: 12px; padding-inline-start: 2.4rem; height: 46px; }
.yl-search-ico { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 14px; color: var(--yl-muted); }
.yl-chip { border: 1.5px solid var(--yl-line); background: #fff; border-radius: 999px; font-weight: 700; color: var(--yl-ink-2); }
.btn-check:checked + .yl-chip, .yl-chip.active { background: var(--yl-primary); border-color: var(--yl-primary); color: #fff; }
.yl-list { overflow-y: auto; flex: 1; }
.yl-item { padding: .9rem 1rem; border-bottom: 1px solid var(--yl-line); cursor: pointer; display: flex; gap: .8rem; transition: background .15s; }
.yl-item:hover, .yl-item.is-active { background: var(--yl-soft); }
.yl-item .yl-ico { width: 40px; height: 40px; font-size: 1rem; }
.yl-item.is-card .yl-ico { background: #FDECEC; color: var(--yl-vital); }
.yl-item h4 { font-size: 1rem; font-weight: 800; margin: 0 0 .1rem; }
.yl-item .meta { color: var(--yl-muted); font-size: .86rem; }
.yl-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; border-radius: 999px; padding: .05rem .55rem; background: #FDECEC; color: #A3151A; }
.yl-badge.km { background: var(--yl-soft); color: var(--yl-primary-ink); }
.yl-empty { padding: 2.5rem 1.5rem; text-align: center; color: var(--yl-muted); }
.yl-empty i { font-size: 2.2rem; color: var(--yl-brand); margin-bottom: .6rem; }
.yl-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--yl-primary); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(13, 27, 52, .6); display: grid; place-items: center; }
.yl-pin i { transform: rotate(45deg); color: #fff; font-size: 12px; }
.yl-pin.card { background: var(--yl-vital); }
.yl-pin.is-active { outline: 4px solid rgba(72, 148, 254, .45); }
.yl-me { width: 18px; height: 18px; border-radius: 50%; background: #16A34A; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(22, 163, 74, .25); }
.yl-city { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 12px; color: #33507F; white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; display: flex; align-items: center; gap: 4px; }
.yl-city::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #7C93BC; flex: none; }
.yl-city.major { font-size: 14px; color: #183470; font-weight: 900; }
.yl-city.capital::before { width: 8px; height: 8px; background: var(--yl-vital); }
.yl-country { font-family: 'Cairo', sans-serif; font-weight: 900; font-size: 22px; color: rgba(24, 52, 112, .22); letter-spacing: .2em; white-space: nowrap; }
.leaflet-popup-content-wrapper { border-radius: 14px; font-family: 'Cairo', sans-serif; }
.leaflet-popup-content { margin: 12px 14px; min-width: 200px; direction: rtl; text-align: right; }
html[dir=ltr] .leaflet-popup-content { direction: ltr; text-align: left; }
.yl-pop h5 { font-weight: 800; font-size: 1rem; margin: 0 0 .2rem; }
.yl-pop .meta { color: var(--yl-muted); font-size: .85rem; }
.yl-pop .acts { display: flex; gap: .4rem; margin-top: .6rem; flex-wrap: wrap; }
.yl-pop .acts a { font-size: .82rem; font-weight: 700; border-radius: 999px; padding: .2rem .7rem; background: var(--yl-soft); color: var(--yl-primary-ink); text-decoration: none; }

/* apps */
.yl-apps { background: radial-gradient(900px 500px at 85% 0%, rgba(72, 148, 254, .45), transparent 70%), linear-gradient(160deg, #183470 0%, #0D1B34 100%); color: #fff; }
.yl-head-light h2 { color: #fff; }
.yl-head-light p { color: #C9D6EE; }
.yl-head-light .yl-kicker { background: rgba(255, 255, 255, .12); color: #CFE3FF; }
.yl-qr { background: #fff; color: var(--yl-ink); border-radius: 22px; padding: 1.4rem; text-align: center; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.yl-qr-head { display: flex; align-items: center; gap: .8rem; text-align: start; margin-bottom: 1rem; }
.yl-qr-head i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--yl-soft); color: var(--yl-primary); font-size: 1.4rem; flex: none; }
.yl-qr-head b { display: block; font-size: 1.1rem; }
.yl-qr-head small { color: var(--yl-muted); line-height: 1.4; display: block; }
.yl-qr-code { display: inline-block; padding: 10px; border-radius: 16px; border: 1px solid var(--yl-line); background: #fff; margin-bottom: .6rem; }
.yl-qr-code svg { display: block; width: 168px; height: 168px; }
.yl-qr-soon { padding: 3rem 1rem; color: var(--yl-muted); font-weight: 700; border: 2px dashed var(--yl-line); border-radius: 16px; }
.yl-link-light { color: #CFE3FF; font-weight: 700; text-decoration: none; }
.yl-link-light:hover { color: #fff; }

/* faq */
.yl-faq .accordion-item { border: 1px solid var(--yl-line); border-radius: 16px !important; overflow: hidden; margin-bottom: .7rem; }
.yl-faq .accordion-button { font-weight: 800; font-family: inherit; padding: 1.1rem 1.25rem; }
.yl-faq .accordion-button:not(.collapsed) { background: var(--yl-soft); color: var(--yl-primary-ink); box-shadow: none; }
.yl-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(72, 148, 254, .35); }
.yl-faq .accordion-body { color: var(--yl-ink-2); }

/* cta + footer */
.yl-cta { padding: 80px 0; background: linear-gradient(135deg, #2F6FD8 0%, #4894FE 100%); color: #fff; }
.yl-cta h2 { font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.yl-cta p { color: #E6F0FF; font-size: 1.1rem; margin: 0; }
.yl-cta .btn-light { color: var(--yl-primary-ink); border-radius: 999px; }
.yl-cta .btn-outline-light { border-radius: 999px; font-weight: 700; }
.yl-footer { background: var(--yl-night); color: #C9D6EE; padding: 28px 0; }
.yl-footer a { color: #E6F0FF; text-decoration: none; }
.yl-footer a:hover { color: #fff; text-decoration: underline; }

/* reveal on scroll */
.yl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.yl-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .yl-reveal { opacity: 1; transform: none; transition: none; } .yl-float { animation: none; } }
.no-js .yl-reveal { opacity: 1; transform: none; }

@media (max-width: 1199.98px) { .yl-nav { background: rgba(255, 255, 255, .96); } }
@media (max-width: 991.98px) {
  .yl-nav { background: rgba(255, 255, 255, .96); }
  .yl-hero { padding-top: 112px; }
  .yl-map { height: 460px; }
  .yl-finder { height: auto; max-height: 520px; border-inline-end: 0; border-top: 1px solid var(--yl-line); }
  .yl-section { padding: 64px 0; }
}
@media (max-width: 575.98px) {
  .yl-phone { width: 256px; }
  .yl-phone-screen { min-height: 500px; }
  .yl-float { display: none; }
  .yl-cards { height: 270px; }
  .yl-ycard { width: 290px; }
  .yl-yc-num { font-size: 1.1rem; }
  .yl-stat b { font-size: 1.6rem; }
  .yl-feature { padding: 1rem; }
  .yl-feature h3 { font-size: .98rem; margin-top: .7rem; }
  .yl-feature p { font-size: .86rem; line-height: 1.6; }
  .yl-ico { width: 42px; height: 42px; font-size: 1.05rem; }
}

/* ───────────────────── motion and interaction (v2) ───────────────────── */
/* reading progress */
.yl-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--yl-brand), var(--yl-vital)); z-index: 1100; }
html[dir=rtl] .yl-progress { transform-origin: 100% 50%; }

/* the hero breathes: the blobs drift, the companion word turns */
.yl-blob-1 { animation: yl-drift 14s ease-in-out infinite alternate; }
.yl-blob-2 { animation: yl-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes yl-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
.yl-companion { font-weight: 800; font-size: 1.25rem; color: var(--yl-ink-2); margin: -.2rem 0 .6rem; display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.yl-companion > i { color: var(--yl-vital); animation: yl-beat 1.6s ease-in-out infinite; }
@keyframes yl-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
.yl-rotator { display: inline-block; color: #fff; background: linear-gradient(135deg, var(--yl-primary), var(--yl-brand)); padding: 0 .75rem; border-radius: 10px; min-width: 6ch; text-align: center; transition: opacity .3s, transform .3s; }
.yl-rotator.is-out { opacity: 0; transform: translateY(-8px); }

/* the phone tilts toward the pointer; notifications slide in on it */
.yl-stage { perspective: 1200px; }
.yl-tilt-inner { transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }
.yl-toasts { position: absolute; z-index: 3; top: 92px; inset-inline-start: 50%; width: 270px; margin-inline-start: -135px; pointer-events: none; }
.yl-toast { position: absolute; inset-inline: 0; display: flex; gap: .7rem; align-items: center; background: rgba(255, 255, 255, .97); border: 1px solid var(--yl-line); border-radius: 18px; padding: .7rem .85rem; box-shadow: 0 20px 40px -18px rgba(13, 27, 52, .45); opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .3, 1.2); }
.yl-toast.is-on { opacity: 1; transform: none; }
.yl-toast i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--yl-soft); color: var(--yl-primary); flex: none; }
.yl-toast:first-child i { background: #FDECEC; color: var(--yl-vital); }
.yl-toast b { display: block; font-size: .86rem; line-height: 1.35; }
.yl-toast small { color: var(--yl-muted); font-size: .76rem; }

/* features: the icon lifts */
.yl-feature:hover .yl-ico { animation: yl-hop .5s ease; }
@keyframes yl-hop { 40% { transform: translateY(-6px) rotate(-6deg); } 70% { transform: translateY(0) rotate(3deg); } }

/* why: without / with */
.yl-why { max-width: 980px; margin: 0 auto; }
.yl-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(440px, 100%); margin: 0 auto; background: #EEF2F8; border-radius: 999px; padding: 5px; }
.yl-switch button { position: relative; z-index: 1; border: 0; background: none; font-weight: 800; padding: .6rem 1rem; border-radius: 999px; color: var(--yl-muted); transition: color .3s; }
.yl-switch button.is-on { color: #fff; }
.yl-switch-thumb { position: absolute; top: 5px; bottom: 5px; width: calc(50% - 5px); inset-inline-start: 5px; border-radius: 999px; background: var(--yl-primary); box-shadow: 0 8px 18px -8px rgba(47, 111, 216, .8); transition: transform .45s cubic-bezier(.2, .8, .3, 1.15), background .3s; }
html[dir=rtl] [data-why].is-after .yl-switch-thumb { transform: translateX(-100%); }
html[dir=ltr] [data-why].is-after .yl-switch-thumb { transform: translateX(100%); }
[data-why].is-before .yl-switch-thumb { background: #8A96AD; box-shadow: none; }
.yl-why-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--yl-line); border-radius: var(--yl-radius); padding: 1.2rem; height: 100%; transition: border-color .4s, box-shadow .4s, background .4s; }
.yl-why-text { position: relative; flex: 1; display: grid; }
.yl-why-text p { grid-area: 1 / 1; margin: 0; transition: opacity .45s, transform .45s; font-size: 1rem; }
.yl-why-text .before { color: #6B7280; }
.yl-why-text .after { color: var(--yl-ink); font-weight: 600; }
[data-why].is-after .before, [data-why].is-before .after { opacity: 0; transform: translateY(8px); pointer-events: none; }
[data-why].is-before .yl-why-card { background: #FAFAFB; }
[data-why].is-before .yl-why-card .yl-ico { background: #F1F2F5; color: #8A96AD; }
[data-why].is-after .yl-why-card { border-color: #CBE1FF; box-shadow: 0 14px 34px -24px rgba(47, 111, 216, .7); }

/* family: tabs, the points, the little phone */
.yl-ftabs { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.yl-ftabs button { display: inline-flex; align-items: center; gap: .55rem; border: 1.5px solid var(--yl-line); background: #fff; border-radius: 999px; padding: .55rem 1.1rem; font-weight: 800; color: var(--yl-ink-2); transition: all .25s; }
.yl-ftabs button i { color: var(--yl-primary); font-size: 1.1rem; }
.yl-ftabs button:hover { border-color: var(--yl-brand); transform: translateY(-2px); }
.yl-ftabs button.is-on { background: var(--yl-primary); border-color: var(--yl-primary); color: #fff; box-shadow: 0 12px 24px -12px rgba(47, 111, 216, .9); }
.yl-ftabs button.is-on i { color: #fff; }
.yl-fpanel h3 { font-weight: 900; font-size: 1.5rem; margin-bottom: 1rem; }
.yl-fpanel li { display: flex; gap: .7rem; align-items: flex-start; background: #fff; border: 1px solid var(--yl-line); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .6rem; font-size: 1.02rem; opacity: 0; transform: translateX(16px); }
html[dir=ltr] .yl-fpanel li { transform: translateX(-16px); }
.yl-fpanel.is-on li { animation: yl-in .5s forwards; }
.yl-fpanel.is-on li:nth-child(2) { animation-delay: .08s; } .yl-fpanel.is-on li:nth-child(3) { animation-delay: .16s; } .yl-fpanel.is-on li:nth-child(4) { animation-delay: .24s; }
@keyframes yl-in { to { opacity: 1; transform: none; } }
.yl-fpanel li i { color: var(--yl-ok); margin-top: .3rem; }
.yl-soon { margin-top: 1rem; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; padding: .8rem 1rem; border-radius: 14px; border: 1.5px dashed #F2B8B9; background: #FFF7F7; color: #7A1D20; font-weight: 600; }
.yl-soon span { background: var(--yl-vital); color: #fff; border-radius: 999px; padding: .05rem .7rem; font-size: .82rem; font-weight: 800; }
.yl-mini-phone { width: 300px; max-width: 100%; margin: 0 auto; border-radius: 40px; background: #0D1B34; padding: 12px; box-shadow: 0 30px 60px -28px rgba(13, 27, 52, .6); }
.yl-mini-phone > .yl-mock { display: none; }
.yl-mini-phone > .yl-mock.is-on { display: flex; }
.yl-mock { flex-direction: column; gap: 10px; min-height: 380px; border-radius: 30px; background: #F6F9FE; padding: 22px 14px; animation: yl-pop .45s cubic-bezier(.2, .8, .3, 1.2); }
@keyframes yl-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.yl-mock-title { font-weight: 900; font-size: 1.05rem; padding: 4px 4px 2px; }
.yl-mock-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--yl-line); border-radius: 14px; padding: 12px; opacity: 0; animation: yl-in .45s forwards; animation-delay: calc(var(--d) * .12s + .15s); transform: translateY(10px); }
.yl-mock-row i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--yl-soft); color: var(--yl-primary); flex: none; }
.yl-mock-row span { flex: 1; font-weight: 700; font-size: .92rem; }
.yl-mock-row b { font-size: .82rem; color: var(--yl-muted); }
.yl-mock-row.done i { background: #ECFDF3; color: var(--yl-ok); } .yl-mock-row.done b { color: var(--yl-ok); }
.yl-mock-row.due i { background: #FFF6E5; color: #B45309; } .yl-mock-row.due b { color: #B45309; }
.yl-dose { background: #fff; border: 2px solid #FCD9A8; border-radius: 20px; padding: 14px; text-align: center; }
.yl-dose-head { display: flex; align-items: center; justify-content: center; gap: .4rem; color: #B45309; font-weight: 800; }
.yl-dose-head b { background: #FFF6E5; border-radius: 8px; padding: 0 .45rem; }
.yl-dose-head i { animation: yl-ring 1.4s ease-in-out infinite; }
@keyframes yl-ring { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.yl-pill-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0 6px; }
.yl-pill { width: 64px; height: 30px; border-radius: 99px; background: linear-gradient(90deg, #fff 50%, #4894FE 50%); border: 2px solid #C7D6EE; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .05); }
.yl-pill-n { font-size: 2rem; font-weight: 900; color: var(--yl-ink); }
.yl-dose-name { font-weight: 900; font-size: 1.05rem; }
.yl-dose-how { color: var(--yl-muted); font-size: .9rem; }
.yl-dose-acts { display: flex; gap: 6px; margin-top: 12px; }
.yl-dose-acts span { flex: 1; border-radius: 12px; padding: 8px 4px; background: var(--yl-soft); color: var(--yl-primary-ink); font-weight: 800; font-size: .8rem; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.yl-dose-acts span.ok { background: var(--yl-ok); color: #fff; }
.yl-spark { background: #fff; border: 1px solid var(--yl-line); border-radius: 16px; padding: 10px 12px 6px; }
.yl-spark svg { width: 100%; height: 60px; overflow: visible; }
.yl-spark polyline { fill: none; stroke: var(--yl-vital); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.yl-mock.is-on .yl-spark polyline { animation: yl-draw 1.6s .3s ease forwards; }
@keyframes yl-draw { to { stroke-dashoffset: 0; } }
.yl-spark small { color: var(--yl-muted); font-weight: 700; }
.yl-bal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yl-bal > div { background: #fff; border: 1px solid var(--yl-line); border-radius: 14px; padding: 12px; }
.yl-bal small { display: block; color: var(--yl-muted); font-size: .76rem; }
.yl-bal b { font-size: 1.15rem; font-weight: 900; }

/* a day: the line draws itself as you scroll */
.yl-day { position: relative; padding-inline-start: 0; margin: 0; }
.yl-day-line { position: absolute; top: 10px; bottom: 10px; inset-inline-start: 27px; width: 4px; border-radius: 4px; background: #E3EAF5; }
.yl-day-line span { position: absolute; top: 0; inset-inline: 0; height: var(--p, 0%); border-radius: 4px; background: linear-gradient(180deg, var(--yl-brand), var(--yl-vital)); transition: height .15s linear; }
.yl-day-item { position: relative; display: flex; gap: 1.2rem; align-items: flex-start; padding-bottom: 1.4rem; opacity: .35; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.yl-day-item.is-in { opacity: 1; transform: none; }
.yl-day-dot { position: relative; z-index: 1; width: 58px; height: 58px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid #E3EAF5; color: var(--yl-muted); font-size: 1.2rem; transition: all .4s; }
.yl-day-item.is-in .yl-day-dot { border-color: var(--yl-brand); color: var(--yl-primary); box-shadow: 0 0 0 7px rgba(72, 148, 254, .14); }
.yl-day-card { flex: 1; background: #fff; border: 1px solid var(--yl-line); border-radius: 16px; padding: .9rem 1.1rem; }
.yl-day-card time { font-weight: 900; color: var(--yl-primary); }
.yl-day-card h3 { font-size: 1.08rem; font-weight: 800; margin: .1rem 0 .2rem; }
.yl-day-card p { color: var(--yl-muted); margin: 0; }

/* the card flips to show the family */
.yl-flip { border: 0; padding: 0; text-align: start; cursor: pointer; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .8, .3, 1); background: none !important; box-shadow: none !important; }
.yl-flip .yl-flip-face { position: absolute; inset: 0; border-radius: 20px; padding: 20px 22px; color: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: linear-gradient(135deg, #0D1B34 0%, #183470 45%, #2F6FD8 100%); box-shadow: 0 30px 60px -28px rgba(13, 27, 52, .8); display: block; }
.yl-flip .yl-flip-back { transform: rotateY(180deg); background: linear-gradient(135deg, #183470 0%, #0D1B34 100%); display: flex; flex-direction: column; gap: 8px; }
.yl-flip.is-flipped { transform: rotate(-6deg) rotateY(180deg); }
.yl-flip:focus-visible { outline: none; } .yl-flip:focus-visible .yl-flip-face { outline: 3px solid var(--yl-brand); outline-offset: 3px; }
.yl-flip-hint { position: absolute; bottom: 16px; left: 22px; opacity: .7; animation: yl-spin 3s linear infinite; }
@keyframes yl-spin { to { transform: rotate(360deg); } }
.yl-back-title { font-weight: 900; font-size: 1.05rem; margin-bottom: 4px; }
.yl-back-row { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 6px 10px; font-weight: 700; font-size: .9rem; }
.yl-back-qr { position: absolute; bottom: 16px; left: 22px; font-size: 2.2rem; }
[data-float] { animation: yl-floaty 7s ease-in-out infinite; }
@keyframes yl-floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* check-ups */
.yl-checks { max-width: 1000px; margin: 0 auto; }
.yl-ages { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.yl-ages button { border: 1.5px solid var(--yl-line); background: #fff; border-radius: 999px; padding: .45rem 1.1rem; font-weight: 800; color: var(--yl-ink-2); transition: all .2s; }
.yl-ages button.is-on { background: var(--yl-night); border-color: var(--yl-night); color: #fff; }
.yl-check-list li { margin-bottom: .6rem; animation: yl-in .4s both; }
.yl-check { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1.5px solid var(--yl-line); border-radius: 16px; padding: .8rem 1rem; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.yl-check:hover { transform: translateY(-1px); border-color: #CBE1FF; }
.yl-check input { position: absolute; opacity: 0; pointer-events: none; }
.yl-check b { display: block; font-size: 1rem; }
.yl-check small { color: var(--yl-muted); }
.yl-box { width: 28px; height: 28px; flex: none; border-radius: 9px; border: 2px solid #C7D3E6; display: grid; place-items: center; color: transparent; transition: all .25s; }
.yl-check input:checked ~ .yl-box { background: var(--yl-ok); border-color: var(--yl-ok); color: #fff; transform: scale(1.08); }
.yl-check input:checked ~ .flex-grow-1 b { text-decoration: line-through; color: var(--yl-muted); }
.yl-check input:focus-visible ~ .yl-box { outline: 3px solid var(--yl-brand); outline-offset: 2px; }
.yl-check:has(input:checked) { background: #F3FBF6; border-color: #A7F3C8; }
.yl-ring { position: relative; width: 170px; height: 170px; margin: 0 auto; }
.yl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.yl-ring circle { fill: none; stroke-width: 12; }
.yl-ring .bg { stroke: #E6ECF5; }
.yl-ring .fg { stroke: var(--yl-ok); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset .6s cubic-bezier(.2, .8, .3, 1); }
.yl-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.yl-ring b { font-size: 2rem; font-weight: 900; color: var(--yl-ink); line-height: 1.1; }
.yl-ring small { color: var(--yl-muted); font-weight: 700; }
.yl-ring.is-full .fg { stroke: var(--yl-primary); }
.yl-ring.pulse { animation: yl-pulse .5s; }
@keyframes yl-pulse { 50% { transform: scale(1.06); } }

/* map: pins drop in, the card's centres pulse */
.yl-pin { animation: yl-drop .55s cubic-bezier(.2, .8, .3, 1.4) both; animation-delay: var(--d, 0s); }
@keyframes yl-drop { from { opacity: 0; translate: 0 -24px; } to { opacity: 1; translate: 0 0; } }
.yl-pin.card::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(217, 28, 32, .5); animation: yl-wave 2.2s ease-out infinite; }
@keyframes yl-wave { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* back to top */
.yl-totop { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 1000; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--yl-primary); color: #fff; box-shadow: 0 14px 30px -12px rgba(47, 111, 216, .9); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; text-decoration: none; }
.yl-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.yl-totop:hover { color: #fff; background: var(--yl-primary-ink); }

/* staggered reveals for grids */
.row > .yl-reveal:nth-child(2) { transition-delay: .06s; } .row > .yl-reveal:nth-child(3) { transition-delay: .12s; } .row > .yl-reveal:nth-child(4) { transition-delay: .18s; }
.row > .yl-reveal:nth-child(5) { transition-delay: .06s; } .row > .yl-reveal:nth-child(6) { transition-delay: .12s; } .row > .yl-reveal:nth-child(7) { transition-delay: .18s; } .row > .yl-reveal:nth-child(8) { transition-delay: .24s; }

@media (max-width: 575.98px) {
  .yl-toasts { width: 230px; margin-inline-start: -115px; top: 80px; }
  .yl-fpanel h3 { font-size: 1.25rem; }
  .yl-ftabs button { padding: .45rem .8rem; }
  .yl-day-dot { width: 48px; height: 48px; font-size: 1rem; }
  .yl-day-line { inset-inline-start: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .yl-blob-1, .yl-blob-2, .yl-companion > i, [data-float], .yl-flip-hint, .yl-dose-head i, .yl-pin, .yl-pin.card::after { animation: none !important; }
  .yl-fpanel li, .yl-mock-row { animation: none !important; opacity: 1; transform: none; }
  .yl-spark polyline { stroke-dashoffset: 0; animation: none !important; }
  .yl-day-item { opacity: 1; transform: none; }
  .yl-tilt-inner, .yl-flip, .yl-toast { transition: none; }
}
/* without / with: the old text leaves before the new one arrives, so the two never read on top of each other */
.yl-why-text p { transition: opacity .22s ease, transform .35s ease; }
[data-why].is-after .after, [data-why].is-before .before { transition-delay: .22s; }
/* the names of the centres are for signed-in users */
.yl-private { margin-top: .7rem; display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; background: #fff; border: 1px dashed #CBE1FF; border-radius: 12px; padding: .55rem .7rem; font-size: .86rem; color: var(--yl-ink-2); }
.yl-private > i { color: var(--yl-primary); }
.yl-private > span { flex: 1 1 160px; }
.yl-item h4 bdi, .yl-pop h5 bdi { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
/* nearby centres gathered into one circle */
.yl-cluster { border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .9rem; background: rgba(47, 111, 216, .92); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(72, 148, 254, .25), 0 8px 18px -6px rgba(13, 27, 52, .5); cursor: pointer; transition: transform .15s; }
.yl-cluster:hover { transform: scale(1.08); }
.yl-cluster.card { background: rgba(217, 28, 32, .92); box-shadow: 0 0 0 6px rgba(217, 28, 32, .2), 0 8px 18px -6px rgba(13, 27, 52, .5); }

/* the towns and villages of historic Palestine */
.yl-place { font-family: 'Cairo', sans-serif; white-space: nowrap; font-size: 11px; font-weight: 700; color: #3D5585; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; display: flex; align-items: center; gap: 3px; pointer-events: none; }
.yl-place::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #8BA0C4; flex: none; }
.yl-place.k-c { font-size: 14px; font-weight: 900; color: #183470; }
.yl-place.k-c::before { width: 7px; height: 7px; background: #183470; }
.yl-place.k-t { font-size: 12.5px; font-weight: 800; color: #24406F; }
.yl-place.k-t::before { width: 5px; height: 5px; background: #4E6A9A; }
.yl-place.k-h { font-size: 10px; font-weight: 600; color: #6A7FA6; }
.yl-place.k-d { color: #8A5A2B; font-style: italic; font-weight: 700; }
.yl-place.k-d::before { display: none; }
.yl-place.k-d i { font-size: 9px; color: #A8692F; }
.yl-dot-dep { background: #A8692F; box-shadow: 0 0 0 1px #A8692F; }
.yl-place-find { position: absolute; z-index: 600; top: 12px; inset-inline-end: 12px; width: min(290px, calc(100% - 70px)); }
.yl-place-find > i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 13px; color: var(--yl-vital); pointer-events: none; }
.yl-place-find input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--yl-line); background: rgba(255, 255, 255, .96); padding-inline: 2.2rem .8rem; font-family: inherit; font-size: .92rem; box-shadow: 0 8px 22px -12px rgba(13, 27, 52, .45); }
.yl-place-find input:focus { outline: 3px solid rgba(72, 148, 254, .35); border-color: var(--yl-brand); }
.yl-place-find ul { margin: 6px 0 0; background: #fff; border: 1px solid var(--yl-line); border-radius: 12px; box-shadow: 0 16px 36px -16px rgba(13, 27, 52, .45); max-height: 300px; overflow-y: auto; }
.yl-place-find li { padding: .5rem .8rem; cursor: pointer; display: flex; justify-content: space-between; gap: .6rem; border-bottom: 1px solid var(--yl-line); }
.yl-place-find li:last-child { border-bottom: 0; }
.yl-place-find li:hover, .yl-place-find li:focus { background: var(--yl-soft); outline: none; }
.yl-place-find li small { color: var(--yl-muted); white-space: nowrap; }
.yl-attrib { position: absolute; z-index: 500; bottom: 4px; inset-inline-end: 8px; font-size: 10px; color: #5A6A8C; background: rgba(255, 255, 255, .75); border-radius: 6px; padding: 0 6px; }
.yl-legend { flex-wrap: wrap; max-width: calc(100% - 28px); }

/* «YAHYA unites Palestine's doctors» */
.yl-doctors { background: radial-gradient(800px 420px at 90% 10%, rgba(72, 148, 254, .35), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgba(217, 28, 32, .22), transparent 70%), linear-gradient(160deg, #0D1B34 0%, #183470 100%); color: #fff; }
.yl-kicker-light { background: rgba(255, 255, 255, .12); color: #CFE3FF; }
.yl-lead-light { color: #C9D6EE; }
.yl-dpoint { display: flex; gap: .8rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 1rem; height: 100%; }
.yl-dpoint .yl-ico { background: rgba(255, 255, 255, .12); color: #fff; }
.yl-dpoint h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .25rem; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.yl-dpoint p { color: #C9D6EE; margin: 0; font-size: .92rem; }
.yl-soon-pill { font-size: .68rem; font-weight: 800; background: var(--yl-vital); color: #fff; border-radius: 999px; padding: .05rem .55rem; }
.yl-unite { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-weight: 800; color: #E6F0FF; }
.yl-unite span { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; }
.yl-unite i { color: var(--yl-vital); animation: yl-beat 1.6s ease-in-out infinite; }
.yl-dform { background: #fff; color: var(--yl-ink); border-radius: 22px; padding: 1.6rem; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.yl-dform h3 { font-weight: 900; font-size: 1.3rem; display: flex; gap: .55rem; align-items: center; margin-bottom: .3rem; }
.yl-dform h3 i { color: var(--yl-primary); }
.yl-dform .form-label { font-weight: 700; font-size: .9rem; margin-bottom: .2rem; }
.yl-dform .form-control, .yl-dform .form-select { border-radius: 12px; }
.yl-dform .was-validated .form-control:invalid, .yl-dform.was-validated :invalid { border-color: #DC3545; }
.yl-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* a guide for our people in 1948 Palestine */
.yl-gcity { display: block; height: 100%; background: #fff; border: 1px solid var(--yl-line); border-radius: 16px; padding: 1rem; text-decoration: none; color: var(--yl-ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.yl-gcity:hover { transform: translateY(-3px); box-shadow: var(--yl-shadow); border-color: #CBE1FF; color: var(--yl-ink); }
.yl-gcity b { display: block; font-size: 1.1rem; font-weight: 900; }
.yl-gcount { color: var(--yl-primary); font-weight: 800; font-size: .9rem; }
.yl-gtypes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; color: var(--yl-muted); font-size: .82rem; font-weight: 700; }
.yl-gtypes span { display: inline-flex; align-items: center; gap: .25rem; background: var(--yl-soft); border-radius: 999px; padding: .05rem .5rem; }
.yl-gtypes i { color: var(--yl-primary); }
.yl-gbox { background: #fff; border: 1px solid var(--yl-line); border-radius: var(--yl-radius); padding: 1.4rem; }
.yl-gbox h3 { font-weight: 900; font-size: 1.15rem; margin-bottom: .9rem; }
.yl-gbox-warn { border-color: #FCD9A8; background: #FFFBF4; }
.yl-gbox-blue { border-color: #CBE1FF; background: #F6FAFF; }
.yl-glist li { display: flex; gap: .65rem; align-items: flex-start; padding: .45rem 0; border-bottom: 1px dashed var(--yl-line); font-size: .95rem; }
.yl-glist li:last-child { border-bottom: 0; }
.yl-glist li > i { width: 22px; text-align: center; color: var(--yl-primary); margin-top: .3rem; flex: none; }
.yl-gbox-warn .yl-glist li > i { color: #B45309; }

/* ───────────────────── the services slider ───────────────────── */
.yl-services { background: radial-gradient(900px 500px at 15% 0%, #E7F1FF 0%, transparent 70%), radial-gradient(700px 400px at 100% 100%, #FFF0F0 0%, transparent 70%), #fff; overflow: hidden; }
.yl-slider { position: relative; background: rgba(255, 255, 255, .85); border: 1px solid var(--yl-line); border-radius: 28px; box-shadow: 0 40px 90px -50px rgba(24, 52, 112, .55); padding: 18px 18px 22px; backdrop-filter: blur(6px); }
.yl-slider:focus-visible { outline: 3px solid var(--yl-brand); outline-offset: 4px; }
.yl-stabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.yl-stabs::-webkit-scrollbar { display: none; }
.yl-stabs button { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem; border: 1.5px solid var(--yl-line); background: #fff; color: var(--yl-ink-2); border-radius: 999px; padding: .55rem 1rem; font-weight: 800; font-size: .92rem; overflow: hidden; scroll-snap-align: center; transition: color .25s, border-color .25s, background .25s, transform .2s; }
.yl-stabs button i { color: var(--yl-primary); transition: color .25s, transform .3s; }
.yl-stabs button:hover { transform: translateY(-2px); border-color: #CBE1FF; }
.yl-stabs button.is-on { background: var(--yl-night); border-color: var(--yl-night); color: #fff; }
.yl-stabs button.is-on i { color: #fff; transform: scale(1.15); }
.yl-stab-bar { position: absolute; inset-inline: 10px; bottom: 4px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; opacity: 0; }
.yl-stabs button.is-on .yl-stab-bar { opacity: 1; }
.yl-stab-bar b { position: absolute; inset: 0; background: linear-gradient(90deg, var(--yl-brand), #FF6B6E); transform-origin: 0 50%; transform: scaleX(0); }
html[dir=rtl] .yl-stab-bar b { transform-origin: 100% 50%; }

.yl-stage-s { position: relative; min-height: 560px; margin-top: 8px; perspective: 1400px; }
.yl-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; padding: 18px 26px; opacity: 0; visibility: hidden; pointer-events: none; }
.yl-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; }
.yl-slide.is-leaving { visibility: visible; z-index: 1; animation: yl-s-out .45s ease forwards; }
@keyframes yl-s-out { to { opacity: 0; transform: translateX(calc(var(--sdir, 1) * -40px)); filter: blur(4px); } }
.yl-slide-text > * { opacity: 0; transform: translateY(22px); }
.yl-slide.is-active .yl-slide-text > * { animation: yl-s-up .7s cubic-bezier(.2, .8, .3, 1) forwards; }
.yl-slide.is-active .yl-slide-text > :nth-child(2) { animation-delay: .08s; } .yl-slide.is-active .yl-slide-text > :nth-child(3) { animation-delay: .16s; }
.yl-slide.is-active .yl-slide-text > :nth-child(4) { animation-delay: .24s; } .yl-slide.is-active .yl-slide-text > :nth-child(5) { animation-delay: .32s; }
@keyframes yl-s-up { to { opacity: 1; transform: none; } }
.yl-snum { display: inline-block; font-weight: 900; color: var(--yl-primary); letter-spacing: .12em; background: var(--yl-soft); border-radius: 999px; padding: .1rem .8rem; font-size: .85rem; }
.yl-slide-text h3 { font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; margin: .8rem 0 .6rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.yl-slide-text p { color: var(--yl-ink-2); font-size: 1.1rem; max-width: 34rem; }
.yl-schips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; }
.yl-schips li { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--yl-line); border-radius: 999px; padding: .35rem .85rem; font-weight: 700; font-size: .9rem; }
.yl-schips i { color: var(--yl-ok); }
.yl-slide-visual { position: relative; display: grid; place-items: center; height: 100%; }
.yl-sglow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(72, 148, 254, .35), transparent 65%); filter: blur(10px); }
.yl-slide.s-meds .yl-sglow, .yl-slide.s-doctors .yl-sglow { background: radial-gradient(circle, rgba(217, 28, 32, .22), transparent 65%); }
.yl-slide.s-card .yl-sglow { background: radial-gradient(circle, rgba(21, 128, 61, .22), transparent 65%); }
.yl-sphone { position: relative; width: 268px; border-radius: 42px; background: #0D1B34; padding: 11px; box-shadow: 0 40px 80px -30px rgba(13, 27, 52, .6); opacity: 0; transform: translateX(calc(var(--sdir, 1) * 70px)) rotateY(calc(var(--sdir, 1) * -16deg)) scale(.92); }
.yl-slide.is-active .yl-sphone { animation: yl-s-phone .9s .1s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes yl-s-phone { to { opacity: 1; transform: none; } }
.yl-sphone-notch { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #0D1B34; z-index: 2; }
.yl-sscreen { position: relative; height: 500px; border-radius: 32px; background: #F6F9FE; overflow: hidden; padding: 46px 14px 14px; display: flex; flex-direction: column; gap: 10px; }

/* every scene plays once its slide is active */
.yl-sscreen > *, .yl-sscreen .sc-row, .sc-cal span, .sc-av, .sc-mpin, .sc-coins i { opacity: 0; }
.yl-slide.is-active .sc-title { animation: yl-s-up .5s .5s forwards; }
.sc-title { font-weight: 900; font-size: .95rem; display: flex; align-items: center; gap: .45rem; transform: translateY(10px); }
.sc-title i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--yl-soft); color: var(--yl-primary); }
.sc-row { background: #fff; border: 1px solid var(--yl-line); border-radius: 14px; padding: 10px 12px; transform: translateY(14px); }
.yl-slide.is-active .sc-row { animation: yl-s-up .55s forwards; animation-delay: calc(var(--i) * .16s + .7s); }
.sc-row b { font-size: .85rem; }
.sc-row-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.sc-new { background: #FDECEC; color: var(--yl-vital); font-weight: 800; font-size: .7rem; border-radius: 999px; padding: 0 .55rem; animation: yl-pulse-red 1.6s ease-in-out infinite; }
@keyframes yl-pulse-red { 50% { box-shadow: 0 0 0 5px rgba(217, 28, 32, .12); } }
.sc-ok { background: #ECFDF3; color: var(--yl-ok); font-weight: 800; font-size: .7rem; border-radius: 999px; padding: 0 .55rem; }
.sc-bar { display: block; height: 7px; border-radius: 7px; background: #E6ECF5; overflow: hidden; }
.sc-bar i { display: block; height: 100%; width: 0; border-radius: 7px; background: linear-gradient(90deg, var(--yl-brand), var(--yl-primary)); }
.yl-slide.is-active .sc-bar i { transition: width 1.1s cubic-bezier(.2, .8, .3, 1); transition-delay: calc(var(--i, 0) * .16s + 1s); width: var(--w); }
.sc-toast { position: absolute; top: 40px; inset-inline: 12px; background: var(--yl-night); color: #fff; border-radius: 16px; padding: 10px 12px; font-size: .8rem; font-weight: 700; display: flex; gap: .5rem; align-items: center; transform: translateY(-30px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); }
.sc-toast i { color: #FFC24B; animation: yl-ring 1.4s ease-in-out infinite; }
.yl-slide.is-active .sc-toast { animation: yl-s-toast 4s 2s forwards; }
@keyframes yl-s-toast { 0% { opacity: 0; transform: translateY(-30px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-30px); } }

.sc-qr { position: relative; align-self: center; width: 176px; height: 176px; padding: 12px; background: #fff; border-radius: 18px; border: 1px solid var(--yl-line); overflow: hidden; transform: scale(.8); }
.yl-slide.is-active .sc-qr { animation: yl-s-pop .6s .6s cubic-bezier(.2, .8, .3, 1.3) forwards; }
@keyframes yl-s-pop { to { opacity: 1; transform: none; } }
.sc-qr-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; height: 100%; }
.sc-qr-grid i { border-radius: 3px; background: #EEF2F8; }
.sc-qr-grid i.on { background: var(--yl-night); }
.sc-scan { position: absolute; inset-inline: 6px; top: 8px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #FF6B6E, transparent); box-shadow: 0 0 14px #FF6B6E; animation: yl-scan 2.2s ease-in-out infinite; }
@keyframes yl-scan { 50% { top: calc(100% - 11px); } }
.sc-hint { text-align: center; font-weight: 700; font-size: .82rem; color: var(--yl-muted); }
.yl-slide.is-active .sc-hint { animation: yl-s-up .5s 1s forwards; }

.sc-clinic { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--yl-line); border-radius: 14px; padding: 9px 12px; font-weight: 800; font-size: .88rem; }
.sc-clinic i { color: var(--yl-vital); }
.yl-slide.is-active .sc-clinic { animation: yl-s-up .5s .6s forwards; }
.sc-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; opacity: 1 !important; }
.sc-cal span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--yl-line); font-weight: 800; font-size: .78rem; transform: scale(.6); }
.sc-cal span.past { color: #B5C0D3; background: #F2F5FA; }
.yl-slide.is-active .sc-cal span { animation: yl-s-pop .35s forwards; animation-delay: calc(var(--i) * .03s + .7s); }
.yl-slide.is-active .sc-cal span.pick { animation: yl-s-pop .35s calc(16 * .03s + .7s) forwards, yl-s-pick .5s 1.7s forwards; }
@keyframes yl-s-pick { to { background: var(--yl-primary); color: #fff; border-color: var(--yl-primary); box-shadow: 0 0 0 5px rgba(72, 148, 254, .25); } }
.sc-slots { display: flex; gap: 6px; }
.sc-slots span { flex: 1; text-align: center; background: #fff; border: 1px solid var(--yl-line); border-radius: 12px; padding: 8px 0; font-weight: 800; font-size: .8rem; }
.yl-slide.is-active .sc-slots { animation: yl-s-up .5s 2.1s forwards; }
.yl-slide.is-active .sc-slots span.pick { animation: yl-s-pick .5s 2.7s forwards; }
.sc-done { margin-top: auto; background: #ECFDF3; color: var(--yl-ok); border: 1px solid #A7F3C8; border-radius: 14px; padding: 10px 12px; font-weight: 800; font-size: .86rem; display: flex; gap: .45rem; align-items: center; transform: translateY(14px); }
.yl-slide.is-active .sc-done { animation: yl-s-up .5s 3.2s forwards; }

.sc-dose { margin-top: 18px; background: #fff; border: 2px solid #FCD9A8; border-radius: 22px; padding: 16px 14px; text-align: center; display: flex; flex-direction: column; gap: 6px; transform: translateY(-40px) scale(.9); }
.yl-slide.is-active .sc-dose { animation: yl-s-drop .7s .5s cubic-bezier(.2, .8, .3, 1.3) forwards; }
@keyframes yl-s-drop { to { opacity: 1; transform: none; } }
.sc-dose-head { color: #B45309; font-weight: 900; display: flex; justify-content: center; align-items: center; gap: .4rem; font-size: .9rem; }
.sc-dose-head i { animation: yl-ring 1.2s ease-in-out infinite; }
.sc-dose-head b { background: #FFF6E5; border-radius: 8px; padding: 0 .45rem; }
.sc-pill-wrap { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 10px 0 2px; }
.sc-pill { width: 74px; height: 34px; border-radius: 99px; background: linear-gradient(90deg, #fff 50%, #4894FE 50%); border: 2px solid #C7D6EE; animation: yl-s-wobble 2.4s ease-in-out infinite; }
@keyframes yl-s-wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.sc-x { font-size: 2.1rem; font-weight: 900; }
.sc-dose-name { font-size: 1rem; }
.sc-dose small { color: var(--yl-muted); }
.sc-dose-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sc-dose-acts span { border-radius: 14px; padding: 10px 6px; background: var(--yl-soft); color: var(--yl-primary-ink); font-weight: 900; font-size: .85rem; display: flex; align-items: center; justify-content: center; gap: .35rem; }
.sc-dose-acts span.ok { background: var(--yl-ok); color: #fff; }
.yl-slide.is-active .sc-dose-acts span.ok { animation: yl-s-press .5s 2.4s; }
@keyframes yl-s-press { 50% { transform: scale(.9); box-shadow: 0 0 0 8px rgba(21, 128, 61, .2); } }
.sc-wave { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sc-wave i { width: 3px; height: 4px; border-radius: 2px; background: currentColor; animation: yl-s-wave .9s ease-in-out infinite; }
.sc-wave i:nth-child(2) { animation-delay: .15s; } .sc-wave i:nth-child(3) { animation-delay: .3s; }
@keyframes yl-s-wave { 50% { height: 12px; } }
.sc-taken { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.sc-taken i { font-size: 92px; color: var(--yl-ok); background: #fff; border-radius: 50%; box-shadow: 0 20px 50px -10px rgba(21, 128, 61, .55); transform: scale(0); }
.yl-slide.is-active .sc-taken { animation: yl-s-show .01s 2.8s forwards; }
.yl-slide.is-active .sc-taken i { animation: yl-s-check .9s 2.8s cubic-bezier(.2, .8, .3, 1.4) forwards; }
@keyframes yl-s-show { to { opacity: 1; } }
@keyframes yl-s-check { 0% { transform: scale(0); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }

.sc-fam { position: relative; flex: 1; display: grid; place-items: center; opacity: 1 !important; }
.sc-fam-lines { position: absolute; width: 220px; height: 220px; }
.sc-fam-lines path { stroke: #9DC6FF; stroke-width: 3; stroke-dasharray: 80; stroke-dashoffset: 80; fill: none; stroke-linecap: round; }
.yl-slide.is-active .sc-fam-lines path { animation: yl-s-dash .8s forwards; }
.yl-slide.is-active .sc-fam-lines path:nth-child(2) { animation-delay: .25s; } .yl-slide.is-active .sc-fam-lines path:nth-child(3) { animation-delay: .5s; } .yl-slide.is-active .sc-fam-lines path:nth-child(4) { animation-delay: .75s; }
@keyframes yl-s-dash { to { stroke-dashoffset: 0; } }
.sc-heart { position: absolute; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--yl-vital); font-size: 28px; box-shadow: 0 12px 30px -10px rgba(217, 28, 32, .5); animation: yl-beat 1.6s ease-in-out infinite; opacity: 1 !important; }
.sc-av { position: absolute; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: scale(.4); }
.sc-av i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--yl-primary), var(--yl-brand)); color: #fff; font-size: 22px; border: 3px solid #fff; box-shadow: 0 10px 22px -10px rgba(24, 52, 112, .7); }
.sc-av small { font-weight: 800; font-size: .76rem; background: #fff; border-radius: 999px; padding: 0 .5rem; }
.sc-av.p-t { top: calc(50% - 150px); } .sc-av.p-b { bottom: calc(50% - 150px); } .sc-av.p-r { inset-inline-start: 6px; } .sc-av.p-l { inset-inline-end: 6px; }
.sc-av.p-b i, .sc-av.p-l i { background: linear-gradient(135deg, #FF8A8C, var(--yl-vital)); }
.yl-slide.is-active .sc-av { animation: yl-s-pop .5s cubic-bezier(.2, .8, .3, 1.4) forwards; animation-delay: calc(var(--i) * .25s + .9s); }

.sc-ycard { position: relative; margin-top: 16px; aspect-ratio: 1.586; border-radius: 18px; padding: 14px; color: #fff; background: linear-gradient(135deg, #0D1B34 0%, #183470 45%, #2F6FD8 100%); box-shadow: 0 24px 40px -20px rgba(13, 27, 52, .8); transform: rotateX(50deg) translateY(-30px) scale(.8); }
.yl-slide.is-active .sc-ycard { animation: yl-s-card .9s .5s cubic-bezier(.2, .8, .3, 1.2) forwards; }
@keyframes yl-s-card { to { opacity: 1; transform: rotate(-3deg); } }
.sc-yc-logo { display: flex; align-items: center; gap: 6px; font-weight: 900; font-size: .85rem; }
.sc-yc-logo img { width: 26px; height: 26px; }
.sc-yc-chip { position: absolute; top: 44%; left: 14px; width: 36px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #F7DB8C, #C9A24A); }
.sc-ycard b { position: absolute; bottom: 14px; left: 14px; right: 14px; text-align: left; letter-spacing: .12em; font-size: 1rem; }
.sc-bal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sc-bal > div { background: #fff; border: 1px solid var(--yl-line); border-radius: 14px; padding: 10px; }
.sc-bal small { display: block; color: var(--yl-muted); font-size: .72rem; font-weight: 700; }
.sc-bal b { font-size: 1.15rem; font-weight: 900; white-space: nowrap; display: block; }
.yl-slide.is-active .sc-bal { animation: yl-s-up .5s 1.2s forwards; }
.sc-coins { position: relative; flex: 1; opacity: 1 !important; }
.sc-coins i { position: absolute; top: -10px; color: #E8A93B; font-size: 26px; inset-inline-start: calc(var(--i) * 19% + 4%); }
.yl-slide.is-active .sc-coins i { animation: yl-s-coin 1s cubic-bezier(.5, 0, .5, 1.6) forwards; animation-delay: calc(var(--i) * .15s + 1.6s); }
@keyframes yl-s-coin { 0% { opacity: 0; transform: translateY(-40px) rotate(0); } 100% { opacity: 1; transform: translateY(70px) rotate(360deg); } }

.sc-map { position: relative; flex: 1; border-radius: 20px; background: radial-gradient(circle at 30% 30%, #E4F0FF, #CFE3FB); overflow: hidden; }
.yl-slide.is-active .sc-map { animation: yl-s-pop .6s .4s forwards; }
.sc-road { position: absolute; background: #fff; border-radius: 6px; opacity: .9; }
.sc-road.r1 { width: 140%; height: 12px; top: 55%; left: -20%; transform: rotate(-18deg); }
.sc-road.r2 { width: 12px; height: 140%; left: 42%; top: -20%; transform: rotate(10deg); }
.sc-me { position: absolute; top: 58%; left: 40%; display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .72rem; background: #fff; border-radius: 999px; padding: 2px 8px 2px 4px; }
.sc-me i { width: 14px; height: 14px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: yl-s-me 1.6s ease-out infinite; }
@keyframes yl-s-me { to { box-shadow: 0 0 0 14px rgba(22, 163, 74, 0); } }
.sc-mpin { position: absolute; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) translateY(-40px); background: var(--yl-primary); border: 3px solid #fff; display: grid; place-items: center; box-shadow: 0 8px 16px -6px rgba(13, 27, 52, .6); }
.sc-mpin i { transform: rotate(45deg); color: #fff; font-size: 12px; }
.sc-mpin.card { background: var(--yl-vital); }
.sc-mpin.p1 { top: 18%; left: 18%; } .sc-mpin.p2 { top: 30%; left: 66%; } .sc-mpin.p3 { top: 74%; left: 72%; }
.yl-slide.is-active .sc-mpin { animation: yl-s-pin .6s cubic-bezier(.2, .8, .3, 1.5) forwards; animation-delay: calc(var(--i) * .3s + .9s); }
@keyframes yl-s-pin { to { opacity: 1; transform: rotate(-45deg); } }
.sc-dist { position: absolute; background: var(--yl-night); color: #fff; font-weight: 800; font-size: .7rem; border-radius: 999px; padding: 1px 8px; opacity: 0; }
.sc-dist.d1 { top: 22%; left: 58%; } .sc-dist.d2 { top: 66%; left: 18%; }
.yl-slide.is-active .sc-dist { animation: yl-s-up .4s 2.2s forwards; }

.sc-call { flex: 1; display: flex; flex-direction: column; gap: 10px; opacity: 1 !important; }
.sc-video { position: relative; flex: 1; border-radius: 22px; background: linear-gradient(160deg, #183470, #0D1B34); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; opacity: 0; }
.yl-slide.is-active .sc-video { animation: yl-s-pop .6s .5s forwards; }
.sc-doc { font-size: 64px; color: #CFE3FF; }
.sc-video small { font-weight: 800; font-size: .8rem; }
.sc-live { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 2px 9px; font-size: .7rem; font-weight: 800; }
.sc-live i { width: 8px; height: 8px; border-radius: 50%; background: #FF4D4F; animation: yl-blink 1s steps(2) infinite; }
@keyframes yl-blink { 50% { opacity: .2; } }
.sc-self { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 62px; height: 82px; border-radius: 14px; background: #2F6FD8; border: 2px solid #fff; display: grid; place-items: center; font-size: 26px; }
.sc-bridge { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #fff; border: 1px solid var(--yl-line); border-radius: 14px; padding: 8px 10px; font-weight: 800; font-size: .72rem; opacity: 0; }
.yl-slide.is-active .sc-bridge { animation: yl-s-up .5s 1.2s forwards; }
.sc-bridge em { flex: 1; display: flex; justify-content: center; gap: 6px; }
.sc-bridge em i { width: 7px; height: 7px; border-radius: 50%; background: var(--yl-vital); animation: yl-s-hop 1.2s ease-in-out infinite; }
.sc-bridge em i:nth-child(2) { animation-delay: .2s; } .sc-bridge em i:nth-child(3) { animation-delay: .4s; }
@keyframes yl-s-hop { 50% { transform: translateY(-6px); opacity: .4; } }
.sc-call-acts { display: flex; justify-content: center; gap: 14px; opacity: 0; }
.yl-slide.is-active .sc-call-acts { animation: yl-s-up .5s 1.5s forwards; }
.sc-call-acts span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #E6ECF5; color: var(--yl-ink); }
.sc-call-acts span.end { background: #EF4444; color: #fff; }

.yl-sctrl { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.yl-sbtn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--yl-line); background: #fff; color: var(--yl-ink); display: grid; place-items: center; transition: transform .2s, background .2s, color .2s; }
.yl-sbtn:hover { transform: translateY(-2px); background: var(--yl-primary); color: #fff; border-color: var(--yl-primary); }

@media (max-width: 991.98px) {
  .yl-stage-s { min-height: 0; }
  .yl-slide { position: relative; display: none; grid-template-columns: 1fr; padding: 10px 4px; gap: 18px; text-align: center; }
  .yl-slide.is-active { display: grid; }
  .yl-slide.is-leaving { display: none; }
  .yl-slide-text p { margin-inline: auto; }
  .yl-schips { justify-content: center; }
  .yl-slide-text h3 { justify-content: center; }
  .yl-slide-visual { order: -1; }
}
@media (max-width: 575.98px) {
  .yl-slider { padding: 12px 10px 16px; border-radius: 22px; }
  .yl-sphone { width: 240px; }
  .yl-sscreen { height: 450px; }
}
@media (prefers-reduced-motion: reduce) {
  .yl-slide-text > *, .yl-sphone, .yl-sscreen > *, .yl-sscreen .sc-row, .sc-cal span, .sc-av, .sc-mpin, .sc-coins i, .sc-video, .sc-bridge, .sc-call-acts, .sc-dist { opacity: 1 !important; transform: none !important; animation: none !important; }
  .sc-taken, .sc-toast, .sc-coins { display: none; }
  .sc-bar i { width: var(--w) !important; }
  .sc-fam-lines path { stroke-dashoffset: 0; animation: none !important; }
}
