/* HB Site Kit feature: video-popup. Moved from HB Site 0.2.1 (hb-site.css) on 29 Nov 2026, rules unchanged. */
.hb-modal-video .hb-modal-box { max-width: 960px; padding: 0; background: #000; overflow: visible; }
.hb-modal-video .hb-modal-close { top: -54px; right: 0; background: #fff; }
.hb-video-frame { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; }
.hb-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Review video popup (22 Nov 2026): video on the left in a frame of its own shape, client info on the right
   (same dark two-column look as the booking popup), prev/next, a loader with the client's face, an end card. */
.hb-modal-video .hb-modal-box { width: auto; max-width: 1180px; max-height: none; padding: 0; background: #10181B; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; box-shadow: 0 40px 100px rgba(0,0,0,.6); overflow: hidden; animation: hb-pop-in .35s cubic-bezier(.2,.7,.3,1) both; }
.hb-modal-video .hb-modal-close { top: 14px; right: 14px; background: rgba(255,255,255,.08); color: #fff; z-index: 3; transition: background .2s, color .2s; }
.hb-modal-video .hb-modal-close:hover { background: #16BBAA; color: #0F1517; }
.hb-vid { --hb-ar: 1.7778; display: grid; grid-template-columns: auto 300px; }
.hb-vid-media { display: flex; align-items: center; justify-content: center; background: #000; }
.hb-vid-stage { position: relative; aspect-ratio: var(--hb-ar); width: min(820px, calc(100vw - 380px), calc((100dvh - 60px) * var(--hb-ar))); background: #0B1113; }
.hb-vid-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s ease; }
.hb-vid-stage.is-ready iframe { opacity: 1; }
.hb-vid-loading { position: absolute; inset: 0; display: grid; place-items: center; }
.hb-vid-loading img, .hb-vid-ring { grid-area: 1 / 1; border-radius: 50%; }
.hb-vid-loading img { width: 72px; height: 72px; object-fit: cover; }
.hb-vid-loading img:not([src]), .hb-vid-loading img[src=""] { visibility: hidden; }
.hb-vid-ring { width: 94px; height: 94px; border: 2px solid rgba(22,187,170,.22); border-top-color: #16BBAA; animation: hb-spin 1s linear infinite; }
.hb-vid-stage.is-ready .hb-vid-loading { display: none; }
.hb-vid-end { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: rgba(11,17,19,.92); animation: hb-fade-in .35s ease both; }
.hb-vid-end[hidden] { display: none; }
.hb-vid-end-title { margin: 0; color: #fff; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 30px; line-height: 1.15; }
.hb-vid-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 100px; background: #16BBAA; color: #0F1517 !important; font-family: "Jost", sans-serif; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .25s; }
.hb-vid-cta span, .hb-vid-book span { display: inline-block; transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.hb-vid-cta:hover { background: #fff; }
.hb-vid-cta:hover span, .hb-vid-book:hover span { transform: translateX(4px); }
.hb-vid-replay { background: none; border: 0; padding: 6px; color: #A9B6B9; font-family: "Jost", sans-serif; font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hb-vid-replay:hover { color: #fff; }
.hb-vid-info { display: flex; flex-direction: column; gap: 22px; padding: 68px 28px 28px; background: radial-gradient(120% 70% at 100% 0%, rgba(22,187,170,.18), transparent 60%), #0C1315; border-left: 1px solid rgba(255,255,255,.06); }
.hb-vid p { padding: 0 !important; }
/* Divi adds padding-bottom to every p */
.hb-vid-person { display: flex; align-items: center; gap: 14px; }
.hb-vid-face { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #16BBAA; }
.hb-vid-name { margin: 0; color: #fff; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.25; }
.hb-vid-role { margin: 3px 0 0; color: #A9B6B9; font-size: 14px; line-height: 1.4; }
.hb-vid-quote { margin: 0; padding: 0; border: 0; }
.hb-vid-quote p { margin: 0; color: #EEF3F4; font-family: "Caveat", cursive; font-weight: 600; font-size: 28px; line-height: 1.2; text-wrap: pretty; }
.hb-vid-nav { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.hb-vid-nav[hidden] { display: none; }
.hb-vid-nav button { width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; font-size: 18px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.hb-vid-nav button:hover, .hb-vid-nav button:focus-visible { background: #16BBAA; border-color: #16BBAA; color: #0F1517; }
.hb-vid-count { color: #A9B6B9; font-size: 14px; }
.hb-vid-count b { color: #fff; }
.hb-vid-book { color: #fff; font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: #16BBAA; text-underline-offset: 5px; }
.hb-vid button:focus-visible, .hb-vid a:focus-visible { outline: 3px solid #16BBAA; outline-offset: 3px; }
@keyframes hb-pop-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hb-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
	.hb-vid { grid-template-columns: 1fr; }
	.hb-modal-video .hb-modal-box { width: 100%; max-height: calc(100dvh - 24px); overflow: auto; }
	.hb-vid-media { padding-top: 64px; background: #10181B; }
	.hb-vid-stage { width: 100%; }
	.hb-vid-info { gap: 16px; padding: 20px 20px 22px; border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
	.hb-vid-quote p { font-size: 24px; }
	.hb-vid-end-title { font-size: 24px; }
}
@media (max-width: 767px) {
	.hb-modal-video { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.hb-modal-video .hb-modal-box, .hb-vid-end { animation: none; }
	.hb-vid-ring { animation-duration: 3s; }
	.hb-vid-stage iframe, .hb-vid-cta span, .hb-vid-book span { transition: none; }
}
