/* ═══════════════════════════════════════════════════════════════════════════════
    SMBify Rank — theme.css
   Professional stylesheet for SMB service business websites.
   All colors use CSS custom properties set dynamically from brand config.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Reset / Base ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    margin: 0; padding: 0;
    font-family: var(--smb-font);
    font-size: 16px; line-height: 1.6;
    color: var(--smb-text);
    background: var(--smb-bg);
    overflow-x: hidden;
}
a { color: var(--smb-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--smb-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { color: var(--smb-nav-ink); line-height: 1.2; font-weight: 700; }

/* ─── Container ────────────────────────────────────────────────────────────── */

.smb-container {
    width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 0 24px;
}

/* ─── Body States ──────────────────────────────────────────────────────────── */

/* Kadence handles header positioning and page offset */
body.smbify-theme,
body.smb-has-topbar,
body.smb-transparent-header {
    padding-top: 0 !important;
}

/* Lock scroll when mobile menu is open */
body.smb-menu-open { overflow: hidden; }

/* Defensive cleanup for older generated menus/header layouts */
.header-button-wrap,
.menu-item-phone-cta {
    display: none !important;
}

/* Kadence header baseline used by live child-theme builds */
#masthead {
    position: relative;
    z-index: 30;
    background: var(--smb-bg);
    border-bottom: 1px solid var(--smb-border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
#masthead .site-main-header-wrap,
#masthead .site-main-header-wrap.kadence-sticky-header,
#masthead .site-main-header-wrap.kadence-sticky-header.item-is-fixed {
    position: static !important;
    inset: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 14px 0;
}
#masthead .site-main-header-inner-wrap,
#masthead .site-header-row-layout-standard .site-header-row-container-inner {
    min-height: var(--smb-header-height);
}
#masthead .site-header-row-container-inner {
    max-width: 1248px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 24px;
    background: var(--smb-surface);
    border: 1px solid var(--smb-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.78), 0 20px 46px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
#masthead .site-header-main-section-left {
    flex: 0 0 auto;
}
#masthead .site-header-main-section-right {
    flex: 1 1 auto;
}
#masthead .site-branding {
    display: flex;
    align-items: center;
    margin-right: 34px;
}
#masthead .site-branding .custom-logo,
#masthead .site-branding .custom-logo-link img,
#masthead .site-branding a.brand img {
    display: block;
    width: auto;
    max-height: 58px;
}
#masthead .site-brand-logo-only .brand:empty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    justify-content: flex-start;
    min-height: 56px;
    min-width: clamp(140px, 14vw, 188px);
}
#masthead .site-brand-logo-only .brand:empty::before {
    content: "";
    width: clamp(140px, 14vw, 188px);
    height: 52px;
    flex: 0 0 clamp(140px, 14vw, 188px);
    border-radius: 0;
    background-color: transparent;
    background-image: var(--smb-header-logo, url("../images/smbify-logo.png"));
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: none;
}
#masthead .site-brand-logo-only .brand:empty::after {
    display: none !important;
    content: none !important;
}
body.smb-header-has-custom-logo #masthead .site-branding {
    margin-right: 18px;
}
body.smb-header-has-custom-logo #masthead .site-brand-logo-only .brand:empty {
    gap: 0;
    min-height: 64px;
    min-width: clamp(176px, 17vw, 236px);
}
body.smb-header-has-custom-logo #masthead .site-brand-logo-only .brand:empty::before {
    width: clamp(176px, 17vw, 236px);
    height: 64px;
    flex: 0 0 clamp(176px, 17vw, 236px);
    border-radius: 0;
    filter: none;
}
body.smb-header-has-custom-logo #masthead .site-brand-logo-only .brand:empty::after {
    display: none;
    content: none;
}
#masthead .site-branding .site-title,
#masthead .site-branding .site-description,
#masthead .site-branding .site-tagline {
    display: none !important;
}
body.header-is-fixed {
    padding-top: 0 !important;
}
#masthead .site-branding .site-title a,
#masthead .site-branding .brand,
#masthead .site-branding .brand:visited,
#masthead .site-branding .custom-logo-link + .site-title a {
    color: var(--smb-nav-ink, #1f2937) !important;
    font-family: var(--smb-display-font, var(--smb-font)) !important;
    font-size: clamp(22px, 1.7vw, 28px);
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1;
}
#masthead #main-header-menu > li,
#masthead .primary-navigation .menu > li {
    margin: 0 2px;
}
#masthead #main-header-menu > li > a,
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a,
#masthead .primary-navigation .menu > li > a,
#masthead .primary-navigation .menu > li > .drawer-nav-drop-wrap > a,
#masthead .primary-navigation .menu > li > .drawer-nav-drop-wrap > span {
    color: var(--smb-nav-ink, #1f2937) !important;
    font-family: var(--smb-display-font, var(--smb-font)) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    line-height: 1.15;
    padding: 12px 14px !important;
    border-radius: 14px;
    background: transparent !important;
    box-shadow: none !important;
    transition: color .2s ease, opacity .2s ease;
}
#masthead #main-header-menu > li > a:hover,
#masthead #main-header-menu > li.current-menu-item > a,
#masthead #main-header-menu > li.current_page_item > a,
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
#masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a,
#masthead .main-navigation .primary-menu-container > ul > li.current_page_item > a,
#masthead .primary-navigation .menu > li.current-menu-item > a,
#masthead .primary-navigation .menu > li.current_page_item > a,
#masthead .primary-navigation .menu > li > a:hover,
#masthead .primary-navigation .menu > li > .drawer-nav-drop-wrap > a:hover {
    color: var(--smb-secondary) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none;
}
#masthead .drawer-sub-toggle,
#masthead .menu-toggle-close,
#masthead .mobile-toggle-open-container button,
#masthead .mobile-toggle-open-container svg {
    color: var(--smb-nav-ink, #1f2937) !important;
}
#masthead .site-header-button-wrap,
#masthead .header-button-wrap {
    display: none !important;
}
#masthead .menu-item-btn,
#masthead .kt-btn-header {
    margin-left: 14px !important;
}
#masthead .menu-item-btn > a,
#masthead .kt-btn-header > a,
#masthead .primary-navigation .menu > li.menu-item-btn > a,
#masthead .primary-navigation .menu > li.kt-btn-header > a {
    background: linear-gradient(135deg, var(--smb-secondary) 0%, var(--smb-secondary-dark) 100%) !important;
    color: #ffffff !important;
    min-height: 50px;
    padding: 14px 26px !important;
    border-radius: 18px !important;
    font-family: var(--smb-display-font, var(--smb-font)) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    line-height: 1.2 !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14) !important;
}
#masthead .menu-item-btn > a:hover,
#masthead .kt-btn-header > a:hover,
#masthead .primary-navigation .menu > li.menu-item-btn > a:hover,
#masthead .primary-navigation .menu > li.kt-btn-header > a:hover,
#masthead .primary-navigation .menu > li.menu-item-btn.current-menu-item > a,
#masthead .primary-navigation .menu > li.kt-btn-header.current-menu-item > a {
    background: linear-gradient(135deg, var(--smb-secondary-dark) 0%, var(--smb-primary) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.18) !important;
}
#masthead .primary-navigation .menu > li.menu-item-has-children > a .nav-drop-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 0 !important;
}
#masthead .primary-navigation .menu > li.menu-item-has-children > a .dropdown-nav-toggle {
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
}
#masthead .primary-navigation .menu > li.menu-item-has-children {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: -12px;
}
@media (min-width: 1025px) {
    #masthead #primary-menu > li.menu-item-has-children > .dropdown-nav-special-toggle,
    #masthead .header-menu-container > ul > li.menu-item-has-children > .dropdown-nav-special-toggle {
        display: none !important;
    }
}
#masthead .sub-menu {
    min-width: 220px !important;
    margin-top: 0 !important;
    top: calc(100% - 2px) !important;
    background: var(--smb-surface) !important;
    border: 1px solid var(--smb-border) !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
#masthead .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}
#masthead .sub-menu li a {
    color: var(--smb-nav-ink) !important;
    font-family: var(--smb-display-font, var(--smb-font)) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 13px 18px !important;
}
#masthead .sub-menu li a:hover {
    color: var(--smb-secondary) !important;
    background: var(--smb-surface-alt) !important;
}
@media (min-width: 1025px) {
    #masthead #primary-menu > li.smb-menu-mega {
        position: relative !important;
        padding-bottom: 12px;
        margin-bottom: -12px;
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu {
        left: 50% !important;
        right: auto !important;
        top: calc(100% - 1px) !important;
        width: min(280px, calc(100vw - 24px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 24px) !important;
        padding: 6px !important;
        display: block !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 10px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
        border-radius: 18px !important;
        background: var(--smb-surface) !important;
        border: 1px solid var(--smb-border) !important;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12) !important;
        overflow: hidden !important;
    }
    #masthead #primary-menu > li.smb-menu-mega--locations > .sub-menu {
        width: min(320px, calc(100vw - 24px)) !important;
    }
    #masthead #primary-menu > li.smb-menu-mega--calculators > .sub-menu {
        width: min(400px, calc(100vw - 24px)) !important;
    }
    #masthead #primary-menu > li.smb-menu-mega:hover > .sub-menu,
    #masthead #primary-menu > li.smb-menu-mega:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu::before {
        top: -12px;
        height: 12px;
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li {
        margin: 0 !important;
        min-width: 0;
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li + li {
        margin-top: 2px !important;
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li > a {
        position: relative;
        display: flex !important;
        align-items: center;
        min-height: 0;
        padding: 10px 14px 10px 44px !important;
        border-radius: 12px !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--smb-nav-ink, #1f2937) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li > a::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 50%;
        width: 24px;
        height: 24px;
        border-radius: 8px;
        transform: translateY(-50%);
        background: linear-gradient(135deg, var(--smb-secondary) 0%, var(--smb-primary) 100%);
        box-shadow: none;
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li > a::after {
        content: "";
        position: absolute;
        left: 24px;
        top: 50%;
        width: 10px;
        height: 10px;
        transform: translate(-50%, -50%);
        background: #ffffff;
        mask-position: center;
        mask-repeat: no-repeat;
        mask-size: contain;
        -webkit-mask-position: center;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: contain;
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li > a:hover {
        color: var(--smb-secondary) !important;
        background: var(--smb-surface-alt) !important;
        transform: none;
        box-shadow: none !important;
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li.smb-menu-card--service > a::after {
        mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik0yMiA2LjlhNSA1IDAgMCAxLTYuOCA0LjdsLTYuOSA2LjlhMi41IDIuNSAwIDEgMS0zLjUtMy41bDYuOS02LjlBNSA1IDAgMCAxIDE3LjEgMmwtMi40IDIuNC41IDIgMiAuNUwxOS42IDRBNSA1IDAgMCAxIDIyIDYuOVoiLz48L3N2Zz4=");
        -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik0yMiA2LjlhNSA1IDAgMCAxLTYuOCA0LjdsLTYuOSA2LjlhMi41IDIuNSAwIDEgMS0zLjUtMy41bDYuOS02LjlBNSA1IDAgMCAxIDE3LjEgMmwtMi40IDIuNC41IDIgMiAuNUwxOS42IDRBNSA1IDAgMCAxIDIyIDYuOVoiLz48L3N2Zz4=");
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li.smb-menu-card--location > a::before {
        background: linear-gradient(135deg, var(--smb-primary) 0%, var(--smb-secondary) 100%);
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li.smb-menu-card--location > a::after {
        mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik0xMiAyYTcgNyAwIDAgMC03IDdjMCA0LjkgNS4xIDEwLjIgNi41IDExLjZhLjcuNyAwIDAgMCAxIDBDMTMuOSAxOS4yIDE5IDEzLjkgMTkgOWE3IDcgMCAwIDAtNy03Wm0wIDkuNUEyLjUgMi41IDAgMSAxIDEyIDZhMi41IDIuNSAwIDAgMSAwIDUuNVoiLz48L3N2Zz4=");
        -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik0xMiAyYTcgNyAwIDAgMC03IDdjMCA0LjkgNS4xIDEwLjIgNi41IDExLjZhLjcuNyAwIDAgMCAxIDBDMTMuOSAxOS4yIDE5IDEzLjkgMTkgOWE3IDcgMCAwIDAtNy03Wm0wIDkuNUEyLjUgMi41IDAgMSAxIDEyIDZhMi41IDIuNSAwIDAgMSAwIDUuNVoiLz48L3N2Zz4=");
    }
    #masthead #primary-menu > li.smb-menu-mega > .sub-menu > li.smb-menu-card--calculator > a::after {
        mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik03IDJoMTBhMyAzIDAgMCAxIDMgM3YxNGEzIDMgMCAwIDEtMyAzSDdhMyAzIDAgMCAxLTMtM1Y1YTMgMyAwIDAgMSAzLTNabTAgM3YzaDEwVjVIN1ptMS41IDZhMS4yNSAxLjI1IDAgMSAwIDAgMi41IDEuMjUgMS4yNSAwIDAgMCAwLTIuNVptNCAwYTEuMjUgMS4yNSAwIDEgMCAwIDIuNSAxLjI1IDEuMjUgMCAwIDAgMC0yLjVabTQgMGExLjI1IDEuMjUgMCAxIDAgMCAyLjUgMS4yNSAxLjI1IDAgMCAwIDAtMi41Wk04LjUgMTVhMS4yNSAxLjI1IDAgMSAwIDAgMi41IDEuMjUgMS4yNSAwIDAgMCAwLTIuNVptNCAwYTEuMjUgMS4yNSAwIDEgMCAwIDIuNSAxLjI1IDEuMjUgMCAwIDAgMC0yLjVabTQgMGExLjI1IDEuMjUgMCAxIDAgMCAyLjUgMS4yNSAxLjI1IDAgMCAwIDAtMi41WiIvPjwvc3ZnPg==");
        -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iYmxhY2siIGQ9Ik03IDJoMTBhMyAzIDAgMCAxIDMgM3YxNGEzIDMgMCAwIDEtMyAzSDdhMyAzIDAgMCAxLTMtM1Y1YTMgMyAwIDAgMSAzLTNabTAgM3YzaDEwVjVIN1ptMS41IDZhMS4yNSAxLjI1IDAgMSAwIDAgMi41IDEuMjUgMS4yNSAwIDAgMCAwLTIuNVptNCAwYTEuMjUgMS4yNSAwIDEgMCAwIDIuNSAxLjI1IDEuMjUgMCAwIDAgMC0yLjVabTQgMGExLjI1IDEuMjUgMCAxIDAgMCAyLjUgMS4yNSAxLjI1IDAgMCAwIDAtMi41Wk04LjUgMTVhMS4yNSAxLjI1IDAgMSAwIDAgMi41IDEuMjUgMS4yNSAwIDAgMCAwLTIuNVptNCAwYTEuMjUgMS4yNSAwIDEgMCAwIDIuNSAxLjI1IDEuMjUgMCAwIDAgMC0yLjVabTQgMGExLjI1IDEuMjUgMCAxIDAgMCAyLjUgMS4yNSAxLjI1IDAgMCAwIDAtMi41WiIvPjwvc3ZnPg==");
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */

.smb-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all .3s ease;
}

/* ─── Top Bar ──────────────────────────────────────────────────────────────── */

.smb-topbar {
    background: var(--smb-dark);
    color: rgba(255,255,255,.85);
    font-size: 13px; height: var(--smb-topbar-height);
    display: flex; align-items: center;
}
.smb-topbar .smb-container {
    display: flex; justify-content: space-between; align-items: center;
}
.smb-topbar__left, .smb-topbar__right {
    display: flex; align-items: center; gap: 20px;
}
.smb-topbar__item {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.85); text-decoration: none;
}
a.smb-topbar__item:hover { color: var(--smb-secondary); }
.smb-topbar svg { flex-shrink: 0; }

/* ─── Navbar ───────────────────────────────────────────────────────────────── */

.smb-navbar {
    height: var(--smb-header-height);
    display: flex; align-items: center;
    background: var(--smb-primary);
    transition: background .3s, box-shadow .3s;
}
.smb-navbar .smb-container {
    display: flex; align-items: center; justify-content: space-between;
}

/* Transparent header on homepage (before scroll) */
.smb-transparent-header .smb-navbar { background: transparent; }
.smb-transparent-header.smb-scrolled .smb-navbar {
    background: var(--smb-primary);
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

/* Non-homepage: always solid */
body:not(.smb-transparent-header).smb-scrolled .smb-navbar {
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

/* ─── Logo ─────────────────────────────────────────────────────────────────── */

.smb-logo {
    display: flex; align-items: center;
    text-decoration: none; color: var(--smb-white);
    flex-shrink: 0; margin-right: 40px;
}
.smb-logo:hover { color: var(--smb-white); opacity: .9; }
.smb-logo__text {
    font-size: 22px; font-weight: 800;
    letter-spacing: -.5px; white-space: nowrap;
}
.smb-logo__img { height: 44px; width: auto; }

/* ─── Desktop Navigation ──────────────────────────────────────────────────── */

.smb-nav { display: flex; align-items: center; flex: 1; }
.smb-nav__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center; gap: 4px;
}
.smb-nav__list li { position: relative; }
.smb-nav__list li a {
    display: block;
    padding: 10px 16px;
    color: rgba(255,255,255,.9);
    font-size: 15px; font-weight: 500;
    white-space: nowrap;
    border-radius: 6px;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.smb-nav__list li a:hover,
.smb-nav__list li.current-menu-item > a,
.smb-nav__list li.current_page_item > a {
    background: rgba(255,255,255,.12);
    color: var(--smb-white);
}

/* ─── Dropdown Submenu ─────────────────────────────────────────────────────── */

.smb-nav__list li ul.sub-menu {
    position: absolute; top: 100%; left: 0;
    list-style: none; margin: 0; padding: 8px 0;
    min-width: 220px;
    background: var(--smb-white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
    z-index: 100;
}
.smb-nav__list li:hover > ul.sub-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.smb-nav__list li ul.sub-menu li a {
    color: var(--smb-text);
    padding: 10px 20px;
    font-size: 14px; border-radius: 0;
}
.smb-nav__list li ul.sub-menu li a:hover {
    background: var(--smb-light);
    color: var(--smb-primary);
}

/* ─── Header Actions ───────────────────────────────────────────────────────── */

.smb-header__actions {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0; margin-left: 20px;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */

.smb-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; border: none;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}

.smb-btn--cta {
    background: var(--smb-secondary);
    color: var(--smb-white);
}
.smb-btn--cta:hover {
    background: var(--smb-secondary-dark);
    color: var(--smb-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.smb-btn--phone {
    background: rgba(255,255,255,.12);
    color: var(--smb-white);
    border: 1px solid rgba(255,255,255,.25);
}
.smb-btn--phone:hover {
    background: rgba(255,255,255,.2);
    color: var(--smb-white);
}
.smb-btn--phone svg { flex-shrink: 0; }

/* Large CTA buttons (footer band) */
.smb-btn--cta-large {
    background: var(--smb-secondary);
    color: var(--smb-white);
    padding: 16px 36px;
    font-size: 17px; border-radius: 10px;
}
.smb-btn--cta-large:hover {
    background: var(--smb-secondary-dark);
    color: var(--smb-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.smb-btn--phone-large {
    background: var(--smb-white);
    color: var(--smb-primary);
    padding: 16px 36px;
    font-size: 17px; border-radius: 10px;
}
.smb-btn--phone-large:hover {
    background: var(--smb-light);
    color: var(--smb-primary-dark);
}

/* ─── Mobile Toggle ────────────────────────────────────────────────────────── */

.smb-toggle {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
    padding: 0;
}
.smb-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--smb-white);
    border-radius: 2px;
    transition: all .3s ease;
}
/* Animated to X when open */
.smb-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.smb-toggle.active span:nth-child(2) { opacity: 0; }
.smb-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Menu ──────────────────────────────────────────────────────────── */

.smb-mobile-menu {
    position: fixed;
    top: var(--smb-header-height);
    left: 0; right: 0; bottom: 0;
    background: var(--smb-dark);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 999;
}
body.smb-has-topbar .smb-mobile-menu {
    top: calc(var(--smb-header-height) + var(--smb-topbar-height));
}
.smb-mobile-menu.active { transform: translateX(0); }

.smb-mobile-menu__nav { padding: 20px 0; }
.smb-mobile-menu__list {
    list-style: none; margin: 0; padding: 0;
}
.smb-mobile-menu__list li a {
    display: block;
    padding: 14px 24px;
    color: rgba(255,255,255,.9);
    font-size: 17px; font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.06);
    text-decoration: none;
}
.smb-mobile-menu__list li a:hover,
.smb-mobile-menu__list li.current-menu-item > a {
    background: rgba(255,255,255,.06);
    color: var(--smb-secondary);
}
.smb-mobile-menu__list li ul.sub-menu {
    list-style: none; padding: 0; margin: 0;
}
.smb-mobile-menu__list li ul.sub-menu li a {
    padding-left: 44px; font-size: 15px;
    color: rgba(255,255,255,.7);
}

.smb-mobile-menu__actions {
    padding: 20px 24px;
    display: flex; flex-direction: column; gap: 12px;
}
.smb-btn--phone-mobile {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: rgba(255,255,255,.1);
    color: var(--smb-white);
    padding: 16px; border-radius: 10px;
    font-size: 16px; font-weight: 600;
    text-decoration: none;
}
.smb-btn--cta-mobile {
    display: block; text-align: center;
    background: var(--smb-secondary);
    color: var(--smb-white);
    padding: 16px; border-radius: 10px;
    font-size: 16px; font-weight: 600;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════════════════════ */

.smb-main { min-height: 50vh; }

/* Allow fullwidth sections to break out of container */
.smb-page__content { overflow: visible; }
.smb-page__content > * {
    max-width: 100vw;
}
.smb-page:not(.smb-page--dynamic) .entry-content > div[style*="width:100vw"] > div[style*="max-width:1100px"],
.smb-page:not(.smb-page--dynamic) .entry-content > div[style*="width:100vw"] > div[style*="max-width:1200px"] {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(16px, 5vw, 24px) !important;
    padding-right: clamp(16px, 5vw, 24px) !important;
}
.smb-page:not(.smb-page--dynamic) .entry-content > div[style*="width:100vw"] > div > div[style*="text-align:center"] > p[style*="max-width:580px"],
.smb-page:not(.smb-page--dynamic) .entry-content > div[style*="width:100vw"] > div > div[style*="text-align:center"] > p[style*="max-width:600px"],
.smb-page:not(.smb-page--dynamic) .entry-content > div[style*="width:100vw"] > div > div[style*="text-align:center"] > p[style*="max-width:620px"] {
    max-width: 700px !important;
}
.smb-page:not(.smb-page--dynamic) .entry-content > div[style*="width:100vw"] > div[style*="max-width:1200px"] > div[style*="max-width:760px"],
.smb-page:not(.smb-page--dynamic) .entry-content > div[style*="width:100vw"] > div[style*="max-width:1200px"] > div[style*="max-width:820px"],
.smb-page:not(.smb-page--dynamic) .entry-content > div[style*="width:100vw"] > div[style*="max-width:1200px"] > div[style*="max-width:860px"] {
    max-width: min(960px, 100%) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DYNAMIC PAGE TEMPLATES
   ═══════════════════════════════════════════════════════════════════════════════ */

.smb-page--dynamic .smb-page__content {
    overflow: hidden;
}

.smb-dyn-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 56px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, var(--smb-primary) 48%, var(--smb-secondary) 100%);
    color: var(--smb-white);
}

.smb-dyn-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -34% auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    filter: blur(4px);
}

.smb-dyn-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .82fr);
    gap: 28px;
    align-items: end;
}

.smb-dyn-eyebrow,
.smb-dyn-section__eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.smb-dyn-eyebrow {
    color: rgba(255,255,255,.7);
}

.smb-dyn-hero__title {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.04;
    color: var(--smb-white);
    letter-spacing: -.03em;
}

.smb-dyn-hero__lead {
    margin: 18px 0 0;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.82;
    color: rgba(255,255,255,.88);
}

.smb-dyn-hero__copy {
    max-width: 720px;
}

.smb-dyn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.smb-dyn-btn {
    min-height: 50px;
    padding: 0 24px;
    font-size: 15px;
}

.smb-dyn-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.smb-dyn-fact {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 600;
}

.smb-dyn-hero__panel {
    padding: 26px 24px;
    border-radius: 24px;
    background: rgba(12, 18, 30, .72);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 60px rgba(15,23,42,.28);
    backdrop-filter: blur(12px);
}

.smb-dyn-hero__panel-title,
.smb-dyn-proof__title {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.smb-dyn-hero__panel-title {
    color: rgba(255,255,255,.78);
}

.smb-dyn-section {
    padding: 72px 0;
}

.smb-dyn-section--alt {
    background: #f8fafc;
}

.smb-dyn-section--soft {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.smb-dyn-split,
.smb-dyn-proof {
    display: grid;
    grid-template-columns: minmax(300px, .96fr) minmax(0, 1.04fr);
    gap: clamp(28px, 3vw, 40px);
    align-items: start;
}

.smb-dyn-intro-grid {
    display: grid;
    grid-template-columns: minmax(300px, .96fr) minmax(0, 1.04fr);
    gap: clamp(28px, 3vw, 40px);
    align-items: start;
}

.smb-dyn-intro-rail {
    display: grid;
    gap: 18px;
    align-content: start;
}

.smb-dyn-section__intro {
    margin-bottom: 32px;
    max-width: 760px;
}

.smb-dyn-section__heading {
    max-width: 420px;
}

.smb-dyn-section__eyebrow {
    color: var(--smb-primary);
}

.smb-dyn-section__title {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.smb-dyn-section__text,
.smb-dyn-prose p,
.smb-dyn-faq__answer p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.82;
    color: #475569;
}

.smb-dyn-prose,
.smb-dyn-proof__copy {
    max-width: 760px;
}

.smb-dyn-prose--wide {
    max-width: 100%;
    margin-top: 26px;
}

.smb-dyn-intro-panel {
    padding: 26px 24px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,.92) 0%, rgba(248,250,252,.84) 100%);
    box-shadow: 0 18px 42px rgba(15,23,42,.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.smb-dyn-intro-panel__title {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--smb-primary);
}

.smb-dyn-intro-panel .smb-dyn-list--checks li {
    color: #475569;
}

.smb-dyn-prose p:last-child,
.smb-dyn-faq__answer p:last-child {
    margin-bottom: 0;
}

.smb-dyn-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.smb-dyn-card {
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 20px;
    background: rgba(255,255,255,.8);
    box-shadow: 0 18px 42px rgba(15,23,42,.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.smb-dyn-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    background: rgba(26,86,219,.08);
    color: var(--smb-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 18px;
}

.smb-dyn-card__title {
    margin: 0 0 12px;
    font-size: 21px;
}

.smb-dyn-card__text {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.smb-dyn-proof {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
}

.smb-dyn-proof__aside {
    padding: 28px 26px;
    border-radius: 24px;
    background: #0f172a;
    color: var(--smb-white);
    box-shadow: 0 28px 55px rgba(15,23,42,.18);
}

.smb-dyn-proof__title {
    color: rgba(255,255,255,.82);
}

.smb-dyn-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.smb-dyn-list--checks {
    display: grid;
    gap: 12px;
}

.smb-dyn-list--checks li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.7;
}

.smb-dyn-list--checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--smb-secondary);
    font-weight: 800;
}

.smb-dyn-faq {
    display: grid;
    gap: 14px;
}

.smb-dyn-faq__item {
    padding: 0 22px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 12px 30px rgba(15,23,42,.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.smb-dyn-faq__item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 22px 34px 22px 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    color: #111827;
}

.smb-dyn-faq__item summary::-webkit-details-marker {
    display: none;
}

.smb-dyn-faq__item summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 0;
    color: var(--smb-primary);
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
}

.smb-dyn-faq__item[open] summary::after {
    content: "−";
}

.smb-dyn-faq__answer {
    padding: 0 0 22px;
}

.smb-dyn-post-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 56px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #142542 42%, var(--smb-primary) 68%, var(--smb-secondary) 100%);
    color: var(--smb-white);
}

.smb-dyn-post-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(360px, 1.02fr);
    gap: 42px;
    align-items: stretch;
}

.smb-dyn-post-hero__title {
    margin: 0;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.04;
    letter-spacing: -.03em;
    color: var(--smb-white);
}

.smb-dyn-post-hero__lead {
    margin: 18px 0 0;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.82;
    color: rgba(255,255,255,.88);
}

.smb-dyn-post-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.smb-dyn-post-hero__media {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    box-shadow: 0 34px 70px rgba(15,23,42,.32);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.smb-dyn-post-hero__image {
    display: block;
    width: 100%;
    min-height: 420px;
    height: 100%;
    object-fit: cover;
}

.smb-dyn-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.smb-dyn-post__meta--stacked {
    margin-top: 0;
}

.smb-dyn-post__meta-item {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 700;
}

.smb-dyn-post__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(250px, .52fr);
    gap: 24px;
    align-items: start;
}

.smb-dyn-post__main {
    display: grid;
    gap: 24px;
}

.smb-dyn-post__content-shell {
    padding: 34px 34px 18px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 28px;
    background: rgba(255,255,255,.84);
    box-shadow: 0 20px 46px rgba(15,23,42,.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.smb-dyn-post__content-shell > * + * {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(226,232,240,.88);
}

.smb-dyn-post__intro,
.smb-dyn-post__section {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.smb-dyn-post__section-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.12;
    letter-spacing: -.02em;
    color: #111827;
}

.smb-dyn-post__main p {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.82;
    color: #475569;
}

.smb-dyn-post__main p:last-child {
    margin-bottom: 0;
}

.smb-dyn-post__aside {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
    width: 100%;
    max-width: 340px;
    justify-self: end;
}

.smb-dyn-post__aside-card {
    padding: 24px;
    border-radius: 22px;
    background: #0f172a;
    color: var(--smb-white);
    box-shadow: 0 28px 60px rgba(15,23,42,.18);
}

.smb-dyn-post__aside-card--meta {
    background: linear-gradient(135deg, #13233f 0%, #1b3a68 100%);
}

.smb-dyn-post__aside-card--light {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 42px rgba(15,23,42,.06);
}

.smb-dyn-post__aside-card .smb-dyn-list--checks li {
    color: rgba(255,255,255,.86);
}

.smb-dyn-post__aside-card--light .smb-dyn-proof__title {
    color: var(--smb-primary);
}

.smb-dyn-post__aside-card--light .smb-dyn-list--checks li {
    color: #475569;
}

.smb-dyn-cta {
    position: relative;
    overflow: hidden;
    padding: 36px 32px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--smb-primary) 0%, var(--smb-secondary) 100%);
    box-shadow: 0 26px 56px rgba(15,23,42,.16);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.smb-dyn-cta::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -10%;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    filter: blur(8px);
    pointer-events: none;
}

.smb-dyn-cta > * {
    position: relative;
    z-index: 1;
}

.smb-dyn-cta--default {
    max-width: 960px;
    margin: 0 auto;
}

.smb-dyn-cta--centered {
    max-width: 860px;
    margin: 0 auto;
}

.smb-dyn-cta--centered .smb-dyn-cta__text {
    max-width: 640px;
}

.smb-dyn-cta__title {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    color: var(--smb-white);
}

.smb-dyn-cta__text {
    margin: 0 auto;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.9);
}

.smb-dyn-cta__actions {
    margin-top: 26px;
    justify-content: center;
}

.smb-dyn-related-stack {
    display: grid;
    gap: 22px;
}

.smb-dyn-related {
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    background: linear-gradient(135deg, rgba(255,255,255,.9) 0%, rgba(248,250,252,.8) 100%);
    box-shadow: 0 22px 46px rgba(15,23,42,.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.smb-dyn-related__header {
    margin-bottom: 18px;
    max-width: 760px;
}

.smb-dyn-related__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--smb-primary);
}

.smb-dyn-related__title {
    margin: 0 0 10px;
    font-family: var(--smb-display-font, var(--smb-font));
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #111827;
}

.smb-dyn-related__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #475569;
}

.smb-dyn-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.smb-dyn-related-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.smb-dyn-related-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 24px 22px;
    border-radius: 22px;
    border: 1px solid rgba(203, 213, 225, 0.92);
    background: rgba(255,255,255,.82);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(15,23,42,.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.smb-dyn-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(15,23,42,.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.smb-dyn-related-card__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    width: max-content;
    background: rgba(26,86,219,.08);
    color: var(--smb-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.smb-dyn-related-card__title {
    margin: 0;
    font-family: var(--smb-display-font, var(--smb-font));
    font-size: 24px;
    line-height: 1.16;
    letter-spacing: -.02em;
    color: #111827;
}

.smb-dyn-related-card__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    color: #475569;
}

.smb-dyn-related-card__cta {
    margin-top: auto;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--smb-secondary);
}

.smb-dyn-related-card.is-current {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(26,86,219,.94) 0%, rgba(234,88,12,.92) 100%);
    color: #ffffff;
    box-shadow: 0 24px 42px rgba(15,23,42,.14);
}

.smb-dyn-related-card.is-current .smb-dyn-related-card__eyebrow,
.smb-dyn-related-card.is-current .smb-dyn-related-card__title,
.smb-dyn-related-card.is-current .smb-dyn-related-card__text,
.smb-dyn-related-card.is-current .smb-dyn-related-card__cta {
    color: #ffffff;
}

.smb-dyn-related-card.is-current .smb-dyn-related-card__eyebrow {
    background: rgba(255,255,255,.16);
}

.smb-dyn-related-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    background: rgba(255,255,255,.9);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(15,23,42,.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.smb-dyn-related-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15,23,42,.08);
    border-color: rgba(37, 99, 235, 0.22);
    color: var(--smb-primary);
}

.smb-dyn-related-pill__label {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.smb-dyn-related-pill__meta {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(26,86,219,.08);
    color: var(--smb-secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.smb-dyn-related-pill.is-current {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(26,86,219,.94) 0%, rgba(234,88,12,.92) 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(15,23,42,.12);
}

.smb-dyn-related-pill.is-current .smb-dyn-related-pill__meta {
    background: rgba(255,255,255,.16);
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */

.smb-footer {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 32%),
        linear-gradient(180deg, #0b1526 0%, #111827 100%);
    color: rgba(255,255,255,.82);
}

.smb-footer__lead {
    padding: 0 0 24px;
    transform: translateY(-48px);
    margin-bottom: -24px;
}

.smb-footer__lead-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--smb-primary) 0%, var(--smb-secondary) 100%);
    box-shadow: 0 24px 60px rgba(15,23,42,.28);
}

.smb-footer__lead-copy {
    max-width: 720px;
}

.smb-footer__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
}

.smb-footer__lead-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    color: var(--smb-white);
}

.smb-footer__lead-copy p {
    margin: 0;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,.9);
}

.smb-footer__lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.smb-footer__main {
    padding: 48px 0 48px;
}

.smb-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 0.95fr) minmax(0, 1.45fr);
    gap: 34px;
}

.smb-footer__col--business {
    padding-right: 6px;
}

.smb-footer__business-name {
    margin: 0 0 16px;
    color: var(--smb-white);
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.smb-footer__logo-wrap {
    margin-bottom: 18px;
}

.smb-footer__logo img,
.smb-footer__logo-image {
    display: block;
    max-width: 220px;
    max-height: 64px;
    width: auto;
    height: auto;
}

.smb-footer__brand {
    display: inline-block;
    color: var(--smb-white);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.smb-footer__brand--with-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.smb-footer__brand-mark {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: block;
    border-radius: 16px;
}

.smb-footer__brand:hover { color: var(--smb-white); }

.smb-footer__tagline {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.76);
    margin: 0 0 20px;
}

.smb-footer__brand-copy {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.74);
}

.smb-footer__badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-weight: 700;
}

.smb-footer__col h3 {
    color: var(--smb-white);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

/* Footer links */
.smb-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.smb-footer__links li a {
    color: rgba(255,255,255,.74);
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
}
.smb-footer__links li a:hover { color: var(--smb-secondary); }

/* Footer hours */
.smb-footer__hours {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.smb-footer__hours li {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.76);
}

.smb-footer__hours-note {
    margin-top: 6px;
    padding: 10px 14px;
    background: rgba(234,88,12,.15);
    border: 1px solid rgba(234,88,12,.3);
    border-radius: 6px;
    color: #ffcfad !important;
    font-weight: 700;
}

/* Footer contact */
.smb-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.smb-footer__contact--stacked {
    gap: 14px;
}
.smb-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,.76);
}
.smb-footer__contact li a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}
.smb-footer__contact li a:hover { color: var(--smb-secondary); }
.smb-footer__contact svg {
    flex-shrink: 0;
    opacity: .7;
    margin-top: 4px;
}

.smb-footer__hours-block {
    align-items: flex-start;
}

.smb-footer__hours-lines {
    display: grid;
    gap: 5px;
}

.smb-footer__hours-lines span {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,.76);
}

.smb-footer__col--map {
    align-self: start;
}

.smb-footer__map-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 16px 32px rgba(0,0,0,.2);
    background: rgba(255,255,255,.06);
}

.smb-footer__map-wrap iframe {
    width: 100%;
    height: 268px;
    border: 0;
    display: block;
}

.smb-footer__map-link {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.smb-footer__map-link:hover {
    color: var(--smb-white);
    border-color: rgba(255,255,255,.4);
}

.smb-footer__map-empty {
    margin: 0;
    padding: 14px 16px;
    border: 1px dashed rgba(255,255,255,.2);
    border-radius: 10px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.6;
}

/* Bottom bar */
.smb-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0 28px;
}
.smb-footer__bottom .smb-container {
    display: flex; justify-content: space-between; align-items: center;
}
.smb-footer__bottom p {
    margin: 0; font-size: 13px; opacity: .6;
}
.smb-footer__legal {
    display: flex; gap: 20px;
}
.smb-footer__legal a {
    color: rgba(255,255,255,.5);
    font-size: 13px;
    text-decoration: none;
}
.smb-footer__legal a:hover { color: rgba(255,255,255,.8); }

.smb-floating-call {
    position: fixed;
    right: 24px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 18px 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--smb-secondary) 0%, var(--smb-primary) 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 24px 48px rgba(15,23,42,.22);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .2s ease, box-shadow .2s ease;
}

.smb-floating-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 56px rgba(15,23,42,.28);
    color: #ffffff;
}

.smb-floating-call__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
}

.smb-floating-call__icon svg {
    width: 18px;
    height: 18px;
}

.smb-floating-call__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.smb-floating-call__eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
    line-height: 1;
}

.smb-floating-call__number {
    font-family: var(--smb-display-font, var(--smb-font));
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.1;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG / ARCHIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

.smb-archive { padding: 60px 0; }
.smb-archive__header { margin-bottom: 40px; }
.smb-archive__title { font-size: 36px; color: var(--smb-dark); }

.smb-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.smb-card {
    background: var(--smb-surface);
    border: 1px solid var(--smb-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(15,23,42,.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .2s, box-shadow .2s;
}
.smb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
}
.smb-card__thumb { display: block; overflow: hidden; }
.smb-card__img {
    width: 100%; height: 220px;
    object-fit: cover;
    transition: transform .3s;
}
.smb-card:hover .smb-card__img { transform: scale(1.05); }
.smb-card__body { padding: 24px; }
.smb-card__date { font-size: 13px; color: var(--smb-text-muted); }
.smb-card__title {
    margin: 8px 0 12px;
    font-family: var(--smb-display-font, var(--smb-font));
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.smb-card__title a { color: var(--smb-dark); text-decoration: none; }
.smb-card__title a:hover { color: var(--smb-primary); }
.smb-card__excerpt { font-size: 14px; color: var(--smb-text-muted); line-height: 1.6; margin-bottom: 16px; }
.smb-card__read-more { font-size: 14px; font-weight: 600; color: var(--smb-primary); }

.smb-archive__pagination {
    margin-top: 50px; text-align: center;
}
.smb-archive__pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px; margin: 0 4px;
    border-radius: 6px;
    font-size: 14px; color: var(--smb-text);
}
.smb-archive__pagination .page-numbers.current {
    background: var(--smb-primary); color: var(--smb-white);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════════════════════════ */

.smb-single__hero {
    margin-bottom: 40px;
}
.smb-single__featured {
    width: 100%; max-height: 500px;
    object-fit: cover;
}
.smb-single__inner {
    max-width: 800px; margin: 0 auto;
    padding: 40px 0 80px;
}
.smb-single__header { margin-bottom: 40px; }
.smb-single__title { font-size: 40px; line-height: 1.15; margin-bottom: 16px; }
.smb-single__meta {
    font-size: 14px; color: #9ca3af;
    display: flex; gap: 16px;
}
.smb-single__content { font-size: 17px; line-height: 1.8; }
.smb-single__content h2 { font-size: 28px; margin: 40px 0 16px; }
.smb-single__content h3 { font-size: 22px; margin: 32px 0 12px; }
.smb-single__content p { margin-bottom: 20px; }
.smb-single__content img { border-radius: 8px; margin: 24px 0; }
.smb-single__content ul, .smb-single__content ol { margin: 16px 0; padding-left: 28px; }
.smb-single__content li { margin-bottom: 8px; }

.smb-single__nav {
    display: flex; justify-content: space-between;
    margin-top: 60px; padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}
.smb-single__nav-link {
    font-size: 14px; font-weight: 600;
    color: var(--smb-primary);
    max-width: 45%;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════════════════════════════════════ */

.smb-404 {
    text-align: center;
    padding: 100px 20px;
}
.smb-404 h1 {
    font-size: 120px; font-weight: 800;
    color: var(--smb-primary); opacity: .15;
    margin-bottom: -20px;
}
.smb-404 h2 { font-size: 32px; margin-bottom: 12px; }
.smb-404 p { font-size: 17px; color: #6b7280; margin-bottom: 30px; }
.smb-404__actions { display: flex; justify-content: center; gap: 12px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    #masthead .site-main-header-wrap,
    #masthead .site-main-header-wrap.kadence-sticky-header,
    #masthead .site-main-header-wrap.kadence-sticky-header.item-is-fixed {
        padding: 10px 0;
    }
    #masthead .site-header-row-container-inner {
        margin: 0 14px;
        min-height: 74px;
        padding-left: 18px !important;
        padding-right: 18px !important;
        border-radius: 20px;
    }
    #masthead .site-branding {
        margin-right: 18px;
    }
    .smb-dyn-hero__grid,
    .smb-dyn-intro-grid,
    .smb-dyn-split,
    .smb-dyn-proof,
    .smb-dyn-post-hero__grid,
    .smb-dyn-post__grid {
        grid-template-columns: 1fr;
    }
    .smb-dyn-grid {
        grid-template-columns: 1fr 1fr;
    }
    .smb-dyn-post__aside {
        position: static;
    }
    .smb-dyn-post-hero__image {
        min-height: 360px;
    }
    .smb-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .smb-footer__lead-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .smb-footer__lead-actions {
        justify-content: flex-start;
    }
    .smb-archive__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .smb-single__title { font-size: 32px; }
}

/* Mobile */
@media (max-width: 768px) {
    #masthead .site-header-row-container-inner {
        margin: 0 10px;
        min-height: 64px;
        padding-left: 16px !important;
        padding-right: 16px !important;
        border-radius: 18px;
    }
    #masthead .site-branding {
        margin-right: 12px;
    }
    body.smb-header-has-custom-logo #masthead .site-brand-logo-only .brand:empty {
        min-height: 52px;
        min-width: clamp(126px, 36vw, 176px);
    }
    body.smb-header-has-custom-logo #masthead .site-brand-logo-only .brand:empty::before {
        width: clamp(126px, 36vw, 176px);
        height: 52px;
        flex-basis: clamp(126px, 36vw, 176px);
    }
    #masthead .primary-navigation .menu > li.menu-item-has-children {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #masthead .site-branding .site-title a,
    #masthead .site-branding .brand,
    #masthead .site-branding .brand:visited,
    #masthead .site-branding .custom-logo-link + .site-title a {
        font-size: 20px !important;
    }
    .smb-dyn-hero {
        padding: 74px 0 42px;
    }
    .smb-dyn-post-hero {
        padding: 74px 0 42px;
    }
    .smb-dyn-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .smb-dyn-btn {
        width: 100%;
        justify-content: center;
    }
    .smb-dyn-section {
        padding: 52px 0;
    }
    .smb-dyn-grid {
        grid-template-columns: 1fr;
    }
    .smb-dyn-intro-panel {
        padding: 24px 20px;
        border-radius: 20px;
    }
    .smb-dyn-prose--wide {
        margin-top: 22px;
    }
    .smb-dyn-card,
    .smb-dyn-proof__aside,
    .smb-dyn-hero__panel,
    .smb-dyn-related,
    .smb-dyn-faq__item,
    .smb-dyn-post__content-shell,
    .smb-dyn-post__aside-card,
    .smb-dyn-post__cta {
        border-radius: 18px;
    }
    .smb-dyn-faq__item {
        padding: 0 18px;
    }
    .smb-dyn-faq__item summary {
        font-size: 17px;
        padding-right: 28px;
    }
    /* Show toggle, hide desktop nav + actions */
    .smb-toggle { display: flex; }
    .smb-nav { display: none; }
    .smb-header__actions { display: none; }

    /* Navbar */
    .smb-navbar { height: 64px; }
    .smb-logo__text { font-size: 18px; }
    .smb-logo__img { height: 36px; }

    /* Top bar on mobile */
    .smb-topbar { height: auto; padding: 8px 0; }
    .smb-topbar .smb-container { flex-direction: column; gap: 4px; }
    .smb-topbar__right { display: none; }

    /* Kadence handles header spacing on mobile as well */
    body.smbify-theme,
    body.smb-has-topbar,
    body.smb-transparent-header { padding-top: 0 !important; }

    /* Mobile menu starts below smaller header */
    .smb-mobile-menu { top: 64px; }
    body.smb-has-topbar .smb-mobile-menu { top: calc(64px + 36px); }

    /* Footer */
    .smb-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .smb-footer__lead {
        transform: translateY(-36px);
        margin-bottom: -8px;
    }
    .smb-footer__lead-card {
        padding: 26px 22px;
        border-radius: 18px;
    }
    .smb-footer__lead-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .smb-footer__main { padding: 8px 0 30px; }
    .smb-footer__business-name { font-size: 34px; }
    .smb-footer__map-wrap iframe { height: 220px; }
    .smb-footer__bottom .smb-container {
        flex-direction: column; gap: 12px; text-align: center;
    }

    .smb-btn--cta-large, .smb-btn--phone-large { width: 100%; justify-content: center; }
    .smb-floating-call {
        right: 16px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
        min-height: 54px;
        padding: 0 16px 0 14px;
    }
    .smb-floating-call__eyebrow {
        display: none;
    }
    .smb-floating-call__number {
        font-size: 15px;
    }

    /* Archive */
    .smb-archive__grid { grid-template-columns: 1fr; }
    .smb-archive__title { font-size: 28px; }

    /* Single */
    .smb-single__inner { padding: 24px 0 60px; }
    .smb-single__title { font-size: 26px; }
    .smb-dyn-post-hero__title { font-size: clamp(30px, 11vw, 42px); }
    .smb-dyn-post-hero__image { min-height: 260px; }
    .smb-dyn-post__content-shell,
    .smb-dyn-cta { padding: 24px 20px; }
    .smb-dyn-post__section-title { font-size: 28px; }
    .smb-dyn-related { padding: 24px 20px; }
    .smb-dyn-related-grid { gap: 14px; }
    .smb-dyn-related-card { padding: 20px 18px; border-radius: 18px; }
    .smb-dyn-related-pills { gap: 10px; }
    .smb-dyn-related-pill { width: 100%; }

    /* 404 */
    .smb-404 h1 { font-size: 80px; }
    .smb-404__actions { flex-direction: column; }
}

/* Small phones */
@media (max-width: 480px) {
    .smb-container { padding: 0 16px; }
    .smb-logo__text { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════════════════════ */

@media print {
    .smb-header, .smb-footer, .smb-mobile-menu { display: none; }
    body.smbify-theme { padding-top: 0; }
}
.smb-back-to-top {
    position: fixed;
    right: 24px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 104px);
    z-index: 35;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(11, 29, 46, 0.92);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
}
.smb-back-to-top .smb-back-to-top__icon {
    display: inline-flex;
    transform: rotate(-90deg);
}
.smb-back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .smb-back-to-top {
        right: 16px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 88px);
    }
}
