.contact-float {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    color: #172B34;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    pointer-events: none;
}
.contact-float *, .contact-float *::before, .contact-float *::after { box-sizing: border-box; }
.contact-float.is-modal { inset: 0; align-items: center; justify-content: center; padding: 24px; background: rgba(16, 35, 31, .18); backdrop-filter: blur(8px); pointer-events: auto; }
.contact-trigger, .contact-panel { pointer-events: auto; }
.contact-trigger { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 0; border-radius: 999px; background: linear-gradient(110deg, #087A70, #02C7AA); color: #fff; box-shadow: 0 14px 34px rgba(8, 122, 112, .25); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.contact-trigger:hover { filter: saturate(1.12) brightness(.97); transform: translateY(-2px); }
.contact-trigger svg { width: 20px; height: 20px; }
.contact-panel { width: min(360px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 104px)); overflow: auto; padding: 18px; border: 1px solid #E5EAF0; border-radius: 14px; background: #fff; box-shadow: 0 20px 52px rgba(23, 43, 52, .16); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: right bottom; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.contact-float.is-open .contact-panel { opacity: 1; visibility: visible; transform: none; }
.contact-float.is-modal .contact-panel { width: min(420px, calc(100vw - 36px)); max-height: calc(100vh - 40px); transform-origin: center; }
.contact-float.is-modal .contact-trigger { display: none; }
.contact-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #E5EAF0; }
.contact-panel-eyebrow { margin: 0; color: #0F7F76; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-panel-header h2 { margin: 3px 0 0; font-size: 20px; line-height: 1.4; }
.contact-close { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: #667085; cursor: pointer; }
.contact-close:hover { background: #EAF8F5; color: #172B34; }
.contact-close svg { width: 18px; height: 18px; }
.contact-panel-section { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #E5EAF0; }
.contact-section-icon { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: #EAF8F5; color: #0F7F76; }
.contact-section-icon svg { width: 19px; height: 19px; }
.contact-panel-section h3 { margin: 0 0 5px; font-size: 15px; }
.contact-panel-section p { margin: 2px 0 0; color: #667085; font-size: 13px; line-height: 1.6; }
.contact-float.is-modal .contact-panel-section { display: none; }
.contact-methods { display: grid; gap: 10px; padding-top: 14px; }
.contact-wechat { display: grid; justify-items: center; gap: 10px; padding: 12px; border: 1px solid #E5EAF0; border-radius: 10px; background: #F7F9FC; }
.contact-wechat-header { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 12px; }
.contact-wechat-header span { font-size: 15px; font-weight: 800; }
.contact-wechat-header small { color: #71857f; font-size: 11px; }
.contact-wechat img { display: block; width: 144px; height: 144px; border: 1px solid #dce9e5; border-radius: 8px; background: #fff; object-fit: contain; }
.contact-phone { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; min-height: 46px; padding: 9px 12px; border: 1px solid #E5EAF0; border-radius: 10px; background: #F7F9FC; }
.contact-phone span { color: #71857f; font-size: 12px; }
.contact-phone a { color: #172B34; font-size: 15px; font-weight: 800; text-decoration: none; }
@media (max-width: 600px) {
    .contact-float { right: 14px; bottom: 14px; }
    .contact-trigger { min-height: 48px; padding: 0 17px; font-size: 14px; }
}
