/* What’s in Cabo Passport · lanzador de la demo tocable (2026-11-01) */

/* ---- dentro del teléfono de la página (computadora) ---- */
[data-ppd-inline] { position: relative; }
/* misma combinación de color que la app: si no, el navegador pinta un fondo detrás del teléfono */
.ppd-inline, .ppd-frame { color-scheme: light; }
.ppd-inline { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity .35s ease; }
.ppd-live .ppd-inline { opacity: 1; }
.ppd-inline { filter: drop-shadow(0 34px 44px rgba(6, 44, 83, .26)) drop-shadow(0 6px 12px rgba(6, 44, 83, .12)); }
.ppd-live .ppd-poster { visibility: hidden; transition: visibility 0s .35s; }
.ppd-live [data-ppd-open], .ppd-loading [data-ppd-open] { visibility: hidden; }
.ppd-loading::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 4; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid rgba(6, 44, 83, .18); border-top-color: #062C53; animation: ppdSpin .8s linear infinite; }

/* ---- encima de la página ---- */
.ppd-ov { position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: rgba(6, 44, 83, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; opacity: 0; transition: opacity .22s ease; }
.ppd-ov.ppd-on { opacity: 1; }
.ppd-ov *, .ppd-ov *::before, .ppd-ov *::after { box-sizing: border-box; }
.ppd-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 1080px; margin: 0 auto; padding: 14px 20px; padding-top: max(14px, env(safe-area-inset-top)); }
.ppd-id { min-width: 0; line-height: 1.25; }
.ppd-id strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ppd-id span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .74); }
.ppd-acts { flex: none; display: flex; align-items: center; gap: 8px; }
.ppd-get { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .38); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background-color .2s ease; }
.ppd-get:hover { background: rgba(255, 255, 255, .12); }
.ppd-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background-color .2s ease; }
.ppd-x:hover { background: rgba(255, 255, 255, .24); }
.ppd-get:focus-visible, .ppd-x:focus-visible { outline: 3px solid #E8A24C; outline-offset: 2px; }
.ppd-body { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px 20px; }
.ppd-frame { display: block; height: 100%; max-height: 868px; max-width: 100%; aspect-ratio: 414 / 868; border: 0; background: transparent; opacity: 0; transition: opacity .3s ease; }
.ppd-ready .ppd-frame { opacity: 1; }
.ppd-ov:not(.ppd-ov--full) .ppd-frame { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
.ppd-load { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: ppdSpin .8s linear infinite; }
.ppd-ready .ppd-load { display: none; }

/* celular: la app llena la pantalla bajo una barra delgada */
.ppd-ov--full { background: #062C53; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ppd-ov--full .ppd-top { padding: 8px 8px 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); }
.ppd-ov--full .ppd-id strong { font-size: 14px; }
.ppd-ov--full .ppd-id span { font-size: 11.5px; }
.ppd-ov--full .ppd-get { min-height: 36px; padding: 0 14px; font-size: 13px; }
.ppd-ov--full .ppd-body { padding: 0 0 env(safe-area-inset-bottom); }
.ppd-ov--full .ppd-frame { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; background: #FAF7F2; }

@keyframes ppdSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ppd-ov, .ppd-frame, .ppd-inline { transition: none; }
  .ppd-load, .ppd-loading::after { animation-duration: 2.4s; }
}
