/* ─────────────────────────────────────────────────────────────────────────────
   Site header — template-parts/sqe2/blocks/header.php, inc/site-header.php,
   assets/js/site-header.js.

   Desktop (≥1200px): one bar — logo · six menu items with badges · Talk to us /
   Sign up — and a full-width mega panel per item. Panels open on hover/focus
   with CSS alone; once site-header.js runs (.sx-js) it takes over with hover
   intent and click/keyboard toggles. Below 1200px the menu is a full-screen
   drawer with accordion sections and a pinned CTA bar.
   ───────────────────────────────────────────────────────────────────────────── */

.sx-header {
    position: sticky;
    top: 0;
    z-index: 99999;
    background: #fff;
    color: var(--sx-ink);
    font-family: var(--second-font, 'Helvetica Neue', Arial, sans-serif) !important;
}

.sx-header *,
.sx-header *::before,
.sx-header *::after { box-sizing: border-box; }

.sx-header .screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

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

.sx-bar {
    position: relative;
    border-bottom: 1px solid var(--sx-line);
    background: inherit;
}

.sx-bar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1360px;
    min-height: var(--sx-bar-h);
    margin: 0 auto;
    padding: 0 24px;
}

.sx-logo { display: flex; align-items: center; flex: 0 0 auto; }
.sx-logo img { display: block; width: auto; height: 40px; max-width: 170px; }

/* ── Desktop nav ─────────────────────────────────────────────────────────── */

.sx-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }

.sx-nav__list {
    display: flex;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sx-nav__item {
    position: static;
    display: flex;
    align-items: center;
    margin: 0;
}

.sx-nav__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 26px 4px 8px 12px;
    border-radius: 12px;
    color: inherit !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.15;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .2s ease;
}

.sx-nav__label { position: relative; }

.sx-nav__label::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -5px;
    height: 2px;
    border-radius: 2px;
    background: var(--sx-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--sx-ease);
}

.sx-nav__item:hover .sx-nav__label::after,
.sx-nav__item.is-open .sx-nav__label::after,
.sx-nav__item.is-current .sx-nav__label::after { transform: scaleX(1); }

.sx-badge {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--sx-badge-bg);
    color: var(--sx-brand);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
}

/* In the bar the badge floats above the label, so a long badge never pushes
   the chevron away from a short label ("SOS!"). */
.sx-nav__link .sx-badge { position: absolute; top: 5px; left: 12px; }

.sx-nav__toggle {
    display: inline-grid;
    place-items: center;
    align-self: flex-end;
    width: 24px;
    height: 24px;
    margin: 0 6px 8px 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--sx-muted);
    cursor: pointer;
    transition: transform .25s var(--sx-ease), color .2s ease, background-color .2s ease;
}

.sx-nav__toggle:hover { background: var(--sx-soft); color: var(--sx-ink); }
.sx-nav__item.is-open .sx-nav__toggle { transform: rotate(180deg); color: var(--sx-brand); }

/* ── Mega panel ──────────────────────────────────────────────────────────── */

.sx-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 2;
    padding: 10px 24px 24px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .28s var(--sx-ease), visibility 0s linear .28s;
    pointer-events: none;
}

/* CSS-only behaviour until the script is running. */
.sx-header:not(.sx-js) .sx-nav__item:hover > .sx-panel,
.sx-header:not(.sx-js) .sx-nav__item:focus-within > .sx-panel,
.sx-nav__item.is-open > .sx-panel {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: opacity .2s ease, transform .28s var(--sx-ease), visibility 0s;
}

.sx-panel__card {
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-radius);
    background: #fff;
    box-shadow: 0 30px 70px -20px rgba(35, 28, 80, .22), 0 2px 6px rgba(35, 28, 80, .05);
    color: var(--sx-ink);
}

.sx-panel__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px; }
.sx-panel__body.has-features { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }

.sx-panel__eyebrow {
    margin: 0 0 10px 12px;
    color: var(--sx-muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sx-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sx-panel__grid > li,
.sx-panel__features > li { margin: 0; }

.sx-panel__aside {
    padding: 18px 16px;
    border-radius: 14px;
    background: linear-gradient(160deg, var(--sx-tint) 0%, #e7ecf8 100%);
}

.sx-panel__features { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.sx-panel__foot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border-top: 1px solid var(--sx-line);
    background: #fbfbfe;
    font-size: 14.5px;
    color: var(--sx-muted);
}

.sx-panel__foot strong { color: var(--sx-ink); }
.sx-panel__foot-icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--sx-badge-bg); color: var(--sx-brand); }
.sx-panel__foot-text { flex: 1 1 auto; }

/* Panel items */
.sx-item,
.sx-feature,
.sx-ditem {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 11px 12px;
    border-radius: 12px;
    color: inherit !important;
    text-decoration: none !important;
    transition: background-color .18s ease;
}

a.sx-item:hover,
a.sx-item:focus-visible,
a.sx-ditem:hover { background: var(--sx-soft); }

.sx-item__icon,
.sx-feature__icon,
.sx-ditem__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--sx-line);
    border-radius: 11px;
    background: #fff;
    color: var(--sx-brand);
    transition: border-color .18s ease, transform .25s var(--sx-ease);
}

a.sx-item:hover .sx-item__icon { border-color: var(--sx-brand); transform: translateY(-1px); }

.sx-item__text,
.sx-feature__text,
.sx-ditem__text { display: grid; gap: 3px; min-width: 0; }

.sx-item__title,
.sx-feature__title,
.sx-ditem__title { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--sx-ink); }

.sx-item__desc,
.sx-feature__desc,
.sx-ditem__desc { font-size: 13.5px; line-height: 1.45; color: var(--sx-muted); }

.sx-feature {
    padding: 14px;
    border: 1px solid rgba(101, 88, 153, .14);
    background: #fff;
    box-shadow: 0 6px 18px -10px rgba(35, 28, 80, .25);
    transition: transform .25s var(--sx-ease), box-shadow .25s ease;
}

a.sx-feature:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(35, 28, 80, .35); }
.sx-feature__title::after { content: ' →'; color: var(--sx-brand); }
.sx-feature.is-soon .sx-feature__title::after { content: ''; }

.sx-item.is-soon,
.sx-feature.is-soon,
.sx-ditem.is-soon { cursor: default; opacity: .78; }

.sx-soon {
    display: inline-flex;
    align-items: center;
    height: 18px;
    margin-left: 6px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--sx-soon-bg);
    color: var(--sx-soon-ink);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    vertical-align: 2px;
}

/* ── Buttons (.sx-btn components live in sx-system.css) ─────────────────── */

.sx-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.sx-header :is(a, button):focus-visible { outline: 2px solid var(--sx-brand); outline-offset: 2px; }

/* ── Burger ──────────────────────────────────────────────────────────────── */

.sx-burger {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1.5px solid var(--sx-line);
    border-radius: 12px;
    background: #fff;
    color: var(--sx-ink);
    cursor: pointer;
}

.sx-burger__lines { position: relative; display: block; width: 18px; height: 12px; }

.sx-burger__lines i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--sx-ease), opacity .2s ease, top .3s var(--sx-ease);
}

.sx-burger__lines i:nth-child(1) { top: 0; }
.sx-burger__lines i:nth-child(2) { top: 5px; }
.sx-burger__lines i:nth-child(3) { top: 10px; }
.sx-header.is-drawer-open .sx-burger__lines i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.sx-header.is-drawer-open .sx-burger__lines i:nth-child(2) { opacity: 0; }
.sx-header.is-drawer-open .sx-burger__lines i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ── Scrim behind open panels (desktop) ──────────────────────────────────── */

.sx-scrim {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(28, 24, 48, .16);
    animation: sx-fade .2s ease both;
}

/* Narrow desktops: keep six items and Sign up on one line. */
@media (min-width: 1200px) and (max-width: 1359px) {
    .sx-bar__inner { gap: 16px; padding: 0 20px; }
    .sx-nav__link { padding-left: 9px; font-size: 14.5px; }
    .sx-nav__link .sx-badge { left: 9px; }
    .sx-nav__toggle { margin-right: 2px; }
    .sx-logo img { max-width: 150px; }
}

/* ── Drawer (mobile / tablet) ────────────────────────────────────────────── */

.sx-drawer { display: none; }

@media (max-width: 1199px) {
    .sx-nav, .sx-actions { display: none; }
    .sx-burger { display: inline-grid; }
    .sx-bar__inner { min-height: 64px; padding: 0 16px; }

    .sx-drawer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: var(--sx-drawer-top, 64px);
        z-index: 3;
        display: flex;
        flex-direction: column;
        background: #fff;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity .22s ease, transform .3s var(--sx-ease), visibility 0s linear .3s;
    }

    .sx-header.is-drawer-open .sx-drawer {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity .22s ease, transform .3s var(--sx-ease), visibility 0s;
    }

    .sx-drawer__scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 24px; }
    .sx-drawer__list { margin: 0; padding: 0; list-style: none; }
    .sx-drawer__section { margin: 0; border-bottom: 1px solid var(--sx-line); }

    .sx-drawer__head {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 60px;
        padding: 12px 4px;
        border: 0;
        background: none;
        color: var(--sx-ink) !important;
        font-family: inherit;
        font-size: 18px;
        font-weight: 600;
        text-align: left;
        text-decoration: none !important;
        cursor: pointer;
    }

    .sx-drawer__label { flex: 0 1 auto; }
    .sx-drawer__chev { margin-left: auto; color: var(--sx-muted); transition: transform .3s var(--sx-ease); }
    .sx-drawer__head[aria-expanded="true"] .sx-drawer__chev { transform: rotate(180deg); color: var(--sx-brand); }

    .sx-drawer__body {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows .32s var(--sx-ease);
    }

    .sx-drawer__head[aria-expanded="true"] + .sx-drawer__body { grid-template-rows: 1fr; }
    .sx-drawer__items { min-height: 0; overflow: hidden; margin: 0; padding: 0; list-style: none; }
    .sx-drawer__head[aria-expanded="true"] + .sx-drawer__body .sx-drawer__items { padding-bottom: 14px; }
    .sx-drawer__items > li { margin: 0; }

    .sx-drawer__overview {
        display: block;
        margin: 0 0 4px;
        padding: 10px 12px;
        border-radius: 12px;
        background: var(--sx-soft);
        color: var(--sx-brand) !important;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none !important;
    }

    .sx-ditem { padding: 10px 8px; gap: 12px; }
    .sx-ditem__icon { width: 36px; height: 36px; border-radius: 10px; }
    .sx-ditem__desc { font-size: 13px; }

    .sx-drawer__cta {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--sx-line);
        background: #fff;
        box-shadow: 0 -10px 24px -18px rgba(35, 28, 80, .35);
    }

    .sx-drawer__cta .sx-btn { width: 100%; height: 48px; min-width: 0; }
    .sx-drawer__cta .sx-btn--two { height: auto; min-height: 48px; padding-left: 16px; }
    .sx-drawer__cta .sx-btn--two .sx-btn__text { white-space: normal; }
    .sx-scrim { display: none; }
}

@media (max-width: 420px) {
    .sx-logo img { height: 34px; max-width: 140px; }
}

/* ── Dark header variant (ACF "dark_header") ─────────────────────────────── */

.sx-header.dark { background: var(--body-text, #232323); color: #fff; }
.sx-header.dark .sx-bar { border-bottom-color: rgba(255, 255, 255, .12); }
.sx-header.dark .sx-nav__toggle { color: rgba(255, 255, 255, .7); }
.sx-header.dark .sx-nav__toggle:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sx-header.dark .sx-nav__label::after { background: var(--main-lime, #cbdc2c); }
.sx-header.dark .sx-btn--ghost { border-color: rgba(255, 255, 255, .35); background: transparent; color: #fff !important; }
.sx-header.dark .sx-btn--ghost:hover { border-color: #fff; }
.sx-header.dark .sx-burger { border-color: rgba(255, 255, 255, .25); background: transparent; color: #fff; }
.sx-header.dark .sx-panel__card .sx-btn--ghost { border-color: #d7d9e6; background: #fff; color: var(--sx-ink) !important; }

/* ── "Talk to us" dialog ─────────────────────────────────────────────────── */

html.sx-lock { overflow: hidden; }

.sx-talk {
    width: min(560px, calc(100% - 24px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #fff;
    color: var(--sx-ink);
    box-shadow: 0 40px 90px -30px rgba(28, 24, 48, .5);
    font-family: var(--second-font, 'Helvetica Neue', Arial, sans-serif);
}

.sx-talk::backdrop { background: rgba(28, 24, 48, .45); backdrop-filter: blur(3px); }
.sx-talk[open] { animation: sx-pop .32s var(--sx-ease, cubic-bezier(.2, .7, .2, 1)) both; }
.sx-talk[open]::backdrop { animation: sx-fade .25s ease both; }

.sx-talk__inner { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px 28px 24px; }

.sx-talk__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f4f9;
    color: var(--sx-ink);
    cursor: pointer;
    transition: background-color .2s ease, transform .25s ease;
}

.sx-talk__close:hover { background: #e8e9f2; transform: rotate(90deg); }
.sx-talk__head { display: grid; gap: 6px; padding-right: 36px; }
.sx-talk__eyebrow { margin: 0; color: var(--sx-brand); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sx-talk__title { margin: 0; font-family: var(--title-font, 'Anton', sans-serif); font-size: 28px; font-weight: 400; line-height: 1.12; color: var(--sx-ink); }
.sx-talk__lead { margin: 0; color: var(--sx-muted); font-size: 15px; line-height: 1.5; }

.sx-talk__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }

.sx-talk__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--sx-line);
    border-radius: 14px;
    color: var(--sx-ink) !important;
    text-decoration: none !important;
    transition: border-color .2s ease, background-color .2s ease;
}

.sx-talk__option:hover { border-color: var(--sx-brand); background: #fafaff; }
.sx-talk__option > span { display: grid; gap: 2px; min-width: 0; }
.sx-talk__option strong { font-size: 14.5px; overflow-wrap: anywhere; }
.sx-talk__option span span { font-size: 12.5px; color: var(--sx-muted); }
.sx-talk__option-icon { flex: 0 0 auto; color: var(--sx-brand); }

.sx-talk__form { margin-top: 18px; }
.sx-talk__form:empty { display: none; }

/* The shared .cform card (cform.css) is the dialog itself here. */
.sx-talk .sx-talk__form .wpcf7 { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.sx-talk .sx-talk__form textarea { height: 120px; min-height: 96px; }

@media (max-width: 560px) {
    .sx-talk { width: 100%; max-width: 100%; max-height: 100dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
    .sx-talk__inner { max-height: 92dvh; padding: 24px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
    .sx-talk__options { grid-template-columns: minmax(0, 1fr); }
    .sx-talk__title { font-size: 24px; }
}


/* ── "Talk to us" dialog — 2026 layout: brand panel + form (overrides above) ── */

.sx-talk { width: min(980px, calc(100% - 24px)); border-radius: 28px; }
.sx-talk__inner { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); padding: 0; }
.sx-talk__close { z-index: 2; }

.sx-talk__aside {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 40px 34px 34px;
    background: radial-gradient(120% 140% at 0% 0%, #6d5fae 0%, var(--sx-brand-mid) 35%, var(--sx-brand-deep) 100%);
    color: #fff;
}
.sx-talk__head { gap: 10px; padding-right: 0; }
.sx-talk__eyebrow { color: var(--sx-lime); }
.sx-talk .sx-talk__title { color: #fff !important; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; } /* theme h2 colour uses !important */
.sx-talk__lead { color: rgba(255, 255, 255, .8); }
.sx-talk__options { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 0; }
.sx-talk__option { padding: 14px 16px; border-color: rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .07); color: #fff !important; }
.sx-talk__option:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); }
.sx-talk__option span span { color: rgba(255, 255, 255, .7); }
.sx-talk__option-icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; box-sizing: border-box; border-radius: 12px; background: var(--sx-lime); color: var(--sx-brand-deep); }
.sx-talk__note { display: flex; align-items: center; gap: 8px; margin: auto 0 0; color: rgba(255, 255, 255, .75); font-size: 13.5px; }
.sx-talk__note::before { content: ''; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--sx-lime); box-shadow: 0 0 0 3px rgba(203, 220, 44, .25); }

.sx-talk__main { min-width: 0; padding: 36px 34px 30px; }
.sx-talk__form-title { margin: 0 44px 16px 0; color: var(--sx-ink); font-family: var(--sx-font-title); font-size: 28px; line-height: 1.1; }
.sx-talk__form { margin-top: 0; }
.sx-talk .sx-talk__form .wpcf7 .cform textarea { height: 120px; min-height: 96px; }

@media (max-width: 760px) {
    .sx-talk { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; }
    .sx-talk__inner { grid-template-columns: minmax(0, 1fr); max-height: 92dvh; padding: 0; }
    .sx-talk__aside { gap: 16px; padding: 26px 20px 22px; }
    .sx-talk__title { font-size: 26px; padding-right: 40px; }
    .sx-talk__note { margin-top: 0; }
    .sx-talk__main { padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
    .sx-talk__close { background: rgba(255, 255, 255, .14); color: #fff; }
    .sx-talk__form-title { font-size: 24px; margin-right: 0; }
}

/* Dialog on phones: compact brand panel, names side by side, 16px inputs (no iOS zoom). */
@media (max-width: 760px) {
    .sx-talk__aside { gap: 14px; padding: 22px 18px 18px; }
    .sx-talk__eyebrow { font-size: 11px; }
    .sx-talk .sx-talk__title { font-size: 24px; }
    .sx-talk__lead { font-size: 14px; }
    .sx-talk__options { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .sx-talk__option { gap: 12px; padding: 9px 12px; border-radius: 14px; }
    .sx-talk__option-icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
    .sx-talk__option strong { font-size: 13.5px; }
    .sx-talk__option span span { display: none; }
    .sx-talk__note { font-size: 12.5px; }
    .sx-talk__main { padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px)); }
    .sx-talk__form-title { margin-bottom: 12px; font-size: 22px; }

    .sx-talk .sx-talk__form .wpcf7 .cform-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .sx-talk .sx-talk__form .wpcf7 .cform-row > .cform-field:nth-child(-n+2) { grid-column: span 1; }
    .sx-talk .sx-talk__form .wpcf7 .cform-row > .cform-field:nth-child(n+3) { grid-column: 1 / -1; }
    .sx-talk .wpcf7 .cform input:not([type="checkbox"]),
    .sx-talk .wpcf7 .cform textarea,
    .sx-talk .sx-sel__trigger { font-size: 16px; }
    .sx-talk .sx-talk__form .wpcf7 .cform textarea { height: 104px; }
}

@media (max-width: 360px) {
    .sx-talk .sx-talk__form .wpcf7 .cform-row { grid-template-columns: minmax(0, 1fr); }
    .sx-talk .sx-talk__form .wpcf7 .cform-row > .cform-field:nth-child(-n+2) { grid-column: 1 / -1; }
}
@keyframes sx-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sx-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .sx-header *, .sx-talk, .sx-talk::backdrop { transition: none !important; animation: none !important; }
}
