.festivo-contact-page,
.festivo-support-page {
    max-width: 1180px;
    margin: 0 auto;
}

.festivo-contact-hero,
.festivo-support-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.8rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: #fff;
    background: radial-gradient(circle at 84% 18%, rgba(255, 119, 184, .5), transparent 23rem), linear-gradient(130deg, #241144, #562a86 57%, #8a3d83);
    border-radius: 26px;
    overflow: hidden;
}

.festivo-contact-hero h1,
.festivo-support-hero h1 {
    max-width: 660px;
    margin: .4rem 0 .75rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.05em;
}

.festivo-contact-hero p,
.festivo-support-hero p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1.02rem;
}

.festivo-contact-hero .festivo-workspace-kicker,
.festivo-support-hero .festivo-workspace-kicker {
    color: #ffc6e1;
}

.festivo-contact-hero-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 132px;
    height: 132px;
    font-size: 3.6rem;
    color: #43206d;
    background: linear-gradient(135deg, #fff 0%, #ffb5db 100%);
    border-radius: 38% 62% 50% 50% / 49% 39% 61% 51%;
    box-shadow: 0 18px 38px rgba(20, 7, 43, .25);
    transform: rotate(-8deg);
}

.festivo-contact-compose,
.festivo-contact-help-card,
.festivo-contact-history,
.festivo-support-message {
    border: 1px solid rgba(74, 33, 116, .1);
    box-shadow: 0 14px 40px rgba(29, 12, 61, .07);
}

.festivo-contact-help-card {
    padding: 2rem;
    color: #f5efff;
    background: #251241;
    border-radius: 20px;
}

.festivo-contact-help-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    color: #321552;
    background: #ffb3db;
    border-radius: 13px;
}

.festivo-contact-help-card h2,
.festivo-contact-history h2 {
    margin: 0 0 .6rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.festivo-contact-help-card p {
    color: #d8cbe9;
}

.festivo-contact-help-card ul {
    display: grid;
    gap: .75rem;
    padding: 0;
    margin: 1.4rem 0 0;
    list-style: none;
}

.festivo-contact-help-card li {
    color: #e8def5;
}

.festivo-contact-help-card li i {
    margin-right: .5rem;
    color: #ff9fd1;
}

.festivo-contact-history {
    padding: 1.5rem;
    margin-top: 1.5rem;
    background: #fff;
    border-radius: 20px;
}

.festivo-contact-history-head {
    margin-bottom: 1rem;
}

.festivo-contact-history-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1.15rem 0;
    border-top: 1px solid #efeaf5;
}

.festivo-contact-history-item p,
.festivo-contact-reply-preview p,
.festivo-support-message-copy p,
.festivo-support-previous-reply p {
    margin: 0;
    white-space: pre-line;
}

.festivo-contact-history-item small {
    display: block;
    margin-top: .55rem;
    color: #81758f;
}

.festivo-contact-status {
    display: inline-flex;
    align-items: center;
    width: max-content;
    height: max-content;
    padding: .32rem .65rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-radius: 99px;
}

.festivo-contact-status--open {
    color: #895400;
    background: #fff0cf;
}

.festivo-contact-status--replied {
    color: #315d32;
    background: #daf3df;
}

.festivo-contact-status--closed {
    color: #625a6d;
    background: #ece9f0;
}

.festivo-contact-reply-preview,
.festivo-support-previous-reply {
    grid-column: 2;
    padding: 1rem;
    color: #49355d;
    background: #f7f2fb;
    border-radius: 12px;
}

.festivo-contact-reply-preview strong {
    display: block;
    margin-bottom: .35rem;
    color: #4d207c;
}

.festivo-contact-empty {
    border-top: 1px solid #efeaf5;
}

.festivo-support-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(90px, 1fr));
    gap: .65rem;
    flex: 0 0 auto;
}

.festivo-support-stats span {
    display: grid;
    gap: .1rem;
    padding: .85rem 1rem;
    text-align: center;
    color: #e7d8ff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
}

.festivo-support-stats strong {
    font-size: 1.5rem;
    color: #fff;
}

.festivo-support-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1.25rem;
}

.festivo-support-filters a {
    padding: .58rem .85rem;
    color: #6c6078;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5ddec;
    border-radius: 10px;
}

.festivo-support-filters a:hover,
.festivo-support-filters a.is-active {
    color: #fff;
    background: #58258d;
    border-color: #58258d;
}

.festivo-support-filters span {
    display: inline-grid;
    min-width: 1.3rem;
    place-items: center;
    margin-left: .25rem;
    font-size: .75rem;
    border-radius: 99px;
}

.festivo-support-message-list {
    display: grid;
    gap: 1rem;
}

.festivo-support-message {
    padding: 1.4rem;
    background: #fff;
    border-radius: 18px;
}

.festivo-support-message-meta,
.festivo-support-person,
.festivo-support-previous-reply > div {
    display: flex;
    align-items: center;
}

.festivo-support-message-meta {
    justify-content: space-between;
    gap: 1rem;
}

.festivo-support-person {
    gap: .8rem;
}

.festivo-support-person > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7e3fbc, #e85c9c);
    border-radius: 50%;
}

.festivo-support-person h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.festivo-support-person a,
.festivo-support-message-meta small {
    font-size: .84rem;
    color: #7f728d;
}

.festivo-support-message-meta small {
    display: block;
    margin-top: .35rem;
}

.festivo-support-message-copy {
    padding: 1.15rem 0;
}

.festivo-support-attachment {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    margin-top: .85rem;
    font-size: .88rem;
    font-weight: 700;
    color: #5b278f;
}

.festivo-support-previous-reply {
    display: block;
    margin-bottom: 1rem;
}

.festivo-support-previous-reply > div {
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
}

.festivo-support-previous-reply strong {
    color: #4d207c;
}

.festivo-support-previous-reply span {
    font-size: .8rem;
    color: #81758f;
}

.festivo-support-reply-form {
    padding-top: 1rem;
    border-top: 1px solid #eee8f4;
}

.festivo-support-reply-form summary {
    width: max-content;
    cursor: pointer;
    font-weight: 800;
    color: #58258d;
    list-style: none;
}

.festivo-support-reply-form summary::-webkit-details-marker {
    display: none;
}

.festivo-support-reply-form summary i {
    margin-right: .45rem;
}

.festivo-support-status-select {
    width: auto;
    min-width: 170px;
}

@media (max-width: 767.98px) {
    .festivo-contact-hero,
    .festivo-support-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .festivo-contact-hero-mark {
        width: 82px;
        height: 82px;
        font-size: 2.2rem;
    }

    .festivo-support-message {
        padding: 1rem;
    }

    .festivo-support-message-meta,
    .festivo-support-previous-reply > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .festivo-contact-history-item {
        grid-template-columns: 1fr;
    }

    .festivo-contact-reply-preview {
        grid-column: 1;
    }

    .festivo-support-status-select {
        width: 100%;
    }
}
