/* ==========================================================
   JIYE CONTACT PAGE
========================================================== */

.jiye-contact-page {
    background: #FFFFFF;
    color: #171A18;
}

.jiye-contact-page *,
.jiye-contact-page *::before,
.jiye-contact-page *::after {
    box-sizing: border-box;
}

.jiye-contact-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}


/* ==========================================================
   HERO
========================================================== */

.jiye-contact-hero {
    padding: 88px 0 82px;
    border-bottom: 1px solid #E1E5E2;
    background: #F5F7F5;
}

.jiye-contact-eyebrow,
.jiye-contact-small-title {
    margin: 0 0 18px;
    color: #1F4D3A;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .18em;
}

.jiye-contact-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #171A18;
    font-size: clamp(46px, 4.5vw, 66px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.035em;
}

.jiye-contact-lead {
    max-width: 780px;
    margin: 26px 0 0;
    color: #4D5350;
    font-size: 18px;
    line-height: 1.75;
}

.jiye-contact-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 28px;
    padding: 12px 20px;
    border: 1px solid #1F4D3A;
    border-radius: 3px;
    background: #1F4D3A;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.jiye-contact-hero-link:hover {
    transform: translateY(-1px);
    background: #17392B;
}


/* ==========================================================
   MAIN
========================================================== */

.jiye-contact-main {
    padding: 84px 0 96px;
}

.jiye-contact-grid {
    display: grid;
    grid-template-columns:
        minmax(300px, .75fr)
        minmax(0, 1.25fr);
    gap: 90px;
    align-items: start;
}


/* LEFT */

.jiye-contact-info h2,
.jiye-contact-form-heading h2,
.jiye-contact-process-heading h2 {
    margin: 0;
    color: #171A18;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.jiye-contact-info-block > p:last-child {
    margin: 20px 0 0;
    color: #4D5350;
    line-height: 1.75;
}

.jiye-contact-email-block {
    margin-top: 38px;
    padding: 24px 0;
    border-top: 1px solid #DDE2DF;
    border-bottom: 1px solid #DDE2DF;
}

.jiye-contact-email-block span {
    display: block;
    margin-bottom: 5px;
    color: #747B77;
    font-size: 13px;
}

.jiye-contact-email-block a {
    color: #17392B !important;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none !important;
}

.jiye-contact-prepare {
    margin-top: 38px;
}

.jiye-contact-prepare h3 {
    margin: 0 0 20px;
    font-size: 20px;
}

.jiye-contact-prepare ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jiye-contact-prepare li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #EDF0EE;
    color: #4D5350;
    line-height: 1.55;
}

.jiye-contact-prepare li span {
    flex: 0 0 auto;
    color: #1F4D3A;
    font-size: 12px;
    font-weight: 700;
}

.jiye-contact-note {
    margin-top: 36px;
    padding: 24px;
    background: #F5F7F5;
}

.jiye-contact-note strong {
    display: block;
    margin-bottom: 8px;
    color: #171A18;
}

.jiye-contact-note p {
    margin: 0 0 15px;
    color: #4D5350;
    font-size: 14px;
    line-height: 1.65;
}

.jiye-contact-note a {
    color: #17392B !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}


/* ==========================================================
   FORM
========================================================== */

.jiye-contact-form-wrap {
    padding: 42px;
    border: 1px solid #DDE2DF;
    background: #FFFFFF;
    box-shadow: 0 18px 50px rgba(17, 21, 19, .06);
    scroll-margin-top: 100px;
}

.jiye-contact-form-heading {
    margin-bottom: 32px;
}

.jiye-contact-form-heading p:last-child {
    margin: 10px 0 0;
    color: #747B77;
    font-size: 14px;
}


/* Fluent Forms */

.jiye-contact-form .ff-el-group {
    margin-bottom: 20px;
}

.jiye-contact-form label {
    color: #171A18 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.jiye-contact-form input,
.jiye-contact-form select,
.jiye-contact-form textarea {
    border: 1px solid #CBD2CE !important;
    border-radius: 3px !important;
    background: #FFFFFF !important;
    color: #171A18 !important;
    box-shadow: none !important;
    font-size: 14px !important;
}

.jiye-contact-form input,
.jiye-contact-form select {
    min-height: 48px !important;
}

.jiye-contact-form input {
    padding: 0 14px !important;
}

.jiye-contact-form select {
    padding: 0 14px !important;
}

.jiye-contact-form textarea {
    min-height: 145px !important;
    padding: 13px 14px !important;
    resize: vertical;
}

.jiye-contact-form input:focus,
.jiye-contact-form select:focus,
.jiye-contact-form textarea:focus {
    border-color: #1F4D3A !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(31, 77, 58, .08) !important;
}

.jiye-contact-form input::placeholder,
.jiye-contact-form textarea::placeholder {
    color: #929995 !important;
}


/* Button */

.jiye-contact-form .ff-btn-submit,
.jiye-contact-form button[type="submit"] {
    min-height: 50px !important;
    padding: 13px 25px !important;
    border: 1px solid #17392B !important;
    border-radius: 3px !important;
    background: #17392B !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition:
        background .2s ease,
        transform .2s ease !important;
}

.jiye-contact-form .ff-btn-submit:hover,
.jiye-contact-form button[type="submit"]:hover {
    transform: translateY(-1px);
    background: #1F4D3A !important;
}


/* Fluent success message */

.jiye-contact-form .ff-message-success {
    padding: 20px !important;
    border: 1px solid #BFD0C6 !important;
    border-radius: 3px !important;
    background: #F0F6F2 !important;
    color: #17392B !important;
}


/* ==========================================================
   PROCESS
========================================================== */

.jiye-contact-process {
    padding: 90px 0 96px;
    background: #F5F7F5;
}

.jiye-contact-process-heading {
    max-width: 760px;
}

.jiye-contact-process-heading > p:last-child {
    margin: 18px 0 0;
    color: #4D5350;
    font-size: 17px;
    line-height: 1.7;
}

.jiye-contact-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 52px;
    border-top: 1px solid #CBD2CE;
}

.jiye-contact-step {
    min-height: 240px;
    padding: 28px 28px 20px 0;
    border-right: 1px solid #CBD2CE;
}

.jiye-contact-step + .jiye-contact-step {
    padding-left: 28px;
}

.jiye-contact-step:last-child {
    border-right: 0;
}

.jiye-contact-step > span {
    display: block;
    margin-bottom: 52px;
    color: #1F4D3A;
    font-size: 13px;
    font-weight: 700;
}

.jiye-contact-step h3 {
    margin: 0 0 12px;
    color: #171A18;
    font-size: 20px;
}

.jiye-contact-step p {
    margin: 0;
    color: #5D625F;
    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   BOTTOM CTA
========================================================== */

.jiye-contact-bottom {
    padding: 74px 0;
    background: #17392B;
}

.jiye-contact-bottom-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.jiye-contact-eyebrow-light {
    color: #DDE2DF;
}

.jiye-contact-bottom h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(32px, 3vw, 42px);
}

.jiye-contact-bottom p:last-child {
    max-width: 700px;
    margin: 15px 0 0;
    color: #DDE2DF;
    font-size: 16px;
    line-height: 1.7;
}

.jiye-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
    background: #FFFFFF;
    color: #17392B !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.jiye-contact-button:hover {
    background: transparent;
    color: #FFFFFF !important;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1000px) {

    .jiye-contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .jiye-contact-info {
        max-width: 720px;
    }

    .jiye-contact-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .jiye-contact-step:nth-child(2) {
        border-right: 0;
    }

    .jiye-contact-step:nth-child(3),
    .jiye-contact-step:nth-child(4) {
        border-top: 1px solid #CBD2CE;
    }

}

@media (max-width: 650px) {

    .jiye-contact-container {
        width: min(100% - 40px, 1200px);
    }

    .jiye-contact-hero {
        padding: 56px 0 52px;
    }

    .jiye-contact-hero h1 {
        font-size: clamp(35px, 10vw, 40px);
    }

    .jiye-contact-lead {
        font-size: 16px;
    }

    .jiye-contact-main {
        padding: 54px 0 68px;
    }

    .jiye-contact-form-wrap {
        padding: 28px 22px;
    }

    .jiye-contact-process {
        padding: 64px 0;
    }

    .jiye-contact-steps {
        grid-template-columns: 1fr;
    }

    .jiye-contact-step,
    .jiye-contact-step + .jiye-contact-step {
        min-height: 0;
        padding: 26px 0;
        border-top: 1px solid #CBD2CE;
        border-right: 0;
    }

    .jiye-contact-step > span {
        margin-bottom: 24px;
    }

    .jiye-contact-bottom {
        padding: 58px 0;
    }

    .jiye-contact-bottom-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

}
