/* ==========================================================
   Pages :: Contacts
   ========================================================== */

.pages-contacts {
    width: 100%;
    box-sizing: border-box;
    color: #272727;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

.pages-contacts *,
.pages-contacts *::before,
.pages-contacts *::after {
    box-sizing: border-box;
}

.pages-contacts a {
    color: #8b171d;
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 23, 29, .24);
}

.pages-contacts a:hover {
    color: #641217;
    border-bottom-color: currentColor;
}

/* Hero */

.contacts-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 34px;
    padding: 34px 38px;
    border: 1px solid #e5dedd;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .055);
}

.contacts-hero::after {
    content: "";
    position: absolute;
    right: -95px;
    top: -125px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(139, 23, 29, .10);
    border-radius: 50%;
    box-shadow:
        0 0 0 28px rgba(139, 23, 29, .025),
        0 0 0 58px rgba(139, 23, 29, .018);
}

.contacts-hero__eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 7px;
    color: #8b171d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.contacts-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #252525;
    font-size: 38px;
    line-height: 1.15;
}

.contacts-hero p {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0;
    color: #626262;
    font-size: 16px;
    line-height: 1.5;
}

/* Content */

.contacts-main {
    width: 100%;
}

.contacts-intro,
.contacts-section {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid #e3dfdd;
}

.contacts-intro {
    padding-top: 4px;
    border-top: 0;
}

.contacts-section--last {
    padding-bottom: 10px;
}

.contacts-index {
    padding-top: 5px;
    color: #8b171d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
}

.contacts-content {
    min-width: 0;
    max-width: 900px;
}

.contacts-content h2 {
    margin: 0 0 17px;
    color: #262626;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
}

.contacts-content p {
    margin: 0 0 14px;
    color: #444;
    font-size: 14px;
}

/* Primary e-mail */

.contacts-email {
    display: inline-block;
    margin-top: 5px;
    padding: 14px 18px;
    border: 1px solid #e1dcda;
    border-left: 3px solid #8b171d;
    border-radius: 0 10px 10px 0;
    background: #f7f4f3;
    color: #8b171d;
    font-size: 16px;
    font-weight: 700;
}

.contacts-email p {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.contacts-email a {
    border-bottom-color: rgba(139, 23, 29, .3);
}

/* Additional contacts */

.contacts-card {
    padding: 20px 22px;
    border: 1px solid #e1dcda;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .035);
}

.contacts-card p {
    margin-bottom: 10px;
}

.contacts-card p:last-child {
    margin-bottom: 0;
}

.contacts-card ul {
    margin: 0;
    padding-left: 20px;
}

.contacts-card li {
    margin-bottom: 7px;
    color: #444;
    font-size: 14px;
}

.contacts-card li:last-child {
    margin-bottom: 0;
}

/* Mobile */

@media (max-width: 620px) {
    .contacts-hero {
        padding: 28px 25px;
    }

    .contacts-hero h1 {
        font-size: 31px;
    }

    .contacts-intro,
    .contacts-section {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .contacts-index {
        padding-top: 0;
    }

    .contacts-content h2 {
        font-size: 23px;
    }

    .contacts-email {
        display: block;
    }
}
