/* ============================================================
   Basti Site Widgets — fully isolated styles
   All rules scoped under .basti-widget-wrapper
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
.basti-widget-wrapper {
    --basti-bg:            #0a0a0a;
    --basti-bg-alt:        #0f0f0f;
    --basti-surface:       #141414;
    --basti-surface-2:     #1c1c1c;
    --basti-border:        #262626;
    --basti-border-strong: #404040;
    --basti-text:          #ffffff;
    --basti-text-muted:    #a3a3a3;
    --basti-text-dim:      #737373;
    --basti-accent:        #ffffff;
    --basti-accent-soft:   #d4d4d4;
    --basti-light:         #fafafa;
    --basti-overlay:       rgba(0, 0, 0, 0.55);

    --basti-radius-sm:  6px;
    --basti-radius-md:  12px;
    --basti-radius-lg:  16px;
    --basti-radius-xl:  20px;
    --basti-radius-pill: 999px;

    --basti-space-1: 8px;
    --basti-space-2: 16px;
    --basti-space-3: 24px;
    --basti-space-4: 32px;
    --basti-space-5: 40px;
    --basti-space-6: 48px;
    --basti-space-7: 64px;
    --basti-space-8: 96px;

    --basti-trans: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    --basti-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --basti-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --basti-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);

    --basti-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --basti-font-display: 'Inter', system-ui, sans-serif;

    color: var(--basti-text);
    font-family: var(--basti-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- ELEMENTOR / THEME OVERRIDE GUARD ---------- */
.elementor-page .basti-widget-wrapper,
.e-con .basti-widget-wrapper,
.elementor-widget-container .basti-widget-wrapper {
    color: var(--basti-text) !important;
}

.basti-widget-wrapper *,
.basti-widget-wrapper *::before,
.basti-widget-wrapper *::after {
    box-sizing: border-box;
}

.basti-widget-wrapper p,
.basti-widget-wrapper h1,
.basti-widget-wrapper h2,
.basti-widget-wrapper h3,
.basti-widget-wrapper h4,
.basti-widget-wrapper ul,
.basti-widget-wrapper ol,
.basti-widget-wrapper li,
.basti-widget-wrapper figure,
.basti-widget-wrapper blockquote {
    margin: 0;
    padding: 0;
}

.basti-widget-wrapper ul,
.basti-widget-wrapper ol {
    list-style: none;
}

.basti-widget-wrapper a {
    color: inherit;
    text-decoration: none;
}

.basti-widget-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- BUTTONS ---------- */
.basti-widget-wrapper .basti-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    min-height: 50px;
    font-family: var(--basti-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    border-radius: var(--basti-radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--basti-trans);
    white-space: nowrap;
    text-decoration: none !important;
    user-select: none;
}

.basti-widget-wrapper .basti-btn:focus-visible {
    outline: 2px solid var(--basti-accent);
    outline-offset: 3px;
}

.basti-widget-wrapper .basti-btn__arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.basti-widget-wrapper .basti-btn:hover .basti-btn__arrow {
    transform: translateX(4px);
}

.basti-widget-wrapper .basti-btn--primary {
    background-color: var(--basti-accent) !important;
    color: var(--basti-bg) !important;
    border-color: var(--basti-accent);
}
.basti-widget-wrapper .basti-btn--primary:hover {
    background-color: var(--basti-accent-soft) !important;
    transform: translateY(-2px);
    box-shadow: var(--basti-shadow-md);
}

.basti-widget-wrapper .basti-btn--ghost {
    background-color: transparent !important;
    color: var(--basti-text) !important;
    border-color: rgba(255, 255, 255, 0.4);
}
.basti-widget-wrapper .basti-btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--basti-text);
}

.basti-widget-wrapper .basti-btn--dark {
    background-color: var(--basti-bg) !important;
    color: var(--basti-text) !important;
    border-color: var(--basti-bg);
}
.basti-widget-wrapper .basti-btn--dark:hover {
    background-color: var(--basti-surface-2) !important;
    transform: translateY(-2px);
    box-shadow: var(--basti-shadow-md);
}

.basti-widget-wrapper .basti-btn--ghost-dark {
    background-color: transparent !important;
    color: var(--basti-bg) !important;
    border-color: rgba(10, 10, 10, 0.25);
}
.basti-widget-wrapper .basti-btn--ghost-dark:hover {
    background-color: rgba(10, 10, 10, 0.06) !important;
    border-color: var(--basti-bg);
}

/* ---------- SHARED HEADER ---------- */
.basti-widget-wrapper [class$="__eyebrow"] {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: var(--basti-space-2);
    position: relative;
    padding-left: 28px;
    color: var(--basti-text-muted);
}
.basti-widget-wrapper [class$="__eyebrow"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

/* ---------- REVEAL ON SCROLL ----------
   Default state is VISIBLE. JS adds .basti-pre-reveal to hide before animating in.
   This way, anything where JS doesn't run (Elementor editor, JS errors, no-IO browsers) stays visible. */
.basti-widget-wrapper [data-basti-reveal] {
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.basti-widget-wrapper [data-basti-reveal].basti-pre-reveal {
    opacity: 0;
    transform: translateY(28px);
}
.basti-widget-wrapper [data-basti-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .basti-widget-wrapper [data-basti-reveal].basti-pre-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================
   HEADER
   ============================================================ */
.basti-widget-wrapper .basti-header {
    position: relative;
    width: 100%;
    z-index: 90;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    color: var(--basti-text);
}
.basti-widget-wrapper .basti-header--sticky {
    position: sticky;
    top: 0;
}
.basti-widget-wrapper .basti-header--transparent {
    background-color: transparent !important;
    border-bottom-color: transparent;
}
.basti-widget-wrapper .basti-header.is-scrolled {
    background-color: rgba(10, 10, 10, 0.96) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
.basti-widget-wrapper .basti-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--basti-space-3);
}
.basti-widget-wrapper .basti-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: inherit !important;
}
.basti-widget-wrapper .basti-header__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    /* Default: invert (most logos uploaded are dark on white; header is dark).
       Override in Elementor via the "Invert Logo Colors" toggle. */
    filter: invert(1);
    transition: width 0.25s ease, height 0.25s ease;
}
.basti-widget-wrapper .basti-header__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.basti-widget-wrapper .basti-header__brand-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--basti-text);
}
.basti-widget-wrapper .basti-header__brand-tag {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--basti-text-muted);
    margin-top: 4px;
}
.basti-widget-wrapper .basti-header__nav {
    justify-self: center;
}
.basti-widget-wrapper .basti-header__nav ul {
    display: flex;
    align-items: center;
    gap: var(--basti-space-4);
}
.basti-widget-wrapper .basti-header__nav a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--basti-text);
    transition: color 0.2s ease;
}
.basti-widget-wrapper .basti-header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transition: right 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.basti-widget-wrapper .basti-header__nav a:hover { color: var(--basti-text-muted); }
.basti-widget-wrapper .basti-header__nav a:hover::after { right: 0; }

/* Nav items with submenu — desktop dropdown */
.basti-widget-wrapper .basti-header__nav-item {
    position: relative;
}
.basti-widget-wrapper .basti-header__nav-item.has-submenu > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.basti-widget-wrapper .basti-header__caret {
    font-size: 10px;
    line-height: 1;
    transition: transform 0.25s ease;
    color: currentColor;
}
.basti-widget-wrapper .basti-header__nav-item.has-submenu:hover > a .basti-header__caret,
.basti-widget-wrapper .basti-header__nav-item.has-submenu:focus-within > a .basti-header__caret {
    transform: rotate(180deg);
}
.basti-widget-wrapper .basti-header__submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    margin: 8px 0 0;
    padding: 8px;
    background: #141414;
    border: 1px solid #262626;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.25s;
    z-index: 100;
}
.basti-widget-wrapper .basti-header__nav-item:hover > .basti-header__submenu,
.basti-widget-wrapper .basti-header__nav-item:focus-within > .basti-header__submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.basti-widget-wrapper .basti-header__submenu li { margin: 0; }
.basti-widget-wrapper .basti-header__submenu a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #d4d4d4 !important;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.basti-widget-wrapper .basti-header__submenu a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff !important;
}
.basti-widget-wrapper .basti-header__submenu a::after { display: none; }
/* Bridge — invisible area between parent and dropdown so hover doesn't drop */
.basti-widget-wrapper .basti-header__nav-item.has-submenu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
}

/* Drawer submenu (mobile) — expandable inline */
.basti-widget-wrapper .basti-drawer__row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--basti-border);
}
.basti-widget-wrapper .basti-drawer__main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 4px;
    border-bottom: 0 !important;
}
.basti-widget-wrapper .basti-drawer__sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    flex-shrink: 0;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--basti-border);
    color: var(--basti-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease, background 0.2s ease;
}
.basti-widget-wrapper .basti-drawer__sub-toggle:hover {
    background: rgba(255, 255, 255, 0.04);
}
.basti-widget-wrapper .basti-drawer__nav li.has-submenu .basti-drawer__main {
    border-bottom: 0;
}
.basti-widget-wrapper .basti-drawer__nav li.has-submenu.is-open .basti-drawer__sub-toggle {
    transform: rotate(45deg);
}

.basti-widget-wrapper .basti-drawer__submenu {
    list-style: none;
    padding: 0 0 0 38px;
    margin: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.basti-widget-wrapper .basti-drawer__nav li.has-submenu.is-open .basti-drawer__submenu {
    grid-template-rows: 1fr;
}
.basti-widget-wrapper .basti-drawer__submenu > * { overflow: hidden; }
.basti-widget-wrapper .basti-drawer__submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 1;
    transform: none;
    transition: none !important;
}
.basti-widget-wrapper .basti-drawer__submenu li:last-child { border-bottom: 0; }
.basti-widget-wrapper .basti-drawer__submenu a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 14px 4px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--basti-text-muted) !important;
    border-bottom: 0 !important;
}
.basti-widget-wrapper .basti-drawer__submenu a:hover {
    color: var(--basti-text) !important;
    padding-left: 8px !important;
}
.basti-widget-wrapper .basti-drawer__sub-dot {
    color: var(--basti-text-dim);
    font-size: 13px;
    width: 16px;
}

.basti-widget-wrapper .basti-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.basti-widget-wrapper .basti-header__cta {
    padding: 10px 20px;
    min-height: 42px;
    font-size: 14px;
}

/* Hamburger */
.basti-widget-wrapper .basti-header__burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--basti-radius-pill);
    color: var(--basti-text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: var(--basti-trans);
}
.basti-widget-wrapper .basti-header__burger:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
}
.basti-widget-wrapper .basti-header__burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.basti-widget-wrapper .basti-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.basti-widget-wrapper .basti-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.basti-widget-wrapper .basti-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1024px) {
    .basti-widget-wrapper .basti-header__nav { display: none; }
    .basti-widget-wrapper .basti-header__burger { display: inline-flex; }
    /* Switch to flex on mobile so logo stays far-left and actions stay far-right.
       (Grid auto/1fr/auto collapses when nav is display:none, bunching items together.) */
    .basti-widget-wrapper .basti-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        gap: 12px;
    }
    /* Mobile: only the logo image (no brand name / tagline) */
    .basti-widget-wrapper .basti-header__brand-text { display: none; }
    .basti-widget-wrapper .basti-header__brand { gap: 0; }
    /* Right-side cluster: CTA + burger sit together */
    .basti-widget-wrapper .basti-header__actions {
        margin-left: auto;
        gap: 10px;
    }
    /* Keep the CTA visible but compact */
    .basti-widget-wrapper .basti-header__cta {
        padding: 8px 16px;
        min-height: 38px;
        font-size: 13px;
        gap: 6px;
    }
    .basti-widget-wrapper .basti-header__cta .basti-btn__arrow { display: none; }
}
@media (max-width: 480px) {
    .basti-widget-wrapper .basti-header__inner { padding: 10px 16px; gap: 8px; }
    .basti-widget-wrapper .basti-header__actions { gap: 8px; }
    .basti-widget-wrapper .basti-header__cta {
        padding: 7px 13px;
        font-size: 12px;
        min-height: 36px;
    }
    /* Logo size on mobile is now controlled by Elementor (Style → Logo → Logo Size — mobile device) */
}

/* ============================================================
   OFF-CANVAS DRAWER
   ============================================================ */
.basti-widget-wrapper .basti-drawer-root {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
}
.basti-widget-wrapper .basti-drawer-root.is-open {
    pointer-events: auto;
    visibility: visible;
}
.basti-widget-wrapper .basti-drawer__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.basti-widget-wrapper .basti-drawer-root.is-open .basti-drawer__overlay {
    opacity: 1;
}

.basti-widget-wrapper .basti-drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(420px, 92vw);
    background-color: var(--basti-bg);
    color: var(--basti-text);
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow-y: auto;
}
.basti-widget-wrapper .basti-drawer--right { right: 0; transform: translateX(100%); }
.basti-widget-wrapper .basti-drawer--left  { left: 0;  transform: translateX(-100%); }
.basti-widget-wrapper .basti-drawer-root.is-open .basti-drawer { transform: translateX(0); }

/* Decorative speed-line pattern in drawer corner — logo nod */
.basti-widget-wrapper .basti-drawer::before {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    background:
        repeating-linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.04) 0 14px,
            transparent 14px 28px
        );
    pointer-events: none;
    border-radius: var(--basti-radius-pill);
}

.basti-widget-wrapper .basti-drawer__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--basti-space-3);
    border-bottom: 1px solid var(--basti-border);
    margin-bottom: var(--basti-space-3);
}
.basti-widget-wrapper .basti-drawer__title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--basti-text);
}
.basti-widget-wrapper .basti-drawer__close {
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--basti-border-strong);
    border-radius: 50%;
    color: var(--basti-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--basti-trans);
}
.basti-widget-wrapper .basti-drawer__close:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(90deg);
}

.basti-widget-wrapper .basti-drawer__nav {
    flex: 1;
}
.basti-widget-wrapper .basti-drawer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.basti-widget-wrapper .basti-drawer__nav li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(var(--basti-i, 0) * 0.05s);
}
.basti-widget-wrapper .basti-drawer-root.is-open .basti-drawer__nav li {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.1s + var(--basti-i, 0) * 0.05s);
}
.basti-widget-wrapper .basti-drawer__nav a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 4px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--basti-text) !important;
    border-bottom: 1px solid var(--basti-border);
    transition: padding 0.3s ease, color 0.3s ease;
}
.basti-widget-wrapper .basti-drawer__nav a:hover {
    padding-left: 12px;
    color: var(--basti-text-muted) !important;
}
.basti-widget-wrapper .basti-drawer__num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--basti-text-dim);
    width: 28px;
    flex-shrink: 0;
}
.basti-widget-wrapper .basti-drawer__label {
    flex: 1;
}
.basti-widget-wrapper .basti-drawer__arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: var(--basti-text-muted);
}
.basti-widget-wrapper .basti-drawer__nav a:hover .basti-drawer__arrow {
    opacity: 1;
    transform: translateX(0);
}

.basti-widget-wrapper .basti-drawer__foot {
    padding-top: var(--basti-space-3);
    border-top: 1px solid var(--basti-border);
    margin-top: var(--basti-space-3);
}
.basti-widget-wrapper .basti-drawer__foot .basti-btn { width: 100%; }

/* Force-correct button text inside the drawer regardless of drawer_text setting */
.basti-widget-wrapper .basti-drawer .basti-btn.basti-btn--primary,
.basti-widget-wrapper .basti-drawer .basti-btn.basti-btn--primary:hover {
    color: var(--basti-bg) !important;
}
.basti-widget-wrapper .basti-drawer .basti-btn.basti-btn--ghost,
.basti-widget-wrapper .basti-drawer .basti-btn.basti-btn--ghost:hover {
    color: var(--basti-text) !important;
}
.basti-widget-wrapper .basti-drawer .basti-btn.basti-btn--dark,
.basti-widget-wrapper .basti-drawer .basti-btn.basti-btn--dark:hover {
    color: var(--basti-text) !important;
}

/* Lock body scroll while drawer is open */
body.basti-noscroll { overflow: hidden !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.basti-widget-wrapper .basti-footer {
    position: relative;
    background-color: var(--basti-bg);
    color: var(--basti-text-muted);
    padding: 80px 32px 32px;
    overflow: hidden;
    isolation: isolate;
}
.basti-widget-wrapper .basti-footer::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}
.basti-widget-wrapper .basti-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: var(--basti-space-6);
    align-items: flex-start;
}
.basti-widget-wrapper .basti-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}
.basti-widget-wrapper .basti-footer__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: invert(1);
    margin-bottom: 6px;
}
.basti-widget-wrapper .basti-footer__name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--basti-text);
}
.basti-widget-wrapper .basti-footer__tag {
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--basti-text-muted);
    text-transform: lowercase;
}
.basti-widget-wrapper .basti-footer__about {
    font-size: 15px;
    line-height: 1.6;
    color: var(--basti-text-muted);
    margin-top: 8px;
    max-width: 320px;
}
.basti-widget-wrapper .basti-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--basti-space-2);
}
.basti-widget-wrapper .basti-footer__socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--basti-surface);
    border: 1px solid var(--basti-border-strong);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--basti-trans);
}
.basti-widget-wrapper .basti-footer__socials a:hover {
    background: #ffffff;
    color: var(--basti-bg) !important;
    border-color: #ffffff;
    transform: translateY(-3px);
}
.basti-widget-wrapper .basti-footer__socials a:hover svg,
.basti-widget-wrapper .basti-footer__socials a:hover svg path,
.basti-widget-wrapper .basti-footer__socials a:hover i {
    color: var(--basti-bg) !important;
    fill: var(--basti-bg) !important;
}
/* Icons inherit the link color. Force fill on SVGs (Elementor sometimes outputs explicit fills)
   and lock <i> color so font-icons render solid white. */
.basti-widget-wrapper .basti-footer__socials a svg,
.basti-widget-wrapper .basti-footer__socials a svg path {
    width: 18px;
    height: 18px;
    fill: currentColor !important;
    color: #ffffff !important;
}
.basti-widget-wrapper .basti-footer__socials a i {
    font-size: 18px;
    color: #ffffff !important;
    line-height: 1;
}

.basti-widget-wrapper .basti-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--basti-space-4);
}
.basti-widget-wrapper .basti-footer__col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--basti-text);
    margin-bottom: var(--basti-space-3);
}
.basti-widget-wrapper .basti-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.basti-widget-wrapper .basti-footer__col a {
    font-size: 14px;
    color: var(--basti-text-muted);
    transition: color 0.2s ease, padding 0.2s ease;
    display: inline-block;
}
.basti-widget-wrapper .basti-footer__col a:hover {
    color: var(--basti-text);
    padding-left: 4px;
}

.basti-widget-wrapper .basti-footer__bottom {
    max-width: 1400px;
    margin: var(--basti-space-7) auto 0;
    padding-top: var(--basti-space-3);
    border-top: 1px solid var(--basti-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--basti-space-2);
    flex-wrap: wrap;
}
.basti-widget-wrapper .basti-footer__copy {
    font-size: 13px;
    color: var(--basti-text-dim);
}
.basti-widget-wrapper .basti-footer__top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--basti-border-strong);
    color: var(--basti-text);
    cursor: pointer;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--basti-trans);
}
.basti-widget-wrapper .basti-footer__top:hover {
    background: var(--basti-text);
    color: var(--basti-bg);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .basti-widget-wrapper .basti-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--basti-space-5);
    }
}
@media (max-width: 640px) {
    .basti-widget-wrapper .basti-footer__cols { grid-template-columns: 1fr 1fr; gap: var(--basti-space-3); }
    .basti-widget-wrapper .basti-footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
    .basti-widget-wrapper .basti-footer__cols { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO — clean split layout
   Top half: background image with soft bottom fade + floating badge.
   Bottom half: solid dark area with eyebrow, title, buttons, stats.
   Both halves share a centered max-width so content lines up vertically.
   ============================================================ */
.basti-widget-wrapper .basti-hero {
    position: relative;
    background-color: var(--basti-bg);
    min-height: min(100vh, 860px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    color: var(--basti-text);
}

/* TOP — image area */
.basti-widget-wrapper .basti-hero__top {
    position: relative;
    flex: 0 0 45%;
    min-height: 260px;
    overflow: hidden;
}
.basti-widget-wrapper .basti-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--basti-surface);
}
/* Bottom-edge fade so image transitions smoothly into the dark bottom area */
.basti-widget-wrapper .basti-hero__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.45) 60%,
        var(--basti-bg) 100%
    );
}
.basti-widget-wrapper .basti-hero__top-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    display: flex;
    align-items: center;
}

/* Floating rating badge */
.basti-widget-wrapper .basti-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    background: #ffffff;
    color: #0a0a0a;
    border-radius: var(--basti-radius-pill);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.basti-widget-wrapper .basti-hero__badge-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}
.basti-widget-wrapper .basti-hero__badge-img--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(from 0deg, #ea4335, #fbbc05, #34a853, #4285f4, #ea4335);
    color: #ffffff;
    font-weight: 800;
    font-family: var(--basti-font-display);
    font-size: 18px;
}
.basti-widget-wrapper .basti-hero__badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 1px;
}
.basti-widget-wrapper .basti-hero__badge-title {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.01em;
}
.basti-widget-wrapper .basti-hero__badge-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}
.basti-widget-wrapper .basti-hero__badge-stars {
    display: inline-flex;
    gap: 1px;
    color: #d1d5db;
    font-size: 12px;
    line-height: 1;
}
.basti-widget-wrapper .basti-hero__badge-stars .is-on { color: #fbbf24; }

/* BOTTOM — solid dark area for content */
.basti-widget-wrapper .basti-hero__bottom {
    position: relative;
    z-index: 2;
    flex: 1;
    background-color: var(--basti-bg);
    display: flex;
    align-items: stretch;
}
.basti-widget-wrapper .basti-hero__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 56px) clamp(20px, 5vw, 64px) clamp(40px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(12px, 1.6vw, 20px);
}
.basti-widget-wrapper .basti-hero__eyebrow {
    color: var(--basti-text-muted);
    margin-bottom: 0;
}
.basti-widget-wrapper .basti-hero__title {
    font-family: var(--basti-font-display);
    font-size: clamp(26px, 3.8vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.022em;
    color: var(--basti-text);
    text-wrap: balance;
    max-width: 100%;
}
.basti-widget-wrapper .basti-hero__subtitle {
    max-width: 640px;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.55;
    color: var(--basti-accent-soft);
}

/* Actions (stacked or inline) */
.basti-widget-wrapper .basti-hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}
.basti-widget-wrapper .basti-hero__actions--stacked {
    flex-direction: column;
    align-items: flex-start;
}
.basti-widget-wrapper .basti-hero__actions--inline {
    flex-direction: row;
    flex-wrap: wrap;
}
.basti-widget-wrapper .basti-hero__btn {
    min-width: 240px;
    justify-content: flex-start;
    padding: 13px 22px;
    min-height: 48px;
    text-align: left;
    gap: 12px;
    font-size: 14px;
}
.basti-widget-wrapper .basti-hero__actions--inline .basti-hero__btn {
    min-width: 0;
    justify-content: center;
}
.basti-widget-wrapper .basti-hero__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.basti-widget-wrapper .basti-hero__btn-icon svg,
.basti-widget-wrapper .basti-hero__btn-icon i {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Stats strip */
.basti-widget-wrapper .basti-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 40px);
    margin-top: clamp(20px, 3vw, 32px);
    padding-top: clamp(16px, 2.5vw, 24px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.basti-widget-wrapper .basti-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.basti-widget-wrapper .basti-hero__stat-value {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--basti-text);
}
.basti-widget-wrapper .basti-hero__stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--basti-text-muted);
}

/* ───── Responsive ───── */
@media (max-width: 1024px) {
    .basti-widget-wrapper .basti-hero { min-height: min(100vh, 720px); }
    .basti-widget-wrapper .basti-hero__top { flex: 0 0 42%; }
    .basti-widget-wrapper .basti-hero__title { font-size: clamp(24px, 3.6vw, 36px); }
    .basti-widget-wrapper .basti-hero__btn { min-width: 220px; min-height: 46px; }
}
@media (max-width: 768px) {
    .basti-widget-wrapper .basti-hero { min-height: 88vh; }
    .basti-widget-wrapper .basti-hero__top { flex: 0 0 38%; min-height: 220px; }
    .basti-widget-wrapper .basti-hero__badge {
        padding: 6px 14px 6px 6px;
        gap: 8px;
    }
    .basti-widget-wrapper .basti-hero__badge-img { width: 32px; height: 32px; }
    .basti-widget-wrapper .basti-hero__badge-img--placeholder { font-size: 16px; }
    .basti-widget-wrapper .basti-hero__badge-title { font-size: 11px; }
    .basti-widget-wrapper .basti-hero__badge-rating { font-size: 12px; }
    .basti-widget-wrapper .basti-hero__title {
        font-size: clamp(22px, 5.5vw, 32px);
        max-width: 100%;
    }
    .basti-widget-wrapper .basti-hero__subtitle { font-size: 14px; }
    .basti-widget-wrapper .basti-hero__btn {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
    }
    .basti-widget-wrapper .basti-hero__actions--inline .basti-hero__btn {
        width: auto;
        justify-content: center;
    }
    .basti-widget-wrapper .basti-hero__stats { gap: 14px; }
    .basti-widget-wrapper .basti-hero__stat-value { font-size: 20px; }
    .basti-widget-wrapper .basti-hero__stat-label { font-size: 11px; }
}
@media (max-width: 420px) {
    .basti-widget-wrapper .basti-hero__top { flex: 0 0 34%; min-height: 200px; }
    .basti-widget-wrapper .basti-hero__title { font-size: 22px; }
    .basti-widget-wrapper .basti-hero__btn { padding: 11px 18px; font-size: 13px; min-height: 44px; }
    .basti-widget-wrapper .basti-hero__inner { gap: 10px; padding-top: 28px; padding-bottom: 32px; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.basti-widget-wrapper .basti-process {
    background-color: var(--basti-bg);
    padding: clamp(64px, 10vw, 120px) clamp(24px, 5vw, 80px);
}
.basti-widget-wrapper .basti-process__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.basti-widget-wrapper .basti-process__head {
    max-width: 640px;
    margin-bottom: var(--basti-space-6);
}
.basti-widget-wrapper .basti-process__heading {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--basti-space-2);
    text-wrap: balance;
}
.basti-widget-wrapper .basti-process__desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--basti-text-muted);
}
.basti-widget-wrapper .basti-process__grid {
    display: grid;
    gap: var(--basti-space-3);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.basti-widget-wrapper .basti-process__card {
    position: relative;
    padding: var(--basti-space-4) var(--basti-space-3);
    background-color: var(--basti-surface);
    border: 1px solid var(--basti-border);
    border-radius: var(--basti-radius-lg);
    overflow: hidden;
    transition: var(--basti-trans);
    isolation: isolate;
}
.basti-widget-wrapper .basti-process__card:hover {
    background-color: var(--basti-surface-2);
    border-color: var(--basti-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--basti-shadow-md);
}
.basti-widget-wrapper .basti-process__num {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: -0.04em;
    z-index: 0;
    pointer-events: none;
}
.basti-widget-wrapper .basti-process__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--basti-radius-md);
    background: rgba(255, 255, 255, 0.06);
    color: var(--basti-text);
    margin-bottom: var(--basti-space-3);
    z-index: 1;
}
.basti-widget-wrapper .basti-process__icon svg,
.basti-widget-wrapper .basti-process__icon i {
    width: 22px;
    height: 22px;
    font-size: 22px;
}
.basti-widget-wrapper .basti-process__title {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    z-index: 1;
}
.basti-widget-wrapper .basti-process__text {
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: var(--basti-text-muted);
    z-index: 1;
}

@media (max-width: 1024px) {
    .basti-widget-wrapper .basti-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .basti-widget-wrapper .basti-process__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRICING
   ============================================================ */
.basti-widget-wrapper .basti-pricing {
    background-color: var(--basti-bg-alt);
    padding: clamp(64px, 10vw, 120px) clamp(24px, 5vw, 80px);
}
.basti-widget-wrapper .basti-pricing__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.basti-widget-wrapper .basti-pricing__head {
    max-width: 640px;
    margin: 0 auto var(--basti-space-6);
    text-align: center;
}
.basti-widget-wrapper .basti-pricing__head .basti-pricing__eyebrow { padding-left: 0; }
.basti-widget-wrapper .basti-pricing__head .basti-pricing__eyebrow::before { display: none; }
.basti-widget-wrapper .basti-pricing__heading {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--basti-space-2);
    text-wrap: balance;
}
.basti-widget-wrapper .basti-pricing__desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--basti-text-muted);
}
.basti-widget-wrapper .basti-pricing__grid {
    display: grid;
    gap: var(--basti-space-3);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}
.basti-widget-wrapper .basti-pricing__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--basti-space-2);
    padding: var(--basti-space-5) var(--basti-space-4);
    background-color: var(--basti-surface);
    border: 1px solid var(--basti-border);
    border-radius: var(--basti-radius-xl);
    transition: var(--basti-trans);
}
.basti-widget-wrapper .basti-pricing__card:hover {
    border-color: var(--basti-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--basti-shadow-lg);
}
.basti-widget-wrapper .basti-pricing__card--featured {
    background-color: var(--basti-text) !important;
    color: var(--basti-bg);
    border-color: var(--basti-text);
    transform: translateY(-12px);
    box-shadow: var(--basti-shadow-lg);
}
.basti-widget-wrapper .basti-pricing__card--featured:hover {
    transform: translateY(-16px);
}
.basti-widget-wrapper .basti-pricing__card--featured .basti-pricing__name,
.basti-widget-wrapper .basti-pricing__card--featured .basti-pricing__price,
.basti-widget-wrapper .basti-pricing__card--featured .basti-pricing__features {
    color: var(--basti-bg);
}
.basti-widget-wrapper .basti-pricing__card--featured .basti-pricing__check {
    background: var(--basti-bg);
    color: var(--basti-text);
}

.basti-widget-wrapper .basti-pricing__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid currentColor;
    border-radius: var(--basti-radius-pill);
    opacity: 0.85;
}
.basti-widget-wrapper .basti-pricing__name {
    font-size: 22px;
    font-weight: 700;
    color: var(--basti-text);
}
.basti-widget-wrapper .basti-pricing__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: var(--basti-space-1) 0 var(--basti-space-2);
}
.basti-widget-wrapper .basti-pricing__currency {
    font-size: 24px;
    font-weight: 700;
}
.basti-widget-wrapper .basti-pricing__amount {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}
.basti-widget-wrapper .basti-pricing__period {
    font-size: 15px;
    opacity: 0.7;
    margin-left: 4px;
}
.basti-widget-wrapper .basti-pricing__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: var(--basti-space-2) 0 var(--basti-space-3);
    flex: 1;
}
.basti-widget-wrapper .basti-pricing__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.45;
    color: inherit;
}
.basti-widget-wrapper .basti-pricing__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--basti-text);
    font-size: 12px;
    font-weight: 700;
}
.basti-widget-wrapper .basti-pricing__card .basti-btn {
    width: 100%;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .basti-widget-wrapper .basti-pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .basti-widget-wrapper .basti-pricing__card--featured { transform: none; }
    .basti-widget-wrapper .basti-pricing__card--featured:hover { transform: translateY(-4px); }
}
@media (max-width: 640px) {
    .basti-widget-wrapper .basti-pricing__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.basti-widget-wrapper .basti-ba {
    background-color: var(--basti-bg);
    padding: clamp(64px, 10vw, 120px) clamp(24px, 5vw, 80px);
}
.basti-widget-wrapper .basti-ba__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.basti-widget-wrapper .basti-ba__head {
    max-width: 640px;
    margin: 0 auto var(--basti-space-6);
    text-align: center;
}
.basti-widget-wrapper .basti-ba__head .basti-ba__eyebrow { padding-left: 0; }
.basti-widget-wrapper .basti-ba__head .basti-ba__eyebrow::before { display: none; }
.basti-widget-wrapper .basti-ba__heading {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--basti-space-2);
    text-wrap: balance;
}
.basti-widget-wrapper .basti-ba__desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--basti-text-muted);
}
.basti-widget-wrapper .basti-ba__grid {
    display: grid;
    gap: var(--basti-space-4);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.basti-widget-wrapper .basti-ba__card {
    display: flex;
    flex-direction: column;
    gap: var(--basti-space-3);
}

.basti-widget-wrapper .basti-ba__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--basti-surface);
    border-radius: var(--basti-radius-lg);
    user-select: none;
}
.basti-widget-wrapper .basti-ba__media--horizontal { cursor: ew-resize; }
.basti-widget-wrapper .basti-ba__media--vertical   { cursor: ns-resize; }

.basti-widget-wrapper .basti-ba__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.basti-widget-wrapper .basti-ba__before-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    will-change: width, height;
}
.basti-widget-wrapper .basti-ba__media--vertical .basti-ba__before-wrap {
    width: 100%;
}
.basti-widget-wrapper .basti-ba__media--horizontal .basti-ba__before-wrap {
    height: 100%;
}

.basti-widget-wrapper .basti-ba__divider {
    position: absolute;
    background: var(--basti-text);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}
.basti-widget-wrapper .basti-ba__media--horizontal .basti-ba__divider {
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-1px);
}
.basti-widget-wrapper .basti-ba__media--vertical .basti-ba__divider {
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-1px);
}

.basti-widget-wrapper .basti-ba__handle {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--basti-text);
    color: var(--basti-bg);
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    cursor: inherit;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}
.basti-widget-wrapper .basti-ba__handle:hover {
    transform: translate(-50%, -50%) scale(1.08);
}
.basti-widget-wrapper .basti-ba__media--horizontal .basti-ba__handle {
    top: 50%;
    transform: translate(-50%, -50%);
}
.basti-widget-wrapper .basti-ba__media--vertical .basti-ba__handle {
    left: 50%;
    transform: translate(-50%, -50%);
}
.basti-widget-wrapper .basti-ba__media--vertical .basti-ba__handle:hover {
    transform: translate(-50%, -50%) scale(1.08);
}
.basti-widget-wrapper .basti-ba__media--vertical .basti-ba__handle {
    rotate: 90deg;
}

.basti-widget-wrapper .basti-ba__label {
    position: absolute;
    z-index: 4;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.7);
    color: var(--basti-text);
    border-radius: var(--basti-radius-pill);
    backdrop-filter: blur(6px);
    pointer-events: none;
}
.basti-widget-wrapper .basti-ba__label--before { top: 16px; left: 16px; }
.basti-widget-wrapper .basti-ba__label--after  { top: 16px; right: 16px; }

/* Grid mode (side-by-side) */
.basti-widget-wrapper .basti-ba__media--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.basti-widget-wrapper .basti-ba__half {
    position: relative;
    overflow: hidden;
    background: var(--basti-surface);
}
.basti-widget-wrapper .basti-ba__half img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.basti-widget-wrapper .basti-ba__half .basti-ba__label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    top: auto;
    right: auto;
}

.basti-widget-wrapper .basti-ba__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-inline: 4px;
}
.basti-widget-wrapper .basti-ba__name {
    font-size: 20px;
    font-weight: 700;
    color: var(--basti-text);
}
.basti-widget-wrapper .basti-ba__meta-line {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--basti-text-muted);
}
.basti-widget-wrapper .basti-ba__text {
    margin-top: var(--basti-space-1);
    font-size: 15px;
    line-height: 1.55;
    color: var(--basti-accent-soft);
}

@media (max-width: 768px) {
    .basti-widget-wrapper .basti-ba__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.basti-widget-wrapper .basti-tst {
    background-color: var(--basti-bg);
    padding: clamp(64px, 10vw, 120px) clamp(24px, 5vw, 80px);
}
.basti-widget-wrapper .basti-tst__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.basti-widget-wrapper .basti-tst__head {
    max-width: 640px;
    margin-bottom: var(--basti-space-6);
}
.basti-widget-wrapper .basti-tst__heading {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.basti-widget-wrapper .basti-tst__grid {
    display: grid;
    gap: var(--basti-space-3);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.basti-widget-wrapper .basti-tst__card {
    display: flex;
    flex-direction: column;
    gap: var(--basti-space-2);
    padding: var(--basti-space-4);
    background: var(--basti-surface);
    border: 1px solid var(--basti-border);
    border-radius: var(--basti-radius-lg);
    transition: var(--basti-trans);
}
.basti-widget-wrapper .basti-tst__card:hover {
    border-color: var(--basti-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--basti-shadow-md);
}
.basti-widget-wrapper .basti-tst__stars {
    display: flex;
    gap: 2px;
    color: rgba(255, 255, 255, 0.18);
    font-size: 16px;
}
.basti-widget-wrapper .basti-tst__stars span.is-on { color: var(--basti-text); }
.basti-widget-wrapper .basti-tst__quote {
    font-size: 17px;
    line-height: 1.55;
    color: var(--basti-accent-soft);
    flex: 1;
}
.basti-widget-wrapper .basti-tst__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: var(--basti-space-2);
    padding-top: var(--basti-space-2);
    border-top: 1px solid var(--basti-border);
}
.basti-widget-wrapper .basti-tst__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--basti-surface-2);
    color: var(--basti-text);
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.basti-widget-wrapper .basti-tst__author-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.basti-widget-wrapper .basti-tst__name {
    font-weight: 700;
    color: var(--basti-text);
}
.basti-widget-wrapper .basti-tst__role {
    font-size: 13px;
    color: var(--basti-text-muted);
}

@media (max-width: 1024px) {
    .basti-widget-wrapper .basti-tst__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .basti-widget-wrapper .basti-tst__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA
   ============================================================ */
.basti-widget-wrapper .basti-cta {
    background-color: var(--basti-light);
    padding: clamp(64px, 10vw, 120px) clamp(24px, 5vw, 80px);
}
.basti-widget-wrapper .basti-cta__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.basti-widget-wrapper .basti-cta__eyebrow {
    color: var(--basti-text-dim);
    padding-left: 0;
}
.basti-widget-wrapper .basti-cta__eyebrow::before { display: none; }
.basti-widget-wrapper .basti-cta__heading {
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--basti-bg);
    margin-bottom: var(--basti-space-2);
    text-wrap: balance;
}
.basti-widget-wrapper .basti-cta__text {
    font-size: 17px;
    line-height: 1.6;
    color: #525252;
    margin-bottom: var(--basti-space-4);
}
.basti-widget-wrapper .basti-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--basti-space-2);
    justify-content: center;
}

/* ============================================================
   HERO v2 — clean rewrite with `.bh-hero` namespace.
   No legacy CSS can reach these. Critical sizing also set inline
   in render() as a final safety net.
   ============================================================ */
.basti-widget-wrapper .bh-hero {
    position: relative;
    background-color: #0a0a0a;
    color: #ffffff;
    min-height: min(100vh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

/* TOP — image area */
.basti-widget-wrapper .bh-hero__top {
    position: relative;
    flex: 0 0 38%;
    min-height: 220px;
    overflow: hidden;
}
.basti-widget-wrapper .bh-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
}
.basti-widget-wrapper .bh-hero__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.45) 60%,
        #0a0a0a 100%
    );
    pointer-events: none;
}
.basti-widget-wrapper .bh-hero__top-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    display: flex;
    align-items: center;
}

/* Floating rating badge */
.basti-widget-wrapper .bh-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    background: #ffffff;
    color: #0a0a0a;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.basti-widget-wrapper .bh-hero__badge-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}
.basti-widget-wrapper .bh-hero__badge-img--g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(from 0deg, #ea4335, #fbbc05, #34a853, #4285f4, #ea4335);
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
}
.basti-widget-wrapper .bh-hero__badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 1px;
}
.basti-widget-wrapper .bh-hero__badge-title {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
}
.basti-widget-wrapper .bh-hero__badge-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}
.basti-widget-wrapper .bh-hero__badge-stars {
    display: inline-flex;
    gap: 1px;
    color: #d1d5db;
    font-size: 12px;
    line-height: 1;
}
.basti-widget-wrapper .bh-hero__badge-stars .is-on { color: #fbbf24; }

/* BOTTOM — solid dark area */
.basti-widget-wrapper .bh-hero__bottom {
    position: relative;
    z-index: 2;
    flex: 1;
    background-color: #0a0a0a;
    display: flex;
}
.basti-widget-wrapper .bh-hero__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 40px) clamp(20px, 5vw, 64px) clamp(28px, 3.5vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(10px, 1.2vw, 14px);
}

/* Content (most critical sizes also inline in render() as safety) */
.basti-widget-wrapper .bh-hero__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a3a3a3;
    position: relative;
    padding-left: 28px;
}
.basti-widget-wrapper .bh-hero__eyebrow::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 20px; height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.basti-widget-wrapper .bh-hero__title {
    font-family: var(--basti-font-display);
    font-size: clamp(24px, 3.2vw, 40px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
    text-wrap: balance;
}
.basti-widget-wrapper .bh-hero__subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #d4d4d4;
    margin: 0;
    max-width: 620px;
}

/* Buttons — modern icon-in-circle style with glassmorphism ghost */
.basti-widget-wrapper .bh-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}
.basti-widget-wrapper .bh-hero__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 56px;
    padding: 6px 26px 6px 6px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.005em;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                background-color 0.25s ease,
                border-color 0.25s ease;
    white-space: nowrap;
    position: relative;
    will-change: transform;
}
.basti-widget-wrapper .bh-hero__btn:active {
    transform: translateY(0) scale(0.98);
}

/* Primary — solid white pill with soft shadow */
.basti-widget-wrapper .bh-hero__btn--primary {
    background: #ffffff;
    color: #0a0a0a !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.basti-widget-wrapper .bh-hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}

/* Ghost — glassmorphism: subtle white tint + blur + thin border */
.basti-widget-wrapper .bh-hero__btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.basti-widget-wrapper .bh-hero__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

/* Icon-in-circle — the modern accent */
.basti-widget-wrapper .bh-hero__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.basti-widget-wrapper .bh-hero__btn--primary .bh-hero__btn-icon {
    background: #0a0a0a;
    color: #ffffff;
}
.basti-widget-wrapper .bh-hero__btn--ghost .bh-hero__btn-icon {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
}
.basti-widget-wrapper .bh-hero__btn:hover .bh-hero__btn-icon {
    transform: scale(1.06) rotate(-2deg);
}
.basti-widget-wrapper .bh-hero__btn-icon svg,
.basti-widget-wrapper .bh-hero__btn-icon i {
    width: 18px;
    height: 18px;
    font-size: 17px;
}
/* Force icon glyph color regardless of nested rendering quirks */
.basti-widget-wrapper .bh-hero__btn--primary .bh-hero__btn-icon svg,
.basti-widget-wrapper .bh-hero__btn--primary .bh-hero__btn-icon svg path,
.basti-widget-wrapper .bh-hero__btn--primary .bh-hero__btn-icon i {
    fill: currentColor !important;
    color: #ffffff !important;
}
.basti-widget-wrapper .bh-hero__btn--ghost .bh-hero__btn-icon svg,
.basti-widget-wrapper .bh-hero__btn--ghost .bh-hero__btn-icon svg path,
.basti-widget-wrapper .bh-hero__btn--ghost .bh-hero__btn-icon i {
    fill: currentColor !important;
    color: #ffffff !important;
}

/* Stats */
.basti-widget-wrapper .bh-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(18px, 3vw, 32px);
    margin: clamp(12px, 1.6vw, 18px) 0 0;
    padding: clamp(12px, 1.6vw, 16px) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    list-style: none;
}
.basti-widget-wrapper .bh-hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.basti-widget-wrapper .bh-hero__stat-value {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.basti-widget-wrapper .bh-hero__stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a3a3a3;
}

/* Responsive */
@media (max-width: 1024px) {
    .basti-widget-wrapper .bh-hero { min-height: min(100vh, 720px); }
    .basti-widget-wrapper .bh-hero__top { flex: 0 0 42%; }
}
@media (max-width: 768px) {
    /* Mobile: hero is content-sized (no empty space). User adjusts image height via the slider. */
    .basti-widget-wrapper .bh-hero {
        min-height: 0;
        height: auto;
        max-height: none;
    }
    .basti-widget-wrapper .bh-hero .bh-hero__top {
        flex: 0 0 auto;
        height: 240px;
        min-height: 0;
    }
    .basti-widget-wrapper .bh-hero__badge {
        padding: 6px 14px 6px 6px;
        gap: 8px;
    }
    .basti-widget-wrapper .bh-hero__badge-img { width: 30px; height: 30px; }
    .basti-widget-wrapper .bh-hero__badge-img--g { font-size: 15px; }
    .basti-widget-wrapper .bh-hero__badge-title { font-size: 11px; }
    .basti-widget-wrapper .bh-hero__badge-rating { font-size: 12px; }

    .basti-widget-wrapper .bh-hero__inner {
        padding: 18px 18px 20px;
        gap: 8px;
    }
    /* Force-shrink title past inline style to keep it ~1 line on phones */
    .basti-widget-wrapper .bh-hero__title {
        font-size: 24px !important;
        line-height: 1.12 !important;
    }
    /* Subtitle clamped to 2 lines so it can't push buttons off-screen */
    .basti-widget-wrapper .bh-hero__subtitle {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
    /* Stack buttons but auto-size to content (not stretched full-width) */
    .basti-widget-wrapper .bh-hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 4px;
    }
    .basti-widget-wrapper .bh-hero__btn {
        min-height: 50px;
        padding: 5px 22px 5px 5px;
        font-size: 13.5px;
        gap: 10px;
        justify-content: flex-start;
    }
    .basti-widget-wrapper .bh-hero__btn-icon {
        width: 40px;
        height: 40px;
    }
    .basti-widget-wrapper .bh-hero__btn-icon svg,
    .basti-widget-wrapper .bh-hero__btn-icon i {
        width: 16px; height: 16px; font-size: 15px;
    }
    /* Tighter stats; hidden on small phones below */
    .basti-widget-wrapper .bh-hero__stats {
        gap: 12px;
        margin-top: 10px;
        padding-top: 10px;
    }
    .basti-widget-wrapper .bh-hero__stat-value { font-size: 16px; }
    .basti-widget-wrapper .bh-hero__stat-label { font-size: 10px; letter-spacing: 0.1em; }
}

@media (max-width: 540px) {
    .basti-widget-wrapper .bh-hero .bh-hero__top { height: 220px; }
    .basti-widget-wrapper .bh-hero__inner { padding: 16px 16px 18px; gap: 7px; }
    .basti-widget-wrapper .bh-hero__title { font-size: 22px !important; }
    .basti-widget-wrapper .bh-hero__btn {
        min-height: 48px;
        padding: 4px 20px 4px 4px;
        font-size: 13px;
    }
    .basti-widget-wrapper .bh-hero__btn-icon {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 420px) {
    .basti-widget-wrapper .bh-hero .bh-hero__top { height: 200px; }
    .basti-widget-wrapper .bh-hero__title { font-size: 21px !important; }
    /* Keep subtitle visible but clamp to 2 lines */
    .basti-widget-wrapper .bh-hero__subtitle {
        -webkit-line-clamp: 2;
        font-size: 12.5px !important;
        line-height: 1.4 !important;
    }
    .basti-widget-wrapper .bh-hero__inner { gap: 6px; padding: 14px 14px 16px; }
    .basti-widget-wrapper .bh-hero__btn {
        min-height: 46px;
        padding: 4px 18px 4px 4px;
        font-size: 12.5px;
        gap: 9px;
    }
    .basti-widget-wrapper .bh-hero__btn-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 360px) {
    .basti-widget-wrapper .bh-hero .bh-hero__top { height: 180px; }
    .basti-widget-wrapper .bh-hero__title { font-size: 19px !important; }
    .basti-widget-wrapper .bh-hero__btn-icon { width: 34px; height: 34px; }
}

/* ============================================================
   ABOUT COACH — full-bleed split layout
   Image left (or right), content panel on the other side.
   ============================================================ */
.basti-widget-wrapper .bh-about {
    position: relative;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
}
.basti-widget-wrapper .bh-about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 540px;
}

/* Image side — full-bleed, no rounding */
.basti-widget-wrapper .bh-about__media {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    min-height: 100%;
}
.basti-widget-wrapper .bh-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Content side */
.basti-widget-wrapper .bh-about__content {
    background: #0a0a0a;
    padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(14px, 1.6vw, 22px);
}

.basti-widget-wrapper .bh-about__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a3a3a3;
    margin-bottom: 4px;
}
.basti-widget-wrapper .bh-about__heading {
    font-family: var(--basti-font-display);
    color: #ffffff;
}
.basti-widget-wrapper .bh-about__bio {
    color: #d4d4d4;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.7;
}
.basti-widget-wrapper .bh-about__bio p {
    margin: 0 0 14px;
    color: inherit;
}
.basti-widget-wrapper .bh-about__bio p:last-child {
    margin-bottom: 0;
}
.basti-widget-wrapper .bh-about__bio strong,
.basti-widget-wrapper .bh-about__bio b {
    color: #ffffff;
    font-weight: 700;
}

/* Credentials list — bullet points */
.basti-widget-wrapper .bh-about__credentials {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.basti-widget-wrapper .bh-about__credentials li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #d4d4d4;
}
.basti-widget-wrapper .bh-about__credentials li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.7;
}

/* CTA pill — modern with icon-in-text style */
.basti-widget-wrapper .bh-about__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    margin-top: 10px;
    background: #ffffff;
    color: #0a0a0a !important;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
.basti-widget-wrapper .bh-about__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}
.basti-widget-wrapper .bh-about__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #0a0a0a;
}
.basti-widget-wrapper .bh-about__cta-icon svg,
.basti-widget-wrapper .bh-about__cta-icon i {
    width: 18px;
    height: 18px;
    font-size: 18px;
    fill: currentColor !important;
}

/* Image-right variant: swap order via the selector control */

/* Responsive: stack on tablet/mobile */
@media (max-width: 1024px) {
    .basti-widget-wrapper .bh-about__inner {
        grid-template-columns: 1fr !important;
        min-height: 0;
    }
    .basti-widget-wrapper .bh-about__media {
        min-height: 360px;
        order: 1 !important;
    }
    .basti-widget-wrapper .bh-about__content {
        order: 2 !important;
    }
    .basti-widget-wrapper .bh-about--image-right .bh-about__media { order: 1 !important; }
    .basti-widget-wrapper .bh-about--image-right .bh-about__content { order: 2 !important; }
}
@media (max-width: 540px) {
    .basti-widget-wrapper .bh-about__media { min-height: 300px; }
    .basti-widget-wrapper .bh-about__heading {
        font-size: clamp(28px, 7vw, 40px) !important;
    }
    .basti-widget-wrapper .bh-about__cta {
        padding: 12px 22px;
        font-size: 13.5px;
    }
}
@media (max-width: 420px) {
    .basti-widget-wrapper .bh-about__media { min-height: 260px; }
    .basti-widget-wrapper .bh-about__heading {
        font-size: 28px !important;
    }
    .basti-widget-wrapper .bh-about__bio { font-size: 14px; line-height: 1.6; }
    .basti-widget-wrapper .bh-about__credentials li { font-size: 13.5px; }
}

/* ============================================================
   SERVICES GRID — image cards with overlay + title + description
   ============================================================ */
.basti-widget-wrapper .bh-svc {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 64px);
}
.basti-widget-wrapper .bh-svc__inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* Header */
.basti-widget-wrapper .bh-svc__head {
    max-width: 720px;
    margin: 0 auto clamp(32px, 4vw, 56px);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.basti-widget-wrapper .bh-svc__eyebrow {
    display: inline-block;
    align-self: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a3a3a3;
}
.basti-widget-wrapper .bh-svc__heading {
    font-family: var(--basti-font-display);
    color: #ffffff;
    text-wrap: balance;
}
.basti-widget-wrapper .bh-svc__desc {
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
    color: #a3a3a3;
    margin: 0;
}

/* Grid */
.basti-widget-wrapper .bh-svc__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Card */
.basti-widget-wrapper .bh-svc__card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 4 / 5;
    color: inherit;
    text-decoration: none !important;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
.basti-widget-wrapper .bh-svc__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Background image */
.basti-widget-wrapper .bh-svc__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
.basti-widget-wrapper .bh-svc__card:hover .bh-svc__bg {
    transform: scale(1.06);
}

/* Gradient overlay — strongest at bottom for text readability */
.basti-widget-wrapper .bh-svc__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0.05) 35%,
        rgba(10, 10, 10, 0.55) 65%,
        var(--basti-svc-overlay, rgba(10, 10, 10, 0.95)) 100%
    );
    pointer-events: none;
}

/* Content */
.basti-widget-wrapper .bh-svc__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.basti-widget-wrapper .bh-svc__title {
    font-family: var(--basti-font-display);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: #ffffff;
    margin: 0;
}
.basti-widget-wrapper .bh-svc__text {
    font-size: clamp(13.5px, 1vw, 15px);
    line-height: 1.55;
    color: #d4d4d4;
    margin: 0;
}
.basti-widget-wrapper .bh-svc__arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.35s ease, background 0.35s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.basti-widget-wrapper .bh-svc__card:hover .bh-svc__arrow {
    background: #ffffff;
    color: #0a0a0a;
    transform: translate(2px, -2px) rotate(-30deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .basti-widget-wrapper .bh-svc__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}
@media (max-width: 640px) {
    .basti-widget-wrapper .bh-svc__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .basti-widget-wrapper .bh-svc__card { aspect-ratio: 4 / 4.5; }
    .basti-widget-wrapper .bh-svc__title { font-size: 22px; }
    .basti-widget-wrapper .bh-svc__text { font-size: 14px; }
    .basti-widget-wrapper .bh-svc__content { padding: 22px; }
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.basti-widget-wrapper .bh-faq {
    background-color: #0a0a0a;
    color: #fff;
    padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 64px);
}
.basti-widget-wrapper .bh-faq__inner {
    max-width: 880px;
    margin: 0 auto;
}
.basti-widget-wrapper .bh-faq__head {
    text-align: center;
    margin-bottom: clamp(32px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.basti-widget-wrapper .bh-faq__eyebrow {
    align-self: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a3a3a3;
}
.basti-widget-wrapper .bh-faq__heading { color: #fff; text-wrap: balance; }
.basti-widget-wrapper .bh-faq__desc {
    font-size: 15px;
    line-height: 1.6;
    color: #a3a3a3;
    margin: 0;
}
.basti-widget-wrapper .bh-faq__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.basti-widget-wrapper .bh-faq__item {
    background: #141414;
    border: 1px solid #262626;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.basti-widget-wrapper .bh-faq__item:hover {
    border-color: #404040;
}
.basti-widget-wrapper .bh-faq__item.is-open {
    border-color: #404040;
}
.basti-widget-wrapper .bh-faq__question {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 22px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    color: #fff;
    font-family: inherit;
}
.basti-widget-wrapper .bh-faq__q-text {
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}
/* + / × icon */
.basti-widget-wrapper .bh-faq__icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.basti-widget-wrapper .bh-faq__icon span {
    position: absolute;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}
.basti-widget-wrapper .bh-faq__icon span:nth-child(1) {
    top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%);
}
.basti-widget-wrapper .bh-faq__icon span:nth-child(2) {
    left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
}
.basti-widget-wrapper .bh-faq__item.is-open .bh-faq__icon span:nth-child(2) {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
/* Animated answer panel via grid-template-rows trick */
.basti-widget-wrapper .bh-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.basti-widget-wrapper .bh-faq__item.is-open .bh-faq__answer {
    grid-template-rows: 1fr;
}
.basti-widget-wrapper .bh-faq__answer > div {
    overflow: hidden;
}
.basti-widget-wrapper .bh-faq__answer-inner {
    padding: 0 24px 22px;
    color: #d4d4d4;
    font-size: 15px;
    line-height: 1.65;
}
.basti-widget-wrapper .bh-faq__answer-inner p { margin: 0 0 12px; color: inherit; }
.basti-widget-wrapper .bh-faq__answer-inner p:last-child { margin: 0; }
.basti-widget-wrapper .bh-faq__answer-inner strong, .basti-widget-wrapper .bh-faq__answer-inner b { color: #fff; }
.basti-widget-wrapper .bh-faq__answer-inner ul, .basti-widget-wrapper .bh-faq__answer-inner ol {
    margin: 8px 0 12px; padding-left: 18px;
}
.basti-widget-wrapper .bh-faq__answer-inner li { margin-bottom: 4px; color: inherit; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.basti-widget-wrapper .bh-form {
    background-color: #0a0a0a;
    color: #fff;
    padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 64px);
}
.basti-widget-wrapper .bh-form__inner {
    max-width: 760px;
    margin: 0 auto;
}
.basti-widget-wrapper .bh-form__head {
    text-align: center;
    margin-bottom: clamp(28px, 3.5vw, 40px);
    display: flex; flex-direction: column; gap: 10px;
}
.basti-widget-wrapper .bh-form__eyebrow {
    align-self: center;
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: #a3a3a3;
}
.basti-widget-wrapper .bh-form__heading { color: #fff; text-wrap: balance; }
.basti-widget-wrapper .bh-form__desc {
    font-size: 15px; line-height: 1.6; color: #a3a3a3; margin: 0;
}

.basti-widget-wrapper .bh-form__form { position: relative; }
.basti-widget-wrapper .bh-form__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important; height: 1px !important;
    overflow: hidden !important;
}

.basti-widget-wrapper .bh-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 16px;
}
.basti-widget-wrapper .bh-form__field--full,
.basti-widget-wrapper .bh-form__consent,
.basti-widget-wrapper .bh-form__feedback,
.basti-widget-wrapper .bh-form__actions {
    grid-column: 1 / -1;
}
.basti-widget-wrapper .bh-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.basti-widget-wrapper .bh-form__field label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #d4d4d4;
}
.basti-widget-wrapper .bh-form__req { color: #ef4444; }

.basti-widget-wrapper .bh-form input[type="text"],
.basti-widget-wrapper .bh-form input[type="email"],
.basti-widget-wrapper .bh-form input[type="tel"],
.basti-widget-wrapper .bh-form select,
.basti-widget-wrapper .bh-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #141414;
    color: #ffffff;
    border: 1px solid #262626;
    border-radius: 12px;
    font: inherit;
    font-size: 14.5px;
    line-height: 1.4;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
}
.basti-widget-wrapper .bh-form input::placeholder,
.basti-widget-wrapper .bh-form textarea::placeholder {
    color: #737373;
}
.basti-widget-wrapper .bh-form input:focus,
.basti-widget-wrapper .bh-form select:focus,
.basti-widget-wrapper .bh-form textarea:focus {
    outline: none;
    border-color: #ffffff;
    background-color: #1a1a1a;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.basti-widget-wrapper .bh-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a3a3a3' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.basti-widget-wrapper .bh-form textarea {
    min-height: 120px;
    resize: vertical;
}

.basti-widget-wrapper .bh-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    font-size: 13px;
    color: #a3a3a3;
    line-height: 1.5;
}
.basti-widget-wrapper .bh-form__consent label {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer; color: #a3a3a3;
}
.basti-widget-wrapper .bh-form__consent input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 1px;
    accent-color: #ffffff;
    flex-shrink: 0;
    cursor: pointer;
}

.basti-widget-wrapper .bh-form__actions {
    display: flex; align-items: center; gap: 14px;
    margin-top: 8px;
}
.basti-widget-wrapper .bh-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    min-height: 50px;
    background: #ffffff;
    color: #0a0a0a !important;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.005em;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.basti-widget-wrapper .bh-form__submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}
.basti-widget-wrapper .bh-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.basti-widget-wrapper .bh-form__submit-arrow {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.basti-widget-wrapper .bh-form__submit:hover:not(:disabled) .bh-form__submit-arrow {
    transform: translateX(4px);
}

.basti-widget-wrapper .bh-form__spinner {
    display: none;
    width: 22px; height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: bh-spin 0.7s linear infinite;
}
.basti-widget-wrapper .bh-form.is-loading .bh-form__spinner { display: inline-block; }
.basti-widget-wrapper .bh-form.is-loading .bh-form__submit { pointer-events: none; opacity: 0.65; }
@keyframes bh-spin { to { transform: rotate(360deg); } }

.basti-widget-wrapper .bh-form__feedback {
    display: none;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
}
.basti-widget-wrapper .bh-form__feedback.is-success {
    display: block;
    background: rgba(34, 197, 94, 0.08);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.basti-widget-wrapper .bh-form__feedback.is-error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Inline error state for invalid fields */
.basti-widget-wrapper .bh-form__field.has-error input,
.basti-widget-wrapper .bh-form__field.has-error select,
.basti-widget-wrapper .bh-form__field.has-error textarea {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

@media (max-width: 640px) {
    .basti-widget-wrapper .bh-form__grid { grid-template-columns: 1fr; gap: 12px; }
    .basti-widget-wrapper .bh-form__submit { width: 100%; }
}
