/* ========================= Contact Us Page Styles ========================= */



/* 通用 a 标签样式 */

a,

a:link,

a:visited,

a:hover,

a:active {

    color: white;

    text-decoration: none;

}



/* Hero Section */

.contact-hero-section {

    position: relative;

    display: block;

    width: 100%;

    height: calc((350/1918) * 100vw);

    min-height: 280px;

    background-image: url('/img/banner_lx.jpg');

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    display: flex;

    align-items: center;

    justify-content: center;

}



.hero-overlay {

    position: relative;

    z-index: 2;

    text-align: center;

    color: var(--white);

    padding: calc((40/1918) * 100vw);

    width: 100%;

    max-width: 1730px;

    margin: 0 auto;

}



.contact-hero-section::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background-color: rgba(0, 0, 0, 0.15);

    z-index: 1;

}



.hero-title {

    font-family: Arial, sans-serif;

    font-size: clamp(42px, 5.6vw, 86px);

    font-weight: 500;

    margin: 0;

    line-height: 1;

    letter-spacing: 0.03em;

    text-transform: uppercase;

    text-shadow: none;

}



.hero-subtitle {

    font-family: var(--font-body);

    font-size: clamp(16px, calc((20/1918) * 100vw), 20px);

    margin: 0;

    opacity: 0.95;

}



/* Tab Navigation */

#contact-main.rect_show {

    padding-left: var(--page-tab-gutter, calc((94 / 1918) * 100vw));

    padding-right: var(--page-tab-gutter, calc((94 / 1918) * 100vw));

}

@media (min-width: 1901px) {

    #contact-main.rect_show {

        --page-tab-gutter: calc((94 / 1918) * 100vw);

    }

}

@media (min-width: 1581px) and (max-width: 1900px) {

    #contact-main.rect_show {

        --page-tab-gutter: calc((94 / 1918) * 100vw);

    }

}

@media (min-width: 1521px) and (max-width: 1580px) {

    #contact-main.rect_show {

        --page-tab-gutter: calc((94 / 1918) * 100vw);

    }

}

@media (min-width: 1201px) and (max-width: 1520px) {

    #contact-main.rect_show {

        --page-tab-gutter: calc((94 / 1918) * 100vw);

    }

}

@media (max-width: 1200px) {

    #contact-main.rect_show {

        --page-tab-gutter: 5vw;

    }

}

.contact-tabs {

    display: flex;

    gap: clamp(44px, 6vw, 112px);

    margin-bottom: clamp(34px, 4vw, 62px);

    border-bottom: 2px solid #e5e7eb;

    justify-content: flex-start; /* 靠左对齐 */

    width: 100%;

}



.contact-tab {

    background: none;

    border: none;

    font-family: var(--font-heading);

    font-size: clamp(20px, calc((24/1918) * 100vw), 24px);

    font-weight: 600;

    color: #55585d;

    padding: clamp(22px, 2.2vw, 34px) 0 clamp(28px, 2.6vw, 44px);

    cursor: pointer;

    position: relative;

    transition: color 0.3s ease;

}



.contact-tab.active {

    color: var(--brand-primary);

}



.contact-tab.active::after {

    content: '';

    position: absolute;

    bottom: -2px;

    left: 0;

    right: 0;

    height: 3px;

    background-color: var(--brand-primary);

}



.contact-tab:hover {

    color: var(--brand-primary);

}



/* Main Content Wrapper */

.contact-content-wrapper {

    display: flex;

    flex-direction: column;

    gap: calc((60/1918) * 100vw);

    width: 100%;

}



.contact-panel {

    width: 100%;

}



.contact-panel[hidden] {

    display: none;

}



.contact-qa-panel .services-qa-table {

    width: 100%;

}



.contact-qa-panel .services-qa-head {

    display: grid;

    grid-template-columns: 1fr 200px;

    align-items: center;

    min-height: 46px;

    padding: 0 24px;

    color: #fff;

    background: linear-gradient(90deg, #29a7e1 0%, #5667d8 100%);

    font-family: var(--font-body);

    font-size: clamp(16px, calc((18/1918) * 100vw), 18px);

    font-weight: 600;

    line-height: 1.3;

}



.contact-qa-panel .services-qa-head span:last-child {

    text-align: center;

}



.contact-qa-panel .services-qa-item {

    border-bottom: 1px solid #e6e8ec;

}



.contact-qa-panel .services-qa-question {

    width: 100%;

    min-height: 84px;

    border: 0;

    background: #fff;

    color: var(--brand-primary);

    display: grid;

    grid-template-columns: 1fr 200px;

    align-items: center;

    gap: 24px;

    padding: 0 24px;

    text-align: left;

    cursor: pointer;

    font-family: var(--font-body);

    font-size: clamp(17px, calc((18/1918) * 100vw), 20px);

    font-weight: 600;

    line-height: 1.5;

}



.contact-qa-panel .services-qa-question:hover {

    color: var(--brand-primary-dark);

}



.contact-qa-panel .services-qa-action {

    color: var(--brand-primary);

    text-align: center;

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

}



.contact-qa-panel .services-qa-answer {

    max-width: 1320px;

    max-height: 0;

    overflow: hidden;

    padding: 0 24px 0 50px;

    opacity: 0;

    color: var(--text-gray-500);

    font-family: var(--font-body);

    font-size: clamp(16px, calc((18/1918) * 100vw), 18px);

    font-weight: 400;

    line-height: 1.8;

    transition: max-height 0.36s ease, padding-bottom 0.36s ease, opacity 0.24s ease;

}

.contact-qa-panel .services-qa-item:not(.is-open) .services-qa-answer {

    max-height: 0 !important;

    padding-bottom: 0 !important;

    opacity: 0 !important;

}



.contact-qa-panel .services-qa-item.is-open .services-qa-answer {

    padding-bottom: 34px;

    opacity: 1;

}



.contact-qa-panel .services-qa-item.is-open .services-qa-action {

    visibility: hidden;

}

.contact-office-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: calc((28/1918) * 100vw);

    width: 100%;

}



.contact-office-card,
.contact-office-card:link,
.contact-office-card:visited {

    display: flex;

    flex-direction: column;

    min-height: calc((420/1918) * 100vw);

    padding: calc((16/1918) * 100vw);

    background: #e5e5e5;

    color: var(--text-gray-700);

    text-decoration: none;

    box-sizing: border-box;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.contact-office-card:hover {

    color: var(--text-gray-700);

    transform: translateY(-3px);

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);

}



.contact-office-image {

    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 1.35 / 1;

    background: #fff;

    overflow: hidden;

}

.contact-office-image-link,
.contact-office-image-link:link,
.contact-office-image-link:visited {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.contact-office-image-link::after {
    content: 'View details';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, rgba(106, 61, 177, 0.7), rgba(41, 167, 225, 0.66));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-office-card:hover .contact-office-image-link::after,
.contact-office-image-link:focus-visible::after {
    opacity: 1;
}



.contact-office-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease, filter 0.35s ease;

}

.contact-office-card:hover .contact-office-image img,
.contact-office-image-link:focus-visible img {
    transform: scale(1.045);
    filter: brightness(0.94);
}



.contact-office-placeholder {

    width: 100%;

    height: 100%;

    background: #fff;

}



.contact-office-title {

    min-height: calc((64/1918) * 100vw);

    margin: calc((18/1918) * 100vw) 0 calc((22/1918) * 100vw);

    color: var(--text-gray-700);

    font-family: var(--font-heading);

    font-size: clamp(16px, calc((18/1918) * 100vw), 18px);

    font-weight: 700;

    line-height: 1.35;

}

.contact-office-title-link,
.contact-office-title-link:link,
.contact-office-title-link:visited {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-office-title-link:hover,
.contact-office-title-link:focus-visible {
    color: var(--brand-primary);
}



.contact-office-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: auto;

    color: var(--text-gray-700);

    font-family: var(--font-body);

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    line-height: 1.2;

}



.contact-office-more {

    color: var(--text-gray-700);

    text-decoration: underline;

    text-underline-offset: 2px;

}



.contact-office-more:link,
.contact-office-more:visited {

    color: var(--text-gray-700);

}



.contact-office-more:hover {

    color: var(--brand-primary);

}



.contact-office-location {

    display: inline-flex;

    align-items: center;

    justify-content: flex-end;

    gap: 4px;

    max-width: 55%;

    color: var(--text-gray-700);

    text-align: right;

    word-break: break-word;

}



.contact-office-location svg {

    width: calc((16/1918) * 100vw);

    height: calc((16/1918) * 100vw);

    min-width: 14px;

    min-height: 14px;

    color: var(--text-gray-700);

}



/* Top Row: Company Info + Shenzhen Office */

.contact-top-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: calc((60/1918) * 100vw);

}



.contact-info-column {

    display: flex;

    flex-direction: column;

    gap: calc((40/1918) * 100vw);

}



.shenzhen-office-column {

    display: flex;

    flex-direction: column;

}



/* Bottom Row: Online Message + Form */

.contact-bottom-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: calc((60/1918) * 100vw);

}



.message-title-column {

    display: flex;

    flex-direction: column;

}



.message-form-column {

    display: flex;

    flex-direction: column;

}



/* Company Introduction */

.contact-intro {

    margin-bottom: calc((20/1918) * 100vw);

}



.contact-section-title {

    font-family: var(--font-heading);

    font-size: clamp(16px, calc((18/1918) * 100vw), 18px);

    font-weight: 600;

    color: var(--text-gray-700);

    margin: 0 0 calc((15/1918) * 100vw) 0;

}



.contact-intro-text {

    font-family: var(--font-body);

    font-size: clamp(16px, calc((18/1918) * 100vw), 18px);

    color: var(--text-gray-500);

    margin: 0;

    line-height: 1.6;

}



/* Contact Information Section */

.contact-info-section {

    display: flex;

    flex-direction: column;

    gap: calc((25/1918) * 100vw);

}



.contact-info-item {

    display: flex;

    gap: calc((20/1918) * 100vw);

    padding: calc((20/1918) * 100vw);

    background-color: var(--brand-bg-light);

    border-radius: calc((8/1918) * 100vw);

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.contact-info-item:hover {

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}



.contact-icon-wrapper {

    width: calc((50/1918) * 100vw);

    height: calc((50/1918) * 100vw);

    min-width: 40px;

    min-height: 40px;

    max-width: 50px;

    max-height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: var(--white);

    border-radius: 50%;

    color: var(--brand-primary);

}



.contact-icon {

    width: calc((28/1918) * 100vw);

    height: calc((28/1918) * 100vw);

    min-width: 24px;

    min-height: 24px;

    max-width: 28px;

    max-height: 28px;

}



.contact-info-content {

    flex: 1;

}



.contact-info-label {

    font-family: var(--font-heading);

    font-size: clamp(16px, calc((18/1918) * 100vw), 18px);

    font-weight: 600;

    color: var(--text-gray-700);

    margin: 0 0 calc((8/1918) * 100vw) 0;

}



.contact-info-value {

    font-family: var(--font-body);

    font-size: clamp(16px, calc((18/1918) * 100vw), 18px);

    color: var(--text-gray-500);

    margin: 0;

    line-height: 1.6;

}



.contact-info-value a {

    color: var(--brand-primary);

    text-decoration: none;

    transition: color 0.3s ease;

}



.contact-info-value a:hover {

    color: var(--brand-primary-dark);

    text-decoration: underline;

}



.contact-us-panel {

    max-width: 1500px;

    margin: 0 auto;

}



.contact-company-title {

    margin: 0 0 calc((24/1918) * 100vw);

    color: var(--text-gray-700);

    font-family: var(--font-heading);

    font-size: clamp(24px, calc((30/1918) * 100vw), 30px);

    font-weight: 700;

    line-height: 1.25;

}



.contact-us-panel .contact-info-section {

    display: grid;

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

    gap: calc((24/1918) * 100vw);

    margin-bottom: calc((56/1918) * 100vw);

}



.contact-us-panel .contact-info-item {

    align-items: center;

    min-height: calc((132/1918) * 100vw);

    padding: calc((22/1918) * 100vw) calc((28/1918) * 100vw);

    background: var(--white);

    border: 1px solid rgba(31, 41, 55, 0.32);

    border-radius: calc((6/1918) * 100vw);

    box-shadow: none;

}



.contact-us-panel .contact-info-item:hover {

    border-color: var(--brand-primary);

    box-shadow: 0 8px 20px rgba(41, 167, 225, 0.12);

}



.contact-us-panel .contact-icon-wrapper {

    background: transparent;

    color: var(--brand-primary);

}



.contact-us-panel .contact-info-label {

    font-size: clamp(16px, calc((17/1918) * 100vw), 18px);

    margin-bottom: calc((6/1918) * 100vw);

}



.contact-us-panel .contact-info-value {

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    color: var(--text-gray-700);

    line-height: 1.35;

}



/* Form Section */

.contact-form-section {

    margin-top: calc((40/1918) * 100vw);

}



.form-section-title {

    font-family: var(--font-heading);

    font-size: clamp(24px, calc((28/1918) * 100vw), 28px);

    font-weight: 600;

    color: var(--text-gray-700);

    margin: 0 0 calc((10/1918) * 100vw) 0;

    position: relative;

    display: inline-block;

    cursor: pointer;

    transition: color 0.3s ease;

}



.form-section-title:hover {

    color: var(--brand-primary);

}



.title-underline {

    display: block;

    width: 100%; /* 和文字一样长 */

    height: 3px;

    background-color: var(--brand-primary);

    margin-top: calc((8/1918) * 100vw);

}



.form-section-subtitle {

    font-family: var(--font-body);

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    color: var(--text-gray-500);

    margin: 0 0 calc((30/1918) * 100vw) 0;

}



/* Form Image */

.form-image-wrapper {

    width: 100%;

    border-radius: calc((8/1918) * 100vw);

    overflow: hidden;

    margin-top: calc((20/1918) * 100vw);

}



.form-side-image {

    width: 100%;

    height: auto;

    object-fit: cover;

    display: block;

}



/* Form Styles */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: calc((20/1918) * 100vw);

    width: 100%;

}



.contact-form-grid {

    display: grid;

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

    gap: calc((22/1918) * 100vw) calc((28/1918) * 100vw);

    width: 100%;

}



.form-group {

    display: flex;

    flex-direction: column;

    width: 100%;

}



.form-group--wide {

    grid-column: 1 / -1;

}



.form-label {

    font-family: var(--font-body);

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    color: var(--text-gray-700);

    margin-bottom: calc((8/1918) * 100vw);

    font-weight: 500;

}



.form-input,
.country-code-select,

.form-textarea {

    font-family: var(--font-body);

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    padding: calc((12/1918) * 100vw) calc((16/1918) * 100vw);

    border: 2px solid var(--brand-gray-light);

    border-radius: calc((8/1918) * 100vw);

    transition: border-color 0.3s ease, box-shadow 0.3s ease;

    background-color: var(--white);

    color: var(--text-gray-700);

    width: 100%;

    box-sizing: border-box;

}



.phone-input-row {

    display: grid;

    grid-template-columns: minmax(118px, calc((170/1918) * 100vw)) minmax(0, 1fr);

    width: 100%;

    overflow: hidden;

    border: 2px solid var(--brand-gray-light);

    border-radius: calc((8/1918) * 100vw);

    background: var(--white);

    transition: border-color 0.3s ease, box-shadow 0.3s ease;

}



.phone-input-row .country-code-select {

    border: 0;

    border-radius: 0;

    background-color: transparent;

    border-right: 1px solid rgba(31, 41, 55, 0.16);

}



.phone-input-row .form-input {

    border: 0;

    border-radius: 0;

    background-color: transparent;

}

.phone-input-row:focus-within {

    border-color: var(--brand-primary);

    box-shadow: 0 0 0 calc((3/1918) * 100vw) rgba(21, 114, 184, 0.1);

}



.country-code-select {

    cursor: pointer;

    appearance: auto;

}



.form-input:focus,
.country-code-select:focus,

.form-textarea:focus {

    outline: none;

    border-color: var(--brand-primary);

    box-shadow: 0 0 0 3px rgba(80, 162, 111, 0.1);

}



.form-input::placeholder,

.form-textarea::placeholder {

    color: var(--text-gray-500);

    opacity: 0.7;

}



.form-textarea {

    resize: vertical;

    min-height: calc((120/1918) * 100vw);

}



.error-message {

    font-family: var(--font-body);

    font-size: 16px;

    color: #dc3545;

    margin-top: calc((6/1918) * 100vw);

    display: none;

}



.form-group.error .form-input,
.form-group.error .country-code-select,

.form-group.error .form-textarea {

    border-color: #dc3545;

}

.form-group.error .phone-input-row {

    border-color: #dc3545;

}



.form-group.error .error-message {

    display: block;

}



.success-message {

    font-family: var(--font-body);

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    color: var(--brand-primary);

    background-color: rgba(80, 162, 111, 0.1);

    padding: calc((15/1918) * 100vw);

    border-radius: calc((4/1918) * 100vw);

    border-left: 4px solid var(--brand-primary);

    margin-top: calc((20/1918) * 100vw);

}



.contact-form-status {

    font-family: var(--font-body);

    font-size: 16px;

    color: var(--brand-primary);

    min-height: calc((22/1918) * 100vw);

    margin: 0;

}



.contact-form-status.is-error {

    color: #dc3545;

}



.form-submit-btn {

    /* 布局 */

    width: 100%;

    display: block;

    box-sizing: border-box;

    

    /* 间距 */

    padding: calc((12/1918) * 100vw) calc((40/1918) * 100vw);

    margin-top: calc((10/1918) * 100vw);

    margin-left: 0;

    margin-right: 0;

    

    /* 外观 */

    background-color: var(--brand-primary);

    color: white !important;

    border: none;

    border-radius: calc((8/1918) * 100vw);

    

    /* 字体 */

    font-family: var(--font-body);

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    font-weight: 500;

    

    /* 交互 */

    cursor: pointer;

    transition: background-color 0.3s ease, transform 0.2s ease;

}



.form-submit-btn:hover {

    background-color: var(--brand-primary-dark);

    color: white !important;

    transform: translateY(-1px);

}



.form-submit-btn:active {

    color: white !important;

    transform: translateY(0);

}



.contact-us-panel .contact-bottom-row {

    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);

    align-items: start;

    gap: calc((90/1918) * 100vw);

}



.contact-us-panel .contact-form-section {

    margin-top: 0;

}



.contact-us-panel .form-section-title {

    display: block;

    margin: 0 0 calc((8/1918) * 100vw);

    font-size: clamp(28px, calc((34/1918) * 100vw), 34px);

    font-weight: 700;

    cursor: default;

}



.contact-us-panel .form-section-title:hover {

    color: var(--text-gray-700);

}



.contact-us-panel .form-section-subtitle {

    max-width: calc((540/1918) * 100vw);

    margin: 0 0 calc((58/1918) * 100vw);

    color: var(--text-gray-700);

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    line-height: 1.45;

}



.contact-us-panel .form-image-wrapper {

    max-width: calc((680/1918) * 100vw);

    margin-top: 0;

    border-radius: 0;

}



.contact-us-panel .form-side-image {

    object-fit: contain;

}



.contact-us-panel .contact-form {

    gap: calc((18/1918) * 100vw);

}



.contact-us-panel .contact-form-grid {

    gap: calc((18/1918) * 100vw) calc((24/1918) * 100vw);

}



.contact-us-panel .form-label {

    margin-bottom: calc((6/1918) * 100vw);

    font-size: 16px;

    color: var(--text-gray-700);

    font-weight: 600;

}



.contact-us-panel .form-input,
.contact-us-panel .country-code-select,
.contact-us-panel .form-textarea {

    min-height: calc((44/1918) * 100vw);

    padding: calc((9/1918) * 100vw) calc((12/1918) * 100vw);

    border: 1px solid rgba(31, 41, 55, 0.36);

    border-radius: calc((6/1918) * 100vw);

    font-size: 16px;

}



.contact-us-panel .phone-input-row {

    grid-template-columns: minmax(72px, calc((92/1918) * 100vw)) minmax(0, 1fr);

    border: 1px solid rgba(31, 41, 55, 0.36);

    border-radius: calc((6/1918) * 100vw);

}



.contact-us-panel .form-textarea {

    min-height: calc((150/1918) * 100vw);

}



.contact-us-panel .form-submit-btn {

    margin-top: calc((22/1918) * 100vw);

    background: linear-gradient(90deg, #29a7e1 0%, #5667d8 100%);

}



.contact-us-panel .form-submit-btn:hover {

    background: linear-gradient(90deg, #1c97d1 0%, #4658c8 100%);

}



/* Form Section in Bottom Row */

.message-title-column .contact-form-section {

    margin-top: 0;

}

@media (min-width: 1440px) {
    .contact-us-panel {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .contact-company-title {
        margin-bottom: clamp(18px, 1.4vw, 28px);
    }

    .contact-us-panel .contact-info-section {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(16px, 1.25vw, 24px);
        margin-bottom: clamp(36px, 3vw, 58px);
    }

    .contact-us-panel .contact-info-item {
        align-items: flex-start;
        min-height: 150px;
        padding: clamp(22px, 1.55vw, 30px);
        border-color: rgba(31, 41, 55, 0.16);
        box-shadow: 0 10px 28px rgba(12, 29, 74, 0.06);
    }

    .contact-us-panel .contact-icon-wrapper {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        max-width: 34px;
        max-height: 34px;
        justify-content: flex-start;
    }

    .contact-us-panel .contact-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
        min-height: 22px;
    }

    .contact-us-panel .contact-info-label {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .contact-us-panel .contact-info-value {
        font-size: 16px;
        line-height: 1.45;
    }

    .contact-us-panel .contact-bottom-row {
        grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
        gap: clamp(48px, 4vw, 76px);
        align-items: start;
    }

    .contact-us-panel .form-section-title {
        font-size: clamp(28px, 1.75vw, 34px);
    }

    .contact-us-panel .form-section-subtitle {
        max-width: 620px;
        margin-bottom: clamp(28px, 2.4vw, 46px);
    }

    .contact-us-panel .form-image-wrapper {
        max-width: 720px;
    }
}



/* Secondary Office Box */

.secondary-office-box {

    background-color: var(--brand-bg-light);

    padding: calc((40/1918) * 100vw);

    border-radius: calc((8/1918) * 100vw);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

}



.office-heading {

    font-family: var(--font-body);

    font-size: clamp(20px, calc((24/1918) * 100vw), 24px);

    font-weight: normal;

    color: var(--text-gray-700);

    margin: 0 0 calc((10/1918) * 100vw) 0;

}



.office-company {

    font-family: var(--font-heading);

    font-size: clamp(20px, calc((24/1918) * 100vw), 24px);

    font-weight: 600;

    color: var(--text-gray-700);

    margin: 0 0 calc((25/1918) * 100vw) 0;

}



.office-detail {

    display: flex;

    gap: calc((8/1918) * 100vw);

    margin-bottom: calc((15/1918) * 100vw);

    font-family: var(--font-body);

    font-size: clamp(16px, calc((16/1918) * 100vw), 18px);

    align-items: baseline;

}



.office-label {

    font-weight: 600;

    color: var(--text-gray-700);

    white-space: nowrap;

    flex-shrink: 0;

}



.office-value {

    color: var(--text-gray-500);

    line-height: 1.6;

    flex: 1;

}



.office-value a {

    color: var(--brand-primary);

    text-decoration: none;

    transition: color 0.3s ease;

}



.office-value a:hover {

    color: var(--brand-primary-dark);

    text-decoration: underline;

}



/* ========================= Contact Page Responsive ========================= */



/* Tablet */

@media (max-width: 1024px) {

    .contact-top-row,

    .contact-bottom-row {

        grid-template-columns: 1fr;

    }



    .hero-title {

        font-size: clamp(28px, calc((36/1918) * 100vw), 36px);

    }



    .hero-subtitle {

        font-size: clamp(16px, calc((18/1918) * 100vw), 18px);

    }



    .contact-office-grid {

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

        gap: 22px;

    }



    .contact-office-card {

        min-height: 320px;

        padding: 14px;

    }



    .contact-office-title {

        min-height: 50px;

        font-size: 16px;

    }



    .contact-company-title {

        font-size: 24px;

        margin-bottom: 18px;

    }



    .contact-us-panel .contact-info-section {

        gap: 18px;

        margin-bottom: 38px;

    }



    .contact-us-panel .contact-info-item {

        min-height: 110px;

        padding: 18px;

    }



    .contact-us-panel .contact-info-label {

        font-size: 16px;

    }



    .contact-us-panel .contact-info-value {

        font-size: 16px;

    }



    .contact-us-panel .contact-bottom-row {

        grid-template-columns: 1fr;

        gap: 36px;

    }



    .contact-us-panel .form-section-title {

        font-size: 28px;

    }



    .contact-us-panel .form-section-subtitle,
    .contact-us-panel .form-image-wrapper {

        max-width: 100%;

    }

}



/* Mobile */

@media (max-width: 768px) {

    .contact-hero-section {

        height: 220px;

        min-height: 220px;

        background-size: cover;

    }



    .hero-title {

        font-size: 32px;

    }



    .hero-subtitle {

        font-size: 16px;

    }



    .contact-tabs {

        gap: 30px;

        flex-wrap: wrap;

    }



    .contact-tab {

        font-size: 18px;

        padding: 12px 0;

    }



    .contact-qa-panel .services-qa-head {

        grid-template-columns: 1fr 100px;

        padding: 0 14px;

    }



    .contact-qa-panel .services-qa-question {

        grid-template-columns: 1fr 90px;

        min-height: 74px;

        padding: 0 14px;

        gap: 12px;

        font-size: 16px;

    }



    .contact-qa-panel .services-qa-action {

        font-size: 16px;

    }



    .contact-qa-panel .services-qa-answer {

        padding-left: 14px;

        padding-right: 14px;

        font-size: 16px;

    }



    .contact-office-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }



    .contact-office-card {

        min-height: 300px;

        padding: 12px;

    }



    .contact-office-title {

        min-height: auto;

        margin: 14px 0 18px;

        font-size: 16px;

    }



    .contact-office-footer {

        font-size: 16px;

    }



    .contact-office-location svg {

        width: 14px;

        height: 14px;

    }



    .contact-company-title {

        font-size: 22px;

        margin-bottom: 16px;

    }



    .contact-us-panel .contact-info-section {

        grid-template-columns: 1fr;

        gap: 14px;

        margin-bottom: 32px;

    }



    .contact-us-panel .contact-info-item {

        min-height: auto;

        padding: 16px !important;

        border-radius: 6px;

    }



    .contact-us-panel .contact-bottom-row {

        grid-template-columns: 1fr;

        gap: 28px;

    }



    .contact-us-panel .form-section-title {

        font-size: 24px;

    }



    .contact-us-panel .form-section-subtitle {

        max-width: 100%;

        margin-bottom: 24px;

        font-size: 16px;

    }



    .contact-us-panel .form-image-wrapper {

        max-width: 100%;

    }



    .contact-us-panel .form-input,
    .contact-us-panel .country-code-select,
    .contact-us-panel .form-textarea {

        min-height: 42px;

        padding: 10px 12px;

        font-size: 16px;

        border-radius: 6px;

    }



    .contact-us-panel .phone-input-row {

        grid-template-columns: minmax(82px, 34%) minmax(0, 1fr);

        border-radius: 6px;

    }

    .contact-us-panel .phone-input-row .country-code-select,
    .contact-us-panel .phone-input-row .form-input {

        border-radius: 0;

    }



    .contact-us-panel .form-textarea {

        min-height: 130px;

    }



    .contact-intro {

        display: flex;

        flex-direction: column;

        gap: 15px !important;

        margin-bottom: 20px !important;

    }



    .contact-section-title {

        font-size: 16px;

        margin: 0 !important;

        padding-top: 15px !important;

    }



    .contact-intro-text {

        font-size: 16px;

        margin: 0 !important;

    }



    .form-section-title {

        font-size: 22px;

    }



    .form-section-subtitle {

        font-size: 16px;

    }



    .contact-info-label {

        font-size: 16px;

    }



    .contact-info-value {

        font-size: 16px;

    }



    .form-label {

        font-size: 16px;

    }



    .form-input,

    .form-textarea {

        font-size: 16px;

        padding: 12px 16px;

        width: 100%;

        max-width: 100%;

        box-sizing: border-box;

    }



    .office-heading {

        font-size: 20px;

    }



    .office-company {

        font-size: 22px;

    }



    .office-detail {

        font-size: 16px;

    }



    .contact-info-item {

        /* flex-direction: column !important; */

        align-items: flex-start !important;

        padding: 16px !important;

        gap: 12px !important;

    }



    .contact-icon-wrapper {

        width: 40px;

        height: 40px;

        min-width: 40px;

        min-height: 40px;

    }



    .contact-icon {

        width: 24px;

        height: 24px;

        min-width: 24px;

        min-height: 24px;

    }

    

    .contact-form {

        width: 100%;

        max-width: 100%;

        padding: 0;

        margin: 0;

    }



    .contact-form-grid {

        grid-template-columns: 1fr;

        gap: 16px;

    }



    .phone-input-row {

        grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);

    }

    .phone-input-row .country-code-select,
    .phone-input-row .form-input {

        border-radius: 0;

    }

/* Final phone field polish: make the area-code select and phone input read as one control. */
.contact-us-panel .phone-input-row {

    grid-template-columns: minmax(86px, calc((108/1918) * 100vw)) minmax(0, 1fr);

    min-height: calc((44/1918) * 100vw);

    border: 1px solid rgba(31, 41, 55, 0.36);

    border-radius: calc((6/1918) * 100vw);

    background: var(--white);

    overflow: hidden;

    box-shadow: none;

}

.contact-us-panel .phone-input-row .country-code-select,
.contact-us-panel .phone-input-row .form-input {

    min-height: 100%;

    height: 100%;

    border: 0 !important;

    border-radius: 0 !important;

    background: transparent;

    box-shadow: none !important;

}

.contact-us-panel .phone-input-row .country-code-select {

    padding-left: calc((14/1918) * 100vw);

    padding-right: calc((10/1918) * 100vw);

    border-right: 1px solid rgba(31, 41, 55, 0.14) !important;

    color: var(--text-gray-700);

}

.contact-us-panel .phone-input-row .form-input {

    padding-left: calc((14/1918) * 100vw);

}

.contact-us-panel .phone-input-row:focus-within {

    border-color: var(--brand-primary);

    box-shadow: 0 0 0 calc((2/1918) * 100vw) rgba(21, 114, 184, 0.08);

}

@media (max-width: 768px) {

    .contact-us-panel .phone-input-row {

        min-height: 42px;

        border-radius: 6px;

        grid-template-columns: minmax(88px, 32%) minmax(0, 1fr);

    }

    .contact-us-panel .phone-input-row .country-code-select,
    .contact-us-panel .phone-input-row .form-input {

        padding-top: 10px;

        padding-bottom: 10px;

    }

}

    

    .form-group {

        width: 100%;

        max-width: 100%;

        padding: 0;

        margin: 0;

        margin-bottom: 15px;

    }

    

    .form-submit-btn {

        width: 100% !important;

        max-width: 100%;

        font-size: 16px;

        padding: 14px 20px;

        min-height: 48px;

        border-radius: 8px;

        margin-left: 0 !important;

        margin-right: 0 !important;

        box-sizing: border-box !important;

        display: block;

    }

    

    .message-form-column {

        width: 100%;

        max-width: 100%;

        padding: 0;

        overflow: hidden;

    }



    .secondary-office-box {

        padding: 24px;

    }



    /* Stack columns on mobile */

    .contact-top-row,

    .contact-bottom-row {

        grid-template-columns: 1fr;

    }

}

/* Remove the native select chrome so the phone field reads as one unified input. */
.contact-us-panel .phone-input-row {
    column-gap: 0 !important;
    align-items: stretch !important;
    display: block !important;
    position: relative !important;
    min-height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    border-width: 0 !important;
    box-sizing: border-box !important;
    box-shadow: inset 0 0 0 1px rgba(31, 41, 55, 0.28) !important;
    outline: none !important;
    background-color: var(--white) !important;
}

.contact-us-panel .phone-input-row:focus-within {
    border: 0 !important;
    box-shadow: inset 0 0 0 1px rgba(31, 41, 55, 0.28) !important;
}

.contact-us-panel .phone-input-row .country-code-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 2 !important;
    width: 88px !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-right: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

.contact-us-panel .phone-input-row .country-code-select:focus,
.contact-us-panel .phone-input-row .form-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.contact-us-panel .phone-input-row .form-input {
    display: block !important;
    width: 100% !important;
    min-height: 42px !important;
    padding-left: 92px !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: var(--text-gray-700) !important;
    background-color: transparent !important;
}

.contact-us-panel .phone-input-row::before {
    content: attr(data-country-code);
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: var(--text-gray-700);
    font-family: var(--font-body);
    font-size: inherit;
    line-height: 1;
    pointer-events: none;
}

.contact-us-panel .phone-input-row::after {
    content: "";
    position: absolute;
    left: 62px;
    top: 50%;
    z-index: 1;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #344054;
    border-bottom: 1.5px solid #344054;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

@media (max-width: 768px) {
    .contact-us-panel .phone-input-row .country-code-select {
        width: 82px !important;
    }

    .contact-us-panel .phone-input-row .form-input {
        padding-left: 86px !important;
    }

    .contact-us-panel .phone-input-row::before {
        left: 16px;
    }

    .contact-us-panel .phone-input-row::after {
        left: 62px;
    }
}

/* Keep Contact Us single-line controls visually consistent, including the custom phone field. */
.contact-us-panel {
    --contact-control-height: clamp(56px, calc((56/1918) * 100vw), 64px);
}

.contact-us-panel .contact-form .form-input,
.contact-us-panel .contact-form .phone-input-row {
    height: var(--contact-control-height) !important;
    min-height: var(--contact-control-height) !important;
    box-sizing: border-box !important;
}

.contact-us-panel .contact-form .phone-input-row .country-code-select,
.contact-us-panel .contact-form .phone-input-row .form-input {
    height: 100% !important;
    min-height: 0 !important;
}

.contact-us-panel .contact-form .phone-input-row .form-input {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.contact-us-panel .contact-form .form-textarea {
    height: auto !important;
}

@media (max-width: 768px) {
    .contact-us-panel {
        --contact-control-height: 48px;
    }
}

/* Q&A needs a stacked card layout on narrow screens so question titles and actions never overlap. */
@media (max-width: 768px) {
    .contact-qa-panel .services-qa-head {
        grid-template-columns: 1fr;
        min-height: 56px;
        padding: 0 20px;
    }

    .contact-qa-panel .services-qa-head span:last-child {
        display: none;
    }

    .contact-qa-panel .services-qa-question {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        min-height: 0;
        padding: 18px 20px;
        font-size: 17px;
        line-height: 1.45;
    }

    .contact-qa-panel .services-qa-action {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0 14px;
        border: 1px solid currentColor;
        border-radius: 16px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
    }

    .contact-qa-panel .services-qa-answer {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-qa-panel .services-qa-item.is-open .services-qa-question {
        gap: 0;
        padding-bottom: 10px;
    }

    .contact-qa-panel .services-qa-item.is-open .services-qa-action {
        display: none;
    }
}
