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

.contact-page .site-header {
    position: relative !important;
    background: #f4f1e8 !important;
    color: #183b2d !important;
}

.contact-page .site-header .main-nav {
    color: #183b2d !important;
}

.contact-page .site-header .main-nav a {
    color: #183b2d !important;
}

.contact-page .site-header .main-nav a:hover {
    color: #183b2d !important;
    opacity: 0.6 !important;
}

.contact-page .site-header .brand {
    color: #183b2d !important;
}

.contact-page .site-header .brand img {
    display: block;
}

.contact-page .site-header .nav-toggle span {
    background: #183b2d !important;
}

body.contact-page.mobile-menu-open .main-nav {
    background: #183b2d !important;
}

body.contact-page.mobile-menu-open .main-nav a {
    color: white !important;
}

/* 直接覆盖main-nav a的颜色 */
.main-nav a {
    color: #183b2d !important;
}

.contact-page .header-contact {
    border-color: rgba(24, 59, 45, 0.6);
    color: var(--text, #183b2d);
}

.contact-hero {
    background: var(--cream, #f4f1e8);
    padding: 150px 6vw 120px;
}

.contact-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-eyebrow,
.contact-section-label,
.form-heading {
    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 11px;
    letter-spacing: 0.22em;
    font-weight: 500;
    color: #52685c;
}

.contact-eyebrow span {
    width: 32px;
    height: 1px;
    background: currentColor;
}

.contact-hero h1 {
    margin: 32px 0 35px;

    font-size: clamp(64px, 8vw, 125px);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: #183b2d;
}

.contact-hero h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
}

.contact-intro {
    max-width: 570px;

    font-size: 18px;
    line-height: 1.75;
    color: #5f6d64;
}


/* =========================================================
   MAIN
========================================================= */

.contact-main {
    padding: 130px 6vw;
    background: #faf9f4;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 120px;
}

.contact-info h2 {
    margin: 35px 0 25px;

    font-size: clamp(42px, 4vw, 68px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.035em;
    color: #183b2d;
}

.contact-info > p {
    max-width: 450px;

    font-size: 16px;
    line-height: 1.8;
    color: #69766e;
}


/* =========================================================
   DETAILS
========================================================= */

.contact-details {
    margin-top: 65px;
}

.contact-detail {
    padding: 22px 0;

    border-top: 1px solid rgba(24, 59, 45, 0.15);
}

.contact-detail:last-child {
    border-bottom: 1px solid rgba(24, 59, 45, 0.15);
}

.detail-label {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;
    letter-spacing: 0.2em;
    color: #78857e;
}

.contact-detail a {
    color: #183b2d;
    text-decoration: none;

    font-size: 16px;
}

.contact-detail p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;
    color: #66736b;
}

.contact-note {
    display: flex;
    gap: 18px;

    margin-top: 55px;
}

.contact-note-line {
    flex: 0 0 25px;

    margin-top: 10px;

    height: 1px;
    background: #8ba395;
}

.contact-note p {
    max-width: 370px;

    margin: 0;

    font-size: 13px;
    line-height: 1.7;
    color: #7a857e;
}


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

.contact-form-wrapper {
    padding-top: 5px;
}

.form-heading {
    justify-content: space-between;

    padding-bottom: 22px;

    border-bottom: 1px solid rgba(24, 59, 45, 0.2);
}

.form-heading span {
    font-family: Georgia, serif;
    font-size: 18px;
    letter-spacing: 0;
}

.contact-form {
    padding-top: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-field {
    margin-bottom: 30px;
}

.form-field label {
    display: block;

    margin-bottom: 10px;

    font-size: 10px;
    letter-spacing: 0.18em;
    color: #607067;
}

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

    padding: 14px 0;

    border: none;
    border-bottom: 1px solid rgba(24, 59, 45, 0.22);

    border-radius: 0;

    background: transparent;

    font-family: inherit;
    font-size: 15px;
    color: #183b2d;

    outline: none;

    transition: border-color 0.25s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.form-field select {
    cursor: pointer;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9aa39d;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-bottom-color: #183b2d;
}


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

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

    gap: 30px;

    margin-top: 25px;
}

.form-footer p {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;
    color: #8a938d;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 35px;

    padding: 17px 23px;

    border: 1px solid #183b2d;

    background: #183b2d;
    color: #fff;

    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.contact-submit:hover {
    background: transparent;
    color: #183b2d;
}

.submit-arrow {
    font-size: 20px;
    line-height: 1;
}


/* =========================================================
   DEVELOPMENT
========================================================= */

.contact-development {
    padding: 130px 6vw;

    background: #dfe8df;
}

.development-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 60px;
}

.development-number {
    font-family: Georgia, serif;
    font-size: 18px;
    color: #62766a;
}

.development-content h2 {
    margin: 30px 0;

    font-size: clamp(46px, 5vw, 76px);
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #183b2d;
}

.development-content h2 em {
    font-family: Georgia, serif;
}

.development-content > p {
    max-width: 580px;

    margin-bottom: 35px;

    font-size: 16px;
    line-height: 1.8;
    color: #617067;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    color: #183b2d;

    font-size: 13px;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.text-link span {
    font-size: 20px;

    transition: transform 0.25s ease;
}

.text-link:hover span {
    transform: translateX(6px);
}


/* =========================================================
   FINAL
========================================================= */

.contact-final {
    padding: 150px 6vw;

    background: #183b2d;
}

.contact-final-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-final .contact-section-label {
    color: #a9b9ae;
}

.contact-final h2 {
    margin: 35px 0 65px;

    font-size: clamp(48px, 6vw, 90px);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -0.045em;

    color: #f4f1e8;
}

.contact-back-top {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    color: #dce5dd;

    font-size: 12px;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.contact-back-top span {
    font-size: 18px;
}


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

@media (max-width: 900px) {

    .contact-hero {
        padding: 110px 7vw 90px;
    }

    .contact-main {
        padding: 90px 7vw;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .development-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-final {
        padding: 100px 7vw;
    }
}


@media (max-width: 600px) {

    .contact-hero h1 {
        font-size: 58px;
    }

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

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

    .contact-submit {
        width: 100%;
        justify-content: space-between;
    }

    .development-content h2 {
        font-size: 48px;
    }

}