.dc-calc {
    --dc-green: #18843b;
    --dc-green-dark: #116d2f;
    --dc-yellow: #f2c94c;
    --dc-text: #222;
    --dc-muted: #687069;
    --dc-line: #e1e9e2;
    --dc-soft: #f5f9f5;
    --dc-white: #fff;
    padding: 64px 0;
    background: #fff;
    color: var(--dc-text);
    font-family: Arial,Helvetica,sans-serif
}

.dc-calc * {
    box-sizing: border-box
}

.dc-calc__wrap {
    width: min(1120px,calc(100% - 30px));
    margin: 0 auto
}

.dc-calc__intro {
    max-width: 850px;
    margin-bottom: 26px
}

.dc-calc__eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--dc-green);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em
}

.dc-calc__intro h2 {
    margin: 0 0 12px;
    /* font-size:clamp(30px,4vw,44px); */
    line-height: 1.08;
    letter-spacing: -.025em
}

.dc-calc__intro p {
    margin: 0;
    color: var(--dc-muted);
    font-size: 17px;
    line-height: 1.6
}

.dc-calc__panel {
    overflow: hidden;
    border: 1px solid var(--dc-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(23,92,41,.08)
}

.dc-calc__top {
    padding: 20px 24px 0;
    background: #fff
}

.dc-calc__progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--dc-muted)
}

.dc-calc__progress-meta strong {
    color: var(--dc-text)
}

.dc-calc__progress {
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #edf1ed
}

.dc-calc__progress span {
    display: block;
    width: 11.11%;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg,var(--dc-green),#31a552);
    transition: width .25s ease
}

.dc-calc__form {
    padding: 28px 24px 24px
}

.dc-calc__step {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0
}

.dc-calc__step.is-active {
    display: block
}

.dc-calc__step legend {
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    /* font-size:27px; */
    line-height: 1.2;
    font-weight: 800
}

.dc-calc__hint {
    margin: 0 0 22px;
    color: var(--dc-muted);
    line-height: 1.55
}

.dc-calc__choices {
    display: grid;
    gap: 12px
}

.dc-calc__choices--5 {
    grid-template-columns: repeat(5,minmax(0,1fr))
}

.dc-calc__choices--4 {
    grid-template-columns: repeat(4,minmax(0,1fr))
}

.dc-calc__choices--3 {
    grid-template-columns: repeat(3,minmax(0,1fr))
}

.dc-calc__choices--2 {
    grid-template-columns: repeat(2,minmax(0,1fr))
}

.dc-choice,.dc-package,.dc-check {
    position: relative;
    min-width: 0
}

.dc-choice input,.dc-package input,.dc-check input,.dc-inline-choices input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.dc-choice>span,.dc-package>span,.dc-check>span,.dc-inline-choices label>span {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 14px;
    border: 2px solid var(--dc-line);
    border-radius: 11px;
    background: #fff;
    color: var(--dc-text);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: .18s ease
}

.dc-choice input:checked+span,.dc-package input:checked+span,.dc-check input:checked+span,.dc-inline-choices input:checked+span {
    border-color: var(--dc-green);
    background: #f1f8f3;
    box-shadow: inset 0 0 0 1px var(--dc-green);
    color: var(--dc-green-dark)
}

.dc-package>span {
    min-height: 96px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    text-align: left
}

.dc-package strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px
}

.dc-package small {
    display: block;
    color: var(--dc-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4
}

.dc-calc__checks {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px
}

.dc-check>span {
    min-height: 52px
}

.dc-check input:checked+span:before {
    content: "✓";
    margin-right: 7px;
    color: var(--dc-green);
    font-weight: 900
}

.dc-area {
    display: flex;
    align-items: center;
    max-width: 340px;
    overflow: hidden;
    border: 2px solid var(--dc-line);
    border-radius: 12px;
    background: #fff
}

.dc-area:focus-within {
    border-color: var(--dc-green)
}

.dc-area__input {
    min-width: 0;
    width: 100%;
    height: 68px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    font-size: 28px;
    font-weight: 800
}

.dc-area span {
    padding: 0 18px;
    color: var(--dc-green);
    font-size: 20px;
    font-weight: 800
}

.dc-floor-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    align-items: end
}

.dc-field {
    display: block
}

.dc-field>span {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800
}

.dc-field input[type="number"],.dc-field input[type="text"],.dc-field input[type="tel"] {
    width: 100%;
    height: 54px;
    padding: 0 14px;
    border: 1px solid #d7ded8;
    border-radius: 9px;
    outline: 0;
    font: inherit;
    font-size: 16px
}

.dc-field input:focus {
    border-color: var(--dc-green);
    box-shadow: 0 0 0 3px rgba(24,132,59,.08)
}

.dc-inline-choices {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px
}

.dc-inline-choices label {
    position: relative
}

.dc-inline-choices label>span {
    min-height: 54px
}

.dc-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 170px;
    padding: 25px;
    border: 2px dashed #b9c8bc;
    border-radius: 14px;
    background: var(--dc-soft);
    cursor: pointer;
    text-align: center
}

.dc-upload__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 9px;
    border-radius: 50%;
    background: var(--dc-green);
    color: #fff;
    font-size: 28px
}

.dc-upload input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.dc-upload small {
    margin-top: 5px;
    color: var(--dc-muted)
}

.dc-upload__previews {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 8px;
    margin-top: 12px
}

.dc-photo {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 9px;
    border: 1px solid var(--dc-line);
    background: #f5f5f5
}

.dc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.dc-photo button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 27px;
    height: 27px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.72);
    color: #fff;
    cursor: pointer
}

.dc-result {
    margin-top: 24px;
    padding: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--dc-green),var(--dc-green-dark));
    color: #fff
}

.dc-result__label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    opacity: .85
}

.dc-result>strong {
    display: block;
    font-size: 34px;
    line-height: 1.1
}

.dc-result>p {
    margin: 8px 0 0;
    line-height: 1.45;
    opacity: .9
}

.dc-result__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px
}

.dc-result__details span {
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(255,255,255,.12);
    font-size: 12px
}

.dc-contact {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid var(--dc-line);
    border-radius: 14px
}

.dc-contact h3 {
    margin: 0 0 7px;
    font-size: 22px
}

.dc-contact>p {
    margin: 0 0 17px;
    color: var(--dc-muted);
    line-height: 1.5
}

.dc-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.dc-calc__submit {
    width: 100%;
    min-height: 54px;
    margin-top: 14px;
    border: 0;
    border-radius: 10px;
    background: var(--dc-yellow);
    color: #222;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer
}

.dc-calc__submit {
    position: relative;
    transition: background-color .2s ease,color .2s ease,opacity .2s ease,transform .2s ease
}

.dc-calc__submit:not(:disabled):hover {
    transform: translateY(-1px)
}

.dc-calc__submit.is-sending {
    background: var(--dc-green);
    color: #fff;
    cursor: wait;
    opacity: .92
}

.dc-calc__submit.is-sending::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 9px;
    vertical-align: -2px;
    border: 2px solid rgba(255,255,255,.42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dcCalcSpin .7s linear infinite
}

.dc-calc__submit.is-success {
    background: var(--dc-green);
    color: #fff;
    cursor: default
}

.dc-calc__submit.is-error {
    background: #c62828;
    color: #fff
}

.dc-calc__submit:disabled {
    cursor: default
}

@keyframes dcCalcSpin {
    to {
        transform: rotate(360deg)
    }
}

@media (prefers-reduced-motion:reduce) {
    .dc-calc__submit,.dc-calc__submit.is-sending::before {
        transition: none;
        animation: none
    }
}

.dc-calc__phone {
    display: block;
    margin-top: 12px;
    color: var(--dc-green);
    text-align: center;
    text-decoration: none
}

.dc-calc__submit-message {
    margin-top: 10px;
    text-align: center;
    color: var(--dc-green-dark);
    font-size: 13px
}

.dc-calc__nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--dc-line)
}

.dc-calc__back,.dc-calc__next {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 9px;
    font-weight: 800;
    cursor: pointer
}

.dc-calc__back {
    border: 1px solid var(--dc-line);
    background: #fff;
    color: #444
}

.dc-calc__back:disabled {
    opacity: .4;
    cursor: default
}

.dc-calc__next {
    margin-left: auto;
    border: 0;
    background: var(--dc-green);
    color: #fff
}

.dc-calc__validation {
    min-height: 19px;
    margin-top: 8px;
    color: #b42318;
    font-size: 13px
}

.dc-calc__disclaimer {
    margin: 12px 4px 0;
    color: #7a807b;
    font-size: 12px;
    line-height: 1.5
}

@media(max-width: 900px) {
    .dc-calc__choices--5,.dc-calc__choices--4 {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

    .dc-calc__checks {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .dc-floor-grid {
        grid-template-columns: 1fr
    }

    .dc-upload__previews {
        grid-template-columns: repeat(4,minmax(0,1fr))
    }
}

@media(max-width: 620px) {
    .dc-calc {
        padding:42px 0
    }

    .dc-calc__wrap {
        width: calc(100% - 20px)
    }

    .dc-calc__top {
        padding: 17px 16px 0
    }

    .dc-calc__form {
        padding: 22px 16px 17px
    }

    .dc-calc__progress-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px
    }

    .dc-calc__step legend {
        font-size: 23px
    }

    .dc-calc__choices--5,.dc-calc__choices--4,.dc-calc__choices--3,.dc-calc__choices--2 {
        grid-template-columns: 1fr
    }

    .dc-calc__checks {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .dc-inline-choices {
        grid-template-columns: 1fr
    }

    .dc-upload__previews {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .dc-contact__grid {
        grid-template-columns: 1fr
    }

    .dc-result>strong {
        font-size: 29px
    }

    .dc-calc__nav {
        position: sticky;
        bottom: 0;
        margin-left: -16px;
        margin-right: -16px;
        margin-bottom: -17px;
        padding: 12px 16px;
        background: rgba(255,255,255,.96);
        z-index: 5
    }
}

.dc-file-slot {
    display: none!important
}

.s-message {
    position: absolute!important;
    left: -99999px!important;
    width: 1px!important;
    height: 1px!important;
    opacity: 0!important;
    pointer-events: none!important
}

.dc-contact-way {
    margin-bottom: 16px
}

.dc-contact-way__title {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800
}

.dc-calc .error {
    display: block;
    margin-top: 5px;
    color: #b42318;
    font-size: 13px
}

.dc-calc .af-message-success {
    padding: 12px 14px;
    border-radius: 9px;
    background: #eff8f1;
    color: #126d30
}
