/* BCORE button motion: rising fill, rolling label and a small elastic stretch. */
.bcore-motion-button {
    --bcore-motion-background: transparent;
    --bcore-motion-border: #D66A3C;
    --bcore-motion-ink: #fff;
    --bcore-motion-fill: #D66A3C;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.button-1.bcore-motion-button {
    --bcore-motion-background: #D66A3C;
    --bcore-motion-ink: #000;
    --bcore-motion-fill: #b65028;
}
.bcore-form-submit.bcore-motion-button,.modal-button.bcore-motion-button{--bcore-motion-background:#D66A3C;--bcore-motion-ink:#000;--bcore-motion-fill:#b65028}
.bcore-service-quote.bcore-motion-button{--bcore-motion-ink:var(--bcore-text,#111)}
.bcore-form-submit{display:inline-block;height:auto;padding:19px 35px;border:0;border-radius:30px;text-align:center;font-family:"Big Shoulders","BCORE Cyrillic Display",sans-serif;font-size:20px;line-height:20px;font-weight:500;text-transform:uppercase;letter-spacing:1px}
.bcore-hero-primary.bcore-motion-button {
    --bcore-motion-background: #D66A3C;
    --bcore-motion-fill: #b65028;
}
.button-2.bcore-motion-button {
    --bcore-motion-background: #fff;
    --bcore-motion-border: #fff;
    --bcore-motion-ink: #000;
}
html[data-theme="dark"] .button-2.bcore-motion-button {
    --bcore-motion-background: var(--bcore-bg);
    --bcore-motion-ink: var(--bcore-text);
}
.button-4.bcore-motion-button { --bcore-motion-border: rgba(255,255,255,.5); }
.about .bcore-motion-button, .about .phone { vertical-align: middle; }
html[data-theme] .bcore-motion-button,
html[data-theme] .bcore-motion-button:is(:hover, :focus-visible) {
    background-color: var(--bcore-motion-background);
    border-color: var(--bcore-motion-border);
    color: var(--bcore-motion-ink);
    transform: none;
    transform-style: flat;
    transition: scale .3s ease;
}
html[data-theme] .bcore-motion-button > .bcore-motion-ripple {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    margin: 0;
    padding: 0;
}
html[data-theme] .bcore-motion-button .bcore-motion-fill {
    display: block;
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border-radius: 50% 50% 0 0;
    background: var(--bcore-motion-fill);
    transform: translateY(102%);
    transition: transform .5s cubic-bezier(.4,0,0,1), border-radius .5s cubic-bezier(.4,0,0,1);
}
html[data-theme] .bcore-motion-button > .bcore-motion-label,
html[data-theme] .bcore-motion-button .bcore-motion-line {
    display: block;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: var(--bcore-motion-ink);
}
html[data-theme] .bcore-motion-button > .bcore-motion-label { overflow: hidden; }
html[data-theme] .bcore-motion-button .bcore-motion-line {
    transition: transform .8s cubic-bezier(.16,1,.3,1);
}
html[data-theme] .bcore-motion-button .bcore-motion-line > * { color: inherit; }
html[data-theme] .bcore-motion-button .bcore-motion-label > .bcore-motion-copy {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    color: #fff;
}
.bcore-motion-button:focus-visible { outline: 2px solid #D66A3C; outline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
    html[data-theme] .bcore-motion-button:hover {
        scale: 1.02 1;
        transition: scale .6s cubic-bezier(.34,5.56,.64,1);
    }
    html[data-theme] .bcore-motion-button:hover .bcore-motion-fill {
        border-radius: 0;
        transform: translateY(0);
        transition-duration: .5s, .9s;
    }
    html[data-theme] .bcore-motion-button:hover .bcore-motion-line { transform: translateY(-110%); }
}
html[data-theme] .bcore-motion-button:focus-visible .bcore-motion-fill { border-radius: 0; transform: translateY(0); }
html[data-theme] .bcore-motion-button:focus-visible .bcore-motion-line { transform: translateY(-110%); }

/* A small trailing dot accompanies the native pointer. */
.bcore-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s;
}
.bcore-cursor::before {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid #D66A3C;
    border-radius: 50%;
    background: #D66A3C;
    transform: translate(-50%, -50%);
    transition: width .3s, height .3s, background .3s, scale .2s;
}
.bcore-cursor.is-visible { opacity: 1; }
.bcore-cursor.is-interactive::before { width: 28px; height: 28px; background: rgba(214,106,60,.22); }
.bcore-cursor.is-pressed::before { scale: .8; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .bcore-cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-theme] .bcore-motion-button,
    html[data-theme] .bcore-motion-button:is(:hover, :focus-visible) { scale: 1; transition: none; }
    html[data-theme] .bcore-motion-button .bcore-motion-fill,
    html[data-theme] .bcore-motion-button .bcore-motion-line { transition: none; }
}
