/* WFT Luxe — section blocks (widgets) + live-editor Sections panel */

/* ---------- Blocks ---------- */
.wb { position: relative; overflow: hidden; padding-block: clamp(90px, 11vw, 160px); isolation: isolate; }
.wb > :not(.aurora) { position: relative; z-index: 1; }
.wb-dark { background: var(--navy); color: var(--text); }
.wb-light { background: var(--ivory); color: var(--ink); }
.wb-deep { background: radial-gradient(80% 120% at 100% 0%, rgba(216,57,134,.2), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(56,108,244,.22), transparent 60%), var(--navy-2); color: var(--text); }
.wb-light .eyebrow, .wb-light .wb-lede, .wb-light .wb-caption, .wb-light .stat-l { color: var(--muted-d); }
.wb-light a:not(.btn):hover { color: var(--purple); }
.wb-light .btn-ghost { color: var(--ink); border-color: var(--line-d); }
.wb-light .btn-ghost::before { background: var(--ink); }
.wb-light .btn-ghost:hover { color: var(--ivory); border-color: var(--ink); }

.wb .section-head { margin-bottom: clamp(40px, 5vw, 70px); }
.wb-head { max-width: 860px; }
.wb .h-lg { margin: 0; }
.wb-lede { color: var(--muted); max-width: 640px; margin: 24px 0 0; font-size: 1.06em; }
.wb-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.wb-al-center, .wb-cta-in, .wb-news-in { text-align: center; }
.wb-al-center .wb-head, .wb-cta-in .wb-head, .wb-news-in .wb-head { margin-inline: auto; }
.wb-al-center .eyebrow, .wb-cta-in .eyebrow, .wb-news-in .eyebrow, .wbt-logos .eyebrow { justify-content: center; }
.wb-al-center .wb-lede, .wb-cta-in .wb-lede, .wb-news-in .wb-lede { margin-inline: auto; }
.wb-al-center .wb-actions, .wb-cta-in .wb-actions, .wb-cta-in .qbtns { justify-content: center; }

.wb-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 220px; padding: 20px; text-align: center; font-size: 14px; color: var(--muted); background: var(--grad-soft), var(--navy-3); }
.wb-ph em { font-style: normal; }
.wb-light .wb-ph { color: var(--muted-d); background: var(--grad-soft), var(--ivory-2); }

/* Image + text */
.wb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.wb-img-right .wb-split-media { order: 2; }
.wb-frame { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-3); box-shadow: 0 40px 90px -45px rgba(6,9,20,.8); }
.wb-frame img, .wb-gal-img img { width: 100%; height: 100%; object-fit: cover; }
.wb-frame .wb-ph, .wb-gal-img .wb-ph { position: absolute; inset: 0; }

/* Full-width image */
.wbt-image { padding-block: clamp(50px, 6vw, 90px); }
.wb-wide { position: relative; margin: 0; border-radius: 28px; overflow: hidden; min-height: 200px; }
.wb-full .wb-wide { border-radius: 0; }
.wb-wide img { width: 100%; max-height: 88vh; object-fit: cover; }
.wb-wide .wb-ph { min-height: 380px; }
.wb-caption { color: var(--muted); font-size: 14px; margin: 18px 0 0; text-align: center; }

/* Gallery */
.wb-gallery, .wb-quotes { display: grid; gap: clamp(16px, 2vw, 28px); }
.wb-cols-1 { grid-template-columns: 1fr; }
.wb-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wb-cols-4 { grid-template-columns: repeat(4, 1fr); }
.wb-gal-item { margin: 0; }
.wb-gal-img { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--navy-3); }
.wb-gal-item figcaption { font-size: 14px; margin-top: 12px; color: var(--muted); }
.wb-light .wb-gal-item figcaption { color: var(--muted-d); }

/* Testimonials */
.wb-quote { margin: 0; padding: clamp(30px, 3.4vw, 46px); border-radius: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: flex; flex-direction: column; }
.wb-light .wb-quote { background: #fff; border-color: var(--line-d); box-shadow: 0 30px 60px -45px rgba(17,22,43,.35); }
.wb-qmark { display: block; height: 44px; font: 500 96px/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wb-quote blockquote { margin: 0 0 28px; flex: 1; font: var(--hw, 500) calc(clamp(21px, 1.9vw, 28px) * var(--hs, 1))/1.38 var(--serif); }
.wb-quote figcaption b { display: block; font-weight: 600; }
.wb-quote figcaption span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.wb-light .wb-quote figcaption span { color: var(--muted-d); }

/* Stats (reuses .stats / .stat) */
.wb .wb-stats { background: none; color: inherit; padding: 0; }
.wb-dark .stat, .wb-deep .stat { border-top-color: var(--line); }

/* FAQ (reuses .faq-list) */
.wb .wb-faq-in { background: none; color: inherit; padding-block: 0; }
.wb-dark .faq-list, .wb-dark .faq-item, .wb-deep .faq-list, .wb-deep .faq-item, .wb-dark .faq-item summary i, .wb-deep .faq-item summary i { border-color: var(--line); }
.wb-dark .faq-item[open] summary i, .wb-deep .faq-item[open] summary i { background: var(--text); color: var(--navy); }
.wb-dark .faq-a, .wb-deep .faq-a { color: var(--muted); }

/* Logos */
.wbt-logos { padding-block: clamp(60px, 7vw, 100px); }
.wbt-logos .wrap { text-align: center; }
.wb-logos-h { margin-bottom: 40px; }
.wb-logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(26px, 4.5vw, 72px); }
.wb-logo { display: flex; align-items: center; min-height: 60px; position: relative; }
.wb-logo-img { margin: 0; position: relative; }
.wb-logo-img img { height: 54px; width: auto; max-width: 180px; object-fit: contain; opacity: .78; filter: grayscale(1); transition: opacity .4s, filter .4s; }
.wb-dark .wb-logo-img img, .wb-deep .wb-logo-img img { filter: grayscale(1) brightness(1.8); }
.wb-logo:hover .wb-logo-img img { opacity: 1; filter: none; }
.wb-logo-img.is-empty { width: 150px; height: 56px; border-radius: 12px; overflow: hidden; }
.wb-logo-img.is-empty .wb-ph { min-height: 56px; font-size: 11px; padding: 6px; }
.wb-logo-name { font: 600 22px/1 var(--serif); letter-spacing: .02em; opacity: .75; }
.wb-logo-img.is-empty + .wb-logo-name { position: absolute; left: 0; right: 0; bottom: -22px; font: 500 11px var(--sans); opacity: .6; }

/* Pricing */
.wb-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.wb-price { position: relative; display: flex; flex-direction: column; padding: 42px 34px 34px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.wb-price.is-hot { border-color: rgba(121,80,212,.65); background: radial-gradient(120% 80% at 100% 0%, rgba(216,57,134,.2), transparent 60%), var(--navy-2); box-shadow: 0 40px 90px -40px rgba(121,80,212,.55); color: var(--text); }
.wb-light .wb-price { background: #fff; border-color: var(--line-d); }
.wb-light .wb-price.is-hot { background: radial-gradient(120% 80% at 100% 0%, rgba(216,57,134,.25), transparent 60%), var(--navy-2); }
.wb-price h3 { font: 600 13px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.wb-light .wb-price:not(.is-hot) h3, .wb-light .wb-price:not(.is-hot) .wb-amount span { color: var(--muted-d); }
.wb-amount { margin: 0; }
.wb-amount b { font: var(--hw, 500) calc(clamp(46px, 4.6vw, 68px) * var(--hs, 1))/1 var(--serif); }
.wb-amount span { color: var(--muted); font-size: 14px; }
.wb-feat, .wb-feat-edit { flex: 1; margin: 26px 0 32px; }
.wb-feat { list-style: none; padding: 0; }
.wb-feat li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); }
.wb-light .wb-price:not(.is-hot) .wb-feat li { border-color: var(--line-d); }
.wb-feat li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 13px; height: 7px; border-left: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(-45deg); }
.wb-feat-edit { line-height: 2.1; }
.wb-badge { position: absolute; top: -13px; left: 34px; min-width: 20px; min-height: 26px; padding: 7px 14px; border-radius: 99px; background: var(--grad); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.wb-price .btn { justify-content: center; }

/* Video / map / embed */
.wb-media { position: relative; border-radius: 24px; overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; }
.wb-r-4x3 { aspect-ratio: 4 / 3; }
.wb-r-9x16 { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
.wb-media iframe, .wb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wb-media .wb-ph { position: absolute; inset: 0; }
.wb-map { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy-3); }
.wb-embed iframe { max-width: 100%; border: 0; }
.wb-embed > .wb-ph { min-height: 160px; border-radius: 20px; }

/* Newsletter */
.wb-news { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 580px; margin: 36px auto 0; }
.wb-news input[type=email] { flex: 1 1 260px; padding: 18px 24px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text); font: inherit; }
.wb-light .wb-news input[type=email] { color: var(--ink); background: #fff; border-color: var(--line-d); }
.wb-news input[type=email]:focus { outline: 0; border-color: var(--purple); }
.wb-news-msg { flex-basis: 100%; margin: 4px 0 0; min-height: 1.5em; font-size: 14px; }
.wb-news-msg.ok { color: #7ee2b0; }
.wb-news-msg.bad { color: #ff8fb6; }
.wb-light .wb-news-msg.ok { color: #12825a; }
.wb-light .wb-news-msg.bad { color: #c0185f; }

@media (max-width: 960px) {
	.wb-split { grid-template-columns: 1fr; }
	.wb-img-right .wb-split-media { order: 0; }
	.wb-cols-3, .wb-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.wb-quotes.wb-cols-2, .wb-quotes.wb-cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.wb-cols-2, .wb-cols-3, .wb-cols-4 { grid-template-columns: 1fr; }
	.wb-gallery.wb-cols-3, .wb-gallery.wb-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Live editor: sections ---------- */
body.wftl-editing [data-wsec] { transition: outline-color .2s, opacity .3s; outline: 2px solid transparent; outline-offset: -2px; }
body.wftl-editing [data-wsec].wsec-hl { outline-color: #7950d4; }
body.wftl-editing [data-wsec-hidden] { opacity: .38; outline: 2px dashed rgba(216,57,134,.7); outline-offset: -2px; }
body.wftl-editing [data-wsec].wsec-gone { display: none !important; }
.wsec-new { padding: 60px var(--g); text-align: center; background: repeating-linear-gradient(135deg, rgba(121,80,212,.12) 0 14px, transparent 14px 28px), var(--navy-2); color: var(--text); font: 600 15px var(--sans); border-top: 2px dashed #7950d4; border-bottom: 2px dashed #7950d4; }
.wsec-new small { display: block; font-weight: 400; color: var(--muted); margin-top: 6px; }

.wsec-tb { position: fixed; z-index: 99990; display: none; align-items: center; gap: 2px; padding: 5px; border-radius: 12px; background: #11172e; border: 1px solid rgba(121,80,212,.6); box-shadow: 0 14px 40px -12px rgba(0,0,0,.7); font: 500 12px/1 Manrope, system-ui, sans-serif; color: #e9e7f2; }
.wsec-tb.on { display: flex; }
.wsec-tb .n { padding: 0 10px 0 8px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c9c3ff; }
.wsec-tb button { width: 30px; height: 30px; border-radius: 8px; color: #e9e7f2; font-size: 14px; line-height: 1; display: grid; place-items: center; }
.wsec-tb button:hover { background: rgba(121,80,212,.35); }
.wsec-tb button.add { width: auto; padding: 0 10px; background: linear-gradient(110deg,#386cf4,#7950d4,#d83986); color: #fff; font-weight: 600; font-size: 12px; }

.wsec-panel { position: fixed; z-index: 99995; top: 32px; right: 0; bottom: 0; width: min(380px, 100vw); display: flex; flex-direction: column; background: #0d1226; color: #e9e7f2; border-left: 1px solid rgba(233,231,242,.12); box-shadow: -30px 0 80px -30px rgba(0,0,0,.8); font: 400 14px/1.45 Manrope, system-ui, sans-serif; transform: translateX(102%); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.wsec-panel.open { transform: none; }
.wsec-panel header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.wsec-panel header b { font-size: 16px; }
.wsec-panel header button { width: 32px; height: 32px; border-radius: 8px; font-size: 18px; color: #a3a9c4; }
.wsec-panel header button:hover { background: rgba(255,255,255,.08); color: #fff; }
.wsec-panel .hint { margin: 0 20px 12px; color: #a3a9c4; font-size: 12.5px; }
.wsec-list { flex: 1; overflow: auto; padding: 0 12px 12px; }
.wsec-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 10px 10px 8px 12px; margin-bottom: 6px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(233,231,242,.08); }
.wsec-row:hover { border-color: rgba(121,80,212,.6); }
.wsec-row.is-hidden .wsec-name { opacity: .5; text-decoration: line-through; }
.wsec-row.is-new { border-style: dashed; border-color: #7950d4; }
.wsec-name { flex: 1 1 100%; min-width: 0; cursor: pointer; margin-bottom: 4px; }
.wsec-row .wsec-name + button { margin-left: -6px; }
.wsec-name b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsec-name small { color: #8d93b0; font-size: 11.5px; }
.wsec-row button { flex: none; width: 28px; height: 28px; border-radius: 8px; color: #c4c8dc; font-size: 13px; display: grid; place-items: center; }
.wsec-row button:hover { background: rgba(121,80,212,.35); color: #fff; }
.wsec-row button:disabled { opacity: .25; pointer-events: none; }
.wsec-sub { margin: 18px 8px 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8d93b0; }
.wsec-panel footer { padding: 14px 16px 18px; border-top: 1px solid rgba(233,231,242,.1); display: grid; gap: 10px; }
.wsec-add { padding: 13px; border-radius: 12px; border: 1px dashed rgba(121,80,212,.8); color: #c9c3ff; font-weight: 600; }
.wsec-add:hover { background: rgba(121,80,212,.18); color: #fff; }
.wsec-foot { display: flex; gap: 10px; align-items: center; }
.wsec-reset { color: #8d93b0; font-size: 12px; text-decoration: underline; }
.wsec-apply { margin-left: auto; padding: 12px 18px; border-radius: 999px; background: linear-gradient(110deg,#386cf4,#7950d4,#d83986); color: #fff; font-weight: 600; }
.wsec-apply:disabled { opacity: .4; cursor: default; }

.wsec-modal { position: fixed; z-index: 100010; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(6,9,20,.72); backdrop-filter: blur(6px); font: 400 14px/1.45 Manrope, system-ui, sans-serif; color: #e9e7f2; }
.wsec-card { width: min(860px, 100%); max-height: 88vh; overflow: auto; padding: 26px; border-radius: 20px; background: #0d1226; border: 1px solid rgba(233,231,242,.12); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }
.wsec-card.sm { width: min(460px, 100%); }
.wsec-card h3 { font: 600 18px/1.3 Manrope, system-ui, sans-serif; margin: 0 0 4px; }
.wsec-card .sub { color: #a3a9c4; margin: 0 0 18px; font-size: 13px; }
.wsec-grp { margin: 18px 0 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8d93b0; }
.wsec-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.wsec-type { text-align: left; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(233,231,242,.1); color: inherit; }
.wsec-type:hover { border-color: #7950d4; background: rgba(121,80,212,.15); }
.wsec-type i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; background: linear-gradient(110deg,#386cf4,#7950d4,#d83986); color: #fff; font-style: normal; font-weight: 700; font-size: 13px; }
.wsec-type b { display: block; font-weight: 600; margin-bottom: 3px; }
.wsec-type small { color: #a3a9c4; font-size: 12px; }
.wsec-card label { display: grid; gap: 6px; margin-bottom: 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #a3a9c4; font-weight: 600; }
.wsec-card input, .wsec-card select, .wsec-card textarea { font: 400 14px/1.4 Manrope, system-ui, sans-serif; text-transform: none; letter-spacing: 0; color: #e9e7f2; background: rgba(255,255,255,.05); border: 1px solid rgba(233,231,242,.15); border-radius: 10px; padding: 11px 12px; }
.wsec-card textarea { min-height: 170px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
.wsec-card select option { background: #0d1226; }
.wsec-row-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.wsec-row-btns button { padding: 11px 18px; border-radius: 999px; font-weight: 600; }
.wsec-row-btns .ghost { border: 1px solid rgba(233,231,242,.2); color: #e9e7f2; }
.wsec-row-btns .go { background: linear-gradient(110deg,#386cf4,#7950d4,#d83986); color: #fff; }
