/* The proof on iman.ar (home-funnel.html) and /gracias/ (gracias-iman.html): phones with the cartas we made, the logos of
   the places that work with IMÁN (John John first and biggest) and the «Quedan 3 lugares» badge. prueba-social.js draws
   it from its list into [data-ps-proof]; on top of v3.css. Dark by default; .ps-on-light for white pages. */
.ps-seats{display:inline-flex;align-items:center;gap:10px;min-height:34px;margin:0;padding:6px 16px 6px 12px;border:1px solid transparent;border-radius:999px;background:linear-gradient(#1b1b1f,#1b1b1f) padding-box,var(--grad) border-box;color:#d9d6de;font:500 13px/1.25 var(--sans);letter-spacing:-.005em;text-align:left}
.ps-seats b{color:#fff;font-weight:650}
.ps-seats.is-light{background:linear-gradient(#fff,#fff) padding-box,var(--grad) border-box;color:#55525c}
.ps-seats.is-light b{color:var(--ink)}
/* The three places of the week, each with its own slice of the gradient; the first one breathes. */
.ps-dots{display:inline-flex;flex:0 0 auto;gap:4px}
.ps-dots i{width:8px;height:8px;border-radius:50%;background:var(--grad);background-size:420% 100%}
.ps-dots i:nth-child(2){background-position:50% 0}.ps-dots i:nth-child(3){background-position:100% 0}
.ps-dots i:first-child{animation:ps-breathe 2.6s ease-in-out infinite}
@keyframes ps-breathe{0%,100%{box-shadow:0 0 0 0 #b9a3ee00}50%{box-shadow:0 0 0 4px #b9a3ee4d}}
/* A place taken (lugares.js, for whoever comes back): the dot goes dim. */
.ps-dots i.is-off{background:currentColor;opacity:.3;animation:none}

/* The featured place (John John): a white card with its logo, big. */
.ps-feature{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(18px,3vw,36px);max-width:calc(820px + 2*var(--gutter));margin:clamp(30px,5vh,48px) auto 0;padding:0 var(--gutter)}
.ps-feature-logo{display:grid;place-items:center;width:clamp(150px,22vw,240px);aspect-ratio:1;padding:clamp(16px,2.4vw,28px);border-radius:clamp(22px,2.6vw,32px);background:#fff;box-shadow:0 0 0 1px #ffffff2e,0 0 0 6px #ffffff10,0 40px 70px -40px #000}
.ps-feature-logo img{width:100%;height:100%;object-fit:contain}
.ps-feature-text{text-align:left}
.ps-feature-text small{display:inline-flex;align-items:center;gap:8px;font:500 10.5px/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted-d)}
.ps-feature-text small::before{content:'';width:18px;height:2px;border-radius:2px;background:var(--grad)}
.ps-feature-text b{display:block;margin-top:10px;font:600 clamp(26px,3.2vw,40px)/1.04 var(--display);letter-spacing:-.04em}
.ps-feature-text p{max-width:42ch;margin-top:10px;color:#c3c0c9;font-size:15.5px;line-height:1.55}

/* The rails: they move by themselves (a copy follows the list so the loop has no seam) and stop under the pointer. */
.ps-rail{position:relative;overflow:hidden;margin-top:clamp(30px,5vh,48px);-webkit-mask:linear-gradient(90deg,#0000,#000 7%,#000 93%,#0000);mask:linear-gradient(90deg,#0000,#000 7%,#000 93%,#0000)}
.ps-rail+.ps-rail{margin-top:clamp(18px,3vh,28px)}
.ps-track{display:flex;align-items:flex-start;width:max-content;animation:ps-slide var(--ps-t,60s) linear infinite}
.ps-track.is-back{animation-direction:reverse}
.ps-rail:hover .ps-track{animation-play-state:paused}
@keyframes ps-slide{to{transform:translateX(-50%)}}

.ps-phone{flex:0 0 auto;width:clamp(168px,18vw,222px);margin:0 clamp(9px,1.1vw,15px);text-align:center}
.ps-device{position:relative;aspect-ratio:390/844;padding:6px;border-radius:clamp(28px,3vw,36px);background:linear-gradient(150deg,#4a4a52,#161619 58%);box-shadow:inset 0 0 0 1px #ffffff2b,0 34px 60px -34px #000}
.ps-device img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:clamp(23px,2.5vw,30px);background:#fff}
.ps-device::after{content:'';position:absolute;top:13px;left:50%;width:31%;height:15px;transform:translateX(-50%);border-radius:999px;background:#060607}
.ps-phone figcaption{display:grid;gap:4px;margin-top:13px}
.ps-phone figcaption b{font:600 14.5px/1.2 var(--sans);letter-spacing:-.01em;color:#f2f2f4}
.ps-phone figcaption span{font:500 10px/1.3 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted-d)}

.ps-logo{flex:0 0 auto;display:grid;place-items:center;width:clamp(138px,13vw,170px);height:clamp(70px,6.6vw,82px);margin:0 7px;padding:12px 20px;border-radius:18px;background:#fff}
.ps-logo img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.ps-logo.is-main{width:clamp(176px,17vw,220px);height:clamp(84px,8vw,100px);box-shadow:0 0 0 3px #121212,0 0 0 5px #b9a3ee}
.ps-logo.is-dark{background:#1d1d20;box-shadow:inset 0 0 0 1px #ffffff24}
.ps-logo .ps-word{font:700 17px/1.1 var(--display);letter-spacing:-.03em;color:var(--ink);text-align:center}

/* On a white page (/gracias/). */
.ps-on-light .ps-feature-text p{color:#3f4047}
.ps-on-light .ps-feature-text small{color:var(--muted)}
.ps-on-light .ps-feature-logo{box-shadow:0 0 0 1px #12121214,0 30px 60px -36px #12121299}
.ps-on-light .ps-phone figcaption b{color:var(--ink)}
.ps-on-light .ps-phone figcaption span{color:var(--muted)}
.ps-on-light .ps-device{box-shadow:inset 0 0 0 1px #ffffff2b,0 30px 50px -30px #12121288}
.ps-on-light .ps-logo{box-shadow:inset 0 0 0 1px #1212121c}
.ps-on-light .ps-logo.is-main{box-shadow:0 0 0 3px #fff,0 0 0 5px #b9a3ee}

@media(max-width:560px){
  .ps-feature{grid-template-columns:1fr;justify-items:center;text-align:center}
  .ps-feature-text{text-align:center}
  .ps-feature-text p{margin-inline:auto}
}
@media(prefers-reduced-motion:reduce){
  .ps-dots i{animation:none}
  .ps-track{animation:none}
  .ps-rail{overflow-x:auto;-webkit-mask:none;mask:none}
  .ps-track [aria-hidden="true"]{display:none}
}
