/* =====================================================
   apearth.net · 希腊买房移民 —— 参照 gogreece.cn 经典版式
   主色 #0148a0 深蓝 / 强调 #f38b1c 橙 / 容器 1100px
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; color: #333; background: #F5F6F8; line-height: 1.7;
}
a { color: #0148a0; text-decoration: none; transition: color .2s; }
a:hover { color: #f38b1c; }
img { max-width: 100%; border: 0; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: bold; color: #333; }
table { border-collapse: collapse; width: 100%; }
em, i { font-style: normal; }
.container { width: 1100px; max-width: 96%; margin: 0 auto; }

/* ---------------- 顶部白条 Header ---------------- */
.header { width: 100%; background: #FFF; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; }
.logo img { height: 54px; width: auto; }
.logo-mark {
  width: 46px; height: 46px; background: #0148a0; color: #FFF; border-radius: 6px;
  font-size: 24px; line-height: 46px; text-align: center; margin-right: 12px; flex: none;
}
.logo-txt { display: flex; flex-direction: column; }
.logo-txt strong { font-size: 21px; color: #0148a0; letter-spacing: 1px; line-height: 1.15; }
.logo-txt span { font-size: 12px; color: #999; letter-spacing: 2px; margin-top: 3px; }
.logo-txt .logo-en {
  font-size: 11px; color: #f38b1c; letter-spacing: 1.5px; margin-top: 2px;
  text-transform: uppercase; font-style: normal; font-weight: 600;
}
.header-right { display: flex; align-items: center; gap: 22px; }
.h-contact { text-align: right; color: #889; font-size: 13px; line-height: 1.5; }
.h-contact b { font-size: 19px; color: #0148a0; font-family: Arial, sans-serif; }
.h-contact a { color: #0148a0; }
.btn-hd {
  display: inline-block; background: #f38b1c; color: #FFF; font-size: 15px; line-height: 40px;
  padding: 0 24px; border-radius: 3px; cursor: pointer; white-space: nowrap;
}
.btn-hd:hover { background: #e27a0c; color: #FFF; }

/* ---------------- 蓝色主导航 dhbox ---------------- */
.dhbox { width: 100%; height: 56px; background: #0148a0; position: relative; z-index: 90; }
.dhbox .container { display: flex; align-items: center; height: 56px; }
.nav { flex: 1; height: 56px; }
.menu { display: flex; width: 100%; height: 56px; }
.dhli { flex: 1; height: 56px; text-align: center; position: relative; }
.dhli > a {
  display: block; height: 56px; line-height: 56px; font-size: 17px; color: #FFF; padding: 0 6px;
  white-space: nowrap;
}
.dhli > a:hover, .dhli > a.active { background: #f38b1c; color: #FFF; }
/* 下拉子菜单（桌面：悬停展开） */
.dhli .sub {
  display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 56px;
  background: #FFF; box-shadow: 0 6px 18px rgba(0,0,0,.18); min-width: 158px; z-index: 99;
  border-radius: 0 0 4px 4px; overflow: hidden;
}
.dhli:hover .sub { display: block; }
.dhli .sub a { display: block; line-height: 46px; font-size: 15px; color: #333; border-bottom: 1px solid #f0f0f0; }
.dhli .sub a:hover { background: #f5f9ff; color: #0148a0; }
.dhli .sub a.active { color: #0148a0; font-weight: bold; background: #f5f9ff; }
/* 移动端子菜单展开按钮（桌面隐藏） */
.caret { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0; width: 44px; height: 44px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: #FFF; border-radius: 2px; margin: 5px auto; transition: .25s; }
.dhbox.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.dhbox.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.dhbox.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------- 全宽横幅 Banner ---------------- */
.banner { width: 100%; overflow: hidden; }
.banner img { width: 100%; height: auto; display: block; }

/* ---------------- 内页横幅 page-hero ---------------- */
.page-hero {
  width: 100%; padding: 68px 0; color: #FFF; text-align: center;
  background: linear-gradient(rgba(1,45,102,.78), rgba(1,45,102,.78)),
              url("../refimg/banner.jpg") center 42% no-repeat; background-size: cover;
}
.page-hero h1 { color: #FFF; font-size: 32px; letter-spacing: 1px; }
.page-hero p { font-size: 15px; color: #cdddf2; margin-top: 12px; }
.breadcrumb { background: #FFF; border-bottom: 1px solid #eee; }
.breadcrumb .container { padding: 12px 0; font-size: 13px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb span { margin: 0 8px; color: #ccc; }

/* ---------------- 区块与标题 ---------------- */
.section { width: 100%; background: #FFF; padding: 46px 0 50px; overflow: hidden; }
.section.alt { background: #F5F6F8; }
.section-head { margin-bottom: 30px; }
.section-head .kicker {
  display: inline-block; font-size: 12px; color: #f38b1c; letter-spacing: 3px; margin-bottom: 6px;
}
.section-head h2 { font-size: 24px; color: #333; position: relative; padding-left: 14px; }
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 5px; background: #0148a0;
  border-radius: 2px;
}
.section-head p { color: #999; font-size: 14px; margin-top: 8px; }
.section-head.left { text-align: left; }

/* ---------------- 通用网格 / 卡片 ---------------- */
.grid { display: grid; gap: 20px; }
.grid.g2 { grid-template-columns: 1fr 1fr; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #FFF; border: 1px solid #eee; box-shadow: 0 0 10px #e7e5e5; padding: 26px; border-radius: 3px; }
.section .card { background: #FFF; }
.card h3 { font-size: 18px; color: #0148a0; margin-bottom: 10px; }
.card p { color: #666; font-size: 14px; }
.card ol { margin: 10px 0 0 0; counter-reset: n; }
.card ol li { counter-increment: n; padding: 6px 0 6px 30px; position: relative; color: #555; font-size: 14px; border-bottom: 1px dashed #eee; }
.card ol li::before {
  content: counter(n); position: absolute; left: 0; top: 8px; width: 20px; height: 20px; line-height: 20px;
  text-align: center; background: #eef4fb; color: #0148a0; border-radius: 50%; font-size: 12px; font-weight: bold;
}
.card .num { font-size: 12px; color: #b8c6d8; letter-spacing: 2px; margin-bottom: 8px; }
.more { display: inline-block; margin-top: 14px; color: #f38b1c; font-size: 14px; }
.icon { width: 44px; height: 44px; border-radius: 50%; background: #eef4fb; display: flex; align-items: center; justify-content: center; color: #0148a0; margin-bottom: 14px; }
.overview .card { min-height: 300px; }
.overview ol { margin-top: 12px; }

/* ---------------- 首页数据条 stat-strip ---------------- */
.stat-strip { display: flex; background: #0148a0; border-radius: 4px; overflow: hidden; }
.stat-strip > div { flex: 1; text-align: center; padding: 22px 8px; border-right: 1px solid rgba(255,255,255,.15); }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip b { display: block; font-size: 26px; color: #FFF; font-family: Arial, sans-serif; }
.stat-strip span { display: block; color: #b9cbe4; font-size: 13px; margin-top: 4px; }

/* ---------------- 热门房产卡片 fclb ---------------- */
.house-grid { display: flex; flex-wrap: wrap; margin: -5px -15px 0; }
.house-grid .house-card { width: 530px; max-width: 100%; margin: 20px 15px 0; }
.house-card { background: #FFF; box-shadow: 0 0 10px #e7e5e5; overflow: hidden; display: flex; height: 272px; }
.house-photo { width: 270px; height: 272px; flex: none; position: relative; overflow: hidden; }
.house-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.house-card:hover .house-photo img { transform: scale(1.06); }
.house-photo .badge {
  position: absolute; left: 10px; top: 10px; background: #f38b1c; color: #FFF; font-size: 12px;
  padding: 3px 10px; border-radius: 2px; z-index: 2;
}
.house-photo .rid { position: absolute; right: 10px; top: 10px; background: rgba(1,72,160,.85); color: #FFF; font-size: 12px; padding: 3px 8px; border-radius: 2px; z-index: 2; }
.house-body { flex: 1; padding: 22px 20px; display: flex; flex-direction: column; min-width: 0; }
.house-body h3 { font-size: 18px; line-height: 1.4; }
.house-body h3 a { color: #333; }
.house-body h3 a:hover { color: #0148a0; }
.house-region { color: #999; font-size: 13px; margin-top: 6px; }
.house-spec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.house-spec span { background: #f2f6fb; color: #0148a0; font-size: 12px; padding: 2px 8px; border-radius: 2px; }
.house-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { background: #fff7ee; color: #e27a0c; border: 1px solid #f5d9b8; font-size: 12px; padding: 1px 8px; border-radius: 2px; }
.house-price { margin-top: auto; font-size: 22px; color: #f38b1c; font-family: Arial, sans-serif; font-weight: bold; }
.house-price small { font-size: 13px; color: #999; font-weight: normal; margin-left: 2px; }

/* 房产列表页筛选 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; background: #FFF; box-shadow: 0 0 10px #e7e5e5; padding: 18px 20px; margin-bottom: 26px; align-items: flex-end; }
.filter-bar label { display: block; font-size: 13px; color: #999; margin-bottom: 4px; }
.filter-bar select, .filter-bar input {
  height: 38px; border: 1px solid #ddd; border-radius: 3px; padding: 0 10px; font-size: 14px; min-width: 150px;
  font-family: inherit;
}
.filter-bar button { height: 38px; padding: 0 24px; }

/* ---------------- 详情页 ---------------- */
.detail-layout { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
.detail-main { background: #FFF; box-shadow: 0 0 10px #e7e5e5; padding: 26px; }
.detail-side .side-card { background: #FFF; box-shadow: 0 0 10px #e7e5e5; padding: 20px; margin-bottom: 16px; border-radius: 3px; }
.side-card h3 { font-size: 16px; color: #0148a0; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid #eef4fb; }
.side-spec { font-size: 13.5px; color: #666; }
.side-spec li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #eee; }
.side-spec li b { color: #333; font-weight: normal; }
.detail-block { margin-top: 26px; padding-top: 20px; border-top: 1px solid #eee; }
.detail-block h3 { font-size: 19px; color: #333; padding-left: 12px; position: relative; margin-bottom: 14px; }
.detail-block h3::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; background: #f38b1c; border-radius: 2px; }
.gallery-main { width: 100%; height: 430px; object-fit: cover; box-shadow: 0 0 10px #e7e5e5; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery-thumbs img { width: 90px; height: 62px; object-fit: cover; cursor: pointer; opacity: .75; border: 2px solid transparent; }
.gallery-thumbs img.on, .gallery-thumbs img:hover { opacity: 1; border-color: #f38b1c; }
.price { font-size: 26px; color: #f38b1c; font-family: Arial, sans-serif; font-weight: bold; }
.orange { color: #f38b1c; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; font-size: 13.5px; }
.tbl th, .tbl td { border: 1px solid #e8e8e8; padding: 9px 12px; text-align: left; }
.tbl th { background: #f5f9ff; color: #0148a0; white-space: nowrap; }
.timeline { margin: 10px 0; }
.timeline li { position: relative; padding: 0 0 22px 30px; border-left: 2px solid #dbe7f5; margin-left: 10px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; background: #FFF;
  border: 3px solid #0148a0; border-radius: 50%;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline b { display: block; color: #333; font-size: 15px; }
.timeline span { color: #777; font-size: 13.5px; }
.notice { background: #fff7ee; border: 1px solid #f5d9b8; border-radius: 3px; padding: 14px 16px; color: #a06514; font-size: 13.5px; margin: 14px 0; }
.around-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.around-item { background: #f7fafd; border: 1px solid #e8eef6; border-radius: 3px; padding: 10px 12px; font-size: 13px; color: #555; }
.around-item b { display: block; color: #0148a0; font-size: 13px; margin-bottom: 2px; }

/* ---------------- 移民优势卡片（参考站 ysdiv 风格） ---------------- */
.adv-item { background: #FFF; box-shadow: 0 0 10px #e7e5e5; padding: 34px 28px; text-align: center; }
.adv-item img { width: 110px; height: 110px; margin: 0 auto 20px; object-fit: contain; }
.adv-item h3 { font-size: 19px; color: #333; margin-bottom: 12px; }
.adv-item p { color: #666; font-size: 14px; text-align: left; }
.adv-n { display: block; font-size: 13px; color: #cdd6e2; letter-spacing: 2px; margin-top: 14px; }

/* ---------------- CTA / 表单 ---------------- */
.cta-band { background: linear-gradient(90deg, #0148a0, #0a63c9); padding: 34px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: #FFF; font-size: 22px; }
.cta-band p { color: #b9cbe4; font-size: 14px; margin-top: 6px; }
.jksq { background: #FFF; padding: 50px 0; }
.gain { max-width: 640px; margin: 0 auto; background: #f5f9ff; border: 1px solid #dbe7f5; border-radius: 4px; padding: 34px 34px 30px; }
.gain h2 { text-align: center; font-size: 24px; color: #0148a0; }
.gain .g-tip { text-align: center; color: #999; font-size: 14px; margin: 8px 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field label { display: block; font-size: 13px; color: #666; margin-bottom: 5px; }
.form-field.full { grid-column: 1 / -1; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid #d8d8d8; border-radius: 3px; padding: 10px 12px; font-size: 14px;
  font-family: inherit; background: #FFF; color: #333;
}
.form-field textarea { min-height: 86px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: #0148a0; }
.form-msg { display: none; margin-top: 12px; color: #1a7a3c; font-size: 13.5px; background: #eaf7ef; border: 1px solid #bfe6cd; padding: 8px 12px; border-radius: 3px; }
.form-msg.show { display: block; }
.form-note { margin-top: 10px; color: #b0b0b0; font-size: 12px; text-align: center; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block; cursor: pointer; border: 0; border-radius: 3px; font-size: 15px;
  padding: 0 26px; line-height: 46px; font-family: inherit; text-align: center;
}
.btn-primary { background: #f38b1c; color: #FFF; }
.btn-primary:hover { background: #e27a0c; color: #FFF; }
.btn-blue { background: #0148a0; color: #FFF; }
.btn-blue:hover { background: #023a80; color: #FFF; }
.btn-outline { border: 1px solid #FFF; color: #FFF; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #FFF; }
.btn-line { border: 1px solid #0148a0; color: #0148a0; }
.btn-line:hover { background: #0148a0; color: #FFF; }
.btn-sm { line-height: 34px; font-size: 13px; padding: 0 16px; }

/* ---------------- 列表组件 ---------------- */
.article-list li { padding: 12px 0; border-bottom: 1px dashed #e5e5e5; }
.article-list li a { color: #333; font-size: 15px; display: block; }
.article-list li a:hover { color: #0148a0; }
.article-list .meta { color: #b0b0b0; font-size: 12.5px; margin-top: 4px; }
.article-list .desc { color: #777; font-size: 13px; margin-top: 4px; }
.faq-item { border-bottom: 1px solid #eee; margin-bottom: 4px; }
.faq-q { padding: 12px 34px 12px 0; cursor: pointer; position: relative; color: #333; font-size: 14.5px; font-weight: bold; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 10px; color: #f38b1c; font-size: 18px; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 0 14px; color: #666; font-size: 13.5px; }
.faq-item.open .faq-a { display: block; }
.city-card { background: #FFF; box-shadow: 0 0 10px #e7e5e5; overflow: hidden; }
.city-visual { height: 150px; background: linear-gradient(135deg, #0148a0, #0a63c9); color: #FFF; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; letter-spacing: 2px; }
.city-body { padding: 18px 20px; }
.city-body h3 { font-size: 17px; color: #333; margin-bottom: 8px; }
.city-body p { color: #666; font-size: 13.5px; }
.case-card { background: #f7fafd; border: 1px solid #e8eef6; border-radius: 3px; padding: 14px 16px; }
.case-card h3 { font-size: 14.5px; color: #0148a0; margin-bottom: 6px; }
.case-card p { color: #666; font-size: 13px; }

/* 成功案例 aldiv（参考站样式） */
.albox { display: flex; flex-wrap: wrap; margin: -10px -15px 0; }
.aldiv { width: 350px; max-width: 100%; margin: 24px 15px 0; background: #FFF; box-shadow: 0 0 10px #e7e5e5; overflow: hidden; }
.aldiv img { width: 100%; height: 200px; object-fit: cover; }
.aldiv .altb { padding: 16px 18px 20px; }
.aldiv h3 { font-size: 16px; color: #333; margin-bottom: 6px; }
.aldiv p { color: #777; font-size: 13px; }

/* 资讯左右两栏 zdwd（参考站样式） */
.ymzx-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
.zdwd { background: #FFF; box-shadow: 0 0 10px #e7e5e5; padding: 20px 22px; }
.zdwd h3 { font-size: 17px; color: #333; padding-left: 12px; position: relative; margin-bottom: 6px; }
.zdwd h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: #0148a0; border-radius: 2px; }
.wtda { padding: 10px 0; border-bottom: 1px dashed #e5e5e5; }
.wtda b { display: block; color: #333; font-size: 14px; font-weight: bold; cursor: pointer; }
.wtda p { display: none; color: #777; font-size: 13px; margin-top: 6px; }
.wtda.on b { color: #0148a0; }
.wtda.on p { display: block; }

/* ---------------- 页脚 ---------------- */
.footer { width: 100%; background: #012d66; color: #b9cbe4; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding: 44px 0 34px; }
.footer h4 { color: #FFF; font-size: 16px; margin-bottom: 14px; }
.footer ul li { padding: 4px 0; font-size: 13.5px; }
.footer a { color: #b9cbe4; }
.footer a:hover { color: #f38b1c; }
.footer .contact { font-size: 13.5px; line-height: 2.1; }
.footer .qr img { width: 96px; height: 96px; background: #FFF; padding: 4px; border-radius: 3px; margin-bottom: 6px; }
.footer .qr span { display: block; font-size: 12.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #7f97b8; }

/* ---------------- 联系页联系方式条 ---------------- */
.contact-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; margin-top: 30px;
  background: #f4f7fc; border: 1px solid #e3eaf5; border-radius: 10px; padding: 20px 22px; }
.cb-item { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding-right: 22px; border-right: 1px dashed #d4dded; min-width: 150px; }
.cb-item:last-child, .cb-qr { border-right: none; padding-right: 0; }
.cb-k { font-size: 12.5px; color: #6c7a90; letter-spacing: .5px; }
.cb-v { font-size: 19px; font-weight: 700; color: #0148a0; }
.cb-v a { color: #0148a0; }
.cb-qr { align-items: center; text-align: center; }
.cb-qr img { width: 84px; height: 84px; background: #FFF; padding: 5px; border: 1px solid #e1e7f2; border-radius: 4px; }
.cb-qr span { display: block; font-size: 12px; color: #6c7a90; margin-top: 5px; }

/* ---------------- 悬浮工具 ---------------- */
.mfrx { position: fixed; right: 12px; top: 42%; z-index: 200; width: 64px; }
.mfrx img.rxtc { width: 64px; height: 64px; cursor: pointer; border-radius: 4px 4px 0 0; }
.mfrx .qr-pop { display: none; position: absolute; right: 70px; top: 0; background: #FFF; box-shadow: 0 4px 16px rgba(0,0,0,.2); padding: 12px; border-radius: 4px; text-align: center; }
.mfrx .qr-pop img { width: 130px; height: 130px; }
.mfrx .qr-pop span { display: block; font-size: 12px; color: #666; margin-top: 6px; }
.mfrx:hover .qr-pop { display: block; }
.mfrx .to-top {
  display: block; width: 64px; height: 40px; line-height: 40px; text-align: center; background: #0148a0;
  color: #FFF; cursor: pointer; font-size: 13px; border-radius: 0 0 4px 4px;
}
.mfrx .to-top:hover { background: #f38b1c; }
.back-top { display: none; }

/* ---------------- 首页 hero（兜底样式） ---------------- */
.hero { background: linear-gradient(135deg, #0148a0, #0a63c9); color: #FFF; padding: 70px 0; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: #ffd28a; letter-spacing: 3px; font-size: 13px; margin-bottom: 14px; }
.hero h1 { color: #FFF; font-size: 40px; line-height: 1.35; }
.hero h1 em { color: #ffd28a; }
.hero .lead { color: #cdddf2; font-size: 16px; margin-top: 16px; }
.hero-btns { display: flex; gap: 14px; margin-top: 26px; }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; }
.hero-stats .n { font-size: 24px; font-family: Arial, sans-serif; color: #ffd28a; }
.hero-stats .l { font-size: 13px; color: #b9cbe4; margin-top: 2px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1120px) {
  .header .container { width: 96%; }
}
/* 移动端：导航转为抽屉式菜单 */
@media (max-width: 900px) {
  /* 头部：更紧凑，隐藏顶部电话行，保留 logo 与菜单按钮 */
  .header .container { height: 72px; }
  .logo img { height: 46px; }
  .logo-txt strong { font-size: 19px; }
  .logo-txt .logo-en { font-size: 10px; }
  .h-contact { display: none; }
  .header-right { gap: 12px; }
  .btn-hd { display: none; }

  /* 导航抽屉 */
  .dhbox { height: 52px; }
  .dhbox .container { height: 52px; }
  .nav-toggle { display: block; }
  .nav { height: auto; }
  .menu {
    position: absolute; left: 0; top: 52px; width: 100%;
    flex-direction: column; background: #013a82; height: auto;
    max-height: calc(100vh - 52px); overflow-y: auto;
    display: none; box-shadow: 0 10px 24px rgba(0,0,0,.28); z-index: 99;
  }
  .dhbox.nav-open .menu { display: flex; }
  .dhli { flex: none; height: auto; text-align: left; border-top: 1px solid rgba(255,255,255,.08); }
  .dhli:first-child { border-top: 0; }
  .dhli > a { height: 50px; line-height: 50px; padding: 0 18px; font-size: 16px; }
  .dhli > a:hover, .dhli > a.active { background: #f38b1c; }
  .caret {
    display: block; position: absolute; right: 0; top: 0; width: 52px; height: 50px; cursor: pointer; z-index: 2;
  }
  .caret::after { content: "+"; position: absolute; right: 20px; top: 0; line-height: 50px; color: #fff; font-size: 22px; }
  .dhli.open .caret::after { content: "\2212"; }
  .dhli .sub {
    position: static; transform: none; box-shadow: none; min-width: 0; display: none; background: #022c63;
  }
  .dhli.open .sub { display: block; }
  .dhli .sub a { padding: 0 18px 0 36px; line-height: 44px; font-size: 15px; color: #cfe0f5; border-bottom: 1px solid rgba(255,255,255,.06); }
  .dhli .sub a:hover, .dhli .sub a.active { background: #013a82; color: #fff; }

  /* 通用栅格与组件单列化 */
  .grid.g2, .grid.g3, .grid.g4, .ymzx-wrap, .detail-layout, .hero-inner { grid-template-columns: 1fr; }
  .house-grid .house-card, .aldiv { width: 100%; margin: 16px 0 0; }
  .house-card { flex-direction: column; height: auto; }
  .house-photo { width: 100%; height: 220px; }
  .stat-strip { flex-wrap: wrap; }
  .stat-strip > div { flex: 1 1 40%; border-bottom: 1px solid rgba(255,255,255,.15); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 44px 0; }
  .page-hero h1 { font-size: 24px; }
  .section { padding: 36px 0 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .mfrx { display: none; }
  .hero h1 { font-size: 28px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; text-align: center; }
  .gallery-main { height: 300px; }
  .contact-bar { flex-direction: column; }
  .cb-item { border-right: 0; padding-right: 0; border-bottom: 1px dashed #d4dded; padding-bottom: 14px; }
  .cb-item:last-child { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .house-body { padding: 16px; }
  .container { width: 94%; max-width: 94%; }
  .section-head h2 { font-size: 21px; }
  .page-hero p { font-size: 14px; }
  .adv-item { padding: 26px 18px; }
  .card { padding: 20px; }
}
