/* =========================================================
   RICH HOME - CONTACT PAGE
========================================================= */

.rh-contact {
    --rh-burgundy: #74163d;
    --rh-burgundy-dark: #5c1030;
    --rh-burgundy-soft: #f8edf2;
    --rh-text: #242424;
    --rh-muted: #746d69;
    --rh-border: #eadfe3;
    --rh-soft: #fbf8f9;

    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--rh-text);
}

.rh-contact * {
    box-sizing: border-box;
}

.rh-contact .rh-container {
    width: min(1380px, calc(100% - 60px));
    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.rh-contact__hero {
    padding: 55px 0 30px;
}

.rh-contact__hero-inner {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.rh-contact__eyebrow {
    display: inline-block;
    margin-bottom: 8px;

    color: var(--rh-burgundy);

    font-size: 14px;
    font-weight: 700;
}

.rh-contact__title {
    margin: 0 0 13px;

    color: var(--rh-burgundy);

    font-size: 43px;
    font-weight: 800;
    line-height: 1.2;
}

.rh-contact__subtitle {
    max-width: 680px;

    margin: 0 auto;

    color: var(--rh-muted);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   CONTACT CARDS
========================================================= */

.rh-contact__details {
    padding: 20px 0 55px;
}

.rh-contact__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.rh-contact-card {
    position: relative;

    min-height: 205px;

    display: flex;
    align-items: flex-start;

    gap: 17px;

    padding: 27px;

    border: 1px solid var(--rh-border);
    border-radius: 17px;

    background: #fff;

    color: inherit;
    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.rh-contact-card:hover {
    transform: translateY(-4px);

    border-color: rgba(116, 22, 61, .25);

    box-shadow:
        0 15px 35px
        rgba(80, 30, 48, .08);
}

.rh-contact-card__icon {
    flex: 0 0 auto;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--rh-burgundy-soft);
    color: var(--rh-burgundy);

    font-size: 20px;
}

.rh-contact-card__content {
    min-width: 0;
    flex: 1;
}

.rh-contact-card__label {
    display: block;

    margin-bottom: 4px;

    color: var(--rh-muted);

    font-size: 13px;
}

.rh-contact-card__content h2 {
    margin: 0 0 10px;

    color: var(--rh-text);

    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.rh-contact-card__content p {
    margin: 0;

    color: #544d4a;

    font-size: 14px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

.rh-contact-card__arrow {
    flex: 0 0 auto;

    align-self: center;

    color: var(--rh-burgundy);

    font-size: 14px;

    transition: transform .25s ease;
}

html[dir="rtl"] .rh-contact-card:hover .rh-contact-card__arrow {
    transform: translateX(-4px);
}

html[dir="ltr"] .rh-contact-card:hover .rh-contact-card__arrow {
    transform: translateX(4px);
}


/* =========================================================
   SUPPORT FEATURE
========================================================= */

.rh-contact__feature {
    padding: 5px 0 70px;
}

.rh-contact__feature-box {
    position: relative;

    display: grid;
    grid-template-columns: 1.45fr .65fr;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #74163d 0%,
            #5c1030 100%
        );

    color: #fff;

    box-shadow:
        0 20px 55px
        rgba(91, 15, 47, .16);
}

.rh-contact__feature-box::before {
    content: "";

    position: absolute;

    width: 340px;
    height: 340px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;

    inset-inline-end: -130px;
    top: -165px;
}

.rh-contact__feature-box::after {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;

    inset-inline-end: 60px;
    bottom: -140px;
}

.rh-contact__feature-content {
    position: relative;
    z-index: 2;

    padding: 52px 55px;
}

.rh-contact__feature-content .rh-contact__eyebrow {
    color: rgba(255,255,255,.72);
}

.rh-contact__feature-content h2 {
    max-width: 640px;

    margin: 0 0 14px;

    color: #fff;

    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
}

.rh-contact__feature-content > p {
    max-width: 620px;

    margin: 0;

    color: rgba(255,255,255,.82);

    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.rh-contact__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 11px;

    margin-top: 26px;
}

.rh-contact__button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 11px 20px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;
}

.rh-contact__button:hover {
    transform: translateY(-2px);
}

.rh-contact__button--primary {
    background: #fff;
    color: var(--rh-burgundy);
}

.rh-contact__button--secondary {
    border: 1px solid rgba(255,255,255,.42);

    background: transparent;
    color: #fff;
}

.rh-contact__button--secondary:hover {
    background: rgba(255,255,255,.08);
}


/* =========================================================
   FEATURE VISUAL
========================================================= */

.rh-contact__feature-visual {
    position: relative;
    z-index: 2;

    min-height: 300px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 35px;

    border-inline-start:
        1px solid
        rgba(255,255,255,.12);

    background:
        rgba(255,255,255,.045);

    text-align: center;
}

.rh-contact__visual-mark {
    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border:
        1px solid
        rgba(255,255,255,.35);

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    color: #fff;

    font-size: 31px;
}

.rh-contact__feature-visual strong {
    color: #fff;

    font-size: 24px;
    font-weight: 800;
}

.rh-contact__feature-visual span {
    margin-top: 5px;

    color: rgba(255,255,255,.75);

    font-size: 13px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .rh-contact .rh-container {
        width: min(100% - 40px, 1000px);
    }

    .rh-contact__cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rh-contact__cards > :last-child {
        grid-column: 1 / -1;
    }

    .rh-contact__feature-box {
        grid-template-columns: 1.2fr .8fr;
    }

    .rh-contact__feature-content {
        padding: 42px 38px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .rh-contact .rh-container {
        width: calc(100% - 28px);
    }


    /* HERO */

    .rh-contact__hero {
        padding:
            30px
            0
            18px;
    }

    .rh-contact__eyebrow {
        margin-bottom: 5px;

        font-size: 11px;
    }

    .rh-contact__title {
        margin-bottom: 9px;

        font-size: 30px;
    }

    .rh-contact__subtitle {
        padding-inline: 7px;

        font-size: 12.5px;
        line-height: 1.75;
    }


    /* CARDS */

    .rh-contact__details {
        padding:
            12px
            0
            35px;
    }

    .rh-contact__cards {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .rh-contact__cards > :last-child {
        grid-column: auto;
    }

    .rh-contact-card {
        min-height: 125px;

        align-items: center;

        padding: 17px 16px;

        gap: 13px;

        border-radius: 13px;
    }

    .rh-contact-card__icon {
        width: 43px;
        height: 43px;

        font-size: 16px;
    }

    .rh-contact-card__label {
        font-size: 10px;
    }

    .rh-contact-card__content h2 {
        margin-bottom: 4px;

        font-size: 15px;
    }

    .rh-contact-card__content p {
        font-size: 11.5px;
        line-height: 1.6;
    }

    .rh-contact-card__arrow {
        font-size: 11px;
    }


    /* FEATURE */

    .rh-contact__feature {
        padding:
            0
            0
            40px;
    }

    .rh-contact__feature-box {
        grid-template-columns: 1fr;

        border-radius: 15px;
    }

    .rh-contact__feature-content {
        padding:
            28px
            20px;

        text-align: center;
    }

    .rh-contact__feature-content h2 {
        margin-bottom: 9px;

        font-size: 22px;
    }

    .rh-contact__feature-content > p {
        font-size: 12px;
        line-height: 1.75;
    }

    .rh-contact__actions {
        justify-content: center;

        margin-top: 19px;
    }

    .rh-contact__button {
        min-height: 42px;

        padding:
            9px
            15px;

        font-size: 11px;
    }


    /* VISUAL */

    .rh-contact__feature-visual {
        min-height: 180px;

        padding: 24px;

        border-inline-start: 0;
        border-top:
            1px solid
            rgba(255,255,255,.12);
    }

    .rh-contact__visual-mark {
        width: 58px;
        height: 58px;

        margin-bottom: 11px;

        font-size: 23px;
    }

    .rh-contact__feature-visual strong {
        font-size: 19px;
    }

    .rh-contact__feature-visual span {
        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .rh-contact__actions {
        flex-direction: column;
    }

    .rh-contact__button {
        width: 100%;
    }

}