/* ==========================================================================
   NHE — Light / Dark themes + AI chat widget
   ========================================================================== */

/* ---------- Theme toggle ---------- */
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; color: #ffd36b; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.theme-toggle .ic { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.theme-toggle:hover .ic { transform: rotate(-25deg) scale(1.1); }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .45s ease, border-color .45s ease, color .3s ease !important; }

/* ---------- Dark tokens ---------- */
html[data-theme="dark"] {
	color-scheme: dark;
	--paper: #0c1110;
	--mist: #111816;
	--mist-2: #1a2320;
	--text: #e6ece9;
	--muted: #9aaba5;
	--line: #222d2a;
	--green-deep: #8fd46f;
	--green-tint: rgba(108, 194, 74, .1);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
	--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45);
	--shadow-lg: 0 24px 60px rgba(0, 0, 0, .65);
}
[data-theme="dark"] body { background: #070a09; color: var(--text); }
[data-theme="dark"] a:hover { color: #fff; }
[data-theme="dark"] .sec { background: #070a09; }
[data-theme="dark"] .sec--mist { background: #0b100e; }
[data-theme="dark"] .lead, [data-theme="dark"] .faq__a, [data-theme="dark"] .info-row p, [data-theme="dark"] .woocommerce div.product .woocommerce-product-details__short-description { color: #c6d1cd; }
[data-theme="dark"] .field label, [data-theme="dark"] .lbl { color: #d2dcd8; }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea,
[data-theme="dark"] .woocommerce form .form-row input.input-text, [data-theme="dark"] .woocommerce form .form-row select, [data-theme="dark"] .woocommerce form .form-row textarea,
[data-theme="dark"] .compat__picker select, [data-theme="dark"] .woocommerce .woocommerce-ordering select, [data-theme="dark"] .woocommerce .coupon .input-text, [data-theme="dark"] .woocommerce div.product form.cart .quantity .qty {
	background-color: #0f1614; border-color: #2a3632; color: var(--text);
}
[data-theme="dark"] .field select:disabled { background-color: #0b100e; color: #5f6d68; }
[data-theme="dark"] .card, [data-theme="dark"] .svc-card__link, [data-theme="dark"] .pkg, [data-theme="dark"] .why, [data-theme="dark"] .rev, [data-theme="dark"] .post-card,
[data-theme="dark"] .offer, [data-theme="dark"] .member, [data-theme="dark"] .ccard, [data-theme="dark"] .faq__item, [data-theme="dark"] .empty-card,
[data-theme="dark"] .side-card:not(.side-card--dark), [data-theme="dark"] .table-scroll, [data-theme="dark"] .addon-list li, [data-theme="dark"] .opt__box, [data-theme="dark"] .slot span,
[data-theme="dark"] .install-opt__box, [data-theme="dark"] .woocommerce ul.products li.product, [data-theme="dark"] .woocommerce table.shop_table, [data-theme="dark"] .shop-bar,
[data-theme="dark"] .cat-pills a, [data-theme="dark"] .marquee .brands li, [data-theme="dark"] .brands li, [data-theme="dark"] .tab.is-active + .tab, [data-theme="dark"] .woocommerce-account .woocommerce form.login, [data-theme="dark"] .woocommerce-account .woocommerce form.register {
	background-color: #0e1513; border-color: #222d2a; color: var(--text);
}
[data-theme="dark"] .svc-card__go, [data-theme="dark"] .trust__item, [data-theme="dark"] .panel, [data-theme="dark"] .pfacts li, [data-theme="dark"] .summary, [data-theme="dark"] .info-row,
[data-theme="dark"] .track__facts, [data-theme="dark"] .pkg__addons, [data-theme="dark"] .tabs, [data-theme="dark"] .page-head-slim, [data-theme="dark"] .woocommerce table.shop_table th,
[data-theme="dark"] .woocommerce-MyAccount-navigation ul, [data-theme="dark"] .woocommerce-checkout #payment { background-color: #111a17 !important; border-color: #222d2a; }
[data-theme="dark"] .woocommerce-checkout #payment div.payment_box { background: #0e1513 !important; color: var(--text); }
[data-theme="dark"] .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #0e1513 !important; }
[data-theme="dark"] .panel--green, [data-theme="dark"] .compat, [data-theme="dark"] .install-appt, [data-theme="dark"] .install-summary { background: rgba(108, 194, 74, .07); border-color: rgba(108, 194, 74, .28); }
[data-theme="dark"] .promo { background: linear-gradient(135deg, rgba(108, 194, 74, .12), #0c1110 60%); border-color: rgba(108, 194, 74, .25); }
[data-theme="dark"] .offer--pkg { background: linear-gradient(160deg, #0e1513, rgba(108, 194, 74, .1)); }
[data-theme="dark"] .gallery-grid__ph span { background: repeating-linear-gradient(135deg, #0f1614 0 14px, #121a17 14px 28px); color: #4d5c57; }
[data-theme="dark"] .gallery-grid__ph em { color: var(--muted); }
[data-theme="dark"] .trust__ic, [data-theme="dark"] .svc-card__ic, [data-theme="dark"] .ccard__ic, [data-theme="dark"] .side-card__ic { background: #000; box-shadow: inset 0 0 0 1px #24302c; }
[data-theme="dark"] .pkg__ic, [data-theme="dark"] .contact-list__ic, [data-theme="dark"] .empty-card__ic, [data-theme="dark"] .member__av--ic { background: rgba(108, 194, 74, .12); color: var(--green); }
[data-theme="dark"] .pkg__save { background: rgba(108, 194, 74, .15); color: #9be27e; }
[data-theme="dark"] .opt input:checked + .opt__box { background: rgba(108, 194, 74, .12); border-color: var(--green); }
[data-theme="dark"] .slot input:checked + span { background: var(--green); color: #000; border-color: var(--green); }
[data-theme="dark"] .tab.is-active { background: var(--green); color: #000; }
[data-theme="dark"] .btn--dark { --bg: #e6ece9; --fg: #070a09; }
[data-theme="dark"] .btn--dark:hover { --bg: #fff; }
[data-theme="dark"] .btn--ghost { --fg: var(--text); --bd: #2a3632; }
[data-theme="dark"] .btn--ghost:hover { --bd: #e6ece9; }
[data-theme="dark"] .link-arrow, [data-theme="dark"] .post-card__t a, [data-theme="dark"] .contact-list a, [data-theme="dark"] .ccard, [data-theme="dark"] .svc-card__link, [data-theme="dark"] .woocommerce ul.products li.product .woocommerce-loop-product__title, [data-theme="dark"] .cat-pills a, [data-theme="dark"] .woocommerce-MyAccount-navigation a { color: var(--text); }
[data-theme="dark"] .cat-pills a.is-active, [data-theme="dark"] .woocommerce-MyAccount-navigation .is-active a { background: var(--green); color: #000; border-color: var(--green); }
[data-theme="dark"] .woocommerce a.button, [data-theme="dark"] .woocommerce button.button, [data-theme="dark"] .woocommerce input.button { background: #e6ece9; color: #070a09; }
[data-theme="dark"] .woocommerce a.button:hover, [data-theme="dark"] .woocommerce button.button:hover { background: #fff; color: #000; }
[data-theme="dark"] .woocommerce ul.products li.product .price, [data-theme="dark"] .woocommerce div.product p.price, [data-theme="dark"] .woocommerce div.product span.price { color: var(--text) !important; }
[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--text) !important; }
[data-theme="dark"] .rev__q { color: #1a2320; }
[data-theme="dark"] .cond { background: #1a2320; color: #c6d1cd; }
[data-theme="dark"] .cond--oem, [data-theme="dark"] .status-pill--repair, [data-theme="dark"] .status-pill--diagnosis, [data-theme="dark"] .status-pill--qc, [data-theme="dark"] .status-pill--checkin { background: rgba(80, 150, 255, .15); color: #9cc4ff; }
[data-theme="dark"] .cond--recond, [data-theme="dark"] .offer__badge, [data-theme="dark"] .status-pill--approval { background: rgba(242, 162, 39, .15); color: #ffc46a; }
[data-theme="dark"] .notice-inline { background: rgba(242, 162, 39, .1); border-color: rgba(242, 162, 39, .3); color: #ffd08a; }
[data-theme="dark"] .notice-inline--err, [data-theme="dark"] .form-msg.is-err { background: rgba(196, 53, 43, .12); border-color: rgba(196, 53, 43, .35); color: #ffb0a8; }
[data-theme="dark"] .form-msg.is-ok { background: rgba(108, 194, 74, .12); border-color: rgba(108, 194, 74, .35); color: #b8f09e; }
[data-theme="dark"] .woocommerce-message, [data-theme="dark"] .woocommerce-info { background: #111a17 !important; color: var(--text) !important; }
[data-theme="dark"] .timeline__dot { background: #0c1110; }
[data-theme="dark"] .about__card { background: #000; }
[data-theme="dark"] .sec-title { background-image: linear-gradient(transparent 88%, rgba(108, 194, 74, .45) 88%); }
[data-theme="dark"] .marquee .brands li:hover { background: rgba(108, 194, 74, .12); color: var(--green); }
[data-theme="dark"] .select2-container--default .select2-selection--single { background: #0f1614 !important; border-color: #2a3632 !important; }
[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text) !important; }
[data-theme="dark"] .select2-dropdown { background: #0f1614; color: var(--text); border-color: #2a3632; }
[data-theme="dark"] .visit__map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
[data-theme="dark"] .field select, [data-theme="dark"] .compat__picker select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aaba5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }

/* ---------- AI chat ---------- */
.aichat { position: fixed; right: 16px; bottom: 84px; z-index: 90; font-size: .9375rem; }
.aichat__launch { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 8px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font-weight: 800; background: linear-gradient(135deg, #0b0f0e, #18241f); box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 0 1px rgba(108, 194, 74, .35); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.aichat__launch:hover { transform: translateY(-2px) scale(1.03); }
.aichat__launch-ic { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(from var(--spin), #6cc24a, #3dc6ff, #7b5cff, #ff3d6e, #ffb63d, #6cc24a); animation: spinB 5s linear infinite; }
.aichat__launch-ic .ic { color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.aichat__launch-ic::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: rgba(8, 12, 11, .55); z-index: -1; }
.aichat__badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #ff3d6e; color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.aichat__launch-txt { display: none; }
.aichat.is-open .aichat__launch { display: none; }
.aichat__panel { position: fixed; right: 12px; left: 12px; bottom: 78px; max-height: min(640px, calc(100dvh - 110px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--paper); color: var(--text); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); transform-origin: bottom right; animation: chatIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.aichat__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px; background: #000; color: #fff; position: relative; overflow: hidden; }
.aichat__head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, transparent, #6cc24a, transparent); animation: stripes 3s linear infinite; background-size: 200% 100%; }
.aichat__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: conic-gradient(from var(--spin), #6cc24a, #3dc6ff, #7b5cff, #6cc24a); animation: spinB 6s linear infinite; color: #fff; flex: none; }
.aichat__who { display: grid; flex: 1; line-height: 1.25; }
.aichat__who small { display: flex; align-items: center; gap: 6px; color: #a9b6b1; font-size: .75rem; }
.aichat__wa, .aichat__x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.aichat__wa { background: var(--wa); }
.aichat__body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); min-height: 220px; scroll-behavior: smooth; }
.aichat__msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; animation: msgIn .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.aichat__msg--bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.aichat__msg--agent { align-self: flex-start; background: #0b0f0e; color: #fff; border-bottom-left-radius: 4px; }
.aichat__msg--agent::before { content: attr(data-who); display: block; font-size: .7rem; font-weight: 800; color: var(--green); margin-bottom: 2px; }
.aichat__msg--user { align-self: flex-end; background: var(--green); color: #061006; border-bottom-right-radius: 4px; }
.aichat__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.aichat__links a { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--green-tint); color: var(--green-deep); font-weight: 700; font-size: .8125rem; text-decoration: none; border: 1px solid rgba(108, 194, 74, .35); }
.aichat__links a:hover { background: var(--green); color: #000; }
.aichat__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.aichat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.2s ease-in-out infinite; }
.aichat__typing i:nth-child(2) { animation-delay: .15s; }
.aichat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
.aichat__quick { display: flex; gap: 6px; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; background: var(--paper); }
.aichat__quick::-webkit-scrollbar { display: none; }
.aichat__chip { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--mist); color: var(--text); font-size: .8125rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.aichat__chip:hover { border-color: var(--green); background: var(--green-tint); }
.aichat__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; background: var(--paper); }
.aichat__form textarea { flex: 1; min-height: 46px; max-height: 120px; resize: none; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--mist); color: var(--text); font: inherit; outline: none; }
.aichat__form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(108, 194, 74, .2); }
.aichat__send { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--green); color: #000; cursor: pointer; flex: none; transition: transform .2s; }
.aichat__send:hover { transform: scale(1.06); }
.aichat__note { margin: 0; padding: 0 14px 10px; font-size: .6875rem; color: var(--muted); background: var(--paper); }
@media (min-width: 640px) {
	.aichat__panel { left: auto; right: 22px; bottom: 96px; width: 390px; }
}
@media (min-width: 1024px) {
	.aichat { right: 22px; bottom: 26px; }
	.aichat__launch-txt { display: inline; }
	.float-cta { bottom: 98px; }
	.aichat__panel { bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.aichat__launch-ic, .aichat__avatar, .aichat__head::after, .aichat__typing i { animation: none; }
	.aichat__panel, .aichat__msg { animation: none; }
}

/* ---------- Header actions: aligned, multi-colour ---------- */
@media (min-width: 768px) {
	.icon-btn.hide-sm { display: inline-grid !important; }
	.link-arrow.hide-sm { display: inline-flex !important; }
	.topbar__item.hide-sm { display: inline-flex !important; }
}
.hdr-actions { gap: 8px; align-items: center; }
.hdr-actions .icon-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: inline-grid; place-items: center; line-height: 0; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .25s, border-color .25s, box-shadow .25s; }
.hdr-actions .icon-btn .ic { display: block; }
.hdr-actions .icon-btn:hover { transform: translateY(-2px); }
.hdr-actions .theme-toggle { color: #ffd36b; }
.hdr-actions .theme-toggle:hover { background: rgba(255, 211, 107, .14); border-color: rgba(255, 211, 107, .5); box-shadow: 0 0 18px rgba(255, 211, 107, .25); }
.hdr-actions .js-search-open { color: #5fd4ff; }
.hdr-actions .js-search-open:hover { background: rgba(95, 212, 255, .14); border-color: rgba(95, 212, 255, .5); box-shadow: 0 0 18px rgba(95, 212, 255, .25); }
.hdr-actions a.icon-btn[href*="account"], .hdr-actions .icon-btn--acc { color: #b49bff; }
.hdr-actions a.icon-btn[href*="account"]:hover, .hdr-actions .icon-btn--acc:hover { background: rgba(180, 155, 255, .14); border-color: rgba(180, 155, 255, .5); box-shadow: 0 0 18px rgba(180, 155, 255, .25); }
.hdr-actions .icon-btn--cart { color: #ffb23f; }
.hdr-actions .icon-btn--cart:hover { background: rgba(255, 178, 63, .14); border-color: rgba(255, 178, 63, .5); box-shadow: 0 0 18px rgba(255, 178, 63, .25); }
.hdr-actions .icon-btn--cart .cart-count { top: -3px; right: -3px; background: linear-gradient(135deg, #ff3d6e, #ffb23f); color: #fff; }
.hdr-actions .menu-toggle { color: #fff; }
.hdr-cta.btn { margin-left: 6px; height: 46px; padding: 0 22px; color: #061006; background: linear-gradient(110deg, #6cc24a, #3dd6a4, #3dc6ff, #8fd46f, #6cc24a); background-size: 300% 100%; animation: ctaFlow 6s ease-in-out infinite; box-shadow: 0 8px 22px rgba(61, 214, 164, .35); border: 0; }
.hdr-cta.btn:hover { color: #000; box-shadow: 0 10px 28px rgba(61, 198, 255, .45); }
@keyframes ctaFlow { 0%, 100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
.hdr-cta .ic { flex: none; }
@media (prefers-reduced-motion: reduce) { .hdr-cta.btn { animation: none; } }
@media (min-width: 1024px) { .hdr-actions .menu-toggle { display: none !important; } }
.hdr-actions .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .hdr-actions .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .hdr-actions .theme-toggle .i-moon { display: none; }

.aichat__avatar--logo { width: 66px; height: 44px; border-radius: 12px; background: #000; animation: none; padding: 3px 4px; box-shadow: inset 0 0 0 1px rgba(108, 194, 74, .45), 0 0 14px rgba(108, 194, 74, .25); }
.aichat__avatar--logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ===== Owner page (v1.2.9) ===== */
.owner__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.owner__photo { position: relative; margin: 0; border-radius: 28px; isolation: isolate; }
.owner__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); position: relative; z-index: 1; }
.owner__ring { position: absolute; inset: -14px; border-radius: 36px; background: conic-gradient(from 180deg, var(--green), #c8102e, var(--green-deep), var(--green)); opacity: .55; filter: blur(18px); z-index: 0; animation: ownerSpin 9s linear infinite; }
@keyframes ownerSpin { to { transform: rotate(360deg); } }
.owner__badge { position: absolute; z-index: 2; right: -14px; bottom: 24px; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 18px; display: flex; flex-direction: column; line-height: 1.1; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.owner__badge strong { font-size: 2rem; color: var(--green); }
.owner__badge span { font-size: .8rem; opacity: .85; }
.owner__name { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 14px; line-height: 1.1; }
.owner__copy .lead { font-size: 1.12rem; }
.owner__stats { list-style: none; padding: 0; margin: 26px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.owner__stats li { background: var(--mist, #f3f6f4); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.owner__stats strong { font-size: 1.6rem; color: var(--green-deep); line-height: 1; }
.owner__stats span { font-size: .85rem; color: var(--muted); }
.owner__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.owner-skills__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.owner-skill { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 22px; transition: transform .35s var(--ease, ease), border-color .35s, background .35s; min-width: 0; }
.owner-skill:hover { transform: translateY(-6px); border-color: var(--green); background: rgba(255,255,255,.07); }
.owner-skill__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #06110b; margin-bottom: 14px; }
.owner-skill h3 { margin: 0 0 6px; font-size: 1.08rem; color: #fff; }
.owner-skill p { margin: 0; font-size: .93rem; color: #b9c6c0; }
.about__owner-link { margin-top: 14px; }
html[data-theme=dark] .owner__stats li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
html[data-theme=dark] .owner__stats strong { color: var(--green); }
@media (max-width: 900px) { .owner__grid { grid-template-columns: minmax(0, 1fr); } .owner__photo { max-width: 440px; margin: 0 auto; } .owner-skills__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .owner__stats { grid-template-columns: minmax(0, 1fr); } .owner-skills__grid { grid-template-columns: minmax(0, 1fr); } .owner__badge { right: 8px; } }
@media (prefers-reduced-motion: reduce) { .owner__ring { animation: none; } }

/* ===== Animated before / after scene (v1.2.9) ===== */
.ba--scene { background: #0b0f0d; }
.ba-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ba--scene .ba__before { z-index: 1; }
.ba--scene .ba__tag, .ba--scene .ba__handle, .ba--scene .ba__note { z-index: 3; }
.ba--scene .ba__range { z-index: 4; }
.ba-scene * { transform-box: fill-box; transform-origin: center; }
/* before: dust, smoke, flicker, warning */
.bas-dust circle { animation: basDust 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); opacity: .55; }
@keyframes basDust { 0% { transform: translate(0, 0); opacity: 0; } 20% { opacity: .7; } 100% { transform: translate(-60px, -120px); opacity: 0; } }
.bas-smoke circle { animation: basSmoke 3.6s ease-out infinite; animation-delay: calc(var(--i) * -1.2s); }
@keyframes basSmoke { 0% { transform: translate(0, 0) scale(.4); opacity: .9; } 100% { transform: translate(-120px, -90px) scale(2.4); opacity: 0; } }
.bas-car--sag { animation: basSag 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes basSag { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(2px) rotate(-.25deg); } }
.bas-flicker { animation: basFlicker 2.2s steps(1) infinite; }
@keyframes basFlicker { 0%, 100% { opacity: .9; } 12% { opacity: .2; } 16% { opacity: .85; } 52% { opacity: .35; } 56% { opacity: .9; } }
.bas-warn { animation: basBlink 1.4s ease-in-out infinite; }
@keyframes basBlink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
/* after: driving, shine, beam, sparkles */
.bas-road { animation: basRoad .7s linear infinite; }
@keyframes basRoad { to { transform: translateX(-160px); } }
.bas-road { transform-box: view-box; }
.bas-spin { animation: basSpin .7s linear infinite; }
@keyframes basSpin { to { transform: rotate(360deg); } }
.bas-car--ride { animation: basRide 1.2s ease-in-out infinite; }
@keyframes basRide { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.bas-shine { animation: basShine 3.2s cubic-bezier(.6, 0, .2, 1) infinite; transform-box: view-box; }
@keyframes basShine { 0% { transform: skewX(-20deg) translateX(0); } 60%, 100% { transform: skewX(-20deg) translateX(1500px); } }
.bas-beam { animation: basBeam 2.6s ease-in-out infinite; transform-origin: 0 50%; }
@keyframes basBeam { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
.bas-under { animation: basBeam 1.8s ease-in-out infinite; }
.bas-stripe { stroke-dasharray: 900; stroke-dashoffset: 900; animation: basStripe 3.2s ease-in-out infinite; }
@keyframes basStripe { 0% { stroke-dashoffset: 900; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -900; } }
.bas-sparkles path { animation: basTwinkle 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
@keyframes basTwinkle { 0%, 100% { transform: scale(.2) rotate(0); opacity: 0; } 45% { transform: scale(1) rotate(45deg); opacity: 1; } 70% { opacity: .2; } }
.bas-streaks line { stroke-width: 3; opacity: 0; animation: basStreak 1.1s linear infinite; animation-delay: calc(var(--i) * -.35s); }
@keyframes basStreak { 0% { transform: translateX(160px); opacity: 0; } 30% { opacity: .8; } 100% { transform: translateX(-160px); opacity: 0; } }
.bas-tail { animation: basBeam 1.6s ease-in-out infinite; }
.bas-chip { animation: basPop 3.2s ease-in-out infinite; }
@keyframes basPop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
/* handle hint pulse while auto-playing */
.ba.is-auto .ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(108, 194, 74, .7); animation: baPulse 1.6s ease-out infinite; }
@keyframes baPulse { to { box-shadow: 0 0 0 18px rgba(108, 194, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .ba-scene *, .ba.is-auto .ba__handle::after { animation: none !important; } }

/* ===== Chat: photo + voice (v1.3.8) ===== */
.aichat__tool { display: grid; place-items: center; width: 40px; height: 46px; border-radius: 12px; border: 0; background: transparent; color: var(--muted, #8a9590); cursor: pointer; flex: none; transition: color .2s, background .2s; }
.aichat__tool:hover { color: var(--green); background: rgba(108, 194, 74, .1); }
.aichat__mic .ic-stop { display: none; }
.aichat.is-rec .aichat__mic { color: #fff; background: #e5484d; animation: recPulse 1.2s ease-in-out infinite; }
.aichat.is-rec .aichat__mic .ic-mic { display: none; }
.aichat.is-rec .aichat__mic .ic-stop { display: block; }
@keyframes recPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); } 50% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } }
.aichat__form { gap: 4px; }
.aichat__msg--media { padding: 6px; }
.aichat__msg--media img { display: block; max-width: 220px; max-height: 260px; border-radius: 12px; }
.aichat__msg--media audio { display: block; width: 230px; max-width: 100%; height: 40px; }
.aichat__msg--media span { display: block; padding: 6px 6px 2px; }
@media (prefers-reduced-motion: reduce) { .aichat.is-rec .aichat__mic { animation: none; } }
.aichat__new { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); color: inherit; cursor: pointer; flex: none; }
.aichat__new:hover { background: rgba(108, 194, 74, .22); color: var(--green); }

/* ===== Cinematic footer (v1.4.0) ===== */
.site-footer--cine { position: relative; overflow: hidden; background: #040706; isolation: isolate; }
.site-footer--cine .footer-glow { display: none; }
.ffx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ffx__grid { position: absolute; left: -10%; right: -10%; bottom: -10%; height: 70%; background-image: linear-gradient(rgba(108, 194, 74, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 194, 74, .1) 1px, transparent 1px); background-size: 56px 56px; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: ffxGrid 6s linear infinite; }
@keyframes ffxGrid { to { background-position: 0 56px, 0 0; } }
.ffx__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.ffx__orb--a { width: 520px; height: 520px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(108, 194, 74, .45), transparent 65%); animation: ffxDrift 16s ease-in-out infinite alternate; }
.ffx__orb--b { width: 460px; height: 460px; right: -140px; bottom: -220px; background: radial-gradient(circle, rgba(43, 122, 29, .5), transparent 65%); animation: ffxDrift 20s ease-in-out infinite alternate-reverse; }
@keyframes ffxDrift { to { transform: translate(120px, 60px) scale(1.15); } }
.ffx__streaks i { position: absolute; left: -30%; height: 2px; width: 26%; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(143, 212, 111, .85), #fff); filter: drop-shadow(0 0 6px rgba(108, 194, 74, .9)); opacity: 0; animation: ffxStreak 7s linear infinite; }
.ffx__streaks i:nth-child(1) { top: 18%; animation-delay: 0s; }
.ffx__streaks i:nth-child(2) { top: 36%; animation-delay: 2.2s; animation-duration: 9s; }
.ffx__streaks i:nth-child(3) { top: 58%; animation-delay: 4.1s; }
.ffx__streaks i:nth-child(4) { top: 74%; animation-delay: 1.3s; animation-duration: 8s; }
.ffx__streaks i:nth-child(5) { top: 88%; animation-delay: 5.6s; background: linear-gradient(90deg, transparent, rgba(255, 90, 78, .8), #ffd6d2); filter: drop-shadow(0 0 6px rgba(255, 90, 78, .7)); height: 1px; }
.ffx__streaks i:nth-child(6) { top: 8%; animation-delay: 3.4s; animation-duration: 11s; height: 1px; }
@keyframes ffxStreak { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 70% { opacity: .9; } 100% { transform: translateX(560%); opacity: 0; } }
.ffx__mark { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); white-space: nowrap; font: 800 clamp(64px, 13vw, 210px)/1 Manrope, system-ui, sans-serif; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(108, 194, 74, .14); background: linear-gradient(100deg, transparent 30%, rgba(108, 194, 74, .22) 50%, transparent 70%) 0 0 / 250% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: ffxShine 7s ease-in-out infinite; }
@keyframes ffxShine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.ffx__scan { position: absolute; left: 0; right: 0; height: 120px; background: linear-gradient(to bottom, transparent, rgba(108, 194, 74, .06), transparent); animation: ffxScan 9s linear infinite; }
@keyframes ffxScan { from { top: -120px; } to { top: 100%; } }

.fcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 48px; position: relative; }
.fcard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #e7eeea; text-decoration: none; min-width: 0; transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, background .3s; }
a.fcard:hover { transform: translateY(-4px); border-color: rgba(108, 194, 74, .55); background: rgba(108, 194, 74, .07); }
.fcard__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #6cc24a, #3b9a2e); color: #06110b; flex: none; box-shadow: 0 8px 22px -8px rgba(108, 194, 74, .7); }
.fcard > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.fcard small { color: #8fa29a; font-size: .78rem; }
.fcard b { font-weight: 700; font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }

.site-footer--cine .footer-grid { grid-template-columns: 1.3fr 1.25fr .95fr 1.1fr; gap: 40px; padding-top: 44px; padding-bottom: 40px; }
.site-footer--cine .footer-h { position: relative; padding-bottom: 12px; margin-bottom: 18px; font-size: 1.05rem; color: #fff; }
.site-footer--cine .footer-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #6cc24a, transparent); }
.footer-links--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.site-footer--cine .footer-links a { position: relative; padding: 5px 0 5px 14px; font-size: .93rem; }
.site-footer--cine .footer-links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1.5px solid rgba(108, 194, 74, .6); transition: background .2s; }
.site-footer--cine .footer-links a:hover::before { background: #6cc24a; }
.site-footer--cine .socials { gap: 8px; margin-top: 18px; }
.site-footer--cine .socials a { border-radius: 12px; padding: 9px 14px; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); transition: transform .25s, border-color .25s, color .25s; }
.site-footer--cine .socials a:hover { transform: translateY(-2px); }
.social--facebook:hover { color: #4f8ef7 !important; border-color: #4f8ef7 !important; }
.social--youtube:hover { color: #ff4d4d !important; border-color: #ff4d4d !important; }
.social--wa:hover { color: #25d366 !important; border-color: #25d366 !important; }
.fapp { display: grid; gap: 10px; }
.fapp p { margin: 0; color: #a9b8b2; font-size: .9rem; line-height: 1.6; }
.fapp__btn { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(135deg, #6cc24a, #3b9a2e); color: #06110b; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.fapp__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(108, 194, 74, .8); }
.fapp__btn small { display: block; font-size: .72rem; opacity: .8; }
.fapp__btn b { display: block; font-size: .98rem; }
.fapp__btn--ghost { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); color: #e7eeea; }
.fapp__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(0, 0, 0, .15); flex: none; }
.fapp__btn--ghost .fapp__ic { background: rgba(108, 194, 74, .15); color: #6cc24a; }
.fapp__note { font-size: .78rem !important; color: #7f938b !important; }
.site-footer--cine .footer-meta, .site-footer--cine .footer-bottom { border-top-color: rgba(255, 255, 255, .07); }

html[data-theme=light] .site-footer--cine { background: #040706; }
@media (max-width: 1000px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer--cine .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fcards { grid-template-columns: minmax(0, 1fr); padding-top: 36px; } .site-footer--cine .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } .ffx__mark { bottom: 120px; } }
@media (prefers-reduced-motion: reduce) { .ffx__grid, .ffx__orb, .ffx__streaks i, .ffx__mark, .ffx__scan { animation: none !important; } .ffx__streaks { display: none; } }

/* ===== Departments (v1.4.2) ===== */
.depts { margin-top: 56px; position: relative; }
.depts__head { max-width: 720px; margin-bottom: 26px; }
.depts__title { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; margin: 0 0 10px; }
.depts__sub { margin: 0; color: var(--muted, #8a9590); }
.depts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dept { position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .08); transition: transform .45s cubic-bezier(.2, .8, .2, 1), border-color .35s, box-shadow .45s; isolation: isolate; min-width: 0; }
.dept::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(108, 194, 74, .28), transparent 65%); opacity: .35; transition: opacity .45s, transform .6s; z-index: -1; }
.dept:hover { transform: translateY(-8px); border-color: rgba(108, 194, 74, .55); box-shadow: 0 26px 50px -24px rgba(108, 194, 74, .45); }
.dept:hover::before { opacity: 1; transform: scale(1.25); }
.dept__n { position: absolute; right: 20px; top: 16px; font: 800 2.4rem/1 Manrope, system-ui, sans-serif; color: rgba(255, 255, 255, .06); letter-spacing: -.04em; }
.dept__ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, #6cc24a, #2f8a22); color: #06110b; box-shadow: 0 14px 30px -12px rgba(108, 194, 74, .8); margin-bottom: 18px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.dept:hover .dept__ic { transform: rotate(-8deg) scale(1.08); }
.dept__t { margin: 0 0 8px; font-size: 1.18rem; color: #fff; }
.dept__d { margin: 0; color: #a9b8b2; font-size: .95rem; line-height: 1.65; }
.dept__line { position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #6cc24a, transparent); transform: scaleX(.18); transform-origin: left; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.dept:hover .dept__line { transform: scaleX(1); }
html[data-theme=light] .dept { background: #fff; border-color: rgba(10, 20, 15, .08); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .25); }
html[data-theme=light] .dept__t { color: #0b120f; }
html[data-theme=light] .dept__d { color: #4c5a54; }
html[data-theme=light] .dept__n { color: rgba(0, 0, 0, .06); }
@media (max-width: 960px) { .depts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .depts__grid { grid-template-columns: minmax(0, 1fr); } }
.fwhy { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.fwhy li { display: flex; align-items: center; gap: 10px; color: #c9d5d0; font-size: .93rem; }
.fwhy__ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(108, 194, 74, .16); color: #6cc24a; flex: none; }
.flogin { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #7f938b; font-size: .82rem; text-decoration: none; }
.flogin:hover { color: #6cc24a; }
.fcards { grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1fr); }
.fcard b { overflow-wrap: normal; word-break: normal; }
.fcard--mail b { font-size: .9rem; }
@media (max-width: 1100px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcard b { overflow-wrap: anywhere; } }
@media (max-width: 600px) { .fcards { grid-template-columns: minmax(0, 1fr); } }
html[data-theme=light] .fwhy li { color: #c9d5d0; }
.brands-note { margin: 18px auto 0; text-align: center; font-size: .78rem; color: var(--muted, #8a9590); opacity: .8; }
.bchip__logo { background: #fff; border-radius: 50%; display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; flex: none; }
.bchip__logo img { max-width: 30px; max-height: 30px; object-fit: contain; }
.privacy-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: .8rem; line-height: 1.5; color: var(--muted, #8a9590); }
.privacy-note .ic { flex: none; margin-top: 2px; color: var(--green, #6cc24a); }
.privacy-note a { color: inherit; text-decoration: underline; }
.aichat__note { font-size: .72rem !important; line-height: 1.45; }

/* ===== Mobile overflow fixes (audit v1.4.7) =====
   Contain decorative layers inside their own sections, then clip as a safety net
   (overflow-x: clip does not create a scroll container, so sticky header and focus rings keep working). */
.hero, .hero--cine, .page-hero, .finder, .cta-band, .site-footer, .brands-sec, .ba-wrap, .sec--products, .process-sec { position: relative; overflow-x: clip; }
.finder__glow { right: 0; transform: translateX(35%); max-width: 100vw; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
img, svg, video, iframe { max-width: 100%; }
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
