@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


/* =====================================================
   CONTACT PAGE
===================================================== */

.contact-hero {
    padding: 68px 0 48px;
}


/* =====================================================
   HERO
===================================================== */

.contact-hero-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 70px;

    padding: 48px 50px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 68%,
            #f7f7f7 100%
        );

    border: 1px solid #e7e7e7;
    border-radius: 26px;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, .02),
        0 20px 60px rgba(0, 0, 0, .045);
}

.contact-heading {
    max-width: 750px;
}

.page-kicker {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 16px;

    color: #929292;

    font-family: "Inter", sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.page-kicker::before {
    content: "";

    width: 24px;
    height: 1px;

    background: #111111;
}

.contact-heading h1 {
    max-width: 730px;

    margin: 0;

    color: #111111;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(52px, 7vw, 80px);
    font-weight: 400;

    line-height: 1;

    letter-spacing: -3.3px;
}

.contact-heading > p {
    max-width: 620px;

    margin: 24px 0 0;

    color: #6f6f6f;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 17px;

    line-height: 1.75;
}


/* =====================================================
   HERO PROFILE
===================================================== */

.contact-profile {
    min-width: 245px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 18px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #1b1b1b,
            #101010
        );

    border-radius: 16px;
}

.contact-profile-image {
    position: relative;

    width: 54px;
    height: 54px;

    flex: 0 0 54px;
}

.contact-profile-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,.8);
}

.contact-profile-image span {
    position: absolute;

    right: 0;
    bottom: 1px;

    width: 12px;
    height: 12px;

    background: #ffffff;

    border: 3px solid #111111;
    border-radius: 50%;
}

.contact-profile > div:last-child {
    display: flex;
    flex-direction: column;
}

.contact-profile small {
    color: rgba(255,255,255,.42);

    font-family: "Inter", sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.2px;
}

.contact-profile strong {
    margin-top: 3px;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 15px;
    font-weight: 500;
}

.contact-profile p {
    margin: 3px 0 0;

    color: rgba(255,255,255,.52);

    font-family: "Inter", sans-serif;

    font-size: 9px;
}


/* =====================================================
   LAYOUT
===================================================== */

.contact-section {
    padding: 78px 0 90px;
}

.contact-layout {
    display: grid;

    grid-template-columns: 310px minmax(0, 1fr);

    gap: 72px;

    align-items: start;
}


/* =====================================================
   SIDEBAR
===================================================== */

.contact-sidebar {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.contact-info-card,
.social-card,
.contact-note {
    padding: 26px;

    border: 1px solid #e6e6e6;
    border-radius: 17px;
}

.card-label {
    display: block;

    margin-bottom: 20px;

    color: #999999;

    font-family: "Inter", sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* =====================================================
   CONTACT INFO DARK CARD
===================================================== */

.contact-info-card {
    color: #ffffff;

    background:
        radial-gradient(
            circle at 100% 0%,
            #2b2b2b 0%,
            #171717 42%,
            #101010 100%
        );

    border-color: #111111;

    box-shadow:
        0 22px 55px rgba(0,0,0,.08);
}

.contact-info-card .card-label {
    color: rgba(255,255,255,.42);
}

.contact-info-item {
    padding: 18px 0;

    border-bottom:
        1px solid rgba(255,255,255,.11);
}

.contact-info-item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.contact-info-item > span {
    display: block;

    margin-bottom: 6px;

    color: rgba(255,255,255,.42);

    font-family: "Inter", sans-serif;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.contact-info-item a,
.contact-info-item strong {
    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 14px;
    font-weight: 500;
}

.contact-info-item a:hover {
    opacity: .7;
}


/* =====================================================
   SOCIAL
===================================================== */

.social-card {
    background: #ffffff;
}

.social-list {
    border-top: 1px solid #ededed;
}

.social-list a {
    min-height: 47px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #565656;

    border-bottom: 1px solid #ededed;

    font-family: "Inter", sans-serif;

    font-size: 10px;

    transition:
        color .2s ease,
        padding .2s ease;
}

.social-list a:hover {
    padding-left: 5px;

    color: #111111;
}

.social-list strong {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    color: #ffffff;

    background: #111111;

    border-radius: 50%;

    font-size: 10px;

    transition: transform .2s ease;
}

.social-list a:hover strong {
    transform: translate(2px, -2px);
}


/* =====================================================
   NOTE
===================================================== */

.contact-note {
    background: #f4f4f2;

    border-color: #e7e7e4;
}

.contact-note > span {
    color: #999999;

    font-family: "Inter", sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.contact-note p {
    margin: 13px 0 0;

    color: #707070;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
   FORM CARD
===================================================== */

.contact-form-card {
    position: relative;

    overflow: hidden;

    padding: 48px 52px 52px;

    background: #ffffff;

    border: 1px solid #e5e5e5;
    border-radius: 24px;

    box-shadow:
        0 1px 2px rgba(0,0,0,.02),
        0 18px 50px rgba(0,0,0,.04);
}

.contact-form-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 48px;

    width: 90px;
    height: 3px;

    background: #111111;
}

.form-heading {
    max-width: 620px;
}

.form-heading h2 {
    max-width: 560px;

    margin: 0;

    color: #111111;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 5vw, 52px);
    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.8px;
}

.form-heading > p {
    max-width: 500px;

    margin: 15px 0 0;

    color: #808080;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 14px;

    line-height: 1.7;
}


/* =====================================================
   FORM
===================================================== */

.contact-form {
    margin-top: 42px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;
}

.form-group {
    margin-bottom: 27px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    color: #777777;

    font-family: "Inter", sans-serif;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .5px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    color: #222222;

    background: #fafafa;

    border: 1px solid #dedede;
    border-radius: 11px;

    outline: none;

    font-family: "Inter", sans-serif;

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group input {
    height: 52px;

    padding: 0 15px;

    font-size: 11px;
}

.form-group textarea {
    min-height: 180px;

    padding: 15px;

    resize: vertical;

    font-size: 11px;

    line-height: 1.65;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaaaaa;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;

    border-color: #111111;

    box-shadow:
        0 0 0 3px rgba(0,0,0,.035);
}


/* =====================================================
   FORM BOTTOM
===================================================== */

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding-top: 4px;
}

.form-bottom > p {
    max-width: 390px;

    color: #aaaaaa;

    font-family: "Inter", sans-serif;

    font-size: 8px;

    line-height: 1.55;
}

.submit-button {
    min-width: 170px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 0 18px;

    color: #ffffff;

    background: #111111;

    border: 1px solid #111111;
    border-radius: 999px;

    font-family: "Inter", sans-serif;

    font-size: 9px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}

.submit-button:hover {
    color: #111111;

    background: transparent;

    transform: translateY(-2px);
}

.submit-button span {
    font-size: 12px;

    transition: transform .2s ease;
}

.submit-button:hover span {
    transform: translate(2px, -2px);
}


/* =====================================================
   CTA
===================================================== */

.articles-cta {
    padding: 15px 0 95px;
}

.articles-cta-card {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;

    overflow: hidden;

    padding: 55px;

    color: #111111;

    background: #f4f4f2;

    border: 1px solid #e5e5e3;
    border-radius: 24px;
}

.articles-cta-card::after {
    content: "↗";

    position: absolute;

    top: -30px;
    right: 30px;

    color: rgba(0,0,0,.035);

    font-family: Georgia, "Times New Roman", serif;

    font-size: 180px;

    line-height: 1;
}

.articles-cta-card > div {
    position: relative;
    z-index: 2;
}

.articles-cta-card > div > span {
    color: #888888;

    font-family: "Inter", sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.articles-cta-card h2 {
    max-width: 650px;

    margin: 12px 0 0;

    color: #111111;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.5px;
}

.articles-cta-card > a {
    position: relative;
    z-index: 3;

    min-width: 170px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 0 17px;

    color: #ffffff;

    background: #111111;

    border-radius: 999px;

    font-family: "Inter", sans-serif;

    font-size: 9px;
    font-weight: 600;

    transition:
        background .2s ease,
        transform .2s ease;
}

.articles-cta-card > a:hover {
    background: #292929;

    transform: translateY(-2px);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 950px) {

    .contact-layout {
        grid-template-columns:
            270px
            minmax(0, 1fr);

        gap: 42px;
    }

}


@media (max-width: 820px) {

    .contact-hero-grid {
        align-items: flex-start;
        flex-direction: column;

        gap: 35px;

        padding: 40px;
    }

    .contact-profile {
        min-width: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 20px;
    }

    .contact-note {
        grid-column: 1 / -1;
    }

}


@media (max-width: 700px) {

    .contact-hero {
        padding: 38px 0 32px;
    }

    .contact-hero-grid {
        padding: 32px 26px;

        border-radius: 20px;
    }

    .contact-heading h1 {
        font-size: clamp(46px, 12vw, 62px);

        letter-spacing: -2.2px;
    }

    .contact-heading > p {
        font-size: 15px;
    }

    .contact-section {
        padding: 58px 0 75px;
    }

    .contact-form-card {
        padding: 36px 30px;

        border-radius: 20px;
    }

    .contact-form-card::before {
        left: 30px;

        width: 70px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;
    }

    .submit-button {
        width: 100%;
    }

    .articles-cta-card {
        align-items: flex-start;
        flex-direction: column;

        gap: 32px;

        padding: 42px 32px;
    }

    .articles-cta-card > a {
        width: 100%;
    }

}


@media (max-width: 520px) {

    .contact-hero-grid {
        padding: 28px 22px;
    }

    .contact-profile {
        width: 100%;
    }

    .contact-sidebar {
        grid-template-columns: 1fr;
    }

    .contact-note {
        grid-column: auto;
    }

    .contact-form-card {
        padding: 32px 24px;

        border-radius: 17px;
    }

    .form-heading h2 {
        font-size: 36px;
    }

    .articles-cta-card {
        padding: 36px 25px;
    }

}

.contact-success {
    margin-bottom: 28px;

    padding: 15px 18px;

    color: #1f5132;

    background: #eef8f1;

    border: 1px solid #cfe8d6;
    border-radius: 12px;

    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 500;
}

.field-validation {
    display: block;

    margin-top: 7px;

    color: #b3261e;

    font-size: 9px;
}
/* =====================================================
   CONTACT FORM MESSAGES
===================================================== */

.contact-success {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 32px;

    padding: 16px 18px;

    background: #f0f7f2;

    border: 1px solid #d6e8da;
    border-radius: 13px;
}

.contact-success-icon {
    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    display: grid;
    place-items: center;

    color: #fff;

    background: #1e5430;

    border-radius: 50%;

    font-size: 10px;
    font-weight: 700;
}

.contact-success strong {
    display: block;

    color: #1c4629;

    font-family:
        "Inter",
        sans-serif;

    font-size: 10px;
    font-weight: 700;
}

.contact-success p {
    margin: 4px 0 0;

    color: #587060;

    font-family:
        "Inter",
        sans-serif;

    font-size: 9px;

    line-height: 1.5;
}

.field-validation {
    display: block;

    min-height: 14px;

    margin-top: 6px;

    color: #a72c2c;

    font-family:
        "Inter",
        sans-serif;

    font-size: 8px;
}

.form-validation-summary {
    margin-bottom: 20px;

    color: #a72c2c;

    font-size: 9px;
}

.form-validation-summary:empty {
    display: none;
}

.form-validation-summary ul {
    margin: 0;
    padding-left: 18px;
}