:root { --primary: #0D2A54; --accent: #F6D32D; --white: #FFFFFF; --text: #2B2D42; --light-bg: #F8F9FA; --grey: #8D99AE; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
body { font-family: 'Noto Sans HK','Poppins',sans-serif; margin: 0; background: var(--light-bg); color: var(--text); display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; width: 100%; }

/* ===== Nav ===== */
nav { background: var(--white); height: 80px; display: flex; justify-content: space-between; align-items: center; padding: 0 3%; box-shadow: 0 4px 20px rgba(13,42,84,0.05); position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 1px; flex-shrink: 0; }
.logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 25px; margin: 0; padding: 0 20px; flex: 1; justify-content: center; }
.nav-links li a { text-decoration: none; color: var(--primary); font-weight: 700; font-size: 15px; cursor: pointer; transition: 0.2s; }
.nav-links li a:hover, .nav-links li a.active { color: var(--accent); }
.lang-switch { display: flex; gap: 2px; background: #EDF2F7; border-radius: 8px; padding: 3px; z-index: 1001; flex-shrink: 0; }
.lang-btn { background: transparent; border: none; padding: 5px 10px; font-size: 12px; font-weight: 600; border-radius: 6px; cursor: pointer; color: #718096; transition: 0.2s; font-family: inherit; white-space: nowrap; min-width: 34px; text-align: center; }
.lang-btn.active { background: var(--primary); color: white; }
.lang-btn:hover:not(.active) { background: #E2E8F0; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; width: 28px; height: 28px; justify-content: center; align-items: center; transition: transform 0.3s; flex-shrink: 0; }
.menu-toggle span { width: 25px; height: 3px; background: var(--primary); border-radius: 2px; transition: 0.3s; position: absolute; }
.menu-toggle span:nth-child(1) { transform: translateY(-7px); }
.menu-toggle span:nth-child(2) { transform: translateY(0); }
.menu-toggle span:nth-child(3) { transform: translateY(7px); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); z-index: 998; opacity: 0; transition: opacity 0.3s; }
.nav-overlay.active { display: block; opacity: 1; }
.lang-desktop { display: inline; }
.lang-mobile { display: none; }

/* ===== Layout ===== */
.container { max-width: 1150px; margin: 40px auto; padding: 0 20px; width: 100%; }
.content { flex: 1; }
.btn-back { text-decoration: none; color: var(--primary); font-weight: 700; border: 2px solid var(--primary); padding: 8px 18px; border-radius: 8px; font-size: 14px; transition: 0.3s; }
.btn-back:hover { background: var(--primary); color: white; }

/* ===== Detail Grid (二手/租/工商/車位) ===== */
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; background: var(--white); padding: 35px; border-radius: 16px; box-shadow: 0 10px 30px rgba(13,42,84,0.04); margin-bottom: 40px; }
.gallery-box { display: flex; flex-direction: column; gap: 15px; }
.main-image-wrapper { width: 100%; height: 420px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); background: #eee; position: relative; }
.main-image-wrapper img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; }
.main-image-wrapper .watermark {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='130'%3E%3Cdefs%3E%3Cpattern id='wm' patternUnits='userSpaceOnUse' width='280' height='130' patternTransform='rotate(-25)'%3E%3Ctext x='15' y='40' font-family='Poppins,sans-serif' font-size='12' font-weight='600' fill='rgba(255,255,255,0.10)'%3ECHAYLEN PROPERTY 卓霖置業%3C/text%3E%3Ctext x='15' y='80' font-family='Poppins,sans-serif' font-size='12' font-weight='600' fill='rgba(0,0,0,0.10)'%3ECHAYLEN PROPERTY 卓霖置業%3C/text%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23wm)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 280px 130px;
}
.thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumb-box { height: 75px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: #eee; opacity: 0.6; transition: 0.2s; }
.thumb-box.active, .thumb-box:hover { border-color: var(--primary); opacity: 1; }
.thumb-box img { width: 100%; height: 100%; object-fit: cover; }
.info-box { display: flex; flex-direction: column; gap: 20px; }
.tag { display: inline-block; padding: 5px 14px; background: #E63946; color: white; font-size: 12px; font-weight: 700; border-radius: 6px; width: fit-content; }
.title { font-size: 26px; font-weight: 800; color: var(--primary); margin: 0; line-height: 1.4; }
.price { font-size: 34px; font-weight: 800; color: #E63946; margin: 0; letter-spacing: -0.5px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 12px 8px; border-bottom: 1px solid #EDF2F7; font-size: 15px; }
.info-table td.label { color: #64748B; width: 40%; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.info-table td.label i { color: var(--primary); opacity: 0.6; }
.info-table td.value { color: var(--primary); font-weight: 700; text-align: right; }

/* ===== Mortgage Calculator ===== */
.calc-box { background: #F8FAFC; border: 1px solid #E2E8F0; padding: 20px; border-radius: 12px; margin-top: 10px; }
.calc-title { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 15px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #E2E8F0; padding-bottom: 8px; }
.calc-row { margin-bottom: 12px; }
.calc-label { display: flex; justify-content: space-between; font-size: 13px; color: #64748B; font-weight: 500; margin-bottom: 4px; }
.calc-label span.val { color: var(--primary); font-weight: 700; }
.calc-slider { width: 100%; height: 8px; background: #E2E8F0; border-radius: 5px; outline: none; -webkit-appearance: none; appearance: none; cursor: pointer; margin: 10px 0; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); transition: transform 0.2s; }
.calc-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--primary); border: none; cursor: pointer; }
.calc-slider:active::-webkit-slider-thumb { transform: scale(1.2); }
.calc-slider:active::-moz-range-thumb { transform: scale(1.2); }
.calc-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--white); padding: 12px; border-radius: 8px; border: 1px solid #E2E8F0; margin-top: 15px; }
.result-item { text-align: center; }
.result-item .res-lbl { font-size: 12px; color: var(--grey); font-weight: 500; margin-bottom: 2px; }
.result-item .res-val { font-size: 18px; font-weight: 800; color: #E63946; }

/* ===== Map ===== */
.map-section { background: var(--white); padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(13,42,84,0.04); margin-bottom: 50px; }
.map-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; margin-top: 20px; }
.map-wrapper { width: 100%; height: 350px; border-radius: 10px; overflow: hidden; border: 1px solid #E2E8F0; }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }
.transport-box { display: flex; flex-direction: column; justify-content: center; background: #F8FAFC; padding: 25px; border-radius: 10px; border: 1px solid #E2E8F0; }
.mtr-title { font-size: 18px; font-weight: 700; color: #000; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.mtr-icon { width: 26px; height: 26px; background: #E63946; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: bold; font-family: Arial,sans-serif; }
.walk-info { font-size: 15px; line-height: 2; color: #4A5568; }
.walk-info strong { color: #E63946; font-size: 22px; font-weight: 800; }

/* ===== New Development (NS) ===== */
.ns-hero { position: relative; width: 100%; height: 420px; border-radius: 16px; overflow: hidden; margin-bottom: 40px; background: linear-gradient(135deg,#0D2A54 0%,#1A3A6A 100%); }
.ns-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.ns-hero-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 35px; background: linear-gradient(transparent,rgba(0,0,0,0.8)); }
.ns-hero-overlay h1 { color: white; font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.ns-hero-overlay .ns-hero-dev { color: var(--accent); font-size: 16px; font-weight: 600; }
.ns-hero-overlay .ns-hero-loc { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 4px; }
.ns-badge { display: inline-block; background: var(--accent); color: #0D2A54; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 4px; margin-bottom: 10px; }
.ns-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 40px; }
.ns-stat-card { background: var(--white); padding: 20px; border-radius: 12px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.ns-stat-icon { font-size: 24px; color: var(--accent); margin-bottom: 8px; }
.ns-stat-val { font-size: 16px; font-weight: 800; color: var(--primary); }
.ns-stat-lbl { font-size: 12px; color: var(--grey); margin-top: 4px; }
.ns-unit-mix { background: var(--white); padding: 30px; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); margin-bottom: 40px; }
.ns-section-title { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.ns-unit-table { width: 100%; border-collapse: collapse; }
.ns-unit-table th { background: #F7FAFC; color: var(--primary); font-size: 13px; font-weight: 700; padding: 12px 15px; text-align: left; border-bottom: 2px solid #E2E8F0; }
.ns-unit-table td { padding: 12px 15px; border-bottom: 1px solid #EDF2F7; font-size: 14px; color: #4A5568; }
.ns-unit-table tr:hover td { background: #F7FAFC; }
.ns-unit-table .ns-unit-plan-btn { display: inline-flex; align-items: center; gap: 5px; background: var(--primary); color: white; padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; }
.ns-highlights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
.ns-highlight-item { background: var(--white); padding: 16px 18px; border-radius: 10px; display: flex; align-items: center; gap: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); border: 1px solid #EDF2F7; }
.ns-highlight-item i { font-size: 18px; color: var(--accent); width: 24px; text-align: center; }
.ns-highlight-item span { font-size: 14px; color: #4A5568; line-height: 1.4; }
.ns-docs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.ns-doc-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid #E2E8F0; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; transition: 0.2s; }
.ns-doc-btn:hover { border-color: var(--primary); background: #F7FAFC; }
.ns-doc-btn i { font-size: 18px; }
.ns-cta-box { background: linear-gradient(135deg,#0D2A54 0%,#1A3A6A 100%); padding: 35px; border-radius: 16px; color: white; margin-bottom: 30px; }
.ns-cta-box h3 { font-size: 20px; font-weight: 800; margin: 0 0 20px; color: white; }
.ns-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ns-cta-input { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 12px 15px; border-radius: 8px; color: white; font-size: 14px; }
.ns-cta-input::placeholder { color: rgba(255,255,255,0.5); }
.ns-cta-input:focus { outline: none; border-color: var(--accent); }
.ns-cta-btn { background: var(--accent); color: #0D2A54; padding: 12px; border: none; border-radius: 8px; font-size: 15px; font-weight: 800; cursor: pointer; transition: opacity 0.2s; grid-column: 1 / -1; }
.ns-cta-btn:hover { opacity: 0.9; }
.ns-cta-thanks { display: none; padding: 20px; text-align: center; font-size: 16px; color: var(--accent); font-weight: 600; }

/* ===== Filter / Listings ===== */
.section-title { font-size: 22px; font-weight: 800; color: var(--primary); margin: 60px 0 25px 0; border-left: 5px solid var(--accent); padding-left: 15px; }
.search-section { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); margin-bottom: 30px; border: 1px solid #EDF2F7; }
.filter-grid { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-grid input { flex: 1 1 160px; min-width: 120px; padding: 10px 12px; border: 1px solid #E2E8F0; border-radius: 6px; font-size: 14px; background: var(--white); color: var(--text); outline: none; }
.filter-grid select { flex: 0 1 auto; min-width: 120px; padding: 10px 12px; border: 1px solid #E2E8F0; border-radius: 6px; font-size: 14px; background: var(--white); color: var(--text); outline: none; }
.filter-room-row { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; width: 100%; margin-top: 8px; padding-top: 10px; border-top: 1px solid #EDF2F7; }
.filter-room-row .room-chip { font-size: 12px; padding: 5px 12px; border-radius: 6px; border: 1px solid #E2E8F0; cursor: pointer; color: #64748B; background: #fff; transition: 0.2s; user-select: none; display: inline-flex; align-items: center; gap: 4px; height: 32px; box-sizing: border-box; font-weight: 600; line-height: 1; }
.filter-room-row .room-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-room-row .room-chip:hover:not(.active) { background: #EDF2F7; }
.btn-clear-filter { flex: 0 0 auto; padding: 6px 14px; font-size: 12px; border: 1px solid #E2E8F0; border-radius: 6px; background: #fff; color: #64748B; cursor: pointer; transition: 0.2s; font-weight: 600; height: 32px; display: inline-flex; align-items: center; gap: 4px; box-sizing: border-box; line-height: 1; }
.btn-clear-filter:hover { background: #FFF5F5; border-color: #FC8181; color: #E53E3E; }
.btn-search { background: var(--primary); color: white; border: none; padding: 12px; font-weight: 700; border-radius: 6px; cursor: pointer; margin-top: 12px; width: 100%; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin-top: 20px; }
.card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border: 1px solid #EDF2F7; transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }
.card-body { padding: 20px; text-align: left; }
.card-title { font-size: 15px; font-weight: 700; color: var(--primary); margin: 8px 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.error-box { text-align: center; padding: 60px 20px; background: white; border-radius: 16px; }

/* ===== Footer ===== */
footer { background: var(--primary); color: white; padding: 60px 5% 30px; margin-top: 80px; border-top: 5px solid var(--accent); }
.footer-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-logo { font-size: 28px; font-weight: 800; margin-bottom: 15px; }
.footer-logo span { color: var(--accent); }
.footer-section h4 { border-left: 4px solid var(--accent); padding-left: 12px; margin-bottom: 20px; }
.footer-section p { font-size: 14px; opacity: 0.8; line-height: 2; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 50px; padding-top: 20px; text-align: center; font-size: 13px; opacity: 0.5; }

/* ===== Responsive ===== */
@media (max-width: 850px) {
  .lang-switch { display: flex; gap: 1px; padding: 2px; z-index: 1002; }
  .lang-btn { padding: 4px 6px; font-size: 11px; min-width: 0; }
  .lang-desktop { display: none; }
  .lang-mobile { display: inline; }
  .menu-toggle { display: flex; z-index: 1003; }
  .nav-links { position: fixed; top: -100%; left: 0; width: 100%; background: var(--white); flex-direction: column; align-items: center; padding: 100px 0 30px; gap: 20px; transition: top 0.4s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 999; }
  .nav-links.active { top: 0; }
  .nav-links { display: none; }
  .nav-links.active { display: flex; }
}
@media (max-width: 768px) {
  .detail-grid, .map-grid { grid-template-columns: 1fr; gap: 20px; padding: 15px; }
  .gallery-box, .main-image-wrapper, .thumb-grid { width: 100%; }
  .thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .main-image-wrapper { height: 280px; overflow: hidden; }
  .main-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
  .thumb-box { height: 60px; }
  .thumb-box img { width: 100%; height: 100%; object-fit: cover; }
  .info-box { width: 100%; padding: 10px 0; }
  .info-table td { font-size: 13px; padding: 8px 6px; }
  .container { margin: 15px auto; padding: 0 15px; max-width: 100%; }
  .map-section { padding: 15px; }
  .map-wrapper { width: 100%; height: 250px; }
  .map-wrapper iframe { width: 100%; height: 100%; }
  .transport-box { width: 100%; }
  .walk-info { font-size: 14px; line-height: 1.6; }
  .search-section { width: 100%; margin: 15px 0; }
  .filter-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .btn-search { width: 100%; margin-top: 8px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section-title { font-size: 18px; margin: 15px 0 8px 0; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 25px; }
  .footer-section h4 { border-left: none; padding-left: 0; }
  .ns-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ns-highlights-grid { grid-template-columns: 1fr; }
  .ns-unit-table { font-size: 12px; }
  .ns-unit-table th, .ns-unit-table td { padding: 8px 10px; }
  .ns-hero { height: 260px; }
  .ns-hero-overlay h1 { font-size: 20px; }
  .ns-cta-grid { grid-template-columns: 1fr; }
  .ns-docs { flex-direction: column; gap: 10px; }
  footer { margin-top: 20px; }
  .footer-bottom { font-size: 12px; }
  .nav-links { display: none; }
  .nav-links.active { display: flex; }
  .lang-switch { display: none; }
  .menu-toggle { display: flex; z-index: 1003; }
  .detail-box img, .grid img { width: 100%; height: auto; }
  .features-box, .floor-plan-box, .ns-table-wrapper { overflow-x: auto; width: 100%; }
}
/* ===== Agent Contact Section ===== */
.agent-section { background: var(--white); padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(13,42,84,0.04); margin-bottom: 50px; }
.agent-title { font-size: 18px; font-weight: 800; color: var(--primary); margin: 0 0 20px; display: flex; align-items: center; gap: 8px; }
.agent-title i { color: var(--accent); }
.agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.agent-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 12px; background: #F7FAFC; border: 1px solid #E2E8F0; }
.agent-avatar-wrap { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.agent-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 22px; font-weight: 800; flex-shrink: 0; }
.agent-info { flex: 1; min-width: 0; }
.agent-name { font-size: 15px; font-weight: 700; color: var(--primary); }
.agent-license { font-size: 11px; color: #A0AEC0; margin-top: 1px; }
.agent-phone { font-size: 18px; font-weight: 800; color: #1A202C; margin-top: 5px; }
.agent-phone i { font-size: 14px; }
.agent-actions { display: flex; gap: 8px; margin-top: 10px; }
.agent-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: 0.15s; }
.agent-btn-primary { background: #25D366; color: white; }
.agent-btn-primary:hover { filter: brightness(1.1); }
.agent-btn-outline { background: white; color: var(--primary); border: 1.5px solid var(--primary); }
.agent-btn-outline:hover { background: #EDF2F7; }
.agent-btn-wechat { background: #07C160; color: white; border: none; cursor: pointer; }
.agent-btn-wechat:hover { filter: brightness(1.1); }

/* ===== WeChat QR Modal ===== */
.modal-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6); z-index:9999; display:none; align-items:center; justify-content:center; backdrop-filter:blur(4px); }
.modal-content { background:white; border-radius:20px; padding:35px 35px 25px; max-width:340px; width:90%; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,0.3); position:relative; animation:modalIn 0.25s ease-out; }
@keyframes modalIn { from { opacity:0; transform:scale(0.9) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }
.modal-close { position:absolute; top:10px; right:14px; background:none; border:none; font-size:28px; color:#A0AEC0; cursor:pointer; line-height:1; padding:4px; transition:0.15s; }
.modal-close:hover { color:#1A202C; }
.modal-agent-name { font-size:16px; font-weight:700; color:var(--primary); margin-bottom:15px; }
.modal-qr-img { width:220px; height:220px; border-radius:12px; border:2px solid #E2E8F0; object-fit:cover; }
.modal-hint { font-size:13px; color:#718096; margin-top:14px; }

@media (max-width: 640px) { .logo { font-size: 18px; } }
@media (max-width: 640px) {
  .agent-grid { grid-template-columns: 1fr; }
  .agent-card { padding: 16px; }
  .agent-phone { font-size: 16px; }
  .agent-wechat-qr { width: 36px; height: 36px; }
}
@media (max-width: 400px) {
  .logo { font-size: 16px; }
  .lang-btn { padding: 3px 5px; font-size: 10px; min-width: 28px; }
}
@media (max-width: 360px) { .lang-btn { padding: 2px 4px; font-size: 9px; min-width: 24px; } }
