.wrap {
    width: min(100% - 74px, 1240px);
    margin-inline: auto
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

.icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linejoin: round;
    stroke-linecap: round
}

.hero {
    background: linear-gradient(105deg, #f9fafb 0%, #f4f6f8 55%, #f8f8f8 100%);
    overflow: hidden
}

.hero-inner {
    min-height: 263px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 20px
}

.hero-art {
    position: absolute;
    inset: 0 calc((min(100vw, 1240px) - 100vw) / 2 - 40px) 0 47%;
    background-image: linear-gradient(to right, #f9fafb 0%, rgba(249, 250, 251, .82) 8%, rgba(249, 250, 251, .1) 35%, rgba(249, 250, 251, 0) 72%), url('../img/delivery/hero-van.jpg');
    background-size: cover;
    background-position: center right
}

.hero-inner > *:not(.hero-art) {
    position: relative;
}

.breadcrumbs {
    font-size: 12px;
    color: #657080;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600
}

.breadcrumbs span:nth-child(2) {
    font-size: 18px;
    font-weight: 300
}

.breadcrumbs a:hover {
    color: #FF3F1D
}

.hero h1 {
    font-size: clamp(34px, 4.15vw, 52px);
    line-height: 1.07;
    letter-spacing: -1.6px;
    margin: 0 0 16px;
    font-weight: 790
}

.hero p {
    font-size: clamp(17px, 1.65vw, 22px);
    line-height: 1.28;
    color: #5b6575;
    margin: 0;
    font-weight: 470;
    max-width: 560px
}

/* delivery cards */
.section {
    padding-top: 32px
}

.section-heading {
    margin-bottom: 21px
}

.section-heading h2 {
    font-size: clamp(25px, 2.5vw, 33px);
    line-height: 1.17;
    letter-spacing: -.7px;
    margin: 0 0 8px;
    font-weight: 770
}

.section-heading p {
    font-size: 15px;
    color: var(--muted);
    margin: 0
}

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

.delivery-card {
    border: 1px solid #f0f1f3;
    box-shadow: 0 5px 20px rgba(37, 42, 52, .07), 0 1px 4px rgba(37, 42, 52, .035);
    border-radius: 17px;
    padding: 18px 17px 16px;
    display: flex;
    flex-direction: column;
    min-height: 378px;
    overflow: hidden;
    background: #fff
}

.card-illustration {
    display: flex;
    height: 100px;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 1px
}

.card-illustration img {
    max-height: 91px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block
}

.delivery-card h3 {
    font-size: 17px;
    line-height: 1.24;
    margin: 3px 0 21px;
    min-height: 43px;
    font-weight: 745;
    letter-spacing: -.17px
}

.card-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    line-height: 1.32;
    min-height: 99px
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.card-list .icon {
    color: #FF3F1D;
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    margin-top: 1px
}

.card-list-address {
    gap: 12px
}

.card-list-address .icon {
    width: 18px;
    height: 18px;
    stroke-width: 2
}

.price-box {
    margin-top: auto;
    min-height: 65px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(120deg, #fff2ee, #fff5f2);
    padding: 13px 15px;
    color: #FF3F1D;
    border-radius: 12px
}

.price-box strong {
    white-space: nowrap;
    font-size: 29px;
    letter-spacing: -.8px;
    line-height: 1;
    font-weight: 780
}

.price-box span {
    font-size: 11px;
    line-height: 1.2
}

.price-box .price-small {
    align-self: center
}

.cdek-price {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px
}

.cdek-price .price-small {
    align-self: flex-start
}

.price-lines {
    display: block;
    padding: 10px 13px;
}

.price-lines > div {
    display: flex;
    align-items: baseline;
    gap: 7px
}

.price-lines > div + div {
    margin-top: 5px
}

.price-lines strong {
    font-size: 22px;
    white-space: nowrap
}

.individual {
    gap: 13px
}

.individual .icon {
    width: 31px;
    height: 31px
}

.individual strong {
    font-size: 15px;
    line-height: 1.22;
    letter-spacing: 0
}

.delivery-note {
    margin-top: 21px;
    background: #f6f7f9;
    border-radius: 17px;
    padding: 25px 23px;
    display: grid;
    grid-template-columns:42px 1fr;
    gap: 18px;
    color: #495369;
    align-items: center
}

.delivery-note .note-info {
    width: 33px;
    height: 33px;
    color: #FF3F1D
}

.delivery-note ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px
}

.delivery-note li {
    position: relative;
    padding-left: 26px;
    font-size: 13px;
    line-height: 1.4
}

.delivery-note li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -2px;
    color: #FF3F1D;
    font-size: 18px;
    font-weight: 800
}

/* payment row + warranty cards */
.payment {
    padding-top: 37px
}

.payments-grid {
    display: grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap: 15px
}

.pay-card {
    min-height: 153px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #f0f1f3;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(37, 42, 52, .07), 0 1px 4px rgba(37, 42, 52, .035);
    padding: 17px 8px
}

.pay-icon {
    color: #FF3F1D;
    width: 43px;
    height: 43px;
    stroke-width: 1.7;
    margin-bottom: 16px
}

.pay-card h3 {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 730;
    margin: 0
}

.simple-note {
    margin-top: 18px;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 22px;
    background: #f6f7f9;
    border-radius: 15px;
    padding: 15px 25px
}

.simple-note .icon {
    width: 27px;
    height: 27px;
    color: #FF3F1D
}

.simple-note p {
    font-size: 13px;
    margin: 0;
    color: #586376
}

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

.detail-card {
    background: linear-gradient(120deg, #fff8f6, #fff6f3);
    padding: 25px 26px 28px;
    border-radius: 17px;
    min-height: 166px
}

.detail-card h2 {
    font-size: 26px;
    letter-spacing: -.5px;
    line-height: 1.1;
    margin: 0 0 19px
}

.detail-content {
    display: flex;
    align-items: center;
    gap: 20px
}

.detail-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    background: #ffebe6;
    color: #FF3F1D
}

.detail-icon .icon {
    width: 34px;
    height: 34px;
    stroke-width: 1.7
}

.detail-content p {
    font-size: 14px;
    line-height: 1.35;
    margin: 0
}

.detail-content p + p {
    color: #697488;
    margin-top: 10px
}

/* quote CTA, aligned to original reference */
.lead-section {
    padding-top: 22px
}

.lead-banner {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(110deg, #fff8f6 0%, #fff3ef 55%, #eee7df 100%);
    min-height: 290px;
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(290px, 365px);
    gap: 22px;
    align-items: center;
    padding: 35px 36px
}

.lead-photo {
    position: absolute;
    inset: 0 0 0 64%;
    background: url('../img/delivery/cta-window.jpg') center right/cover no-repeat;
    opacity: .88;
    mask-image: linear-gradient(to right, transparent, #000 39%);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 39%)
}

.lead-copy, .lead-form {
    position: relative;
    z-index: 1
}

.lead-form .agree-form input[name=fiz]:before,
.lead-form .agree-form input[name=fiz-agree]:before {
    font-size:20px
}

.lead-copy {
    max-width: 560px
}

.lead-pills {
    display: flex;
    gap: 12px;
    margin: 0 0 19px
}

.lead-pills span {
    border-radius: 18px;
    background: white;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 690;
    color: #FF3F1D
}

.lead-pills span + span {
    background: #f4f6f8;
    color: #818b9c
}

.lead-copy h2 {
    font-size: clamp(25px, 2.55vw, 34px);
    letter-spacing: -.8px;
    line-height: 1.22;
    margin: 0 0 18px
}

.lead-copy p {
    font-size: 15px;
    color: #6c7486;
    line-height: 1.45;
    max-width: 485px;
    margin: 0
}

.lead-form {
    background: rgba(255, 255, 255, .97);
    border-radius: 15px;
    padding: 17px 19px 13px;
    box-shadow: 0 8px 26px rgba(40, 40, 50, .07);
    display: grid;
    gap: 10px
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 48px;
    border: 1px solid #e0e4eb;
    border-radius: 7px;
    padding: 0 12px;
    color: #9ba5b5
}

.input-wrap .icon {
    width: 20px;
    height: 20px
}

.input-wrap:focus-within {
    border-color: #FF3F1D
}

.wpcf7 .input-wrap input {
    border: 0;
    background: transparent;
    width: 100%;
    min-width: 0;
    outline: 0;
    font-size: 14px;
    border: none !important;
    box-shadow: none !important;
}

.wpcf7 .input-wrap input::placeholder {
    color: #94a0b0
}

.contact-actions .btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 650;
    line-height: 1.15;
    min-height: 43px;
    white-space: nowrap;
    padding: 12px 17px;
    font-size: 12px;
    cursor: pointer;
}
.contact-actions .btn:focus-visible, .icon-button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 3px solid #ff9c8b;
    outline-offset:3px
}
.contact-actions .btn-primary {
    color: white;
    background: linear-gradient(130deg, #ff4928, #fa301a);
    box-shadow:0 5px 12px rgba(255, 65, 37, .15)
}
.contact-actions .btn-primary:hover {
    background:#e9311d
}
.contact-actions .btn-outline {
    background: white;
    border-color: #e9311d;
    color:#e9311d
}
.contact-actions .btn-outline:hover {
    background:#fff4f0
}

.form-submit {
    height: 46px;
    border:none
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: #7b8391
}

.consent input {
    accent-color: #FF3F1D;
    margin: 2px 0 0
}

.consent a {
    text-decoration: underline;
    text-underline-offset: 2px
}

.data-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    color: #7e8897;
    font-size: 10px
}

.data-note .icon {
    width: 13px;
    height: 13px
}

.form-feedback {
    font-size: 11px;
    color: #b94c32;
    margin: 0;
    text-align: center
}

.form-feedback:empty {
    display: none
}

.bottom-contact {
    margin-top: 19px;
    border: 1px solid #f0f2f4;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(37, 42, 52, .07), 0 1px 4px rgba(37, 42, 52, .035);
    min-height: 94px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 15px 22px;
    box-sizing: border-box;
}

.contact-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    background:#FF3F1D;
    color: #fff
}

.contact-icon .icon {
    width: 33px;
    height: 33px
}

.contact-intro {
    display: grid;
    gap: 2px;
    min-width: 170px;
    flex: 1
}

.contact-intro strong {
    font-size: 18px;
    line-height: 1.2
}

.contact-intro span {
    font-size: 11px;
    color: #7b8798
}

.contact-phone {
    display: grid;
    gap: 3px;
    min-width: 218px
}

.contact-phone a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    font-weight: 760;
    white-space: nowrap;
    color:black;
}

.contact-phone a .icon {
    width: 18px;
    height: 18px;
    color: #FF3F1D;
    fill: #FF3F1D
}

.contact-phone span {
    padding-left: 27px;
    color: #9aa3b1;
    font-size: 11px
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px;
    border-left: 1px solid #dde0e5
}

.contact-actions .btn {
    padding: 12px 17px;
    font-size: 12px
}

.contact-actions .icon {
    width: 16px;
    height: 16px
}

@media (max-width: 1170px) {
    .wrap {
        width: min(100% - 46px, 1100px)
    }
    .delivery-card {
        padding-inline: 13px
    }

    .card-list {
        font-size: 12px
    }

    .delivery-card h3 {
        font-size: 15px
    }

    .contact-phone {
        min-width: 190px
    }

    .contact-phone a {
        font-size: 15px
    }

    .contact-actions {
        gap: 7px;
        padding-left: 10px
    }

    .contact-actions .btn {
        font-size: 11px;
        padding-inline: 11px
    }
}

@media (max-width: 960px) {
    .wrap {
        width: min(100% - 34px, 830px)
    }
    .delivery-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    .delivery-card {
        min-height: 345px
    }

    .card-list {
        font-size: 14px
    }

    .delivery-card h3 {
        font-size: 18px
    }

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

    .detail-card {
        padding: 22px
    }

    .bottom-contact {
        flex-wrap: wrap
    }

    .contact-actions {
        border: 0;
        margin-left: auto
    }

    .lead-banner {
        grid-template-columns:1fr 320px
    }

    .lead-photo {
        inset: 0 0 0 68%
    }

    .lead-copy h2 {
        font-size: 27px
    }
}

@media (max-width: 640px) {
    .wrap {
        width: calc(100% - 30px)
    }
    .hero-inner {
        min-height: 230px;
        padding-top: 12px;
        padding-bottom: 28px;
        justify-content: flex-start
    }

    .hero-art {
        inset: 0 -15px 0 34%;
        background-position: center right;
        opacity: .72
    }

    .hero-art:before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, #f9fafb 0%, rgba(249, 250, 251, .76) 38%, rgba(249, 250, 251, .07) 100%)
    }

    .breadcrumbs {
        margin-bottom: 29px;
        font-size: 11px
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -1px;
        margin-bottom: 10px;
        max-width: 310px
    }

    .hero p {
        font-size: 17px;
        max-width: 290px
    }

    .desktop-only {
        display: none
    }

    .section {
        padding-top: 28px
    }

    .section-heading {
        margin-bottom: 15px
    }

    .section-heading h2 {
        font-size: 27px;
        margin-bottom: 5px
    }

    .section-heading p {
        font-size: 13px
    }

    .delivery-grid {
        display: flex;
        flex-direction: column;
        gap: 11px
    }
    .delivery-card {
        padding: 16px;
        min-height: 0;
        display: grid;
        grid-template-columns:68px minmax(0, 1fr) 96px;
        grid-template-areas:'image title price' 'image list price';
        column-gap: 10px;
        row-gap: 7px;
        align-items: start;
        border-radius: 14px
    }

    .card-illustration {
        grid-area: image;
        height: 80px;
        align-items: center;
        justify-content: center
    }

    .card-illustration img {
        max-width: 100%;
        max-height: 78px
    }

    .delivery-card h3 {
        grid-area: title;
        font-size: 15px;
        line-height: 1.23;
        min-height: 0;
        margin: 3px 0 1px
    }

    .card-list {
        grid-area: list;
        gap: 7px;
        min-height: 0;
        margin: 0;
        font-size: 11px
    }

    .card-list .icon {
        width: 13px;
        height: 13px
    }

    .card-list-address .icon {
        width: 14px;
        height: 14px
    }

    .card-list li {
        gap: 6px
    }

    .price-box {
        grid-area: price;
        height: 100%;
        min-height: 100px;
        padding: 9px 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        align-content: center
    }

    .price-box strong {
        font-size: 22px
    }

    .price-lines {
        flex-direction: column;
        display: flex;
        align-items: stretch;
        gap: 7px
    }

    .price-lines > div {
        flex-direction: column;
        align-items: center;
        gap: 1px
    }

    .price-lines > div + div {
        border-top: 1px solid #f6ccc3;
        padding-top: 7px;
        margin: 0
    }

    .price-lines strong {
        font-size: 21px
    }

    .price-lines span {
        font-size: 9px
    }

    .price-box .price-small {
        font-size: 10px
    }

    .cdek-price {
        align-items: center
    }

    .cdek-price .price-small {
        align-self: center
    }

    .individual {
        flex-direction: column;
        gap: 5px
    }

    .individual .icon {
        width: 25px;
        height: 25px
    }

    .individual strong {
        font-size: 11px
    }

    .delivery-note {
        grid-template-columns:25px 1fr;
        gap: 8px;
        padding: 16px 12px;
        margin-top: 12px
    }

    .delivery-note .note-info {
        width: 23px;
        height: 23px
    }

    .delivery-note li {
        font-size: 11px;
        line-height: 1.35;
        padding-left: 18px
    }

    .delivery-note li:before {
        font-size: 15px
    }

    .delivery-note ul {
        gap: 6px
    }

    .payment {
        padding-top: 28px
    }

    .payments-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap: 9px
    }

    .pay-card {
        min-height: 96px;
        border-radius: 13px;
        padding: 13px 5px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        text-align: left
    }

    .pay-card:last-child {
        grid-column: 1/-1
    }

    .pay-icon {
        width: 30px;
        height: 30px;
        margin: 0;
        flex-shrink: 0
    }

    .pay-card h3 {
        font-size: 12px
    }

    .simple-note {
        margin-top: 11px;
        gap: 12px;
        padding: 10px 13px;
        border-radius: 10px
    }

    .simple-note .icon {
        width: 21px;
        height: 21px
    }

    .simple-note p {
        font-size: 11px
    }

    .details-grid {
        gap: 10px;
        margin-top: 12px
    }

    .detail-card {
        padding: 16px 12px;
        min-height: 178px;
        border-radius: 13px
    }

    .detail-card h2 {
        font-size: 19px;
        margin-bottom: 11px
    }

    .detail-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px
    }

    .detail-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px
    }

    .detail-icon .icon {
        width: 23px;
        height: 23px
    }

    .detail-content p {
        font-size: 11px;
        line-height: 1.34
    }

    .detail-content p + p {
        margin-top: 6px
    }

    .lead-section {
        padding-top: 15px
    }

    .lead-banner {
        display: block;
        min-height: 0;
        padding: 22px 18px 15px;
        border-radius: 14px
    }

    .lead-photo {
        inset: 0 0 34% 39%;
        opacity: .43;
        mask-image: linear-gradient(to right, transparent, #000 40%);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 40%)
    }

    .lead-pills {
        gap: 8px;
        margin-bottom: 12px
    }

    .lead-pills span {
        font-size: 10px;
        padding: 5px 8px
    }

    .lead-copy h2 {
        font-size: 23px;
        line-height: 1.18;
        max-width: 340px;
        margin: 0 0 11px
    }

    .lead-copy p {
        font-size: 12px;
        line-height: 1.4;
        max-width: 320px
    }

    .lead-form {
        margin-top: 18px;
        background: rgba(255, 255, 255, .95);
        padding: 13px;
        gap: 8px
    }

    .input-wrap {
        height: 43px
    }

    .form-submit {
        height: 42px
    }

    .bottom-contact {
        display: grid;
        grid-template-columns:47px 1fr;
        gap: 5px 10px;
        padding: 13px;
        margin-top: 13px
    }

    .contact-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        grid-column: 1;
        grid-row: 1/3
    }

    .contact-icon .icon {
        width: 26px;
        height: 26px
    }

    .contact-intro {
        grid-column: 2;
        grid-row: 1
    }

    .contact-intro strong {
        font-size: 15px
    }

    .contact-intro span {
        font-size: 10px
    }

    .contact-phone {
        grid-column: 2;
        grid-row: 2;
        min-width: 0
    }

    .contact-phone a {
        font-size: 14px
    }

    .contact-phone span {
        font-size: 10px
    }

    .contact-actions {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns:1fr 1fr;
        width: 100%;
        padding: 8px 0 0;
        margin: 0;
        gap: 8px
    }

    .contact-actions .btn {
        font-size: 11px;
        padding: 10px 6px;
        min-height: 40px
    }

    .contact-actions .btn .icon {
        display: none
    }
}

@media (max-width: 385px) {
    .card-illustration {
        height: 65px
    }

    .delivery-card {
        grid-template-columns:67px minmax(0, 1fr) 90px;
        gap: 6px
    }

    .card-list {
        font-size: 10px
    }

    .delivery-card h3 {
        font-size: 13px
    }

    .price-box strong {
        font-size: 10px
    }

    .price-lines strong {
        font-size: 18px
    }

    .pay-card {
        gap: 7px
    }

    .pay-card h3 {
        font-size: 11px
    }

    .pay-icon {
        width: 26px;
        height: 26px
    }
}

@media (min-width: 871px) and (max-width: 960px) {
    .delivery-grid {
        grid-template-columns:repeat(4, minmax(0, 1fr))
    }

    .delivery-card {
        padding: 14px 11px;
        min-height: 350px
    }

    .delivery-card h3 {
        font-size: 14px;
        line-height: 1.18
    }

    .card-list {
        font-size: 11px
    }

    .price-box {
        padding: 9px
    }

    .price-lines strong {
        font-size: 18px
    }

    .price-lines span {
        font-size: 9px
    }

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

    .pay-card {
        min-height: 132px
    }

    .contact-actions .btn {
        font-size: 10px;
        padding-inline: 8px
    }
}
