/* oya-v19.css (2026-10-23 redesign: owner choice «خريطة مصر» in the deep maroon + gold of direction A).
   Loaded after oya-site.css and motion.css. Motion durations are already the slower set the owner asked for.
   Start states live under html.mo only; prefers-reduced-motion shows the final picture. */
:root{--v19-bg:#3A0710;--v19-bg2:#4A0D17;--v19-line:#6B1A28;--v19-ink:#FBF1F2;--v19-ink2:#E9C9CF;--v19-gold:#F2C14E;--v19-gold-ink:#3A0710}

/* ---------- hero band (deep maroon in both themes) ---------- */
.v19-hero{background:var(--v19-bg)!important;color:var(--v19-ink);position:relative;overflow:hidden}
.v19-hero .wrap{display:grid!important;grid-template-columns:minmax(0,1fr);gap:28px;align-items:center}
@media (min-width:1000px){.v19-hero .wrap{grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:48px}}
.v19-col{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;min-width:0}
.v19-col>*{min-width:0;max-width:100%}
.v19-hero .hero-chips{flex-wrap:wrap}
.v19-hero .hero-chips>span{max-width:100%}
.v19-hero h1{color:var(--v19-ink)}
.v19-hero h1 .g{color:var(--v19-gold)!important}
.v19-hero .lead{color:var(--v19-ink2)!important}
.v19-hero .eyebrow{color:var(--v19-gold)!important}
.v19-hero .eyebrow .ic{color:var(--v19-gold)}
.v19-hero .btn:not(.ghost){background:var(--v19-gold)!important;color:var(--v19-gold-ink)!important;border-color:var(--v19-gold)!important}
.v19-hero .btn.ghost{background:transparent!important;color:var(--v19-ink)!important;border-color:rgba(255,255,255,.35)!important}
.v19-hero .hero-chips>span{background:rgba(255,255,255,.06)!important;border-color:var(--v19-line)!important;color:var(--v19-ink)!important}
.v19-hero .hero-chips .ic{color:var(--v19-gold)}
.v19-hero .track-card{max-width:560px;color:var(--ink)}
.v19-hero .track-card .tc-h,.v19-hero .track-card h2{color:var(--accent-ink)!important}

/* the map */
.v19-map{position:relative;min-width:0}
.v19-map svg{display:block;width:100%;height:auto;max-height:640px}
.m-land{fill:var(--v19-bg2);stroke:#8E3A48;stroke-width:2}
.m-nile{fill:none;stroke:#7FB4DA;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.m-rt{fill:none;stroke:var(--v19-gold);stroke-width:2.2;stroke-opacity:.85}
.m-city{fill:var(--v19-bg);stroke:var(--v19-gold);stroke-width:3}
.m-cn{font:600 13px "PlexAr","IBM Plex Sans Arabic",sans-serif;fill:var(--v19-ink2)}
.m-cairo{font-weight:700;fill:var(--v19-gold)}
.m-hub{fill:var(--v19-gold)}
.m-ping{fill:none;stroke:var(--v19-gold);stroke-width:2;transform-box:fill-box;transform-origin:center;animation:v19ping 3.2s ease-out infinite}
@keyframes v19ping{from{transform:scale(1);opacity:.8}to{transform:scale(4.2);opacity:0}}
.m-pk{fill:#FFFFFF;stroke:var(--v19-gold);stroke-width:2}
.mo .v19-map .m-rt{stroke-dasharray:1;stroke-dashoffset:1;animation:v19draw 1.6s cubic-bezier(.4,0,.2,1) forwards;animation-delay:calc(.9s + var(--i) * .19s)}
.mo .v19-map .m-city{transform-box:fill-box;transform-origin:center;transform:scale(0);animation:v19pop .72s cubic-bezier(.3,1.6,.5,1) forwards;animation-delay:calc(1.9s + var(--i) * .19s)}
.mo .v19-map .m-cn{opacity:0;animation:v19fade .8s forwards;animation-delay:calc(2.2s + var(--i) * .19s)}
.mo .v19-map .m-land{stroke-dasharray:1;stroke-dashoffset:1;animation:v19draw 2.6s cubic-bezier(.4,0,.2,1) forwards}
.mo .v19-map .m-nile{stroke-dasharray:1;stroke-dashoffset:1;animation:v19draw 2.2s .5s ease-in-out forwards}
.mo .v19-map:not(.in) *{animation-play-state:paused!important}
@keyframes v19draw{to{stroke-dashoffset:0}}
@keyframes v19pop{to{transform:scale(1)}}
@keyframes v19fade{to{opacity:1}}
@keyframes v19up{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.v19-tiers{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.v19-tiers li{display:flex;align-items:center;gap:10px;color:var(--v19-ink2);font-size:14.5px}
.v19-tiers li i{width:26px;height:6px;border-radius:3px;background:var(--v19-gold)}
.v19-tiers li:nth-child(2) i{opacity:.7}.v19-tiers li:nth-child(3) i{opacity:.45}
.v19-tiers b{color:var(--v19-ink);font-weight:700}
.mo .v19-map.in .v19-tiers li{animation:v19up 1.1s cubic-bezier(.2,.8,.2,1) both}
.mo .v19-map .v19-tiers li{opacity:0}
.mo .v19-map.in .v19-tiers li:nth-child(1){animation-delay:3.4s}.mo .v19-map.in .v19-tiers li:nth-child(2){animation-delay:3.6s}.mo .v19-map.in .v19-tiers li:nth-child(3){animation-delay:3.8s}

.v19-note{display:flex;align-items:center;gap:8px;margin-top:12px;color:var(--v19-ink);font-size:14px;font-weight:600;background:rgba(255,255,255,.06);border:1px solid var(--v19-line);border-radius:10px;padding:8px 12px}
.v19-note .ic{color:#9FD4F0;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
/* footer: one text direction for every contact line */
footer a bdi{unicode-bidi:isolate}

/* ---------- stats band continues the hero colour; numbers count on arrival (motion.js) ---------- */
.stats{background:var(--v19-bg)!important;border-color:var(--v19-line)!important}
.stats .stat b{color:var(--v19-gold)!important}
.stats .stat span{color:var(--v19-ink2)!important}
.stats .stat{border-color:var(--v19-line)!important}

/* ---------- every section moves (owner: «كل جزء يتحرك») — v19.js adds .in when a block is well on screen ---------- */
.sec-title{position:relative}
.sec-head .sec-title::after{content:"";display:block;width:56px;height:4px;border-radius:2px;background:var(--gold);margin-top:.6rem}
.sec-head[style*="center"] .sec-title::after,.sec-head.center .sec-title::after{margin-inline:auto}
.mo .sec-head .sec-title::after{transform:scaleX(0);transform-origin:right;transition:transform 1.3s .24s cubic-bezier(.2,.8,.2,1)}
.mo .sec-head.in .sec-title::after{transform:scaleX(1)}
/* sectors */
.mo .inds .ind{opacity:0;transform:translateY(14px);transition:opacity .9s,transform .9s cubic-bezier(.2,.8,.2,1)}
.mo .inds.in .ind{opacity:1;transform:none}
/* how it works: a gold line runs behind the four steps; numbers pop in turn */
#how .steps{position:relative}
#how .step .n{transition:transform .72s cubic-bezier(.3,1.6,.5,1)}
.mo #how .step .n{transform:scale(0)}
.mo #how .steps.in .step .n{transform:scale(1)}
.mo #how .steps.in .step:nth-child(2) .n{transition-delay:.4s}.mo #how .steps.in .step:nth-child(3) .n{transition-delay:.8s}.mo #how .steps.in .step:nth-child(4) .n{transition-delay:1.2s}
.v19-run{position:absolute;top:22px;inset-inline:6%;height:4px;border-radius:2px;background:var(--gold);z-index:0;pointer-events:none;opacity:.55}
.mo .v19-run{transform:scaleX(0);transform-origin:right;transition:transform 2.6s .3s cubic-bezier(.4,0,.2,1)}
html[dir="ltr"].mo .v19-run{transform-origin:left}
.mo #how .steps.in .v19-run{transform:scaleX(1)}
#how .step{position:relative;z-index:1}
@media (max-width:900px){.v19-run{display:none}}
/* services: the icon turns in, the card lifts */
.mo .svc .card .ico{transform:rotate(-30deg) scale(.6);opacity:0;transition:transform 1s cubic-bezier(.3,1.5,.5,1),opacity .8s}
.mo .svc .cards.in .card .ico{transform:none;opacity:1}
.svc .card{transition:transform .3s,box-shadow .3s}
/* apps: the phone floats; the "delivered" buttons light up one after another */
.mo .apps .phone{animation:v19float 6.4s ease-in-out infinite}
@keyframes v19float{50%{transform:translateY(-10px)}}
.apps .ph-stop{transition:background .6s,border-color .6s}
.apps .ph-stop.v19-done{background:#EAF7EF;border-inline-start-color:#2E8B57}
.apps .ph-stop.v19-done .pb3{background:#2E8B57}
/* integrations and guarantees */
.mo .integr .chip{opacity:0;transform:scale(.9);transition:opacity .8s,transform .8s cubic-bezier(.3,1.4,.5,1)}
.mo .integr.in .chip{opacity:1;transform:none}
.guar .ic{transition:transform .8s cubic-bezier(.3,1.5,.5,1)}
.mo .guars .guar .ic{transform:scale(0) rotate(-40deg)}
.mo .guars.in .guar .ic{transform:none}
/* call to action: a gold sweep crosses the panel once it arrives */
.cta .inner{position:relative;overflow:hidden}
.cta .inner::after{content:"";position:absolute;top:0;bottom:0;width:30%;inset-inline-start:-35%;background:linear-gradient(90deg,transparent,rgba(242,193,78,.22),transparent);pointer-events:none}
.mo .cta .inner.in::after{animation:v19sweep 2.4s .4s ease-in-out}
@keyframes v19sweep{to{inset-inline-start:110%}}
/* coverage: tiers rise; the governorate chips arrive one by one */
.mo #coverage .cov-tiers .tier{opacity:0;transform:translateY(24px);transition:opacity .96s,transform .96s cubic-bezier(.2,.8,.2,1)}
.mo #coverage .cov-tiers.in .tier{opacity:1;transform:none}
.mo #covChips .gov{opacity:0;transform:scale(.8);transition:opacity .5s,transform .5s cubic-bezier(.3,1.5,.5,1)}
.mo #covChips.in .gov{opacity:1;transform:none}
/* calculator and contact */
.mo .calc-form>*{opacity:0;transform:translateY(12px);transition:opacity .8s,transform .8s}
.mo .calc-form.in>*{opacity:1;transform:none}
.mo .c-list .c-item{opacity:0;transform:translateX(20px);transition:opacity .8s,transform .8s cubic-bezier(.2,.8,.2,1)}
html[dir="ltr"].mo .c-list .c-item{transform:translateX(-20px)}
.mo .c-list.in .c-item{opacity:1;transform:none}
.c-item .ico{transition:transform .3s}
.c-item:hover .ico{transform:rotate(-10deg) scale(1.1)}


/* ---------- more motion for text and pictures (owner 2026-10-23: «محتاج حركة أكثر في باقي الصفحة، الصور والكلام») ---------- */
/* hero: chips pop in turn, the tracking card slides up */
.mo .v19-hero .hero-chips>span{opacity:0;transform:scale(.8);animation:v19chip .8s cubic-bezier(.3,1.5,.5,1) forwards}
.mo .v19-hero .hero-chips>span:nth-child(1){animation-delay:1.3s}.mo .v19-hero .hero-chips>span:nth-child(2){animation-delay:1.5s}.mo .v19-hero .hero-chips>span:nth-child(3){animation-delay:1.7s}
@keyframes v19chip{to{opacity:1;transform:none}}
.mo .v19-hero .track-card{animation:v19up 1.3s 1.1s cubic-bezier(.2,.8,.2,1) both}
.mo .v19-hero .hero-actions .btn{animation:v19up 1.1s .9s cubic-bezier(.2,.8,.2,1) both}
.mo .v19-hero .hero-actions .btn+.btn{animation-delay:1.05s}

/* section heads: the eyebrow slides in, the title rises, the subtitle follows */
.mo .sec-head .eyebrow{opacity:0;transform:translateX(24px);transition:opacity .9s,transform .9s cubic-bezier(.2,.8,.2,1)}
html[dir="ltr"].mo .sec-head .eyebrow{transform:translateX(-24px)}
.mo .sec-head .sec-title{opacity:0;transform:translateY(30px);transition:opacity 1.1s .15s,transform 1.1s .15s cubic-bezier(.2,.8,.2,1)}
.mo .sec-head .sec-sub{opacity:0;transform:translateY(18px);transition:opacity 1.1s .45s,transform 1.1s .45s cubic-bezier(.2,.8,.2,1)}
.mo .sec-head.in .eyebrow,.mo .sec-head.in .sec-title,.mo .sec-head.in .sec-sub{opacity:1;transform:none}

/* steps: each card rises in turn, its title then its text */
.mo #how .step{opacity:0;transform:translateY(40px) rotate(-1.5deg);transition:opacity 1.1s,transform 1.1s cubic-bezier(.2,.8,.2,1)}
.mo #how .steps.in .step{opacity:1;transform:none}
.mo #how .steps.in .step:nth-child(3){transition-delay:.3s}.mo #how .steps.in .step:nth-child(4){transition-delay:.6s}.mo #how .steps.in .step:nth-child(5){transition-delay:.9s}
.mo #how .step p{opacity:0;transition:opacity 1s .9s}
.mo #how .steps.in .step p{opacity:1}

/* services: cards slide in from alternate sides; the text fades in after the title */
.mo .svc .card{opacity:0;transition:opacity 1.1s,transform 1.1s cubic-bezier(.2,.8,.2,1)}
.mo .svc .card:nth-child(odd){transform:translateX(40px)}
.mo .svc .card:nth-child(even){transform:translateX(-40px)}
.mo .svc .cards.in .card{opacity:1;transform:none}
.mo .svc .cards.in .card:nth-child(2){transition-delay:.15s}.mo .svc .cards.in .card:nth-child(3){transition-delay:.3s}
.mo .svc .cards.in .card:nth-child(4){transition-delay:.45s}.mo .svc .cards.in .card:nth-child(5){transition-delay:.6s}.mo .svc .cards.in .card:nth-child(6){transition-delay:.75s}
.mo .svc .card p{opacity:0;transition:opacity 1s .8s}
.mo .svc .cards.in .card p{opacity:1}
.svc .card:hover{transform:translateY(-6px) rotate(-.6deg)}

/* apps: the phone swings in; the list ticks in line by line */
.mo .apps .phone-stage{opacity:0;transform:translateX(-60px) rotate(6deg);transition:opacity 1.3s,transform 1.4s cubic-bezier(.2,.8,.2,1)}
html[dir="ltr"].mo .apps .phone-stage{transform:translateX(60px) rotate(-6deg)}
.mo .apps .phone-stage.in{opacity:1;transform:none}
.mo .apps ul li{opacity:0;transform:translateX(20px);transition:opacity .9s,transform .9s cubic-bezier(.2,.8,.2,1)}
html[dir="ltr"].mo .apps ul li{transform:translateX(-20px)}
.mo .apps .in ul li{opacity:1;transform:none}
.mo .apps .in ul li:nth-child(2){transition-delay:.25s}.mo .apps .in ul li:nth-child(3){transition-delay:.5s}.mo .apps .in ul li:nth-child(4){transition-delay:.75s}
.mo .apps ul li .ic{transform:scale(0);transition:transform .7s cubic-bezier(.3,1.6,.5,1)}
.mo .apps .in ul li .ic{transform:none;transition-delay:inherit}
.mo .apps .ph-stop{opacity:0;transform:translateY(20px);transition:opacity .9s,transform .9s}
.mo .apps .phone-stage.in .ph-stop{opacity:1;transform:none}
.mo .apps .phone-stage.in .ph-stop:nth-child(2){transition-delay:.4s}

/* guarantees: slide up in turn */
.mo .guars .guar{opacity:0;transform:translateY(30px);transition:opacity 1s,transform 1s cubic-bezier(.2,.8,.2,1)}
.mo .guars.in .guar{opacity:1;transform:none}
.mo .guars.in .guar:nth-child(2){transition-delay:.25s}.mo .guars.in .guar:nth-child(3){transition-delay:.5s}

/* call to action: the panel grows in, its buttons pop */
.mo .cta .inner{opacity:0;transform:scale(.95);transition:opacity 1.1s,transform 1.1s cubic-bezier(.2,.8,.2,1)}
.mo .cta .inner.in{opacity:1;transform:none}
.mo .cta .inner .btn{transform:scale(.85);opacity:0;transition:opacity .8s .7s,transform .8s .7s cubic-bezier(.3,1.5,.5,1)}
.mo .cta .inner.in .btn{transform:none;opacity:1}

/* coverage tiers: the icon hops when the card arrives */
.mo #coverage .cov-tiers.in .tier .ic{animation:v19hop 1s cubic-bezier(.3,1.6,.5,1) both}
.mo #coverage .cov-tiers.in .tier:nth-child(2) .ic{animation-delay:.2s}.mo #coverage .cov-tiers.in .tier:nth-child(3) .ic{animation-delay:.4s}.mo #coverage .cov-tiers.in .tier:nth-child(4) .ic{animation-delay:.6s}
@keyframes v19hop{0%{transform:translateY(0)}40%{transform:translateY(-12px)}100%{transform:translateY(0)}}

/* contact: the request card slides in from the other side */
.mo .contact .track-card.qc{opacity:0;transform:translateX(-40px);transition:opacity 1.2s .3s,transform 1.2s .3s cubic-bezier(.2,.8,.2,1)}
html[dir="ltr"].mo .contact .track-card.qc{transform:translateX(40px)}
.mo .contact .track-card.qc.in{opacity:1;transform:none}

/* footer: the logo and columns fade up */
.mo footer .wrap>*{opacity:0;transform:translateY(20px);transition:opacity 1s,transform 1s}
.mo footer.in .wrap>*{opacity:1;transform:none}
.mo footer.in .wrap>*:nth-child(2){transition-delay:.2s}.mo footer.in .wrap>*:nth-child(3){transition-delay:.4s}.mo footer.in .wrap>*:nth-child(4){transition-delay:.6s}

@media (prefers-reduced-motion:reduce){
  .m-pk,.m-ping{display:none}
  .apps .phone{animation:none}
  .cta .inner::after{display:none}
}
