/* ================================================================
   Requisites page blocks (Blocks\\Requisites*)
   hero / company data / bank accounts / contact band
   ================================================================ */

:root {
    --req-bordo: #6b0c26;
    --req-red: #8d0b2c;
    --req-bordo-soft: #9b4a61;
    --req-ink: #33282b;
    --req-muted: #7d6a70;
    --req-line: #e7dcdf;
    --req-line-soft: #f0e6e9;
    --req-card: #faf2f3;
    --req-rose: #faf6f7;
    --req-shadow-s: 0 6px 18px rgba(88, 20, 40, .06);
    --req-shadow-m: 0 14px 34px rgba(88, 20, 40, .11);
}

.req-icon {
    display: block;
    width: 100%;
    height: 100%;
}

/* ================= shared section head ================= */

.req-section {
    position: relative;
    padding: 72px 0;
}

.req-section--alt {
    background-color: var(--req-rose);
}

.req-section__head {
    max-width: 780px;
    margin: 0 0 40px;
}

.req-section__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--req-bordo-soft);
}

.req-section__eyebrow::after {
    content: '';
    flex: 1;
    max-width: 64px;
    height: 1px;
    background-color: #d8c3c9;
}

.req-section__title {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--req-bordo);
}

.req-section__desc {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--req-muted);
}

/* ================= buttons ================= */

.req-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 26px;
    border: 1px solid var(--req-bordo);
    border-radius: 100px;
    background-color: var(--req-bordo);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.req-btn:hover {
    background-color: var(--req-red);
    border-color: var(--req-red);
    box-shadow: var(--req-shadow-m);
    transform: translateY(-2px);
}

.req-btn--ghost {
    background-color: #fff;
    border-color: #e2d2d7;
    color: var(--req-bordo);
}

.req-btn--ghost:hover {
    background-color: #fff;
    border-color: var(--req-bordo);
    color: var(--req-bordo);
}

.req-btn__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.req-btn.is-copied {
    background-color: #2f6b4a;
    border-color: #2f6b4a;
    color: #fff;
}

/* ---------- small copy button ---------- */

.req-copy {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--req-line);
    border-radius: 50%;
    background-color: #fff;
    color: var(--req-bordo-soft);
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}

.req-copy:hover {
    border-color: var(--req-bordo);
    color: var(--req-bordo);
}

.req-copy__icon {
    width: 17px;
    height: 17px;
}

.req-copy__icon--done {
    display: none;
}

.req-copy.is-copied {
    border-color: #2f6b4a;
    background-color: #2f6b4a;
    color: #fff;
}

.req-copy.is-copied .req-copy__icon--idle {
    display: none;
}

.req-copy.is-copied .req-copy__icon--done {
    display: block;
}

/* tooltip */
.req-copy::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: var(--req-ink);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .2s ease, transform .2s ease;
}

.req-copy:hover::after,
.req-copy:focus-visible::after,
.req-copy.is-copied::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ================= hero ================= */

.req-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 64px;
    background-image:
        radial-gradient(1100px 520px at 82% -10%, #f7eef0 0%, rgba(247, 238, 240, 0) 70%),
        linear-gradient(180deg, #fdf9f8 0%, #fdfbf9 62%);
}

.req-hero__decor {
    position: absolute;
    top: -70px;
    right: -110px;
    width: min(52%, 720px);
    opacity: .32;
    mask-image: linear-gradient(250deg, #000 30%, rgba(0, 0, 0, 0) 86%);
    -webkit-mask-image: linear-gradient(250deg, #000 30%, rgba(0, 0, 0, 0) 86%);
    pointer-events: none;
    user-select: none;
}

.req-hero__decor img {
    display: block;
    width: 100%;
    height: auto;
}

.req-hero__inner {
    position: relative;
    z-index: 1;
}

.req-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--req-muted);
}

.req-hero__crumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #cbb6bd;
}

.req-hero__crumbs a {
    color: var(--req-muted);
    text-decoration: none;
    transition: color .25s ease;
}

.req-hero__crumbs a:hover {
    color: var(--req-red);
}

.req-hero__crumbs li:last-child {
    color: var(--req-bordo);
}

.req-hero__top {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
}

.req-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--req-bordo-soft);
}

.req-hero__eyebrow::after {
    content: '';
    width: 64px;
    height: 1px;
    background-color: #d8c3c9;
}

.req-hero__title {
    margin: 0 0 20px;
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.01em;
    color: var(--req-bordo);
}

.req-hero__lead {
    margin: 0;
    max-width: 600px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--req-muted);
}

.req-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0 0;
}

/* ---------- hero summary card ---------- */

.req-hero__card {
    position: relative;
    overflow: hidden;
    padding: 30px 32px;
    border-radius: 12px;
    background-image: linear-gradient(135deg, #7a1030 0%, #5a0a20 100%);
    color: #fff;
    box-shadow: 0 20px 44px rgba(90, 10, 32, .22);
}

.req-hero__card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 52px rgba(255, 255, 255, .03);
}

.req-hero__card-label {
    position: relative;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.req-hero__card-name {
    position: relative;
    margin: 0 0 22px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.req-hero__card-list {
    position: relative;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    list-style: none;
}

.req-hero__card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .88);
}

.req-hero__card-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: rgba(255, 255, 255, .6);
}

/* ================= company data ================= */

.req-company {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.req-sheet {
    border: 1px solid var(--req-line);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: var(--req-shadow-s);
}

.req-sheet__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 30px;
    border-bottom: 1px solid var(--req-line-soft);
}

.req-sheet__badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--req-card);
    color: var(--req-bordo);
}

.req-sheet__badge svg {
    width: 22px;
    height: 22px;
}

.req-sheet__title {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    color: var(--req-bordo);
}

.req-sheet__sub {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--req-muted);
}

.req-sheet__list {
    margin: 0;
    padding: 6px 30px 10px;
}

.req-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--req-line-soft);
}

.req-row:last-child {
    border-bottom: 0;
}

.req-row__label {
    margin: 0;
    font-size: 14px;
    color: var(--req-muted);
}

.req-row__value {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--req-ink);
    overflow-wrap: anywhere;
}

.req-row__value--code {
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
}

/* ---------- visit card ---------- */

.req-visit {
    overflow: hidden;
    border: 1px solid var(--req-line);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: var(--req-shadow-s);
}

.req-visit__map {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    background-color: var(--req-card);
    background-image:
        linear-gradient(rgba(107, 12, 38, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 12, 38, .06) 1px, transparent 1px);
    background-size: 26px 26px;
}

.req-visit__pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--req-bordo);
    color: #fff;
    box-shadow: 0 0 0 10px rgba(107, 12, 38, .1), 0 0 0 22px rgba(107, 12, 38, .05);
}

.req-visit__pin svg {
    width: 24px;
    height: 24px;
}

.req-visit__body {
    padding: 24px 28px 28px;
}

.req-visit__title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: var(--req-bordo);
}

.req-visit__list {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.req-visit__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--req-ink);
}

.req-visit__list a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.req-visit__list a:hover {
    color: var(--req-red);
}

.req-visit__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--req-bordo-soft);
}

.req-visit__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--req-bordo);
    text-decoration: none;
}

.req-visit__link svg {
    width: 18px;
    height: 18px;
    transition: transform .25s ease;
}

.req-visit__link:hover svg {
    transform: translateX(4px);
}

/* ================= bank accounts ================= */

.req-banks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.req-bank {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--req-line);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: var(--req-shadow-s);
    transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}

.req-bank:hover {
    border-color: #dcc6cc;
    box-shadow: var(--req-shadow-m);
    transform: translateY(-3px);
}

.req-bank__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 26px;
}

.req-bank__mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--req-card);
    color: var(--req-bordo);
    font-size: 17px;
    font-weight: 700;
}

.req-bank__num {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--req-bordo-soft);
}

.req-bank__name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--req-bordo);
}

.req-bank__iban {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 10px;
    background-color: var(--req-rose);
    border: 1px dashed #e2cdd3;
}

.req-bank__iban-body {
    flex: 1;
    min-width: 0;
}

.req-bank__label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--req-muted);
}

.req-bank__iban-value {
    display: block;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: .06em;
    font-variant-numeric: tabular-nums;
    color: var(--req-ink);
}

.req-bank__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0 0;
    padding: 0 22px;
}

.req-bank__meta-body {
    flex: 1;
    min-width: 0;
}

.req-bank__swift {
    display: block;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--req-ink);
}

/* ================= contact band ================= */

.req-band {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    border-radius: 14px;
    background-image: linear-gradient(120deg, #6b0c26 0%, #8d0b2c 100%);
    color: #fff;
}

.req-band::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(255, 255, 255, .03);
    pointer-events: none;
}

.req-band__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.req-band__title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.req-band__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}

.req-band__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.req-band .req-btn {
    background-color: #fff;
    border-color: #fff;
    color: var(--req-bordo);
}

.req-band .req-btn:hover {
    background-color: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.req-band .req-btn--ghost {
    background-color: transparent;
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.req-band .req-btn--ghost:hover {
    background-color: rgba(255, 255, 255, .08);
    border-color: #fff;
}

/* ================= layout variants ================= */

.req-hero__top--single {
    grid-template-columns: minmax(0, 1fr);
}

.req-company--single {
    grid-template-columns: minmax(0, 1fr);
}

.req-banks--single {
    grid-template-columns: minmax(0, 640px);
}

/* two light sections in a row should not double the gap */
.req-section:not(.req-section--alt) + .req-section--band {
    padding-top: 0;
}

/* ================= toast ================= */

.req-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 100px;
    background-color: var(--req-ink);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity .3s ease, transform .3s ease;
}

.req-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.req-toast svg {
    width: 18px;
    height: 18px;
    color: #8fd1ab;
}

/* ================= reveal ================= */

.req-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.req-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .req-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ================= adaptive ================= */

@media (max-width: 1500px) {
    .req-hero__title {
        font-size: 48px;
    }

    .req-section__title {
        font-size: 31px;
    }
}

@media (max-width: 1200px) {
    .req-hero {
        padding: 48px 0 56px;
    }

    .req-section {
        padding: 62px 0;
    }

    .req-hero__top {
        gap: 36px;
    }

    .req-section__title {
        font-size: 28px;
    }

    .req-row {
        grid-template-columns: 180px minmax(0, 1fr) auto;
    }

    .req-bank__iban-value {
        font-size: 19px;
    }

    .req-band {
        padding: 36px 40px;
    }
}

@media (max-width: 1024px) {

    .req-hero__top {
        grid-template-columns: minmax(0, 1fr);
    }

    .req-hero__card {
        max-width: 560px;
    }

    .req-company {
        grid-template-columns: minmax(0, 1fr);
    }

    /* visit card turns horizontal: map on the left */
    .req-visit {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .req-visit__map {
        height: auto;
        min-height: 100%;
    }

    .req-banks {
        gap: 18px;
    }

    .req-bank {
        padding: 26px 24px;
    }

    .req-bank__meta {
        padding: 0 4px;
    }

    .req-bank__iban {
        padding: 18px;
    }

    .req-bank__iban-value {
        font-size: 17px;
    }

    .req-band {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {

    .req-hero {
        padding: 36px 0 44px;
    }

    .req-hero__decor {
        top: -40px;
        right: -90px;
        width: 78%;
        opacity: .2;
    }

    .req-hero__crumbs {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .req-hero__actions {
        margin-top: 26px;
    }

    .req-hero__card {
        max-width: none;
        padding: 26px 24px;
    }

    .req-section {
        padding: 46px 0;
    }

    .req-section__head {
        margin-bottom: 28px;
    }

    .req-section__title {
        font-size: 25px;
    }

    .req-sheet__head {
        padding: 20px 22px;
    }

    .req-sheet__list {
        padding: 4px 22px 8px;
    }

    .req-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            'label copy'
            'value copy';
        gap: 4px 16px;
        padding: 16px 0;
    }

    .req-row__label {
        grid-area: label;
    }

    .req-row__value {
        grid-area: value;
        font-size: 16px;
    }

    .req-row .req-copy {
        grid-area: copy;
    }

    .req-visit {
        display: block;
    }

    .req-visit__map {
        height: 120px;
        min-height: 0;
    }

    .req-banks {
        grid-template-columns: minmax(0, 1fr);
    }

    .req-bank__iban-value {
        font-size: 19px;
    }

    .req-band {
        padding: 32px 26px;
    }

    .req-band__title {
        font-size: 23px;
    }
}

@media (max-width: 576px) {

    .req-hero__title {
        font-size: 34px;
    }

    .req-hero__lead {
        font-size: 16px;
    }

    .req-hero__actions .req-btn {
        flex: 1 1 100%;
    }

    .req-hero__card-name {
        font-size: 21px;
    }

    .req-section__title {
        font-size: 23px;
    }

    .req-sheet__head {
        align-items: flex-start;
    }

    .req-sheet__badge {
        width: 42px;
        height: 42px;
    }

    .req-sheet__title {
        font-size: 19px;
    }

    .req-bank {
        padding: 22px 16px;
    }

    .req-bank__head {
        margin-bottom: 20px;
    }

    .req-bank__mark {
        width: 46px;
        height: 46px;
        font-size: 15px;
    }

    .req-bank__name {
        font-size: 20px;
    }

    .req-bank__iban {
        padding: 14px;
        gap: 12px;
    }

    .req-bank__meta {
        padding: 0 14px;
    }

    .req-bank__iban-value {
        font-size: 15px;
        letter-spacing: .02em;
    }

    .req-bank .req-copy {
        width: 36px;
        height: 36px;
    }

    .req-band__actions {
        width: 100%;
    }

    .req-band__actions .req-btn {
        flex: 1 1 100%;
    }
}

/* ================= print: clean requisites sheet ================= */

@media print {
    body {
        background: #fff;
    }

    .req-hero__decor,
    .req-hero__actions,
    .req-hero__crumbs,
    .req-copy,
    .req-visit__map,
    .req-band,
    .req-toast {
        display: none !important;
    }

    .req-hero,
    .req-section {
        padding: 16px 0;
        background: none;
    }

    .req-hero__top,
    .req-company,
    .req-banks {
        display: block;
    }

    .req-hero__card {
        display: none;
    }

    .req-sheet,
    .req-visit,
    .req-bank {
        margin: 0 0 14px;
        box-shadow: none;
        break-inside: avoid;
    }

    .req-reveal {
        opacity: 1;
        transform: none;
    }
}