/* ==========================================================
   Pages :: About
   ========================================================== */

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

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

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

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

/* Hero */

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

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

.about-hero__content {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 850px;
}

.about-hero__eyebrow {
    margin-bottom: 7px;
    color: #8b171d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.about-hero h1 {
    margin: 0 0 8px;
    color: #252525;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
}

.about-hero__lead {
    max-width: 650px;
    margin: 0;
    color: #626262;
    font-size: 16px;
    line-height: 1.5;
}

.about-nav {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px;
    margin-top: 20px;
    max-width: none;
}

.about-nav a {
    padding: 7px 12px;
    color: #5b5b5b;
    border: 1px solid #ded8d6;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.about-nav a:hover {
    color: #8b171d;
    border-color: #b98a8d;
    background: #fbf7f7;
}

/* Content sections */

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

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

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

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

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

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

.about-content p:last-child {
    margin-bottom: 0;
}

/* Important note */

.about-note {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    margin-top: 25px;
    padding: 17px 19px;
    border-left: 3px solid #8b171d;
    border-radius: 0 9px 9px 0;
    background: #f6f3f2;
    color: #555;
    font-size: 13px;
}

.about-note__title {
    color: #8b171d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Commission */

.commission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 24px;
}

.commission-card {
    padding: 17px 18px;
    border: 1px solid #e1dcda;
    border-radius: 10px;
    background: #fff;
}

.commission-card strong {
    display: block;
    color: #8b171d;
    font-size: 29px;
    line-height: 1;
}

.commission-card span {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 12px;
}

/* Contacts */

.about-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 30px;
    padding: 25px 28px;
    border-top: 3px solid #8b171d;
    border-radius: 0 0 12px 12px;
    background: #f6f3f2;
}

.about-contact__eyebrow {
    margin-bottom: 3px;
    color: #8b171d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.about-contact h2 {
    margin: 0 0 9px;
    color: #272727;
    font-size: 24px;
}

.about-contact p {
    margin: 4px 0;
    color: #444;
    font-size: 13px;
}

.about-contact p span {
    color: #777;
}

.about-contact__button {
    flex: 0 0 auto;
    padding: 10px 16px;
    color: #fff !important;
    border: 1px solid #8b171d !important;
    border-radius: 8px;
    background: #8b171d;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.about-contact__button:hover {
    color: #fff !important;
    background: #641217;
}

/* Responsive */

@media (max-width: 820px) {
    .about-hero {
        display: block;
        padding: 28px 25px;
    }

    .about-nav {
        margin-top: 20px;
    }
}

@media (max-width: 620px) {
    .about-hero h1 {
        font-size: 31px;
    }

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

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

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

    .about-note {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .commission-grid {
        grid-template-columns: 1fr;
    }

    .about-contact {
        display: block;
    }

    .about-contact__button {
        display: inline-block;
        margin-top: 15px;
    }
}
