/* ==========================================================================
   Online booking page (online-booking.php): CSS-built interface mock-ups
   (booking timeline, dashboard, history, notifications, home screen) and the
   page's own layouts. Uses the tokens from site.css only.
   ========================================================================== */

.pb-sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ on this page */
.pb-ob-toc { padding-top: clamp(22px, 3vw, 34px); }
.pb-ob-toc .pb-toc { justify-content: center; }
.pb-ob-toc .pb-toc a { background: #fff; box-shadow: var(--shadow-s); }

/* ---------------------------------------------------------------- layouts */
/* overflow-x: clip (not hidden) keeps floating chips inside the page width
   without turning the section into a scroll container, so sticky still works. */
.pb-ob-clipx { overflow-x: clip; }
.pb-ob-split {
    display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(36px, 5.5vw, 80px); align-items: start;
}
.pb-ob-split--flip { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.pb-ob-split--flip > :last-child { order: -1; }
/* The mock-up follows the (longer) text column while it is read. */
.pb-ob-split > figure { position: sticky; top: calc(var(--header-h) + 36px); }

.pb-ob-feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.pb-ob-feats li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; }
.pb-ob-feats h3 { font-size: 1.14rem; margin: 3px 0 6px; }
.pb-ob-feats p { margin: 0; color: var(--muted); }
.pb-ob-split .pb-note { margin: 30px 0 0; }
.pb-ob-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0 0; }

.pb-ob-numbered { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; counter-reset: obn; }
.pb-ob-numbered li {
    position: relative; padding: 18px 20px 18px 70px; border-radius: 18px; background: var(--sand-0);
    border: 1px solid var(--line); counter-increment: obn;
}
.pb-ob-numbered li::before {
    content: counter(obn, decimal-leading-zero); position: absolute; left: 18px; top: 18px;
    width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
    background: var(--terra-100); color: var(--terra-600); font: 700 .9rem/1 var(--font-display);
}
.pb-ob-numbered h3 { font-size: 1.08rem; margin: 0 0 4px; }
.pb-ob-numbered p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ------------------------------------------------------------- mock frame */
.pb-mock {
    position: relative; margin: 0; background: #fff; border-radius: 24px; border: 1px solid var(--line);
    box-shadow: 0 50px 90px -45px rgba(6, 48, 46, .45), 0 18px 36px -24px rgba(6, 48, 46, .25);
    color: var(--ink); font-size: .92rem; line-height: 1.4;
}
.pb-mock__bar {
    display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line);
    background: var(--sand-50); border-radius: 24px 24px 0 0;
}
.pb-mock__bar b { font: 700 1rem/1.2 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.pb-mock__dots { display: inline-flex; gap: 6px; flex: none; }
.pb-mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--terra); opacity: .75; }
.pb-mock__dots i:nth-child(2) { background: var(--gold); }
.pb-mock__dots i:nth-child(3) { background: var(--teal-400); }
.pb-mock__tag {
    margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--sand-100); color: var(--muted);
    font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.pb-mock__body { padding: clamp(16px, 2.2vw, 24px); display: grid; gap: 18px; }

/* --------------------------------------------------------- booking mock-up */
.pb-bk__fields { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; }
.pb-bk__field { min-width: 0; padding: 8px 12px 9px; border: 1.5px solid rgba(15, 31, 30, .12); border-radius: 14px; background: #fff; }
.pb-bk__field small, .pb-bk__times small, .pb-bk__photos small {
    display: block; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.pb-bk__field > span { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-weight: 700; white-space: nowrap; min-width: 0; }
.pb-bk__field .pb-i { color: var(--teal-700); }
.pb-bk__name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; }
.pb-bk__code, .pb-dash__pkgtop em, .pb-dash__table em {
    font-style: normal; flex: none; padding: 2px 7px; border-radius: 7px; background: var(--teal-900); color: #fff;
    font: 700 .76rem/1.4 var(--font-display);
}
.pb-bk__chev { transform: rotate(90deg); color: var(--muted) !important; }

.pb-tl { position: relative; padding-top: 44px; }
.pb-tl__scale { position: relative; height: 16px; margin: 0 0 8px; font-size: .68rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.pb-tl__scale span { position: absolute; top: 0; left: calc(var(--i) / 14 * 100%); transform: translateX(-50%); line-height: 16px; }
.pb-tl__scale span:first-child { transform: none; }
.pb-tl__scale span:last-child { transform: translateX(-100%); }
.pb-tl__scale i { display: none; font-style: normal; }
.pb-tl__track {
    position: relative; height: 66px; border-radius: 14px; border: 1px solid rgba(15, 118, 110, .16);
    background-color: var(--teal-50);
    background-image: linear-gradient(90deg, rgba(15, 118, 110, .14) 1px, transparent 1px);
    background-size: calc(100% / 14) 100%;
}
.pb-tl__block {
    position: absolute; top: 9px; bottom: 9px; left: calc(var(--s) * 100%); width: calc(var(--l) * 100%);
    display: grid; place-items: center; border-radius: 10px; font-size: .7rem; font-weight: 800;
}
.pb-tl__block--busy { background: repeating-linear-gradient(135deg, #ebe4d8 0 6px, #e0d7c8 6px 12px); color: #52493f; box-shadow: inset 0 0 0 1px rgba(15, 31, 30, .06); }
.pb-tl__block--busy > span { max-width: 100%; padding: 0 4px; overflow: hidden; white-space: nowrap; text-overflow: clip; }
.pb-tl__block--mine { z-index: 2; background: linear-gradient(135deg, var(--terra), var(--gold)); box-shadow: 0 0 0 3px #fff, 0 12px 26px -8px rgba(224, 104, 58, .8); transform-origin: left center; }
.pb-tl__pin {
    position: absolute; left: 50%; bottom: calc(100% + 38px); transform: translateX(-50%);
    padding: 6px 11px; border-radius: 10px; background: var(--ink); color: #fff; white-space: nowrap;
    font-size: .74rem; font-weight: 800; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5);
}
.pb-tl__pin::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.pb-tl__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .76rem; font-weight: 700; color: var(--muted); }
.pb-tl__legend span { display: inline-flex; align-items: center; gap: 7px; }
.pb-tl__key { width: 14px; height: 14px; border-radius: 4px; background: var(--teal-50); border: 1px solid rgba(15, 118, 110, .25); }
.pb-tl__key--busy { background: repeating-linear-gradient(135deg, #ebe4d8 0 3px, #d9cfbf 3px 6px); border-color: transparent; }
.pb-tl__key--mine { background: linear-gradient(135deg, var(--terra), var(--gold)); border-color: transparent; }

.pb-bk__times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pb-bk__times > div { min-width: 0; padding: 8px 12px 9px; border: 1.5px solid rgba(15, 31, 30, .12); border-radius: 14px; }
.pb-bk__times small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-bk__times b { display: block; margin-top: 2px; font: 700 1.12rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.pb-bk__times .pb-bk__dur { background: var(--terra-100); border-color: transparent; }
.pb-bk__dur b { color: var(--terra-600); }

.pb-bk__photos small { display: flex; align-items: center; gap: 6px; }
.pb-bk__photos small .pb-i { width: 16px; height: 16px; color: var(--teal-700); }
.pb-bk__photos > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.pb-bk__photos img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 10px; background: var(--sand-200); }
/* Part of the picture, not a real button: flatter than the page's own CTAs. */
.pb-bk__btn { pointer-events: none; min-height: 48px; box-shadow: none; filter: saturate(.85); }

/* The confirmation hangs off the frame's bottom-left corner, clear of the photos. */
.pb-toast {
    position: absolute; z-index: 4; left: -38px; bottom: -30px; display: flex; align-items: center; gap: 12px;
    padding: 11px 18px 11px 11px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 30px 60px -22px rgba(6, 48, 46, .5); font-size: .84rem; line-height: 1.25;
}
.pb-toast b { display: block; font-size: .92rem; }
.pb-toast span { color: var(--muted); }
.pb-toast__ok { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--wa); color: #fff !important; }
.pb-toast__ok .pb-i { width: 20px; height: 20px; stroke-width: 2.6; }

/* Booking mock-up animation: others' bookings fade in, then yours grows in,
   then the pin and the confirmation appear. */
.js .pb-bk .pb-tl__block--busy { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(250ms + var(--j, 0) * 90ms); }
.js .pb-bk .pb-tl__block--mine { transform: scaleX(0); transition: transform .7s var(--ease) .6s; }
.js .pb-bk .pb-tl__pin, .js .pb-bk .pb-toast { opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .pb-bk .pb-tl__pin { transition-delay: 1.1s; }
.js .pb-bk .pb-toast { transform: translateY(14px) scale(.96); transition-delay: 1.4s; }
.js .pb-bk.is-in .pb-tl__block--busy, .js .pb-bk.is-in .pb-tl__pin, .js .pb-bk.is-in .pb-toast { opacity: 1; }
.js .pb-bk.is-in .pb-tl__block--mine, .js .pb-bk.is-in .pb-toast { transform: none; }
.js .pb-bk.is-in .pb-tl__pin { transform: translateX(-50%); }

/* ------------------------------------------------------------------ stats */
.pb-ob-stats .pb-stat { display: flex; flex-direction: column; gap: 10px; }
.pb-ob-stats .pb-icon { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 4px; }
.pb-ob-stats .pb-icon .pb-i { width: 22px; height: 22px; }
.pb-ob-stats .pb-stat strong { font-size: clamp(1.5rem, 3.2vw, 2.7rem); margin: 0; white-space: nowrap; }

/* ------------------------------------------------------- dashboard mock-up */
.pb-dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pb-dash__kpi {
    min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
    padding: 14px; border-radius: 16px; background: var(--sand-50); border: 1px solid var(--line);
}
.pb-dash__kpi small { font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); line-height: 1.25; }
.pb-dash__kpi strong { font: 700 clamp(1.2rem, 2.3vw, 1.7rem)/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.pb-dash__kpi em { font-style: normal; font-size: .58em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.pb-dash__kpi--main { background: linear-gradient(160deg, var(--teal-800), var(--teal-950)); border-color: transparent; color: #fff; }
.pb-dash__kpi--main small, .pb-dash__kpi--main em { color: rgba(236, 246, 244, .72); }
.pb-dash__kpi--ok strong { color: var(--teal-700); }

.pb-dash__label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.pb-dash__label .pb-i { width: 18px; height: 18px; color: var(--terra); }
.pb-dash__pkg { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pb-dash__pkgtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pb-dash__pkgtop b { font: 700 1rem/1.2 var(--font-display); }
.pb-dash__bar { height: 10px; border-radius: 10px; background: var(--terra-100); overflow: hidden; }
.pb-dash__bar i { display: block; width: max(10px, calc(var(--p, .5) * 100%)); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-700), var(--teal-400)); transform-origin: left center; }
.js .pb-dash .pb-dash__bar i { transform: scaleX(0); transition: transform 1.3s var(--ease) .6s; }
.js .pb-dash.is-in .pb-dash__bar i { transform: none; }
.pb-dash__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.pb-dash__nums div { min-width: 0; }
.pb-dash__nums dt { font-size: .72rem; font-weight: 700; color: var(--muted); }
.pb-dash__nums dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-dash__nums div:nth-child(2) dd { color: var(--teal-700); }
.pb-dash__nums .is-left dd { color: var(--terra-600); }

.pb-dash__table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.pb-dash__table th { padding: 0 8px 8px; text-align: left; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.pb-dash__table td { padding: 9px 8px; border-bottom: 1px dashed var(--line); vertical-align: middle; }
.pb-dash__table th:first-child, .pb-dash__table td:first-child { padding-left: 0; }
.pb-dash__table th:last-child, .pb-dash__table td:last-child { padding-right: 0; }
.pb-dash__table tr:last-child td { border-bottom: 0; }
.pb-dash__table td:first-child { font-weight: 700; }
.pb-dash__table em { background: var(--teal-50); color: var(--teal-700); }
/* A wrapped room name stays beside its code chip instead of running under it. */
.pb-dash__room { display: flex; align-items: baseline; gap: 6px; }
.pb-dash__room > span { min-width: 0; }
.pb-dash__table .num { text-align: right; white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; }
.pb-dash__table td.num:last-child { color: var(--terra-600); }

/* --------------------------------------------------------- history mock-up */
.pb-hist .pb-mock__body { gap: 6px; }
.pb-hist__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pb-hist__row {
    display: grid; grid-template-columns: 50px minmax(0, 1fr) 64px 64px; gap: 10px; align-items: center;
    padding: 12px 10px; border-radius: 12px;
}
.pb-hist__row--head { padding-top: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.pb-hist__row--head span:nth-child(n+3) { text-align: right; }
.pb-hist__date { font-size: .8rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.pb-hist__ev { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pb-hist__ev > i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--terra-100); color: var(--terra-600); }
.pb-hist__ev > i .pb-i { width: 18px; height: 18px; }
.pb-hist__ev > span { min-width: 0; }
.pb-hist__ev b { display: block; font-size: .9rem; line-height: 1.2; }
.pb-hist__ev small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.3; }
.pb-hist__paid { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--teal-700); color: #fff; font-style: normal; font-size: .68rem; font-weight: 800; }
.pb-hist__paid .pb-i { width: 12px; height: 12px; }
.pb-hist__h, .pb-hist__left { text-align: right; font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-hist__h { color: var(--terra-600); }
.pb-hist__h.is-plus { color: var(--teal-700); }
.pb-hist__left.is-debt { color: var(--terra-600); }
.pb-hist__row--back .pb-hist__ev > i { background: var(--teal-50); color: var(--teal-700); }
.pb-hist__row--pay .pb-hist__ev > i { background: var(--teal-900); color: #fff; }
.pb-hist__row--linked { background: linear-gradient(90deg, rgba(15, 118, 110, .09), rgba(15, 118, 110, .02)); box-shadow: inset 3px 0 0 var(--teal-700); }
.js .pb-hist .pb-hist__rows li { opacity: 0; transform: translateX(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .pb-hist .pb-hist__rows li:nth-child(1) { transition-delay: .35s; }
.js .pb-hist .pb-hist__rows li:nth-child(2) { transition-delay: .5s; }
.js .pb-hist .pb-hist__rows li:nth-child(3) { transition-delay: .65s; }
.js .pb-hist .pb-hist__rows li:nth-child(4) { transition-delay: .8s; }
.js .pb-hist.is-in .pb-hist__rows li { opacity: 1; transform: none; }

/* ------------------------------------------------------ home-screen band */
.pb-ob-band__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(72px, 9vw, 110px); }
.pb-ob-band .pb-eyebrow { color: var(--gold); }
.pb-ob-band__how { display: flex; gap: 10px; align-items: flex-start; max-width: 62ch; margin: 24px 0 0; color: rgba(236, 246, 244, .86); font-size: .92rem; }
.pb-ob-band__how .pb-i { color: var(--gold); margin-top: 2px; }
.pb-homescreen {
    width: min(250px, 100%); margin-inline: auto; aspect-ratio: 9 / 17; border-radius: 40px; padding: 26px 18px 16px;
    display: flex; flex-direction: column; justify-content: flex-start; gap: 18px;
    /* A dark wallpaper so the phone reads as a screen, not as glass over the photo. */
    background: radial-gradient(90% 55% at 80% 8%, rgba(224, 104, 58, .28), transparent 70%), linear-gradient(170deg, rgba(10, 65, 62, .72), rgba(4, 31, 30, .9));
    border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 50px 90px -35px rgba(0, 0, 0, .7), inset 0 0 0 6px rgba(4, 31, 30, .35);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.pb-homescreen__time { display: block; text-align: center; color: #fff; font: 700 1.6rem/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pb-homescreen__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; }
.pb-homescreen__app { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.pb-homescreen__app i { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; background: hsla(calc(160 + var(--k, 0) * 27), 45%, 72%, .32); }
.pb-homescreen__app small { display: block; height: 9px; width: 70%; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.pb-homescreen__app--pb img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; background: #fff; box-shadow: 0 0 0 3px var(--terra), 0 12px 26px -6px rgba(224, 104, 58, .9); animation: pb-ob-pop 3s var(--ease) infinite; }
.pb-homescreen__app--pb small { width: auto; height: 10px; background: none; font-size: .62rem; line-height: 10px; font-weight: 800; color: #fff; white-space: nowrap; }
.pb-homescreen__dock { margin-top: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, .16); }
.pb-homescreen__dock i { aspect-ratio: 1; border-radius: 12px; background: rgba(255, 255, 255, .3); }
@keyframes pb-ob-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.1); } 90% { transform: scale(.97); } }

/* ---------------------------------------------------- notifications mock-up */
/* The push card overlaps only this reserved space, never the feed items. */
.pb-notif-wrap { position: relative; margin: 0; padding-bottom: 80px; }
.pb-notif__top { display: flex; align-items: center; gap: 12px; }
.pb-notif__top strong { font: 700 1.1rem/1.2 var(--font-display); }
.pb-notif__top .pb-badge { margin-left: auto; white-space: nowrap; }
.pb-notif__bell { position: relative; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--teal-50); color: var(--teal-700); }
.pb-notif__bell b { position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; display: grid; place-items: center; background: var(--terra); color: #fff; font-size: .7rem; border: 2px solid #fff; }
.pb-notif-wrap.is-in .pb-notif__bell .pb-i { animation: pb-ob-ring 1.2s var(--ease) .6s 2; transform-origin: 50% 10%; }
@keyframes pb-ob-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }
.pb-notif__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pb-notif__list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.pb-notif__list li.is-unread { background: var(--sand-50); border-color: rgba(224, 104, 58, .28); }
.pb-notif__dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--sand-300); }
.is-unread .pb-notif__dot { background: var(--terra); box-shadow: 0 0 0 4px rgba(224, 104, 58, .16); }
.pb-notif__list b { display: block; font-size: .92rem; }
.pb-notif__list p { margin: 2px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.pb-notif__list time { font-size: .72rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.pb-push {
    position: absolute; z-index: 3; right: -30px; bottom: -8px; width: min(330px, 88%);
    display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px 12px 12px; border-radius: 18px;
    background: rgba(255, 255, 255, .95); box-shadow: 0 34px 60px -24px rgba(6, 48, 46, .55), 0 0 0 1px var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .82rem; line-height: 1.35;
}
.pb-push img { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.pb-push small { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; }
.pb-push b { display: block; margin-top: 2px; font-size: .9rem; }
.pb-push span { color: var(--ink-2); }
.js .pb-notif-wrap .pb-push { opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .7s var(--ease) .8s, transform .7s var(--ease) .8s; }
.js .pb-notif-wrap.is-in .pb-push { opacity: 1; transform: none; }

/* --------------------------------------------------------------- telegram */
.pb-tgmsgs { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.pb-tgmsgs li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.pb-tgmsgs h3 { margin: 6px 0 0; font-size: 1.08rem; color: #fff; }
/* The bot's literal (English) message titles. */
.pb-tgmsgs .pb-tgmsgs__code {
    display: inline-block; margin: 2px 0 0; padding: 4px 11px; border-radius: 9px;
    background: rgba(34, 158, 217, .14); border: 1px solid rgba(34, 158, 217, .35); color: #fff;
    font: 700 .95rem/1.35 var(--font-text); letter-spacing: 0;
}
.pb-tgmsgs p { margin: 8px 0 0; color: rgba(233, 243, 241, .76); }
.pb-ob-darknote {
    display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 16px 18px; border-radius: 16px;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line-light); color: rgba(233, 243, 241, .88); font-size: .95rem;
}
.pb-ob-darknote .pb-i { width: 22px; height: 22px; color: var(--gold); margin-top: 1px; }
.pb-tgconnect { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line-light); }
.pb-tgconnect > h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; }
.pb-tgconnect > h3 .pb-icon { width: 48px; height: 48px; }
.pb-tgconnect__steps { list-style: none; padding: 0; margin: 0; }
.pb-tgconnect__steps h4 { margin: 0 0 8px; padding-right: 60px; font-size: 1.12rem; color: #fff; }
.pb-tgconnect__steps li:nth-child(2) { border-color: rgba(34, 158, 217, .45); background: rgba(34, 158, 217, .1); }
.pb-tgconnect .pb-muted { display: flex; gap: 10px; align-items: flex-start; }
.pb-tgconnect .pb-muted .pb-i { color: var(--tg); margin-top: 3px; }

/* ------------------------------------------- languages / security / privacy */
.pb-ob-trio .pb-check { margin: 16px 0 0; font-size: .96rem; }
.pb-ob-trio .pb-card > p.pb-muted { margin: 12px 0 0; font-size: .96rem; }
.pb-ob-trio .pb-card--accent .pb-check li { color: rgba(236, 246, 244, .88); }
.pb-ob-trio .pb-card--accent .pb-link-arrow { margin-top: 18px; color: var(--teal-200); }
.pb-ob-trio .pb-card--accent .pb-link-arrow:hover { color: #fff; }
.pb-ob-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pb-ob-langs a {
    padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--sand-50);
    font-weight: 700; font-size: .88rem; color: var(--ink-2); text-decoration: none; transition: border-color .2s, color .2s;
}
.pb-ob-langs a:hover { border-color: var(--teal-700); color: var(--teal-700); }
.pb-ob-langs a.is-on { background: var(--teal-700); border-color: transparent; color: #fff; }
.pb-ob-path { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--sand-100); font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.pb-ob-path .pb-i { width: 18px; height: 18px; color: var(--teal-700); }
.pb-ob-langnote { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }

/* -------------------------------------------------------------------- FAQ */
.pb-ob-faqhead { position: sticky; top: calc(var(--header-h) + 32px); }
.pb-ob-faqlinks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }

/* -------------------------------------------------------------------- CTA */
.pb-ob-cta__paths { display: grid; gap: 18px; }
.pb-ob-cta__paths > div { display: grid; gap: 8px; }
.pb-ob-cta__paths small { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.pb-ob-cta .pb-btn { white-space: normal; text-align: center; }
/* The global terra focus ring is invisible on the terra CTA band. */
.pb-ob-cta :focus-visible { outline-color: #fff; }
.pb-ob-cta a.pb-ob-cta__call, .pb-ob-cta a.pb-ob-cta__call:hover { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; padding: 4px 0; color: #fff; font-size: .95rem; }
.pb-ob-cta__call span { color: rgba(255, 255, 255, .88); }
.pb-ob-cta__call b { white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 3px; }
.pb-ob-cta__call:hover b { text-decoration-color: #fff; }
.pb-ob-cta__call .pb-i { width: 18px; height: 18px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
    .pb-toast { left: -18px; }
    .pb-push { right: -14px; }
}
@media (max-width: 980px) {
    .pb-ob-split, .pb-ob-split--flip, .pb-ob-band__grid { grid-template-columns: minmax(0, 1fr); }
    .pb-ob-split--flip > :last-child { order: 0; }
    .pb-ob-split > figure { position: relative; top: 0; width: 100%; max-width: 640px; margin-inline: auto; }
    .pb-bk .pb-mock__body { padding-bottom: 84px; }
    .pb-toast { left: 16px; right: 16px; bottom: 16px; }
    .pb-push { right: 12px; }
    .pb-ob-faqhead { position: static; }
    .pb-homescreen { width: 220px; }

    /* Booking: the mock-up (the page's key picture) right after the lead,
       not after all four feature blocks. */
    #booking .pb-ob-split { row-gap: 0; }
    #booking .pb-ob-split > div:first-child { display: contents; }
    #booking .pb-ob-split > div:first-child > * { order: 2; }
    #booking .pb-ob-split > div:first-child > :is(.pb-eyebrow, h2, .pb-lead) { order: 0; }
    #booking .pb-ob-split > figure { order: 1; margin: 26px auto 8px; }

    /* Text spans the full width here: darken the band from the top, a little
       less at the bottom where the home-screen phone sits. (Side-slide reveals
       already rise instead of sliding at this width: site.css.) */
    .pb-band.pb-ob-band::before { background: linear-gradient(180deg, rgba(4, 31, 30, .9) 0%, rgba(4, 31, 30, .8) 55%, rgba(4, 31, 30, .55) 100%); }
}
@media (min-width: 681px) and (max-width: 980px) {
    .pb-online .pb-pagehero__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Telegram: like the other split sections, the phone stays in view while the
   (longer) message list is read — when the screen is tall enough for it. */
@media (min-width: 981px) {
    #telegram .pb-split { align-items: start; }
}
@media (min-width: 981px) and (min-height: 860px) {
    #telegram .pb-split > .reveal:last-child { position: sticky; top: calc(var(--header-h) + 28px); }
    #telegram .pb-phone { translate: none !important; }
}
@media (max-width: 680px) {
    .pb-ob-toc .pb-toc { gap: 6px; }
    .pb-ob-toc .pb-toc a { padding: 7px 12px; font-size: .84rem; }
    .pb-ob-feats li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
    .pb-ob-feats .pb-icon { width: 44px; height: 44px; border-radius: 14px; }
    .pb-ob-feats .pb-icon .pb-i { width: 22px; height: 22px; }
    .pb-ob-numbered li { padding: 16px 16px 16px 62px; }
    .pb-ob-numbered li::before { left: 14px; top: 16px; }
    .pb-mock__bar { padding: 12px 14px; gap: 10px; }
    .pb-dash__kpi { padding: 12px 10px; }
    .pb-dash__kpi small { font-size: .6rem; letter-spacing: .03em; }
    .pb-hist__row { grid-template-columns: 42px minmax(0, 1fr) 50px 50px; gap: 8px; padding: 10px 8px; }
    .pb-hist__ev { gap: 8px; }
    .pb-hist__ev > i { width: 28px; height: 28px; border-radius: 8px; }
    .pb-hist__ev > i .pb-i { width: 15px; height: 15px; }
    .pb-hist__h, .pb-hist__left { font-size: .82rem; }
    .pb-hist__date { font-size: .72rem; }
    .pb-notif__list li { padding: 10px 12px; gap: 10px; }
    .pb-push { left: 12px; right: 12px; width: auto; }
    .pb-homescreen { width: 172px; border-radius: 30px; padding: 20px 13px 12px; gap: 14px; }
    .pb-homescreen__time { font-size: 1.3rem; }
    .pb-homescreen__grid { gap: 12px 10px; }
    .pb-homescreen__grid > :nth-child(n+13) { display: none; }
}
@media (max-width: 560px) {
    /* The day timeline turns vertical: hours run top to bottom. */
    .pb-tl { padding-top: 8px; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 8px; }
    .pb-tl__scale { height: 392px; margin: 0; }
    .pb-tl__scale span, .pb-tl__scale span:first-child, .pb-tl__scale span:last-child { left: auto; right: 0; top: calc(var(--i) / 14 * 100%); transform: translateY(-50%); }
    .pb-tl__legend { margin-top: 16px; }
    .pb-tl__scale i { display: inline; }
    .pb-tl__track { height: 392px; background-image: linear-gradient(180deg, rgba(15, 118, 110, .14) 1px, transparent 1px); background-size: 100% calc(100% / 14); }
    .pb-tl__block { top: calc(var(--s) * 100%); bottom: auto; height: calc(var(--l) * 100%); left: 8px; right: 8px; width: auto; border: 2px solid var(--teal-50); }
    .pb-tl__block--mine { transform-origin: center top; }
    /* Dark text: white on the terra-to-gold bar is too faint over the gold end. */
    .pb-tl__pin { position: static; transform: none; padding: 0; background: none; box-shadow: none; font-size: .74rem; color: var(--ink); }
    .pb-tl__pin::after { display: none; }
    .js .pb-bk .pb-tl__block--mine { transform: scaleY(0); }
    .js .pb-bk.is-in .pb-tl__pin { transform: none; }
    .pb-tl__legend { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .pb-bk__fields { grid-template-columns: minmax(0, 1fr); }
    .pb-bk__times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pb-bk__times .pb-bk__dur { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
    .pb-mock__dots { display: none; }
    .pb-dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pb-dash__kpi--main { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .js .pb-bk .pb-tl__block--busy, .js .pb-bk .pb-tl__pin, .js .pb-bk .pb-toast,
    .js .pb-hist .pb-hist__rows li, .js .pb-notif-wrap .pb-push { opacity: 1 !important; }
    .js .pb-bk .pb-tl__block--mine, .js .pb-bk .pb-toast, .js .pb-dash .pb-dash__bar i,
    .js .pb-hist .pb-hist__rows li, .js .pb-notif-wrap .pb-push { transform: none !important; }
    .pb-homescreen__app--pb img, .pb-notif__bell .pb-i { animation: none !important; }
}
