/* pricing-scroll-v1.css
   1) Plan check icons: navy tick on a sky-blue disc (was violet) - all widths.
   2) Phones/small tablets (<= 768px): the four plan cards become one swipeable
      row with scroll-snap. Desktop layout (> 768px) is not touched.
   Palette: Navy #2F4156, Teal #567C8D, Sky Blue #C8D9E6, Beige #F5EFEB, White. */

#pricing .plan li:before{
  background:#C8D9E6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.6 10.2 2.8 2.8 5.6-6' fill='none' stroke='%232F4156' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* dots are created by pricing-scroll-v1.js; hidden on desktop */
#pricing .pv-dots{display:none}

@media (max-width:768px){
  #pricing{--pv-card:min(82vw,340px);--pv-gutter:clamp(16px,4vw,32px)}

  #pricing .plans{
    display:flex;
    flex-wrap:nowrap;
    grid-template-columns:none;
    align-items:stretch;
    gap:14px;
    margin-top:40px;
    /* full bleed: cancel .wrap side padding, then pad so first/last card can centre */
    margin-inline:calc(-1 * var(--pv-gutter));
    padding:24px calc((100% - var(--pv-card)) / 2) 14px; /* top room = Popular badge (-14px) */
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:calc((100% - var(--pv-card)) / 2);
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-x pan-y;
    scrollbar-width:none;
  }
  #pricing .plans::-webkit-scrollbar{display:none}

  /* every plan is visible from the start: the scroll-reveal wrapper only fades in when it
     enters the viewport, which hides off-screen cards in a horizontal row */
  #pricing .plans > div{opacity:1!important;transform:none!important}
  /* each reveal wrapper (inline display:flex) is one slide */
  #pricing .plans > div{
    flex:0 0 var(--pv-card);
    min-width:0;
    scroll-snap-align:center;
    scroll-snap-stop:always;
  }
  /* Chrome 133+: open on Pro with no JS; JS covers the rest */
  #pricing .plans > div:has(> .plan.feat){scroll-initial-target:nearest}

  #pricing .plans > div > .plan{width:100%}
  #pricing .plan.feat{transform:none}

  /* Contact card always below the row */
  #pricing .contact-card{margin-top:12px}

  /* dot indicators */
  #pricing .pv-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:4px;
  }
  #pricing .pv-dot{position:relative;width:28px;height:4px;border:0;padding:0;border-radius:0;background:#C9D6DF;cursor:pointer;transition:width .25s ease,background .25s ease}
  #pricing .pv-dot:after{content:"";position:absolute;left:0;right:0;top:-10px;bottom:-10px} /* 24px touch target */
  #pricing .pv-dot[aria-current="true"]{width:44px;background:#2F4156}
  #pricing .pv-dot:focus-visible{outline:2px solid #567C8D;outline-offset:3px}
}

@media (max-width:768px) and (prefers-reduced-motion:no-preference){
  #pricing .plans{scroll-behavior:auto}
}
