.demo-wrap {
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
}

.demo-mockup {
    width: 1216px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    z-index: -1;
}

* {
    box-sizing: border-box;
}

.calc {
    max-width: 1216px;
    margin: 0 auto;
    border: 4px solid #D3D5D6;
    border-radius: 8px;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    display: flex;
}

.calc .btn {
    width: 100%;
    background-color: #F89521;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease, opacity .2s ease, visibility .2s ease;
}

.calc .btn:hover {
    background-color: #ff9d18;
}

.calc .btn[disabled] {
    opacity: .6;
    cursor: default;
}

.calc .btn.hide {
    opacity: 0;
    visibility: hidden;
}

.calc-side {
    padding: 36px 38px 30px;
    width: 612px;
    flex-shrink: 0;
}

.calc-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3em;
    margin-bottom: 40px;
}

.calc-fields {
    margin-bottom: 16px;
}

.calc-field {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #5C6872;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 20px;
}

.calc-field:last-child {
    margin-bottom: 0;
}

.calc-field-widget {
    width: 100%;
    max-width: 320px;
}

.calc-field input {
    width: 100%;
    height: 46px;
    border: 2px solid #5C6872;
    border-radius: 6px;
    padding: 0 14px;
    outline: none;
    transition: border .2s ease;
}

.calc-field input:hover {
    border: 2px solid #b97019;
}

.calc-field input:focus {
    border: 2px solid #ff9d18;
}

.calc-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 66px;
}

.calc-action .btn {
    max-width: 320px;
}

.calc-totals {
    transition: opacity .2s ease, visibility .2s ease;
}

.calc-totals.hide {
    opacity: 0;
    visibility: hidden;
}

.calc-total-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.calc-total-title b {
    font-weight: 600;
}

.calc-total-result {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 10px;
}

.calc-total-result:last-child {
    margin-bottom: 0;
}

.calc-total-result svg {
    display: block;
    width: 40px;
}

.calc-total-line {
    border-bottom: 2px solid #F89521;
    font-weight: 500;
    line-height: 30px;
    margin-top: -2px;
}

.calc-total-number {
    font-size: 28px;
}

.calc-total-about {
    font-size: 17px;
}

.calc-map {
    width: 100%;
    padding: 40px 44px 24px 24px;
}

.calc-map-box {
    position: relative;
}

.calc-map-mark {
    position: absolute;
    width: 0;
    height: 0;
}

.calc-map-mark svg {
    display: block;
    position: absolute;
    width: 34px;
    left: -17px;
    top: -44px;
}

.calc-map-curve {
    position: absolute;
    left: 0;
    top: 0;
    margin: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    stroke: #F89521;
    stroke-width: 3px;
    stroke-dasharray: 3px 2px;
    /*animation: fillCurve 16s linear infinite;*/
    transition: opacity .2s ease, visibility .2s ease;
}

.calc-map-curve.hide {
    opacity: 0;
    visibility: hidden;
}

@keyframes fillCurve {
    to {
        stroke-dashoffset: 100;
    }
}

@media (max-width: 980px) {
    .calc {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .calc-side {
        width: 100%;
    }

    .calc-map {
        max-width: 480px;
    }

    .calc-action {
        margin-bottom: 24px;
    }
}