/* ARTA: блок "Сложно определиться с выбором?" — раздел "Кассы самообслуживания" */
.arta-choice-v2,
.arta-cases-modal {
    --ac-red: #c50000;
    --ac-red-dark: #930000;
    --ac-text: #202938;
    --ac-muted: #718097;
}

.arta-choice-v2 {
    --ac-line: #e7eaf0;
    --ac-bg: #f7f8fa;
    --ac-white: #ffffff;
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0 0 30px;
    padding: 42px 0 24px;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--ac-bg);
    border: 1px solid #eceff3;
    border-radius: 0;
}

.arta-choice-v2__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 95% 8%, rgba(197,0,0,.075) 0, rgba(197,0,0,0) 28%),
        radial-gradient(circle at 4% 94%, rgba(197,0,0,.035) 0, rgba(197,0,0,0) 26%),
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(247,248,250,.97));
}

.arta-choice-v2__inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.arta-choice-v2 *,
.arta-cases-modal * {
    box-sizing: border-box;
}

.arta-choice-v2__eyebrow {
    margin-bottom: 9px;
    color: #8994a5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.arta-choice-v2__title {
    max-width: 820px;
    margin: 0;
    color: var(--ac-text);
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.035em;
}

.arta-choice-v2__subtitle {
    max-width: 810px;
    margin: 14px 0 30px;
    color: var(--ac-muted);
    font-size: 17px;
    line-height: 1.45;
}

.arta-choice-v2__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.arta-choice-v2__metric {
    display: flex;
    gap: 15px;
    min-height: 116px;
    padding: 20px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--ac-line);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(28,47,77,.055);
}

.arta-choice-v2__metric-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff1f1;
    color: var(--ac-red);
    font-size: 20px;
    font-weight: 800;
}

.arta-choice-v2__metric:nth-child(2) .arta-choice-v2__metric-icon {
    background: #f1f5ff;
    color: #315db8;
}

.arta-choice-v2__metric:nth-child(3) .arta-choice-v2__metric-icon {
    background: #fff5e9;
    color: #ad6500;
    font-size: 14px;
}

.arta-choice-v2__metric-label {
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    color: #929baa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.arta-choice-v2__metric strong {
    display: block;
    color: var(--ac-text);
    font-size: 19px;
    line-height: 1.18;
}

.arta-choice-v2__metric p {
    margin: 5px 0 0;
    color: var(--ac-muted);
    font-size: 12px;
    line-height: 1.35;
}

.arta-choice-v2__main {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
    gap: 14px;
}

.arta-choice-v2__service,
.arta-choice-v2__offer {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--ac-line);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(28,47,77,.055);
}

.arta-choice-v2__service {
    padding: 27px;
}

.arta-choice-v2__service-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.arta-choice-v2__service-title {
    margin: 0;
    color: var(--ac-text);
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.arta-choice-v2__service-head p {
    margin: 7px 0 0;
    color: var(--ac-muted);
    font-size: 15px;
    line-height: 1.5;
}

.arta-choice-v2__cases-row {
    display: grid;
    grid-template-columns: minmax(185px, .72fr) minmax(0, 1.28fr);
    gap: 18px;
    align-items: center;
    min-height: 90px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

.arta-choice-v2__cases-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.arta-choice-v2__cases-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(197,0,0,.25);
    border-radius: 9px;
    background: #fff;
    color: var(--ac-red);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.arta-choice-v2__cases-btn span {
    font-size: 16px;
    line-height: 1;
}

.arta-choice-v2__cases-btn:hover {
    background: #fff2f2;
    border-color: rgba(197,0,0,.45);
    color: var(--ac-red-dark);
}

.arta-choice-v2__cases-btn:focus-visible {
    outline: 3px solid rgba(197,0,0,.12);
    outline-offset: 2px;
}

.arta-choice-v2__cases-collage {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, minmax(0, .8fr));
    gap: 7px;
    height: 78px;
    min-width: 0;
}

.arta-choice-v2__cases-thumb {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    background: #f3f5f8;
    box-shadow: 0 5px 16px rgba(28,47,77,.06);
}

.arta-choice-v2__cases-thumb--large {
    grid-row: span 1;
}

.arta-choice-v2__cases-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.arta-choice-v2__badge {
    flex: 0 0 auto;
    padding: 8px 11px;
    border-radius: 999px;
    background: #fff2f2;
    color: var(--ac-red);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.arta-choice-v2__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}

.arta-choice-v2__step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
}

.arta-choice-v2__step-num {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f6f7f9;
    color: var(--ac-red);
    font-size: 11px;
    font-weight: 800;
}

.arta-choice-v2__step strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ac-text);
    font-size: 14px;
    line-height: 1.25;
}

.arta-choice-v2__step span:not(.arta-choice-v2__step-num) {
    display: block;
    color: var(--ac-muted);
    font-size: 12px;
    line-height: 1.45;
}

.arta-choice-v2__offer {
    padding: 27px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,247,247,.96));
}

.arta-choice-v2__offer-label {
    text-transform: uppercase;
    margin-bottom: 2px;
    color: var(--ac-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.arta-choice-v2__price {
    color: var(--ac-text);
    font-size: clamp(39px, 3.4vw, 52px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.045em;
}

.arta-choice-v2__price span {
    font-size: .58em;
    letter-spacing: -.02em;
}

.arta-choice-v2__offer-copy {
    margin: 10px 0 14px;
    color: var(--ac-muted);
    font-size: 14px;
    line-height: 1.45;
}

.arta-choice-v2__contact {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 9px;
    margin-bottom: 10px;
}

.arta-choice-v2__contact-label {
    color: var(--ac-muted);
    font-size: 12px;
}

.arta-choice-v2__phone {
    color: var(--ac-red);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.arta-choice-v2__phone:hover,
.arta-choice-v2__phone:focus {
    color: var(--ac-red-dark);
    text-decoration: underline;
}

.arta-choice-v2__contact-note {
    color: #98a0ad;
    font-size: 10px;
}

.arta-choice-v2__contact-hint {
    margin-bottom: 11px;
    color: #8a94a3;
    font-size: 12px;
    line-height: 1.4;
}

.arta-choice-v2__form-fields {
    display: grid;
    gap: 9px;
}

.arta-choice-v2__form input[name="semail"] {
    display: none !important;
}

.arta-choice-v2__form .phone {
    width: 100%;
    min-height: 49px;
    padding: 0 15px;
    border: 1px solid #dfe3ea;
    border-radius: 11px;
    background: #fff;
    color: var(--ac-text);
    font-size: 14px;
    box-shadow: none;
}

.arta-choice-v2__form .phone:focus {
    border-color: rgba(197,0,0,.45);
    box-shadow: 0 0 0 3px rgba(197,0,0,.07);
    outline: none;
}

.arta-choice-v2__submit {
    width: 100%;
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 18px;
    border: 0 !important;
    border-radius: 11px !important;
    background: var(--ac-red) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(197,0,0,.16);
}

.arta-choice-v2__submit:hover {
    background: var(--ac-red-dark) !important;
}

.arta-choice-v2__arrow {
    font-size: 20px;
    line-height: 1;
}

.arta-choice-v2__consent {
    margin: 9px 0 0;
    color: #8a94a3;
    font-size: 10px;
    line-height: 1.35;
}

.arta-choice-v2__consent a {
    color: inherit;
    text-decoration: underline;
}

.arta-choice-v2__bottomline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    color: #7f8a9c;
    font-size: 12px;
}

.arta-choice-v2__bottomline i {
    display: block;
    width: 1px;
    height: 16px;
    background: #d7dce5;
}

.arta-choice-v2__success {
    padding: 16px;
    border-radius: 11px;
    background: #fff;
    border: 1px solid #dfe3ea;
    color: var(--ac-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.arta-choice-v2 .form-error {
    margin-top: 7px;
    color: var(--ac-red);
    font-size: 11px;
}

@media (max-width: 1000px) {
    .arta-choice-v2__metrics,
    .arta-choice-v2__main {
        grid-template-columns: 1fr;
    }

    .arta-choice-v2__offer {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .arta-choice-v2 {
        padding: 32px 0 19px;
        margin: 24px 0 32px;
    }

    .arta-choice-v2__inner {
        width: min(100% - 28px, 1240px);
    }

    .arta-choice-v2__title {
        font-size: 34px;
    }

    .arta-choice-v2__subtitle {
        margin-bottom: 22px;
        font-size: 15px;
    }

    .arta-choice-v2__metric {
        padding: 17px;
    }

    .arta-choice-v2__steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .arta-choice-v2__service,
    .arta-choice-v2__offer {
        padding: 21px;
    }

    .arta-choice-v2__service-head {
        display: block;
        margin-bottom: 20px;
    }

    .arta-choice-v2__badge {
        display: inline-block;
        margin-top: 12px;
    }

    .arta-choice-v2__bottomline {
        flex-wrap: wrap;
        gap: 8px 12px;
        font-size: 11px;
    }

    .arta-choice-v2__bottomline i {
        display: none;
    }
}
/* ARTA: мини-презентация кейсов */

.arta-cases-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.arta-cases-modal.is-open {
    display: block;
}

.arta-cases-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 22, 32, .78);
    backdrop-filter: blur(5px);
}

.arta-cases-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 32px));
    height: min(900px, calc(100vh - 40px));
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0,0,0,.3);
}

.arta-cases-modal__close {
    position: absolute;
    top: 13px;
    right: 15px;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #202938;
    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

.arta-cases-modal__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 70px 16px 24px;
    border-bottom: 1px solid #edf0f4;
}

.arta-cases-modal__eyebrow {
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #9aa3b1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.arta-cases-modal__title {
    margin: 0;
    color: #202938;
    font-size: 23px;
    line-height: 1.2;
}

.arta-cases-modal__counter {
    flex: 0 0 auto;
    color: #7c8797;
    font-size: 13px;
    font-weight: 700;
}

.arta-cases-modal__counter span:first-child {
    color: var(--ac-red);
}

.arta-cases-modal__viewer {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 58px;
    background: #f5f6f8;
}

.arta-cases-modal__slide {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arta-cases-modal__slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 10px 35px rgba(25,35,50,.13);
}

.arta-cases-modal__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #e0e4ea;
    border-radius: 50%;
    background: #fff;
    color: #202938;
    font-size: 21px;
    cursor: pointer;
    box-shadow: 0 7px 22px rgba(25,35,50,.1);
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.arta-cases-modal__nav:hover {
    background: var(--ac-red);
    border-color: var(--ac-red);
    color: #fff;
}

.arta-cases-modal__nav--prev {
    left: 14px;
}

.arta-cases-modal__nav--next {
    right: 14px;
}

.arta-cases-modal__footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 20px;
    border-top: 1px solid #edf0f4;
    background: #fff;
}

.arta-cases-modal__dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 4px;
    max-width: calc(100% - 250px);
}

.arta-cases-modal__dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d5dbe4;
    cursor: pointer;
}

.arta-cases-modal__dot.is-active {
    width: 22px;
    border-radius: 10px;
    background: var(--ac-red);
}

.arta-cases-modal__hint {
    color: #8a94a3;
    font-size: 11px;
    white-space: nowrap;
}

.arta-cases-modal__slide img.is-loading {
    opacity: 0;
}

.arta-cases-modal__loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 3px solid #e0e4ea;
    border-top-color: var(--ac-red);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: arta-cases-spin .8s linear infinite;
}

.arta-cases-modal__loader.is-active {
    opacity: 1;
}

@keyframes arta-cases-spin {
    to { transform: rotate(360deg); }
}

body.arta-cases-modal-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .arta-choice-v2__cases-row {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: 0;
        margin-top: 12px;
        padding-top: 12px;
    }

    .arta-choice-v2__cases-cta {
        justify-content: flex-start;
    }

    .arta-choice-v2__cases-collage {
        height: 70px;
        grid-template-columns: 1.3fr repeat(4, minmax(0, .85fr));
    }

    .arta-cases-modal__dialog {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }

    .arta-cases-modal__header {
        padding: 17px 60px 14px 16px;
    }

    .arta-cases-modal__title {
        font-size: 18px;
    }

    .arta-cases-modal__viewer {
        padding: 10px 46px;
    }

    .arta-cases-modal__nav {
        width: 38px;
        height: 38px;
    }

    .arta-cases-modal__nav--prev {
        left: 7px;
    }

    .arta-cases-modal__nav--next {
        right: 7px;
    }

    .arta-cases-modal__footer {
        padding: 10px 12px;
    }

    .arta-cases-modal__dots {
        max-width: none;
        justify-content: center;
        width: 100%;
    }

    .arta-cases-modal__hint {
        display: none;
    }
}
