.moving-service,
.moving-service * {
    box-sizing: border-box;
}

.moving-service {
    width: 100%;
    max-width: 1180px;
    margin: 30px auto;
    color: #10253d;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.moving-service__hero {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    border-bottom: 7px solid #f4bd19;
    background: #070707;
}

.moving-service__hero img {
    display: block;
    width: 100%;
    min-height: 390px;
    object-fit: cover;
}

.moving-service__hero-copy {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 46%;
    padding: 35px;
    background: linear-gradient(90deg, rgba(5, 9, 14, 0.96) 0%, rgba(5, 9, 14, 0.78) 72%, rgba(5, 9, 14, 0) 100%);
    color: #fff;
}

.moving-service__hero-copy > span,
.moving-card__heading > span {
    color: #f4bd19;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.moving-service__hero-copy h1 {
    margin: 10px 0 15px;
    color: #fff;
    font-size: 42px;
    line-height: 1.08;
    text-transform: uppercase;
}

.moving-service__hero-copy p {
    margin: 0;
    font-size: 17px;
}

.moving-card {
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid #c7cbd1;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16, 37, 61, 0.14);
}

.moving-card__heading {
    border-bottom: 1px solid #c7cbd1;
    background: #10253d;
    color: #fff;
    padding: 27px 32px 23px;
}

.moving-card__heading h2 {
    margin: 7px 0;
    color: #fff;
    font-size: 32px;
    line-height: 1.15;
    text-transform: uppercase;
}

.moving-card__heading p {
    margin: 0;
}

.moving-card__heading strong,
.moving-field label strong {
    color: #f4bd19;
}

.moving-form {
    padding: 5px 32px 32px;
}

.moving-form fieldset {
    min-width: 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #dfe2e6;
    padding: 27px 0 30px;
}

.moving-form legend {
    width: 100%;
    margin-bottom: 17px;
    color: #172c91;
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
}

.moving-fieldset-intro {
    margin: -8px 0 18px;
    color: #5c6673;
}

.moving-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.moving-field--full {
    grid-column: 1 / -1;
}

.moving-field label {
    display: block;
    margin-bottom: 6px;
    color: #10253d;
    font-size: 15px;
    font-weight: 700;
}

.moving-field input,
.moving-field select,
.moving-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #aab1ba;
    border-radius: 3px;
    background: #fff;
    color: #111;
    font: inherit;
    padding: 11px 12px;
}

.moving-field textarea {
    resize: vertical;
}

.moving-field input:focus,
.moving-field select:focus,
.moving-field textarea:focus {
    outline: 3px solid rgba(244, 189, 25, 0.45);
    border-color: #263fbd;
}

.moving-field [aria-invalid="true"] {
    border-color: #d71920;
    background: #fff7f7;
}

.moving-field__help {
    margin: -8px 0 0;
    color: #5c6673;
    font-size: 13px;
}

.moving-form__status:empty {
    display: none;
}

.moving-form__status {
    margin-top: 26px;
}

.moving-form__error,
.moving-form__success {
    border-left: 5px solid;
    padding: 14px 16px;
}

.moving-form__error {
    border-color: #d71920;
    background: #fff0f0;
    color: #781218;
}

.moving-form__success {
    border-color: #f4bd19;
    background: #fff9df;
    color: #10253d;
}

.moving-form__success h3 {
    margin: 0 0 6px;
    font-size: 23px;
}

.moving-form__success p,
.moving-form__error ul {
    margin-bottom: 0;
}

.moving-form__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 28px;
}

.moving-form__actions p {
    margin: 0;
    color: #5c6673;
    font-size: 13px;
}

.moving-submit {
    flex: 0 0 auto;
    border: 0;
    border-bottom: 4px solid #9e7410;
    border-radius: 3px;
    background: #f4bd19;
    color: #070707;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 13px 24px 11px;
    text-transform: uppercase;
}

.moving-submit:hover,
.moving-submit:focus {
    background: #ffd24a;
}

.moving-submit[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.moving-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Template 12 can place this content inside a half-width column, so switch
   to the narrow layout before the page viewport itself becomes very small. */
@media screen and (max-width: 1100px) {
    .moving-service__hero {
        min-height: 0;
    }

    .moving-service__hero img {
        min-height: 280px;
    }

    .moving-service__hero-copy {
        position: relative;
        width: 100%;
        padding: 25px 22px;
        background: #070707;
    }

    .moving-service__hero-copy h1 {
        font-size: 32px;
    }

    .moving-form__grid {
        grid-template-columns: 1fr;
    }

    .moving-field--full {
        grid-column: auto;
    }
}

@media screen and (max-width: 520px) {
    .moving-service {
        margin: 18px auto;
    }

    .moving-service__hero img {
        min-height: 210px;
    }

    .moving-card__heading,
    .moving-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .moving-form__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .moving-submit {
        width: 100%;
    }
}
