/* =========================================================
   JEBTAM PUBLISHING
   CONTACT PAGE
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

body .jebtam-contact-page {
    width: 100%;
    margin: 0;
    padding: 0;

    color: #171c1f;
    background: #faf8f5;
}

body .jebtam-contact-page .jebtam-container {
    width: calc(100% - 48px);
    max-width: 1110px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   CONTACT HERO
   ========================================================= */

body .jebtam-contact-hero {
    position: relative;

    overflow: hidden;

    padding: 88px 0 82px;

    background:
        radial-gradient(
            circle at 86% 18%,
            rgba(168, 117, 69, 0.18) 0%,
            rgba(168, 117, 69, 0.06) 24%,
            transparent 43%
        ),
        linear-gradient(
            135deg,
            #faf8f5 0%,
            #f1eae3 58%,
            #faf8f5 100%
        );
}

body .jebtam-contact-hero .jebtam-container {
    position: relative;
}

body .jebtam-contact-hero-inner {
    position: relative;
    z-index: 2;

    max-width: 900px;
}

body .jebtam-contact-eyebrow,
body .jebtam-contact-page .jebtam-section-eyebrow {
    margin: 0 0 18px;

    color: #9a6d42;

    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body .jebtam-contact-hero h1 {
    max-width: 900px;

    margin: 0;

    color: #171c1f;

    font-size: clamp(48px, 5.4vw, 74px);
    font-weight: 700;
    line-height: 0.98;

    letter-spacing: -0.05em;
}

body .jebtam-contact-hero h1 span {
    color: #9a6d42;
}

body .jebtam-contact-hero-copy {
    max-width: 660px;

    margin: 30px 0 0;

    color: #525d62;

    font-size: 18px;
    line-height: 1.7;
}

body .jebtam-contact-hero-circle {
    position: absolute;

    width: 420px;
    height: 420px;

    right: -120px;
    top: -175px;

    border: 1px solid rgba(168, 117, 69, 0.18);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   CONTACT MAIN
   ========================================================= */

body .jebtam-contact-main {
    padding: 62px 0 90px;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(168, 117, 69, 0.08) 0%,
            transparent 32%
        ),
        #faf8f5;
}

body .jebtam-contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(420px, 1.1fr);

    align-items: start;

    gap: 88px;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

body .jebtam-contact-info {
    padding-top: 14px;
}

body .jebtam-contact-info h2 {
    margin: 0;

    color: #171c1f;

    font-size: clamp(40px, 4vw, 56px);
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.045em;
}

body .jebtam-contact-info h2 span {
    color: #9a6d42;
}

body .jebtam-contact-lead {
    max-width: 480px;

    margin: 28px 0 0;

    color: #303a3f;

    font-size: 19px;
    font-weight: 600;
    line-height: 1.6;
}

body .jebtam-contact-copy {
    max-width: 500px;

    margin: 18px 0 0;

    color: #596368;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

body .jebtam-contact-details {
    margin-top: 44px;

    border-top: 1px solid #ded5cc;
}

body .jebtam-contact-detail {
    display: grid;

    grid-template-columns: 110px minmax(0, 1fr);

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid #ded5cc;
}

body .jebtam-contact-detail-label {
    color: #9a6d42;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body .jebtam-contact-detail a,
body .jebtam-contact-detail > span:last-child {
    color: #303a3f;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
}

body .jebtam-contact-detail a:hover {
    color: #9a6d42;
}


/* =========================================================
   CONTACT FORM CARD
   ========================================================= */

body .jebtam-contact-form-wrap {
    padding: 42px;

    background:
        radial-gradient(
            circle at 92% 6%,
            rgba(168, 117, 69, 0.22) 0%,
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #171c1f 0%,
            #20292d 100%
        );

    box-shadow:
        0 22px 52px rgba(23, 28, 31, 0.16);
}

body .jebtam-contact-form-heading {
    margin-bottom: 32px;
}

body .jebtam-contact-form-label {
    margin: 0 0 12px;

    color: #d5a064;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body .jebtam-contact-form-heading h3 {
    margin: 0;

    color: #ffffff;

    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;

    letter-spacing: -0.03em;
}

body .jebtam-contact-form-heading > p:last-child {
    margin: 12px 0 0;

    color: #bcc3c6;

    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   FORM
   ========================================================= */

body .jebtam-contact-form {
    display: block;
}

body .jebtam-form-row {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

body .jebtam-form-field {
    margin-bottom: 20px;
}

body .jebtam-form-field label {
    display: block;

    margin-bottom: 8px;

    color: #e5e8e9;

    font-size: 12px;
    font-weight: 700;
}

body .jebtam-form-field label span {
    margin-left: 5px;

    color: #929b9f;

    font-size: 10px;
    font-weight: 500;

    text-transform: uppercase;
}

body .jebtam-form-field input,
body .jebtam-form-field textarea {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    color: #171c1f;
    background: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;

    outline: none;

    font: inherit;
}

body .jebtam-form-field textarea {
    min-height: 160px;

    resize: vertical;
}

body .jebtam-form-field input:focus,
body .jebtam-form-field textarea:focus {
    border-color: #d5a064;

    box-shadow: 0 0 0 2px rgba(213, 160, 100, 0.14);
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

body .jebtam-contact-submit {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    min-height: 48px;

    padding: 0 24px;

    color: #ffffff;
    background: #a87545;

    border: 0;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        gap 0.2s ease;
}

body .jebtam-contact-submit:hover {
    gap: 17px;

    background: #8f6037;
}

body .jebtam-contact-form-note {
    margin: 22px 0 0;

    color: #939da1;

    font-size: 12px;
    line-height: 1.6;
}

body .jebtam-contact-form-note a {
    color: #d5a064;

    text-decoration: none;
}


/* =========================================================
   FORM MESSAGES
   ========================================================= */

body .jebtam-form-message {
    margin: 0 0 24px;

    padding: 14px 16px;

    font-size: 14px;
    line-height: 1.55;
}

body .jebtam-form-success {
    color: #edf5ed;
    background: rgba(76, 125, 78, 0.30);

    border-left: 3px solid #8fb592;
}

body .jebtam-form-error {
    color: #f7e7e4;
    background: rgba(150, 72, 62, 0.28);

    border-left: 3px solid #c68c84;
}

body .jebtam-form-error a {
    color: inherit;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

body .jebtam-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;
}


/* =========================================================
   CONTACT TOPICS
   ========================================================= */

body .jebtam-contact-topics {
    padding: 92px 0 104px;

    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(168, 117, 69, 0.10) 0%,
            transparent 30%
        ),
        #f1eae3;
}

body .jebtam-contact-topics-heading {
    margin-bottom: 48px;
}

body .jebtam-contact-topics-heading h2 {
    margin: 0;

    color: #171c1f;

    font-size: clamp(40px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.045em;
}

body .jebtam-contact-topics-heading h2 span {
    color: #9a6d42;
}


/* =========================================================
   TOPIC GRID
   ========================================================= */

body .jebtam-contact-topics-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;
}

body .jebtam-contact-topic {
    padding: 28px 24px 30px;

    background: #faf8f5;

    border-top: 3px solid #a87545;

    box-shadow:
        0 10px 28px rgba(23, 28, 31, 0.06);
}

body .jebtam-contact-topic > span {
    display: block;

    margin-bottom: 28px;

    color: #b18a64;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

body .jebtam-contact-topic h3 {
    margin: 0 0 12px;

    color: #171c1f;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

body .jebtam-contact-topic p {
    margin: 0;

    color: #596368;

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    body .jebtam-contact-hero {
        padding: 72px 0 68px;
    }

    body .jebtam-contact-grid {
        grid-template-columns: 1fr;

        gap: 58px;
    }

    body .jebtam-contact-topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    body .jebtam-contact-page .jebtam-container {
        width: calc(100% - 32px);
    }

    body .jebtam-contact-hero {
        padding: 54px 0 52px;
    }

    body .jebtam-contact-hero h1 {
        font-size: clamp(40px, 12vw, 54px);
    }

    body .jebtam-contact-hero-copy {
        margin-top: 22px;

        font-size: 16px;
    }

    body .jebtam-contact-main {
        padding: 62px 0 70px;
    }

    body .jebtam-contact-grid {
        gap: 44px;
    }

    body .jebtam-contact-info h2 {
        font-size: 40px;
    }

    body .jebtam-contact-detail {
        grid-template-columns: 1fr;

        gap: 7px;
    }

    body .jebtam-contact-form-wrap {
        padding: 28px 22px;
    }

    body .jebtam-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    body .jebtam-contact-topics {
        padding: 62px 0 72px;
    }

    body .jebtam-contact-topics-heading {
        margin-bottom: 34px;
    }

    body .jebtam-contact-topics-heading h2 {
        font-size: 39px;
    }

    body .jebtam-contact-topics-grid {
        grid-template-columns: 1fr;
    }

}