/* Sticky "back to my pool" bar, the lead popup, the real-photo marks, single review row. */
.hook { position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 10px; border-radius: 22px;
  background: rgba(13,24,38,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.1); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hook.on { transform: translate(-50%, 0); }
.hook-pic { position: relative; width: 84px; height: 52px; border-radius: 14px; overflow: hidden; flex: none; background: #2a8fbf; }
.hook-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hook-t { display: grid; gap: 3px; padding-right: 6px; }
.hook-t small { font: 600 10.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hook-t b { font: 700 19px/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.hook-t b i { font-style: normal; color: #39E0D2; }
.hook-b { all: unset; cursor: pointer; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 16px; border-radius: 15px; font: 600 15px/1 var(--f-body); color: #fff; background: rgba(255,255,255,.1); white-space: nowrap; transition: background .15s ease; }
.hook-b:hover { background: rgba(255,255,255,.18); }
.hook-b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hook .cta-hot { height: 50px; padding: 0 20px; border-radius: 15px; font-size: 15.5px; background: linear-gradient(180deg, #5BF0E2, #2FD3C4); color: #06222A; box-shadow: none; }

/* Inline strip between sections that sends people back to the configurator */
.back { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 22px 26px 22px 22px; border-radius: 26px; background: #16262B; color: #FBFAF6; }
.dark .back { background: rgba(255,255,255,.07); }
.back-l { display: flex; align-items: center; gap: 18px; }
.back-pic { width: 120px; height: 74px; border-radius: 16px; object-fit: cover; flex: none; }
.back b { display: block; font: 700 22px/1.15 var(--f-display); letter-spacing: -.02em; }
.back span.s { display: block; margin-top: 5px; font: 500 14.5px/1.35 var(--f-body); color: rgba(251,250,246,.7); }
.back-r { display: flex; gap: 10px; flex: none; }
.back .cta-ghost { color: #fff; border-color: rgba(255,255,255,.28); height: 56px; }
.back .cta-ghost:hover { background: rgba(255,255,255,.08); border-color: #39E0D2; }
.back .cta-hot { background: linear-gradient(180deg, #5BF0E2, #2FD3C4); color: #06222A; box-shadow: none; }

/* Real photos */
.real { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 9px 14px 9px 10px; border-radius: 999px; background: #fff; font: 600 13.5px/1 var(--f-body); color: var(--ink); }
.real svg { width: 20px; height: 20px; fill: none; stroke: #0A7480; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gal figure::before { content: attr(data-tag); position: absolute; left: 12px; top: 12px; z-index: 1; padding: 6px 10px; border-radius: 999px; background: rgba(8,20,28,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font: 600 11.5px/1 var(--f-body); letter-spacing: .02em; }

/* Reviews: one row */
.mq-row:nth-child(2) { display: none; }
.mq-row { animation-duration: 110s; }

/* Lead popup */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(6,12,18,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.modal.on { opacity: 1; visibility: visible; }
.modal-box { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; width: min(940px, 100%); max-height: calc(100vh - 48px); border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 50px 120px rgba(0,0,0,.55); transform: translateY(18px) scale(.98); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.modal.on .modal-box { transform: none; }
.modal-side { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 30px; color: #fff; background: #060B14 url("../img/sec/night.webp") 72% center/cover; min-height: 520px; }
.modal-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,20,.25), rgba(6,11,20,.92) 72%); }
.modal-side > * { position: relative; }
.modal-side small { font: 600 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.modal-side .mine-chips span { background: rgba(255,255,255,.16); }
.modal-side b { font: 700 30px/1.05 var(--f-display); letter-spacing: -.03em; color: #39E0D2; }
.modal-side p { margin: 0; font: 500 13.5px/1.4 var(--f-body); color: rgba(255,255,255,.7); }
.modal .form { box-shadow: none; border-radius: 0; padding: 34px 34px 30px; align-content: center; }
.modal .form h3 { margin: 0 0 4px; font: 700 28px/1.1 var(--f-display); letter-spacing: -.03em; color: #16262B; }
.modal .form p.sub2 { margin: 0 0 8px; font: 500 15px/1.45 var(--f-body); color: rgba(22,38,43,.7); }
.modal-x { all: unset; cursor: pointer; position: absolute; right: 14px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 300 28px/1 var(--f-body); color: #16262B; background: rgba(22,38,43,.07); }
.modal-x:hover { background: rgba(22,38,43,.14); }

/* Time-lapse v2: scrubber with a wipe line */
html[lang="en"] .gal figure::before { content: "EBM · real photo"; }
.tl2-pic { position: relative; aspect-ratio: 16 / 8.2; max-height: 66vh; width: 100%; border-radius: 30px; overflow: hidden; background: #08131F; box-shadow: 0 40px 90px rgba(0,0,0,.45); cursor: ew-resize; user-select: none; touch-action: pan-y; }
.tl2-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; pointer-events: none; }
.tl2-line { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #39E0D2; box-shadow: 0 0 22px 4px rgba(57,224,210,.65); transition: opacity .2s ease; pointer-events: none; }
.tl2-line::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: #39E0D2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306222A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center/22px no-repeat; }
.tl2-card { position: absolute; left: 24px; bottom: 24px; width: 380px; padding: 22px 24px 20px; border-radius: 22px; background: rgba(8,19,31,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: #fff; pointer-events: none; }
.tl2-card.pop h3, .tl2-card.pop p, .tl2-card.pop .tl2-n b { animation: tlpop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes tlpop { from { opacity: 0; transform: translateY(10px); } }
.tl2-n { display: flex; align-items: baseline; gap: 6px; font: 500 14px/1 var(--f-body); color: rgba(255,255,255,.6); }
.tl2-n b { font: 700 44px/1 var(--f-display); letter-spacing: -.04em; color: #39E0D2; }
.tl2-card h3 { margin: 12px 0 8px; font: 700 24px/1.15 var(--f-display); letter-spacing: -.02em; }
.tl2-card p { margin: 0; font: 500 14.5px/1.5 var(--f-body); color: rgba(255,255,255,.78); min-height: 44px; }
.tl2-pct { height: 3px; margin-top: 16px; border-radius: 2px; background: rgba(255,255,255,.16); overflow: hidden; }
.tl2-pct i { display: block; height: 100%; background: #39E0D2; }
.tl2 .tl-play { top: 24px; right: 24px; }
.tl2-track { position: relative; height: 6px; margin: 34px 14px 0; border-radius: 3px; background: rgba(255,255,255,.14); cursor: pointer; touch-action: none; }
.tl2-fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px; background: #39E0D2; }
.tl2-knob { all: unset; position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(57,224,210,.3), 0 4px 14px rgba(0,0,0,.4); cursor: grab; }
.tl2-stops { position: absolute; left: 0; right: 0; top: 22px; display: flex; justify-content: space-between; }
.tl2-stops button { all: unset; cursor: pointer; width: 0; white-space: nowrap; display: flex; justify-content: center; font: 600 14.5px/1.2 var(--f-body); color: rgba(243,246,245,.5); transition: color .25s ease; }
.tl2-stops button:first-child { justify-content: flex-start; } .tl2-stops button:last-child { justify-content: flex-end; }
.tl2-stops button.on { color: #fff; } .tl2-stops button:hover { color: #39E0D2; }
.tl2 { padding-bottom: 46px; }

/* Live picture and selectable tiles: the sections follow the configurator */
.live { position: relative; overflow: hidden; width: 100%; }
.live-in { position: absolute; left: 0; top: 0; width: 2560px; height: 1440px; transform-origin: 0 0; }
.live-in img { position: absolute; left: 0; top: 0; width: 2560px; height: 1440px; max-width: none; transition: opacity .5s ease; }
.inc-pic .live-in img { display: block; height: 1440px; }
.mat h3 i { font: 500 14px/1 var(--f-body); font-style: normal; color: var(--ink-soft); margin-left: 12px; letter-spacing: 0; }
.tiles figure[data-deck], .tiles figure[data-fin] { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.tiles figure.sel { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px #0A7480; transform: translateY(-3px); }
.tiles figure.sel::after { content: ""; position: absolute; right: 9px; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: #0A7480 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat; }
.inc-list li[data-n="6"], .dot[data-n="6"] { cursor: pointer; }
.inc-list li.added em { background: #0A7480; color: #fff; }
.inc-list li.added::before { background: #0A7480; content: "✓"; }
.dot.opt.added { background: #0A7480; } .dot.opt.added::before { background: #0A7480; }
.dot.opt:not(.added) { opacity: .92; }
.cta-card b { font-variant-numeric: tabular-nums; }

/* Live miniatures of the configured pool */
.mini { position: relative; overflow: hidden; background: #2a8fbf; }
.mini-in { position: absolute; left: 0; top: 0; width: 2560px; height: 1440px; transform-origin: 0 0; }
.mini-in img { position: absolute; left: 0; top: 0; width: 2560px; height: 1440px; max-width: none; transition: opacity .4s ease; }
.mini-in .m-cage { mix-blend-mode: multiply; }
.mini-in .m-toys img { filter: drop-shadow(-10px 16px 9px rgba(0,35,70,.36)); }
.hook { gap: 16px; padding: 8px 8px 8px 8px; }
.hook-pic.mini { width: 172px; height: 98px; border-radius: 16px; }
.hook-pic.mini img { inset: auto; }
.hook-t { gap: 5px; max-width: 300px; }
.hook-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .04em; text-transform: none; font-size: 12.5px; color: rgba(255,255,255,.7); }
.hook-g { display: inline-flex; align-self: start; padding: 4px 9px; border-radius: 999px; background: rgba(255,95,162,.2); color: #FFB3D4; font: 600 11.5px/1 var(--f-body); white-space: nowrap; }
.hook-g b { font: inherit; color: #fff; letter-spacing: 0; }
.hook-g[hidden], .modal-g[hidden] { display: none; }
.back-pic.mini { width: 170px; height: 98px; border-radius: 16px; }
.modal-pic { width: 100%; aspect-ratio: 1640 / 1000; border-radius: 18px; margin-bottom: auto; box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.modal-side { justify-content: flex-start; }
.modal-side::before { background: linear-gradient(180deg, rgba(6,11,20,.7), rgba(6,11,20,.94)); }
.modal-g { align-self: start; padding: 7px 12px; border-radius: 999px; background: rgba(255,95,162,.22); color: #FFB3D4; font: 600 13px/1 var(--f-body); }
.modal-g b { font: inherit; color: #fff; letter-spacing: 0; }

/* Gift tag that floats next to the inflatable in the hero */
#gift { inset: auto; left: 0; top: 0; width: auto; height: auto; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 22px; background: #fff; color: #16262B; box-shadow: 0 14px 34px rgba(0,30,60,.3); white-space: nowrap; will-change: transform; transition: opacity .6s ease; pointer-events: none; }
#gift.off { opacity: 0; }
#gift svg { width: 44px; height: 44px; padding: 9px; box-sizing: border-box; border-radius: 14px; background: #FF5FA2; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#gift b { display: block; font: 700 25px/1.1 var(--f-display); letter-spacing: -.02em; }
#gift small { display: block; margin-top: 4px; font: 500 17px/1 var(--f-body); color: rgba(22,38,43,.65); }
.night #gift { background: rgba(13,24,38,.9); color: #fff; } .night #gift small { color: rgba(255,255,255,.65); }

/* The configured pool behind the popup text and behind the final form */
.modal-side { justify-content: flex-end; }
.modal-pic { position: absolute !important; inset: 0; width: auto; aspect-ratio: auto; border-radius: 0; margin: 0; box-shadow: none; }
.modal-side::before { z-index: 1; background: linear-gradient(180deg, rgba(6,11,20,.05) 30%, rgba(6,11,20,.9) 68%); }
.modal-side > *:not(.modal-pic) { z-index: 2; }
.modal-side { background: #0D2137; }
.modal .form { gap: 12px; }
.night-sec { background: #060B14; }
.lead-bg { position: absolute !important; inset: 0; z-index: 0; }
.lead-bg .mini-in { filter: brightness(.5) saturate(.9); }
.night-sec::before { z-index: 1; background: linear-gradient(90deg, rgba(6,11,20,.9), rgba(6,11,20,.62) 50%, rgba(6,11,20,.3)); }
.night-sec .wrap { z-index: 2; }
.mine-g { justify-self: start; padding: 7px 12px; border-radius: 999px; background: rgba(255,95,162,.22); color: #FFB3D4; font: 600 13px/1 var(--f-body); }
.mine-g b { font: inherit; color: #fff; letter-spacing: 0; }
.mine-g[hidden] { display: none; }
.lead-bg .mini-in { filter: brightness(.78) saturate(1); }
.night-sec::before { background: linear-gradient(90deg, rgba(6,11,20,.92), rgba(6,11,20,.66) 46%, rgba(6,11,20,.28) 75%, rgba(6,11,20,.2)); }

/* QA pass */
.tl2-pic { max-height: min(66vh, calc(100vh - 400px)); }
#gift { z-index: 1; }
.quote .cta-hot { height: calc(56px * (.55 + var(--shrink,1) * .45)); }
.copy .sub { max-width: min(42ch, var(--qmax, 440px)); }
.cta-hot, .cta-ghost, .hook-b { white-space: nowrap; }
.hook-g { display: inline-block; justify-self: start; }
.hook-g b, .modal-g b, .mine-g b { font-weight: 700; }
.hook-t { max-width: 330px; }
.tl2-pic { max-height: min(66vh, calc(100vh - 480px)); }
.hook-t { max-width: 440px; }

html[lang="uk"] .gal figure::before { content: "EBM · фото об’єкта"; }
html[lang="es"] .gal figure::before { content: "EBM · foto real"; }
html[lang="pt"] .gal figure::before { content: "EBM · foto real"; }
