/* VDS EasyPay - homepage hero carousel. Loaded AFTER styles.css. */
.vds-car{
  --navy:#0b1f6b; --blue:#1550d6; --sky:#19a7e8; --ice:#bfeaff;
  position:relative; width:100%; max-width:560px; aspect-ratio:1/1;
  margin-inline:auto; border-radius:28px; overflow:hidden;
  background:var(--navy); touch-action:pan-y; user-select:none; -webkit-user-select:none;
  box-shadow:0 24px 60px -24px rgba(11,31,107,.55);
}
.vds-car__track{display:flex; height:100%; transition:transform .7s cubic-bezier(.65,0,.25,1);}
.vds-car__slide{flex:0 0 100%; height:100%; position:relative; display:grid; place-items:center;}
.vds-car__slide svg{width:86%; height:auto; filter:drop-shadow(0 18px 22px rgba(0,0,0,.35));}
.vds-car__cap{
  position:absolute; left:22px; bottom:56px; color:#fff; font:600 17px/1.2 'Space Grotesk',system-ui,sans-serif;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.vds-car__cap small{display:block; font-weight:400; font-size:13px; opacity:.85; margin-top:4px;}
.vds-car__pay{
  position:absolute; top:16px; left:16px; z-index:2; padding:9px 14px; border-radius:14px;
  background:rgba(255,255,255,.16); backdrop-filter:blur(6px); color:#fff; line-height:1.25;
}
.vds-car__pay small{display:block; font-size:12px; opacity:.85;}
.vds-car__pay b{display:block; font-size:15px; font-weight:700;}
.vds-car__btn{
  position:absolute; top:50%; translate:0 -50%; width:42px; height:42px; border:0; border-radius:50%;
  background:rgba(255,255,255,.18); color:#fff; font-size:20px; cursor:pointer;
  backdrop-filter:blur(6px); transition:background .2s;
}
.vds-car__btn:hover{background:rgba(255,255,255,.34);}
.vds-car__btn:focus-visible,.vds-car__dot:focus-visible{outline:3px solid var(--ice); outline-offset:2px;}
.vds-car__prev{left:12px;} .vds-car__next{right:12px;}
.vds-car__dots{position:absolute; left:0; right:0; bottom:18px; display:flex; gap:8px; justify-content:center;}
.vds-car__dot{width:9px; height:9px; padding:0; border:0; border-radius:99px; background:rgba(255,255,255,.45); cursor:pointer; transition:width .3s, background .3s;}
.vds-car__dot[aria-current="true"]{width:26px; background:#fff;}
@media (prefers-reduced-motion:reduce){.vds-car__track{transition:none;}}

/* column wrapper in the hero grid (replaces .hero-visual's grid behaviour) */
.hero-carousel-col{min-width:0;}
@media (max-width:980px){
  /* Tablets and phones: ONE column, writeup first and the carousel underneath.
     (styles.css re-declares the two-column .hero grid later in the file, which beat its own
     mobile rule, so this uses "main .hero" to win regardless of file order.) */
  main .hero{grid-template-columns:minmax(0,1fr);}
  main .hero > *{min-width:0;}
  main .hero > .hero-carousel-col{order:1;width:100%;max-width:100%;margin-top:8px;}
}
.vds-car__dot{position:relative;}
.vds-car__dot::after{content:"";position:absolute;inset:-18px -3px;}   /* 44px-tall tap area, dot looks the same */
@media (max-width:980px){
  .vds-car{max-width:min(100%,560px);}
}
@media (max-width:600px){
  .vds-car{ max-width:100%; aspect-ratio:1/.9; border-radius:20px; }
  .vds-car__slide svg{ width:78%; }
  .vds-car__cap{ left:16px; bottom:50px; font-size:15px; }
  .vds-car__cap small{ font-size:12px; }
  .vds-car__btn{ width:44px; height:44px; font-size:20px; }
  .vds-car__prev{ left:8px; } .vds-car__next{ right:8px; }
  .vds-car__pay{ top:12px; left:12px; padding:7px 11px; }
  .vds-car__pay b{ font-size:13px; }
}
