/* Landing /rasschet — блоки по макету Volgograd (подключается ПОСЛЕ site.css) */

.rp-page {
    font-family: 'Golos Text', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    --rp-gutter-x: 1rem;
}
@media (min-width: 640px) {
    .rp-page { --rp-gutter-x: 1.25rem; }
}
@media (min-width: 1024px) {
    .rp-page { --rp-gutter-x: 1.75rem; }
}
.rp-page [hidden] { display: none !important; }
.rp-page a.rp-btn,
.rp-page button.rp-btn,
.rp-page .rp-quiz__next,
.rp-page .rp-quiz__back,
.rp-page .rp-portfolio__btn,
.rp-page .rp-faq__btn,
.rp-page .rp-opt {
    font-family: inherit;
    line-height: normal;
}
.rp-page .rp-sec__head--center { margin-bottom: 34px; }
.rp-page #faq .rp-sec__head--center { margin-bottom: 40px; }
.rp-page .rp-sec__head--adv { max-width: 680px; margin-bottom: 44px; }

.rp-sec {
    padding-top: clamp(56px, 7vw, 104px);
    padding-bottom: clamp(56px, 7vw, 104px);
    padding-left: var(--rp-gutter-x);
    padding-right: var(--rp-gutter-x);
}
.rp-sec--paper { background: #f6f4ef; }
.rp-sec--white { background: #fff; }
.rp-sec--dark { background: #141414; color: #fff; }
.rp-sec--accent {
    background: #f0cf4c;
    color: #141414;
    padding-top: clamp(48px, 6vw, 84px);
    padding-bottom: clamp(48px, 6vw, 84px);
}
.rp-sec--paper#quiz {
    padding-top: clamp(32px, 4vw, 52px);
    padding-bottom: clamp(32px, 4vw, 52px);
}
#quiz .rp-sec__in--quiz-wrap .rp-sec__head {
    margin-bottom: 18px;
}
#quiz .rp-sec__in--quiz-wrap .rp-title--lg {
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.1;
}
#quiz .rp-sec__in--quiz-wrap .rp-kicker {
    margin-bottom: 8px;
}
.rp-sec--materials {
    padding-top: clamp(52px, 6vw, 92px);
    padding-bottom: clamp(52px, 6vw, 92px);
}
.rp-sec--pay {
    padding-top: clamp(56px, 7vw, 100px);
    padding-bottom: clamp(56px, 7vw, 100px);
}
.rp-sec--contacts { padding-bottom: 0; }

.rp-sec__in {
    max-width: 1320px;
    margin: 0 auto;
}
.rp-sec__in--quiz {
    max-width: 820px;
    margin: 0;
    margin-right: auto;
    position: relative;
}
.rp-quiz__badge {
    position: absolute;
    top: -22px;
    right: -22px;
    width: clamp(72px, 14vw, 104px);
    height: auto;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(20, 20, 20, 0.16));
}
@media (max-width: 640px) {
    .rp-quiz__badge {
        top: -18px;
        right: -6px;
        width: 62px;
    }
    .rp-quiz__top {
        padding-right: 44px;
    }
}
.rp-sec__in--quiz-wrap { max-width: 1320px; }
.rp-sec__in--faq {
    max-width: 1320px;
    margin: 0;
    margin-right: auto;
}
.rp-sec__in--catalog {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.rp-sec__in--pay {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(30px, 4vw, 56px);
    align-items: center;
}
.rp-sec__in--contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(28px, 4vw, 56px);
}

.rp-sec__head { margin-bottom: 44px; }
.rp-sec__head--center { text-align: center; margin-bottom: 42px; }
.rp-sec__head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 28px;
    margin-bottom: 38px;
}
.rp-sec__head-text {
    flex: 1 1 280px;
    max-width: 720px;
}
.rp-sec__head-lead {
    margin-top: 14px;
    max-width: 640px;
}
.rp-sec__head-btn {
    flex-shrink: 0;
    align-self: flex-end;
    white-space: nowrap;
}
@media (max-width: 639px) {
    .rp-sec__head-btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }
}

.rp-kicker {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b08a1f;
    margin-bottom: 12px;
}
.rp-kicker--accent { color: #f0cf4c; }

.rp-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: #141414;
}
.rp-title--md { font-size: clamp(26px, 3.4vw, 40px); }
.rp-title--lg { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -0.025em; }
.rp-title--sm { font-size: clamp(24px, 3vw, 36px); line-height: 1.1; max-width: 720px; margin: 0 auto 14px; }
.rp-title--catalog { font-size: clamp(25px, 3vw, 38px); line-height: 1.08; margin-bottom: 12px; }
.rp-title--contacts { font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.02em; max-width: 420px; margin-bottom: 24px; }
.rp-title--narrow { max-width: 640px; }
.rp-title--light { color: #fff; }

.rp-lead {
    font-size: 16px;
    line-height: 1.55;
    color: #6f6a5e;
    margin: 0;
    max-width: 720px;
}
.rp-lead--light { color: rgba(255, 255, 255, 0.66); font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.rp-lead--wide { max-width: 780px; margin: 0 auto; text-align: center; }

.rp-title--xl {
    font-size: clamp(28px, 3.8vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.025em;
    max-width: 920px;
    margin: 0 auto 16px;
    text-align: center;
}

.rp-sec--types {
    padding-top: clamp(36px, 4.5vw, 56px);
    padding-bottom: clamp(36px, 4.5vw, 56px);
}

.rp-paycards--solo {
    max-width: 640px;
}
.rp-pay-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
    gap: clamp(18px, 3vw, 28px);
    align-items: stretch;
}
.rp-pay-layout__photo {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 280px;
    border: 1px solid #ece8df;
}
.rp-pay-layout__sound {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #141414;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 14px rgba(20, 20, 20, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    outline: none;
}
.rp-pay-layout__sound:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(20, 20, 20, 0.22);
}
.rp-pay-layout__sound:active {
    transform: scale(0.96);
}
.rp-pay-layout__sound:focus-visible {
    box-shadow: 0 4px 14px rgba(20, 20, 20, 0.2), 0 0 0 2px #f0cf4c;
}
.rp-pay-layout__sound.is-unmuted {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 14px rgba(20, 20, 20, 0.2), inset 0 0 0 2px #f0cf4c;
}
.rp-pay-layout__sound-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.rp-pay-layout__sound-icon--on { display: none; }
.rp-pay-layout__sound.is-unmuted .rp-pay-layout__sound-icon--off { display: none; }
.rp-pay-layout__sound.is-unmuted .rp-pay-layout__sound-icon--on { display: block; }
.rp-pay-layout__photo img,
.rp-pay-layout__photo video {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    background: #f1eee7;
}
.rp-sec--pay .rp-paycards__row {
    background: #fff;
    border: 1px solid #ece8df;
}
.rp-sec--pay .rp-paycards__label { color: #8a857a; }
.rp-sec--pay .rp-paycards__value { color: #141414; }
.rp-sec--pay .rp-paycards__hint { color: #8a857a; }

/* Quiz consultant bubble */
.rp-consultant {
    position: relative;
    max-width: 520px;
    margin: 0 auto 22px;
}
.rp-consultant__avatar {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin-left: 6px;
    margin-bottom: -18px;
    box-shadow: 0 4px 14px rgba(20, 20, 20, 0.12);
}
.rp-consultant__bubble {
    position: relative;
    background: #fff3c8;
    border-radius: 16px;
    padding: 22px 20px 16px;
    border: 1px solid #f0e4a8;
}
.rp-consultant__pointer {
    position: absolute;
    top: -7px;
    left: 26px;
    width: 14px;
    height: 14px;
    background: #fff3c8;
    border-left: 1px solid #f0e4a8;
    border-top: 1px solid #f0e4a8;
    transform: rotate(45deg);
    border-radius: 2px;
}
.rp-consultant__name {
    font-size: 15px;
    font-weight: 800;
    color: #141414;
    letter-spacing: -0.01em;
}
.rp-consultant__role {
    font-size: 12px;
    color: #7a766c;
    margin-top: 2px;
    margin-bottom: 8px;
}
.rp-consultant__msg {
    font-size: 14px;
    line-height: 1.5;
    color: #2b2820;
    margin: 0;
}
.rp-cta-band .rp-sec__head {
    margin-bottom: 0;
    align-items: center;
}
.rp-cta-band .rp-sec__head-btn {
    align-self: center;
}
.rp-sec--contacts .rp-sec__head {
    margin-bottom: 28px;
}
.rp-sec--contacts .rp-sec__head-text {
    max-width: 100%;
}

/* Kitchen types promo */
.rp-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.rp-types__card {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    text-decoration: none;
    color: #fff;
}
.rp-types__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.rp-types__card:hover img { transform: scale(1.04); }
.rp-types__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.35) 55%, rgba(14, 14, 14, 0.15) 100%);
}
.rp-types__price {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    color: #141414;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 99px;
    white-space: nowrap;
}
.rp-types__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 22px 24px;
}
.rp-types__title {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 0 0 6px;
}
.rp-types__text {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 10px;
}
.rp-types__link {
    font-size: 13px;
    font-weight: 700;
    color: #f0cf4c;
}

/* Stats strip */
.rp-stats {
    background: #141414;
    color: #fff;
    padding-top: clamp(28px, 4vw, 40px);
    padding-bottom: clamp(28px, 4vw, 40px);
    padding-left: var(--rp-gutter-x);
    padding-right: var(--rp-gutter-x);
}
.rp-stats__in {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    text-align: center;
}
.rp-stats__value {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
    color: #f0cf4c;
}
.rp-stats__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* Offer cards */
.rp-sec--offers { padding-top: clamp(48px, 6vw, 88px); }
.rp-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.rp-offers__card {
    background: #fff;
    border: 1px solid #ece8df;
    border-radius: 18px;
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rp-offers__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.rp-offers__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b08a1f;
    margin-bottom: 8px;
}
.rp-offers__title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin: 0;
    color: #141414;
}
.rp-offers__badge {
    flex: none;
    min-width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0cf4c;
    color: #141414;
    font-size: 14px;
    font-weight: 800;
    border-radius: 12px;
    padding: 0 10px;
}
.rp-offers__badge--dark {
    background: #141414;
    color: #fff;
}
.rp-offers__text {
    font-size: 15px;
    line-height: 1.55;
    color: #6f6a5e;
    margin: 0;
    flex: 1;
}
.rp-offers__btn {
    appearance: none;
    cursor: pointer;
    align-self: flex-start;
    background: transparent;
    border: 1.5px solid #e0dbd0;
    color: #141414;
    font-family: inherit;
    font-weight: 700;
    font-size: 14.5px;
    padding: 11px 16px;
    border-radius: 11px;
    transition: border-color 0.15s ease;
}
.rp-offers__btn:hover { border-color: #141414; }

/* CTA band */
.rp-cta-band {
    background: linear-gradient(135deg, #141414 0%, #1f1a10 100%);
    color: #fff;
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
    padding-left: var(--rp-gutter-x);
    padding-right: var(--rp-gutter-x);
    border-top: 1px solid rgba(240, 207, 76, 0.15);
    border-bottom: 1px solid rgba(240, 207, 76, 0.15);
}
.rp-cta-band--video {
    position: relative;
    overflow: hidden;
    background: #141414;
}
.rp-cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.rp-cta-band__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rp-cta-band__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.88) 0%, rgba(31, 26, 16, 0.78) 55%, rgba(20, 20, 20, 0.9) 100%);
}
.rp-cta-band__content {
    position: relative;
    z-index: 1;
}
.rp-btn--lg {
    font-size: 17px;
    padding: 18px 32px;
}

/* Buttons */
.rp-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 28px;
    border-radius: 99px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.rp-btn:hover { opacity: 0.92; }
.rp-btn--dark { background: #141414; color: #fff; font-size: 15px; font-weight: 700; padding: 14px 24px; white-space: nowrap; }
.rp-btn--catalog { background: #141414; color: #fff; font-weight: 800; font-size: 16px; padding: 18px 32px; white-space: nowrap; }
.rp-btn--accent { background: #f0cf4c; color: #141414; }
.rp-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 600;
    padding: 16px 26px;
}

/* Quiz — компактная карточка */
.rp-quiz-wrap {
    position: relative;
}
.rp-quiz {
    background: #fff;
    border: 1px solid #e6e1d7;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(20, 20, 20, 0.06);
    position: relative;
    overflow: visible;
}
.rp-quiz__top { padding: 14px 16px 0; }
.rp-quiz__meta {
    margin-bottom: 8px;
}
.rp-quiz__step-name { font-weight: 700; font-size: 13px; letter-spacing: -0.01em; color: #141414; }
.rp-quiz__step-count {
    font-weight: 600;
    font-size: 12px;
    color: #8a857a;
    text-align: center;
    white-space: nowrap;
}
.rp-quiz__bar {
    height: 4px;
    border-radius: 99px;
    background: #efece4;
    overflow: hidden;
}
.rp-quiz__bar-fill {
    height: 100%;
    background: #f0cf4c;
    border-radius: 99px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.rp-quiz__body { padding: 16px 16px 4px; }
.rp-quiz__q {
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 4px;
    color: #141414;
}
.rp-quiz__sub { font-size: 13.5px; color: #8a857a; margin: 0 0 14px; line-height: 1.4; }
.rp-quiz__opts {
    display: grid;
    gap: 8px;
}
.rp-quiz__opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-quiz__opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-quiz__opts--visual { gap: 8px; }
@media (min-width: 720px) {
    .rp-quiz__opts--count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rp-quiz__opts--count-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rp-quiz__opts--count-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
    .rp-quiz__opts--2,
    .rp-quiz__opts--count-4,
    .rp-quiz__opts--count-5,
    .rp-quiz__opts--count-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rp-opt--visual .rp-opt__label {
        padding: 6px 5px 7px;
        gap: 5px;
    }
    .rp-opt--visual .rp-opt__label-text {
        font-size: 10.5px;
        line-height: 1.15;
    }
    #quiz .rp-opt--visual .rp-opt__dot {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }
    #quiz .rp-opt:not(.rp-opt--visual) {
        font-size: 12.5px;
        padding: 10px 8px;
        gap: 6px;
    }
    .rp-quiz__foot .rp-quiz__next {
        padding: 10px 16px;
        font-size: 13px;
    }
}
#quiz .rp-opt:not(.rp-opt--visual) {
    padding: 11px 12px;
    font-size: 14px;
    border-radius: 11px;
    gap: 8px;
    align-items: center;
    line-height: 1.25;
}
#quiz .rp-opt__label-text {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}
#quiz .rp-opt__dot {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    align-self: center;
}
#quiz .rp-opt.is-selected .rp-opt__dot {
    border-width: 4px;
}
.rp-opt--visual {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
}
.rp-opt--visual .rp-opt__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #ece8df;
}
.rp-opt--visual .rp-opt__img--placeholder {
    display: block;
    background: linear-gradient(135deg, #ece8df 0%, #e2ddd2 100%);
}
.rp-opt--visual .rp-opt__label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.25;
}
.rp-opt--visual .rp-opt__label-text {
    flex: 1;
    min-width: 0;
}
.rp-opt__subline {
    display: block;
    font-size: 0.92em;
    font-weight: 600;
    color: #6f6a5e;
    margin-top: 1px;
}
.rp-opt--visual .rp-opt__dot { margin-left: 2px; }
.rp-opt--visual.is-selected .rp-opt__label { background: #fff; }
.rp-opt--visual:hover { border-color: #cfc9bc; }
.rp-opt--visual.is-selected {
    border-color: #141414;
    box-shadow: 0 0 0 3px #f0cf4c;
}
.rp-quiz__foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 10px;
    padding: 10px 16px 14px;
    margin-top: 8px;
    min-height: 48px;
}
.rp-quiz__foot .rp-quiz__step-count {
    grid-column: 2;
    justify-self: center;
    white-space: nowrap;
    font-size: 11px;
}
.rp-quiz__foot .rp-quiz__back {
    grid-column: 1;
    justify-self: start;
}
.rp-quiz__foot .rp-quiz__next {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0;
}
.rp-quiz__back {
    appearance: none;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #8a857a;
    padding: 8px 0;
}
.rp-quiz__next {
    appearance: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    padding: 11px 20px;
    border-radius: 99px;
    background: #141414;
    color: #fff;
    transition: background 0.15s ease, opacity 0.15s ease;
}
.rp-quiz__form {
    display: grid;
    gap: 10px;
}
.rp-quiz__label-text {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #141414;
}
#quiz .rp-field {
    padding: 11px 12px;
    font-size: 14px;
    border-radius: 10px;
}
.rp-quiz__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
    line-height: 1.4;
    color: #8a857a;
}
.rp-quiz__legal {
    margin: 12px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: #b3ada1;
    text-align: center;
}
.rp-quiz__label { display: block; }
.rp-quiz__label-opt { color: #b3ada1; font-weight: 500; }
.rp-quiz__label-req { color: #c0392b; }
.rp-quiz__consent input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: #141414;
    flex: none;
    cursor: pointer;
}

.rp-quiz-thanks {
    background: #141414;
    color: #fff;
    border-radius: 22px;
    padding: clamp(34px, 5vw, 56px);
    text-align: center;
    box-shadow: 0 24px 70px rgba(20, 20, 20, 0.18);
}
.rp-quiz-thanks__icon {
    width: 62px; height: 62px; border-radius: 99px;
    background: #f0cf4c; color: #141414;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; font-weight: 900;
    margin: 0 auto 22px;
}
.rp-quiz-thanks__title {
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.1; letter-spacing: -0.02em;
    font-weight: 800; margin: 0 0 14px;
}
.rp-quiz-thanks__text {
    font-size: 17px; line-height: 1.5;
    color: rgba(255, 255, 255, 0.66);
    max-width: 480px; margin: 0 auto 28px;
}
.rp-quiz-thanks__actions {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center; margin-bottom: 32px;
}
.rp-quiz-thanks__summary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: left;
    max-width: 560px;
    margin: 0 auto;
}
.rp-quiz-thanks__summary-label {
    font-size: 12.5px; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}
.rp-quiz-thanks__tags { display: flex; flex-wrap: wrap; gap: 9px; }
.rp-quiz-thanks__tags span {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    padding: 8px 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* Portfolio */
.rp-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.rp-portfolio__card {
    border: 1px solid #ece8df;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.rp-portfolio__img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1eee7;
    display: block;
    text-decoration: none;
}
.rp-portfolio__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.rp-portfolio__card:hover .rp-portfolio__img img { transform: scale(1.03); }
.rp-portfolio__body {
    padding: 20px 22px 22px;
    display: flex; flex-direction: column; gap: 14px; flex: 1;
}
.rp-portfolio__title {
    font-size: 19px; font-weight: 800;
    letter-spacing: -0.015em; line-height: 1.2; margin: 0;
}
.rp-portfolio__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-tag {
    background: #f6f4ef;
    border-radius: 8px;
    padding: 6px 11px;
    font-size: 13.5px;
    color: #6f6a5e;
}
.rp-tag--bold { font-weight: 700; color: #141414; }
.rp-portfolio__btn {
    appearance: none; cursor: pointer; margin-top: auto;
    background: transparent;
    border: 1.5px solid #e0dbd0;
    color: #141414;
    font-family: inherit; font-weight: 700; font-size: 14.5px;
    padding: 11px 16px; border-radius: 11px;
    transition: border-color 0.15s ease;
}
.rp-portfolio__btn:hover { border-color: #141414; }

/* Steps */
.rp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.rp-steps__card {
    background: #fff;
    border: 1px solid #ece8df;
    border-radius: 18px;
    padding: 30px 28px;
}
.rp-steps__num {
    font-size: 44px; font-weight: 800;
    letter-spacing: -0.03em; color: #f0cf4c;
    line-height: 1; margin-bottom: 18px;
}
.rp-steps__title {
    font-size: 21px; font-weight: 800;
    letter-spacing: -0.015em; margin-bottom: 9px;
}
.rp-steps__text { font-size: 15.5px; line-height: 1.55; color: #6f6a5e; margin: 0; }

/* Director / montage trust block */
.rp-director {
    padding-top: clamp(48px, 6vw, 88px);
    padding-bottom: clamp(48px, 6vw, 88px);
}
.rp-director__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}
.rp-director__title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #141414;
    margin: 0 0 14px;
}
.rp-director__title strong {
    font-weight: 900;
    color: #141414;
}
.rp-director__lead {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.45;
    color: #6f6a5e;
    margin: 0 0 28px;
    max-width: 34em;
}
.rp-director__list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    gap: 22px;
}
.rp-director__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.rp-director__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a7fd4;
    background: rgba(74, 127, 212, 0.08);
    border: 1px solid rgba(74, 127, 212, 0.18);
}
.rp-director__item-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #141414;
    margin-bottom: 6px;
}
.rp-director__item-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #6f6a5e;
}
.rp-director__cta {
    appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #141414;
    padding: 18px 30px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fde08d 0%, #f5c842 100%);
    box-shadow: 0 10px 28px rgba(245, 200, 66, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rp-director__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(245, 200, 66, 0.42);
}
.rp-director__media {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 320px;
}
.rp-director__photo {
    width: min(100%, 420px);
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}
.rp-director__badge {
    position: absolute;
    left: clamp(8px, 8%, 36px);
    bottom: clamp(72px, 14%, 120px);
    z-index: 2;
    max-width: min(240px, 72%);
    box-shadow: 0 12px 32px rgba(20, 20, 20, 0.12);
}
.rp-director__badge-name {
    background: #4a7fd4;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
    letter-spacing: -0.01em;
}
.rp-director__badge-role {
    background: #fff;
    color: #141414;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 16px;
    border: 1px solid #e6e1d7;
    border-top: none;
    border-radius: 0 0 8px 8px;
    line-height: 1.35;
}
@media (max-width: 900px) {
    .rp-director__grid {
        grid-template-columns: 1fr;
    }
    .rp-director__media {
        order: -1;
        min-height: 0;
        padding-top: 8px;
    }
    .rp-director__photo {
        width: min(100%, 320px);
        margin: 0 auto;
    }
    .rp-director__badge {
        left: 50%;
        transform: translateX(-58%);
        bottom: 18%;
    }
}

/* Advantages */
.rp-adv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
}
.rp-adv__cell { background: #141414; padding: 30px 28px; }
.rp-adv__icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(240, 207, 76, 0.14); color: #f0cf4c;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; margin-bottom: 18px;
}
.rp-adv__title {
    font-size: 19px; font-weight: 800;
    letter-spacing: -0.015em; margin-bottom: 9px;
}
.rp-adv__text { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* Brands */
.rp-brands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 8px;
}
.rp-brands__item {
    border: 1px solid #ece8df;
    border-radius: 14px;
    height: 74px;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; font-weight: 800;
    letter-spacing: 0.01em; color: #3b372f;
}

/* Reviews */
.rp-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}
.rp-reviews__card {
    background: #fff;
    border: 1px solid #ece8df;
    border-radius: 18px;
    padding: 26px;
    display: flex; flex-direction: column; gap: 18px;
}
.rp-reviews__photo {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    background: #f1eee7;
}
.rp-reviews__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-reviews__quote { font-size: 16px; line-height: 1.55; color: #2b2820; margin: 0; flex: 1; }
.rp-reviews__author { display: flex; align-items: center; gap: 12px; }
.rp-reviews__avatar {
    width: 42px; height: 42px; border-radius: 99px;
    background: #f0cf4c; color: #141414;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 17px; flex-shrink: 0;
}
.rp-reviews__name { font-weight: 700; font-size: 15.5px; }
.rp-reviews__role { font-size: 13.5px; color: #8a857a; }

/* Pay cards */
.rp-paycards { display: grid; gap: 14px; }
.rp-paycards__row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}
.rp-paycards__label { font-size: 15px; color: rgba(255, 255, 255, 0.6); margin-bottom: 3px; }
.rp-paycards__value { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.rp-paycards__hint { font-size: 14px; color: rgba(255, 255, 255, 0.5); text-align: right; max-width: 200px; }

/* Catalog */
.rp-catalog__text { max-width: 640px; }
.rp-catalog__sub { font-size: 16.5px; line-height: 1.5; color: rgba(20, 20, 20, 0.72); margin: 0; }

/* FAQ */
#faq .rp-faq {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    #faq .rp-faq {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
.rp-faq__item {
    border: 1px solid #ece8df;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    align-self: start;
}
.rp-faq__btn {
    appearance: none; cursor: pointer; width: 100%;
    background: transparent; border: none; font-family: inherit;
    text-align: left;
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 12px; padding: 16px 18px;
    font-size: 15px; font-weight: 700;
    letter-spacing: -0.01em; color: #141414;
    line-height: 1.35;
}
.rp-faq__sign {
    flex: none; width: 26px; height: 26px;
    border-radius: 99px; background: #f6f4ef;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 600; color: #141414;
    margin-top: 1px;
}
.rp-faq__panel {
    padding: 0 18px 16px;
    font-size: 14px; line-height: 1.55;
    color: #615d52;
    max-width: none;
    animation: rpFaqIn 0.2s ease;
}
@keyframes rpFaqIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* Contacts */
.rp-contacts__logo {
    display: flex; align-items: center; gap: 11px;
    margin-bottom: 24px;
    font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
}
.rp-contacts__logo-mark {
    width: 30px; height: 30px; border-radius: 7px;
    background: #f0cf4c; color: #141414;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 17px;
}
.rp-contacts__list { display: grid; gap: 16px; margin-bottom: 28px; }
.rp-contacts__label { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-bottom: 3px; }
.rp-contacts__phone {
    color: #fff; text-decoration: none;
    font-size: 21px; font-weight: 800; letter-spacing: -0.01em;
}
.rp-contacts__val { font-size: 16px; font-weight: 600; }
.rp-contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rp-contacts__map {
    aspect-ratio: 16/11;
    border-radius: 18px;
    overflow: hidden;
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.rp-contacts__map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-contacts__footer {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: space-between;
    font-size: 13.5px; color: rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0 40px;
    margin-top: 40px;
}

#quiz, #works, #reviews, #faq, #contacts { scroll-margin-top: 80px; }

/* Hero и футер на /rasschet — те же боковые отступы, что у .rp-sec */
.rp-page #hero > .mx-auto {
    padding-left: var(--rp-gutter-x) !important;
    padding-right: var(--rp-gutter-x) !important;
}
.rp-page #hero .bg-white.border-t .mx-auto {
    padding-left: var(--rp-gutter-x) !important;
    padding-right: var(--rp-gutter-x) !important;
}
.rp-page #hero .justify-center.px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.rp-page #hero .rp-hero-promo {
    display: block;
    text-align: left;
}
.rp-page #hero .rp-hero-promo__text {
    display: inline-block;
    max-width: 100%;
    text-align: left;
}
.rp-page #hero .rp-hero-promo__until {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}
@media (max-width: 639px) {
    .rp-page #hero .rp-hero-promo__text {
        letter-spacing: 0.06em;
        line-height: 1.45;
    }
    .rp-page #hero .rp-hero-promo__until {
        display: block;
        margin-top: 2px;
        font-size: 11px;
    }
}
.rp-page #hero > .mx-auto .px-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.rp-page #contacts footer .mx-auto {
    padding-left: var(--rp-gutter-x) !important;
    padding-right: var(--rp-gutter-x) !important;
}

@media (max-width: 900px) {
    .rp-pay-layout { grid-template-columns: 1fr; }
    .rp-pay-layout__photo { min-height: 220px; }
    .rp-pay-layout__photo img,
    .rp-pay-layout__photo video { min-height: 220px; }
}

/* Перебиваем Tailwind preflight (site.css грузится раньше этого файла) */
.rp-page .rp-quiz__next {
    appearance: none;
    border: none;
    background-color: #141414;
    color: #fff;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
}
.rp-page .rp-quiz__next.is-disabled {
    background-color: #e6e1d7 !important;
    color: #aaa39c !important;
    box-shadow: none !important;
    cursor: not-allowed;
}
.rp-page .rp-quiz__next.is-accent {
    background-color: #f0cf4c !important;
    color: #141414 !important;
    box-shadow: 0 8px 24px rgba(240, 207, 76, 0.32);
}
.rp-page .rp-btn--accent { background-color: #f0cf4c; color: #141414; }
.rp-page .rp-btn--dark,
.rp-page .rp-btn--catalog { background-color: #141414; color: #fff; }
.rp-page .rp-btn--ghost {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.rp-page .rp-portfolio__btn {
    background-color: transparent;
    color: #141414;
}
.rp-page .rp-faq__btn { background-color: transparent; color: #141414; }
.rp-page .rp-opt { background-color: #faf9f5; color: #141414; }
.rp-page .rp-opt.is-selected { background-color: #fff; }
.rp-page a.rp-contacts__phone { color: #fff; text-decoration: none; }
.rp-page a.rp-types__card { color: #fff; text-decoration: none; }
.rp-page .rp-offers__btn { background-color: transparent; color: #141414; }
