/* Vino Technologies - "Mobile Apps" (.mx) and "Digital gift vouchers" (.gv) sections.
   Everything is scoped to those two classes. The pictures are built from HTML, CSS and SVG (no image files, no libraries) and are sized in em
   from one font-size (container query units), so each composition scales as a single picture on every screen.
   Motion is transform/opacity only, pauses off-screen (.is-off) and is removed under prefers-reduced-motion. */

/* ---------- shared bits ---------- */
.mx,.gv{position:relative;isolation:isolate;overflow:hidden;padding:44px 0 52px}
.mx-stage,.gv-stage{container-type:inline-size;position:relative;margin:0;min-width:0}
.mx-scene,.gv-scene{position:relative;width:100%;transform-style:preserve-3d;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .5s cubic-bezier(.22,1,.36,1)}
.mx-stage,.gv-stage{perspective:1400px}
.mx-scene,.gv-scene{animation:scIn .9s cubic-bezier(.22,1,.36,1) both}
@keyframes scIn{from{opacity:0;translate:0 1.2em}}
.mx-copy h2,.gv-copy h2{font-size:clamp(28px,7vw,46px);line-height:1.06;letter-spacing:-.02em;margin-bottom:14px}
.mx-copy .eyebrow,.gv-copy .eyebrow{margin-bottom:10px}
.mx-line,.gv-line{color:var(--text-dim);font-size:clamp(16px,4.2vw,18px);line-height:1.5;max-width:26em;margin-bottom:22px}
.mx-copy .cta-btn,.gv-copy .cta-btn{width:100%}
.mx-chip{position:absolute;z-index:6;display:inline-flex;align-items:center;gap:.7em;padding:.55em 1.1em .55em .6em;border-radius:999px;white-space:nowrap;font:600 max(11px,1.2em)/1 var(--font-b);color:var(--text);
  background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.95);box-shadow:0 .5em 1.6em -.4em rgba(80,20,20,.28),inset 0 1px 0 #fff;transform:translateZ(3em);animation:mxBob 6s ease-in-out infinite}
.mx-chip .ci,.gv-note .ci{flex:none;width:1.9em;height:1.9em;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff}
.mx-chip .ci.ok{background:#1fa463}
.mx-chip .ci .i,.gv-note .ci .i{width:62%;height:62%;stroke-width:2.6}
:root[data-theme="dark"] .mx-chip{background:rgba(52,45,47,.92);border-color:rgba(255,255,255,.14);color:var(--text)}
@keyframes mxBob{50%{transform:translateZ(3em) translateY(-.7em)}}
.is-off *,.is-off *::before,.is-off *::after{animation-play-state:paused!important}

/* ================= MOBILE APPS ================= */
.mx{background:radial-gradient(60% 70% at 78% 40%,rgba(255,196,188,.55),transparent 70%),radial-gradient(40% 50% at 0 100%,rgba(255,226,216,.7),transparent 70%),#faf5f1}
:root[data-theme="dark"] .mx{background:radial-gradient(60% 70% at 78% 40%,rgba(225,29,46,.18),transparent 70%),var(--bg-soft)}
.mx-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:center}
.mx-stage{order:-1}
.mx-scene{aspect-ratio:56/36;font-size:calc(100cqw / 56)}
.mx-ring{position:absolute;left:14%;top:-6%;width:62%;aspect-ratio:1;border-radius:50%;border:1px solid rgba(225,29,46,.16);box-shadow:0 0 0 4em rgba(225,29,46,.035),0 0 0 9em rgba(225,29,46,.02);pointer-events:none}
.mx-link{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;transform:translateZ(3em)}
.mx-flow{fill:none;stroke:url(#mxg);stroke-width:.22;stroke-linecap:round;stroke-dasharray:.9 .9;animation:mxFlow 2.4s linear infinite;vector-effect:non-scaling-stroke}
.mx-node{fill:#e11d2e;animation:mxNode 2.4s ease-in-out infinite}.mx-node.n2{animation-delay:1.2s}
@keyframes mxFlow{to{stroke-dashoffset:-1.8}}
@keyframes mxNode{50%{opacity:.35}}

/* laptop */
.mx-laptop{position:absolute;left:0;top:2.6em;width:41em}
.mx-lid{position:relative;aspect-ratio:1.6;border-radius:1.1em 1.1em .4em .4em;padding:.7em;background:linear-gradient(160deg,#4a4547,#1d1a1b);box-shadow:0 2.4em 4em -1.2em rgba(60,15,15,.45),0 .2em .6em rgba(0,0,0,.25),inset 0 0 0 .08em rgba(255,255,255,.14)}
.mx-lid::before{content:'';position:absolute;left:50%;top:.28em;width:.4em;height:.4em;margin-left:-.2em;border-radius:50%;background:#000;box-shadow:0 0 0 .12em #2d292a}
.mx-screen{height:100%;display:grid;grid-template-columns:5em minmax(0,1fr);border-radius:.5em;overflow:hidden;background:#fbf8f6;font-size:1em}
.mx-base{position:relative;width:114%;margin-left:-7%;height:1.5em;border-radius:0 0 1.6em 1.6em/0 0 .9em .9em;background:linear-gradient(#e3dfdd,#bdb7b6);box-shadow:0 1.2em 2em -.6em rgba(60,15,15,.4),inset 0 1px 0 #fff}
.mx-base::before{content:'';position:absolute;left:50%;top:0;width:14%;height:.45em;margin-left:-7%;border-radius:0 0 .6em .6em;background:#a29b9a}
.lp-side{display:flex;flex-direction:column;gap:1em;padding:1.3em 1em;background:#fff;border-right:1px solid #eee7e3}
.lp-side i{display:block;height:1.1em;border-radius:.4em;background:#ece6e3}
.lp-side i.on{background:rgba(225,29,46,.16);box-shadow:inset .25em 0 0 #e11d2e}
.lp-side .lp-logo{width:2.4em;height:2.4em;margin-bottom:.6em;border-radius:.7em;background:#e11d2e}
.lp-main{padding:1.2em 1.4em;display:grid;grid-template-rows:auto auto 1fr auto;gap:1em;min-width:0}
.lp-top{display:flex;justify-content:space-between;align-items:center}
.lp-search{width:46%;height:1.6em;border-radius:.6em;background:#efe9e6}
.lp-av{width:1.9em;height:1.9em;border-radius:50%;background:linear-gradient(135deg,#ffb4ab,#e11d2e)}
.lp-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.8em}
.lp-stats div{padding:.8em .9em;border-radius:.7em;background:#fff;border:1px solid #eee7e3;box-shadow:0 .2em .6em rgba(80,30,25,.05)}
.lp-stats small{display:block;width:55%;height:.5em;border-radius:.3em;background:#e6dfdb;margin-bottom:.6em}
.lp-stats b{font:700 1.5em/1 var(--font-h);color:#161314}
.lp-chart{min-height:0;border-radius:.7em;background:#fff;border:1px solid #eee7e3;padding:.8em .8em 0;overflow:hidden}
.lp-chart svg{display:block;width:100%;height:100%}
.lp-line{stroke-dasharray:240;stroke-dashoffset:240;animation:mxDraw 2.4s .4s ease forwards}
.rv.in .lp-line{animation-play-state:running}
@keyframes mxDraw{to{stroke-dashoffset:0}}
.lp-rows{display:grid;gap:.6em}
.lp-rows p{display:flex;align-items:center;gap:.7em}
.lp-rows i{width:1.5em;height:1.5em;border-radius:.5em;background:#f4d9d6}
.lp-rows span{flex:1;height:.55em;border-radius:.3em;background:#e9e2df}
.lp-rows em{width:3em;height:1.1em;border-radius:.6em;background:rgba(31,164,99,.2)}

/* phone */
.mx-phone{position:absolute;right:1em;top:1.6em;width:15.6em;aspect-ratio:.485;border-radius:2.6em;padding:.55em;background:linear-gradient(160deg,#5a5557,#1b1819);transform:translateZ(4.5em) rotate(2deg);
  box-shadow:0 3em 4.5em -1.4em rgba(60,15,15,.55),0 .3em .8em rgba(0,0,0,.3),inset 0 0 0 .09em rgba(255,255,255,.18);animation:mxFloat 7s ease-in-out infinite}
@keyframes mxFloat{50%{transform:translateZ(4.5em) rotate(2deg) translateY(-.6em)}}
.mx-pscreen{position:relative;height:100%;border-radius:2.1em;overflow:hidden;background:#fbf8f6;padding:2.1em 1.1em 0;display:flex;flex-direction:column;gap:.9em}
.ph-island{position:absolute;left:50%;top:.55em;width:4.4em;height:1.25em;margin-left:-2.2em;border-radius:1em;background:#0c0a0b;z-index:2}
.ph-bar{display:flex;justify-content:space-between;align-items:center;margin-top:-.4em}
.ph-bar b{font:700 .85em var(--font-b);color:#161314}.ph-bar span{width:1.6em;height:.7em;border-radius:.25em;background:#161314}
.ph-hi{display:flex;align-items:center;gap:.7em}.ph-hi i{width:2.2em;height:2.2em;border-radius:50%;background:linear-gradient(135deg,#ffb4ab,#e11d2e)}.ph-hi span{height:.7em;width:45%;border-radius:.4em;background:#e6dfdb}
.ph-card{position:relative;padding:1em;border-radius:1.1em;color:#fff;background:linear-gradient(145deg,#f03a4a,#b3101f);box-shadow:0 .8em 1.4em -.6em rgba(225,29,46,.6)}
.ph-card small{display:block;width:40%;height:.5em;border-radius:.3em;background:rgba(255,255,255,.55);margin-bottom:.7em}
.ph-card b{display:block;font:700 1.9em/1 var(--font-h);margin-bottom:.5em}
.ph-card svg{display:block;width:100%;height:2.2em}
.ph-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7em}
.ph-grid span{display:grid;place-items:center;aspect-ratio:1.5;border-radius:.9em;background:#fff;border:1px solid #eee7e3;color:#c9152a}
.ph-grid .i{width:1.7em;height:1.7em}
.ph-list{display:grid;gap:.6em}.ph-list p{display:flex;align-items:center;gap:.7em}.ph-list i{width:1.9em;height:1.9em;border-radius:.6em;background:#f4d9d6}.ph-list span{flex:1;height:.6em;border-radius:.3em;background:#e9e2df}
.ph-tabs{display:flex;justify-content:space-around;align-items:center;margin:auto -1.1em 0;padding:1em 0 1.1em;background:#fff;border-top:1px solid #eee7e3}
.ph-tabs i{width:1.4em;height:1.4em;border-radius:.5em;background:#e6dfdb}.ph-tabs i.on{background:#e11d2e}

.mx-chip.c1{left:48%;top:0;animation-delay:-1s}
.mx-chip.c2{left:53%;top:80%;animation-delay:-3s}
.mx-chip.c3{left:52%;top:56%;animation-delay:-2s}

/* ================= GIFT VOUCHERS ================= */
.gv{background:radial-gradient(55% 65% at 20% 45%,rgba(255,206,196,.6),transparent 70%),radial-gradient(40% 50% at 100% 0,rgba(244,222,190,.55),transparent 70%),#fcf6ef}
:root[data-theme="dark"] .gv{background:radial-gradient(55% 65% at 20% 45%,rgba(225,29,46,.18),transparent 70%),var(--bg)}
.gv-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center}
.gv-stage{order:-1}
.gv-scene{aspect-ratio:50/40;font-size:calc(100cqw / 50)}
.gv-halo{position:absolute;left:4%;top:8%;width:84%;aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.9),rgba(255,255,255,0));pointer-events:none}
.gv-card{position:absolute;width:35em;aspect-ratio:1.6;border-radius:1.3em;overflow:hidden}
.gv-back{left:11em;top:1.6em;transform:translateZ(0) rotate(7deg);background:linear-gradient(145deg,#f6e6d0,#e8cba6);box-shadow:0 2em 3.5em -1.2em rgba(120,60,30,.35)}
.gv-main{left:2.4em;top:5.2em;transform:translateZ(3em) rotate(-4deg);color:#fff;padding:2em 2.2em;display:flex;flex-direction:column;justify-content:space-between;
  background:linear-gradient(135deg,#f23b4b 0%,#d3182a 45%,#8f0c1a 100%);box-shadow:0 3em 5em -1.4em rgba(120,10,20,.6),0 .3em .8em rgba(80,0,10,.3),inset 0 0 0 .08em rgba(255,255,255,.22),inset 0 .1em 0 rgba(255,255,255,.4)}
.gv-pat{position:absolute;inset:0;background:repeating-linear-gradient(115deg,rgba(255,255,255,.07) 0 .12em,transparent .12em 1.1em);pointer-events:none}
.gv-back .gv-pat{background:repeating-linear-gradient(115deg,rgba(150,90,40,.12) 0 .12em,transparent .12em 1.1em)}
.gv-sheen{position:absolute;inset:-20% 0;background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.38) 50%,transparent 60%);transform:translateX(-130%);animation:gvSheen 7s ease-in-out 1.2s infinite;pointer-events:none}
@keyframes gvSheen{0%,55%{transform:translateX(-130%)}85%,100%{transform:translateX(130%)}}
.gv-ribbon{position:absolute;right:-3.2em;top:2.2em;width:15em;height:2.6em;transform:rotate(38deg);background:linear-gradient(#f9e6c6,#e3bf88 55%,#f3d9ab);box-shadow:0 .3em .8em rgba(0,0,0,.25),inset 0 .1em 0 rgba(255,255,255,.7)}
.gv-top{position:relative;display:flex;align-items:center;gap:.8em;font:600 1em/1 var(--font-b)}
.gv-mark{width:1.9em;height:1.9em;border-radius:.55em;background:#fff;position:relative}
.gv-mark::after{content:'';position:absolute;inset:.5em;border-radius:.3em;background:#e11d2e}
.gv-brand{letter-spacing:.02em}
.gv-tag{margin-left:auto;margin-right:9em;font-size:.82em;letter-spacing:.2em;text-transform:uppercase;opacity:.85}
.gv-title{position:relative;font:700 2.6em/1.05 var(--font-h);letter-spacing:-.02em;text-shadow:0 .06em .5em rgba(80,0,10,.3)}
.gv-bot{position:relative;display:flex;justify-content:space-between;align-items:flex-end}
.gv-bot small{display:block;font-size:.8em;letter-spacing:.2em;text-transform:uppercase;opacity:.75;margin-bottom:.3em}
.gv-for{display:block;font:600 1.45em/1.1 var(--font-h)}
.gv-for.pop{animation:gvPop .35s cubic-bezier(.22,1,.36,1)}
@keyframes gvPop{from{opacity:0;transform:translateY(.4em)}}
.gv-code{display:flex;gap:.22em;align-items:flex-end;height:2.2em}
.gv-code i{width:.22em;height:100%;background:rgba(255,255,255,.85);border-radius:.1em}
.gv-code i:nth-child(2n){height:70%}.gv-code i:nth-child(3n){height:45%}.gv-code i:nth-child(5){height:85%}

.gv-phone{position:absolute;right:3.4em;top:9.5em;width:13em;aspect-ratio:.49;border-radius:2.2em;padding:.5em;background:linear-gradient(160deg,#5a5557,#1b1819);transform:translateZ(7em) rotate(6deg);
  box-shadow:0 2.6em 4em -1.2em rgba(60,15,15,.55),0 .3em .8em rgba(0,0,0,.3),inset 0 0 0 .09em rgba(255,255,255,.18);animation:gvFloat 7s ease-in-out infinite}
@keyframes gvFloat{50%{transform:translateZ(7em) rotate(6deg) translateY(-.6em)}}
.gv-pscreen{position:relative;height:100%;border-radius:1.8em;overflow:hidden;background:linear-gradient(#fff7f0,#fdeae4);padding:2.3em .9em .9em;display:flex;flex-direction:column;gap:.9em}
.gv-pscreen .ph-island{width:3.6em;height:1.05em;margin-left:-1.8em;top:.5em}
.gv-note{display:flex;align-items:center;gap:.6em;padding:.6em .7em;border-radius:.9em;background:#fff;box-shadow:0 .4em 1em -.4em rgba(80,20,20,.3);font:600 .78em/1.2 var(--font-b);color:#161314}
.gv-mini{position:relative;flex:1;border-radius:1em;padding:1em;color:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,#f23b4b,#8f0c1a);box-shadow:0 .8em 1.4em -.6em rgba(160,10,25,.6)}
.gv-mini-mark{width:1.6em;height:1.6em;border-radius:.5em;background:#fff}
.gv-mini b{font:700 1.35em/1.1 var(--font-h)}
.gv-mini i{position:absolute;right:-1.2em;top:1em;width:6em;height:1.1em;transform:rotate(38deg);background:linear-gradient(#f9e6c6,#e3bf88)}
.gv-open{align-self:stretch;text-align:center;padding:.75em;border-radius:.8em;background:#161314;color:#fff;font:600 .85em/1 var(--font-b)}
.mx-chip.gc1{left:2%;top:74%;animation-delay:-2s}
.gv-spark{position:absolute;width:1.6em;height:1.6em;background:#e3bf88;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);transform:translateZ(5em);animation:gvTw 4s ease-in-out infinite}
.gv-spark.s1{left:6%;top:12%}.gv-spark.s2{right:6%;top:6%;width:1.1em;height:1.1em;background:#e11d2e;animation-delay:-1.3s}.gv-spark.s3{right:2%;bottom:14%;animation-delay:-2.2s}.gv-spark.s4{left:44%;top:2%;width:.9em;height:.9em;animation-delay:-3s}
@keyframes gvTw{50%{opacity:.35;transform:translateZ(5em) scale(.7) rotate(20deg)}}

/* recipient picker */
.gv-who{border:0;margin:0 0 22px;min-width:0}
.gv-who legend{padding:0;margin-bottom:10px;font:600 13px/1 var(--font-b);letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim)}
.gv-opts{display:flex;flex-wrap:wrap;gap:8px}
.gv-opt{position:relative;display:inline-flex;cursor:pointer}
.gv-opt input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.gv-opt span{display:inline-flex;align-items:center;min-height:42px;padding:0 15px;border-radius:12px;font-size:14px;font-weight:600;background:rgba(255,255,255,.7);border:1px solid rgba(120,60,50,.16);transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s}
:root[data-theme="dark"] .gv-opt span{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.2)}
.gv-opt input:checked+span{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 .5em 1.2em -.4em rgba(225,29,46,.6)}
.gv-opt input:focus-visible+span{outline:2px solid var(--text);outline-offset:2px}
@media (hover:hover){.gv-opt:hover input:not(:checked)+span{border-color:var(--red)}}

/* ---------- breakpoints ---------- */
@media (min-width:600px){.mx-copy .cta-btn,.gv-copy .cta-btn{width:auto}}
@media (min-width:900px){
  .mx,.gv{padding:84px 0 92px}
  .mx-grid{grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);gap:clamp(24px,4vw,64px)}
  .mx-grid .mx-stage{order:2;margin-right:-2vw}.mx-grid .mx-copy{order:1}
  .gv-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,4vw,64px)}
  .gv-stage{order:0;margin-left:-2vw}
}
@media (max-width:899px){.mx-stage,.gv-stage{max-width:640px;margin-inline:auto;width:100%}.mx-chip.c3{display:none}.mx-chip{font-size:max(10.5px,1.1em)}.mx-chip.c1{left:4%;top:-3%}.mx-chip.c2{left:36%;top:84%}.mx-chip.gc1{top:80%}}
@media (max-width:480px){.mx,.gv{padding:32px 0 40px}}
@media (prefers-reduced-motion:reduce){.mx *,.gv *,.mx *::before,.gv *::before{animation:none!important;transition:none!important}.lp-line{stroke-dashoffset:0}.mx-scene,.gv-scene{transform:none!important}}
