/* ================================================================
   Contacts page blocks (Blocks\\Contacts*)
   hero / channels / visit + map / question form
   ================================================================ */

/* ================= tokens ================= */

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

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

/* ================= shared ================= */

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

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

.ct-section[id] {
    scroll-margin-top: var(--ct-offset, 0px);
}

.ct-head {
    max-width: 720px;
    margin: 0 0 36px;
}

.ct-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(--ct-bordo-soft);
}

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

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

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

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

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 26px;
    border: 1px solid var(--ct-bordo);
    border-radius: 100px;
    background-color: var(--ct-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;
}

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

.ct-btn:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

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

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

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

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

.ct-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%);
}

.ct-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;
}

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

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

.ct-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(--ct-muted);
}

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

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

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

.ct-hero__title {
    margin: 0 0 20px;
    font-size: clamp(38px, 4.8vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--ct-bordo);
}

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

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

/* ---------- hero card: the main phone ---------- */

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

.ct-hotline::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);
    pointer-events: none;
}

.ct-hotline__badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 0 20px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, .1);
}

.ct-hotline__badge svg {
    width: 26px;
    height: 26px;
}

.ct-hotline__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);
}

.ct-hotline__phone {
    position: relative;
    display: inline-block;
    margin: 0 0 22px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
}

.ct-hotline__phone:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

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

.ct-hotline__list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.ct-hotline__list b,
.ct-hotline__list a {
    font-weight: 500;
    color: #fff;
    text-align: right;
    text-decoration: none;
}

.ct-hotline__list a:hover {
    text-decoration: underline;
}

/* ================= channels ================= */

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

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

.ct-channel:hover {
    border-color: #dcc8ce;
    box-shadow: var(--ct-shadow-m);
    transform: translateY(-3px);
}

.ct-channel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 0 20px;
    border-radius: 14px;
    background-color: var(--ct-card);
    color: var(--ct-bordo);
    transition: background-color .3s ease, color .3s ease;
}

.ct-channel:hover .ct-channel__icon {
    background-color: var(--ct-bordo);
    color: #fff;
}

.ct-channel__icon svg {
    width: 24px;
    height: 24px;
}

.ct-channel__label {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ct-bordo-soft);
}

.ct-channel__value {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ct-bordo);
    overflow-wrap: anywhere;
}

.ct-channel__value a {
    font-family: inherit;
    color: inherit;
    text-decoration: none;
}

/* the whole card is clickable through the main link */
.ct-channel__value a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
}

.ct-channel__note {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ct-muted);
}

.ct-channel__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--ct-red);
}

.ct-channel__more svg {
    width: 16px;
    height: 16px;
    transition: transform .25s ease;
}

.ct-channel:hover .ct-channel__more svg {
    transform: translateX(3px);
}

/* ================= visit: hours + map ================= */

.ct-visit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: stretch;
}

.ct-hours {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid var(--ct-line);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: var(--ct-shadow-s);
}

.ct-hours__status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin: 0 0 22px;
    padding: 7px 14px;
    border-radius: 100px;
    background-color: var(--ct-card);
    color: var(--ct-bordo);
    font-size: 13px;
    font-weight: 500;
}

.ct-hours__status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #b9a4aa;
}

.ct-hours__status.is-open {
    background-color: #eaf5ee;
    color: var(--ct-ok);
}

.ct-hours__status.is-open::before {
    background-color: #36a164;
    box-shadow: 0 0 0 4px rgba(54, 161, 100, .18);
}

.ct-hours__title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: var(--ct-bordo);
}

.ct-hours__list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.ct-hours__list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--ct-line);
    font-size: 15px;
    color: var(--ct-ink);
}

.ct-hours__list li:last-child {
    border-bottom: 0;
}

.ct-hours__list b {
    font-weight: 500;
    color: var(--ct-bordo);
}

.ct-hours__list .is-off b {
    color: var(--ct-muted);
    font-weight: 400;
}

.ct-hours__address {
    display: flex;
    gap: 14px;
    margin: auto 0 0;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--ct-rose);
}

.ct-hours__address svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--ct-bordo);
}

.ct-hours__address p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ct-ink);
}

.ct-hours__address a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ct-red);
    text-decoration: none;
}

.ct-hours__address a:hover {
    text-decoration: underline;
}

.ct-map {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid var(--ct-line);
    border-radius: 12px;
    background-color: var(--ct-card);
    box-shadow: var(--ct-shadow-s);
}

.ct-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.35) contrast(1.02);
}

/* ================= form ================= */

.ct-ask {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
}

.ct-ask__intro {
    position: sticky;
    top: calc(var(--ct-offset, 0px) + 24px);
}

.ct-ask__points {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ct-ask__points li {
    display: flex;
    gap: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ct-ink);
}

.ct-ask__points span {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--ct-bordo);
    color: #fff;
}

.ct-ask__points svg {
    width: 14px;
    height: 14px;
}

.ct-form {
    position: relative;
    padding: 36px;
    border: 1px solid var(--ct-line);
    border-radius: 14px;
    background-color: #fff;
    box-shadow: var(--ct-shadow-m);
}

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

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-field--wide {
    grid-column: 1 / -1;
}

.ct-field__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ct-ink);
}

.ct-field__label i {
    font-style: normal;
    color: var(--ct-red);
}

.ct-field input,
.ct-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2d2d7;
    border-radius: 10px;
    background-color: #fdfbfb;
    color: var(--ct-ink);
    font-size: 15px;
    line-height: 1.5;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.ct-field textarea {
    min-height: 170px;
    resize: vertical;
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-color: var(--ct-bordo-soft);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(155, 74, 97, .12);
}

/* Magic Forms marks invalid fields with .error */
.ct-field input.error,
.ct-field textarea.error {
    border-color: var(--ct-error);
    background-color: #fff7f8;
}

.ct-field__error {
    display: none;
    font-size: 13px;
    color: var(--ct-error);
}

.ct-field input.error ~ .ct-field__error,
.ct-field textarea.error ~ .ct-field__error {
    display: block;
}

.ct-form__captcha {
    margin: 22px 0 0;
}

.ct-form__captcha:empty {
    display: none;
}

/* keep the Google widget inside narrow phones */
.ct-form__captcha iframe {
    max-width: 100%;
}

.ct-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin: 26px 0 0;
}

.ct-form__note {
    flex: 1 1 260px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ct-muted);
}

.ct-form__note a {
    color: var(--ct-red);
}

/* success / error message rendered by Magic Forms into #…_forms_flash */
.ct-form__flash:empty {
    display: none;
}

.ct-form__flash {
    margin: 22px 0 0;
}

.ct-form__flash > * {
    position: relative;
    margin: 0;
    padding: 16px 18px 16px 48px;
    border-radius: 10px;
    background-color: #fdecef;
    color: var(--ct-error);
    font-size: 15px;
    line-height: 1.55;
}

.ct-form__flash > *::before {
    content: '!';
    position: absolute;
    top: 15px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.8px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.ct-form__flash > [class*='success'] {
    background-color: #eaf5ee;
    color: var(--ct-ok);
}

.ct-form__flash > [class*='success']::before {
    content: '✓';
}

.ct-form__flash button,
.ct-form__flash .close {
    display: none;
}

.ct-form__flash h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: inherit;
}

/* the technical per-field list duplicates the hints under the fields */
.ct-form__flash ul {
    display: none;
}

.ct-form__captcha-error {
    display: none;
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--ct-error);
}

.ct-form__captcha.is-error + .ct-form__captcha-error {
    display: block;
}

.ct-form__captcha.is-error iframe {
    border-radius: 3px;
    box-shadow: 0 0 0 2px var(--ct-error);
}

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

.ct-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;
}

.ct-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;
}

.ct-band__content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

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

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

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

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

.ct-band .ct-btn:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

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

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

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

[data-ct-status][hidden] {
    display: none;
}

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

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

.ct-channels--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-visit--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
}

.ct-hours__address a svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: currentColor;
}

.ct-channel__more svg,
.ct-ask__points svg,
.ct-hotline__badge svg {
    display: block;
}

.ct-form[data-request] .ct-btn[disabled] {
    opacity: .6;
}

.ct-section *,
.ct-section *::before,
.ct-section *::after,
.ct-hero *,
.ct-hero *::before,
.ct-hero *::after {
    box-sizing: border-box;
}

/* ================= responsive ================= */

@media (max-width: 1200px) {
    .ct-channels,
    .ct-channels--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ct-ask {
        gap: 36px;
    }
}

@media (max-width: 1024px) {
    .ct-hero {
        padding: 44px 0 56px;
    }

    .ct-hero__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .ct-hotline {
        max-width: 560px;
    }

    .ct-section {
        padding: 56px 0;
    }

    .ct-visit,
    .ct-ask {
        grid-template-columns: minmax(0, 1fr);
    }

    .ct-visit--single {
        max-width: none;
    }

    .ct-ask__intro {
        position: static;
    }

    .ct-map {
        min-height: 360px;
    }

    .ct-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .ct-hero__decor {
        top: -30px;
        right: -160px;
        width: 90%;
        opacity: .2;
    }

    .ct-title {
        font-size: 28px;
    }

    .ct-hotline {
        max-width: none;
    }

    .ct-form {
        padding: 28px 24px;
    }
}

@media (max-width: 576px) {
    .ct-hero {
        padding: 32px 0 44px;
    }

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

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

    .ct-hotline {
        padding: 26px 22px;
    }

    .ct-hotline__phone {
        font-size: 28px;
    }

    .ct-hotline__list li {
        flex-direction: column;
        gap: 2px;
    }

    .ct-hotline__list b,
    .ct-hotline__list a {
        text-align: left;
    }

    .ct-section {
        padding: 44px 0;
    }

    .ct-channels,
    .ct-channels--2,
    .ct-channels--3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .ct-channel {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 16px;
        padding: 20px;
    }

    .ct-channel__icon {
        grid-row: span 4;
        width: 48px;
        height: 48px;
        margin: 0;
    }

    .ct-channel__value {
        font-size: 18px;
    }

    .ct-channel__note {
        margin-bottom: 10px;
    }

    .ct-hours {
        padding: 24px 20px;
    }

    .ct-map {
        min-height: 300px;
    }

    .ct-form {
        padding: 24px 18px;
        border-radius: 12px;
    }

    .ct-form__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .ct-form__foot .ct-btn {
        width: 100%;
    }

    .ct-band {
        padding: 28px 22px;
    }

    .ct-band__title {
        font-size: 22px;
    }

    .ct-band__actions,
    .ct-band__actions .ct-btn {
        width: 100%;
    }
}