/* ============================================================
   荣尊律师事务所 — 公共样式
   对照设计稿：全站 Header / CTA / Footer / 通用组件
   主色取样：#ED7330（设计稿按钮/热线橙）
   ============================================================ */

:root {
  --orange: #ed7330;
  --orange-dark: #e06728;
  --orange-deep: #d45a1f;
  --text: #333333;
  --text-dark: #1a1a1a;
  --text-muted: #888888;
  --text-light: #999999;
  --border: #eeeeee;
  --bg-gray: #f7f7f7;
  --bg-cream: #fdf9f3;
  --footer-bg: #2c2c2c;
  --footer-bg-dark: #222222;
  --container: 1175px;
  --header-h: 90px;
  --font: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-medium: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-bold: "HarmonyOS_Sans_SC_Bold", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-en: Montserrat, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .container {
    padding: 0 24px;
  }
}

/* ---------- 通用标题块（全站统一：中文 / 英文 / 橙线下划线） ---------- */
.sec-title {
  margin-bottom: 0;
  text-align: left;
}

.sec-title h2,
.svc-intro h2 {
  margin: 0;
  font-family: var(--font-medium);
  font-size: 35px;
  font-weight: 500;
  line-height: 33px;
  color: #111111;
  text-align: left;
  font-style: normal;
  text-transform: none;
  overflow: visible;
}

.sec-title .en,
.svc-intro .en {
  display: block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 19px;
  color: #999999;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  overflow: visible;
}

.sec-title .line,
.svc-intro .line {
  display: block;
  width: 40px;
  height: 3px;
  margin: 14px 0 20px;
  background: var(--orange);
}

.sec-title.center {
  text-align: center;
}

.sec-title.center .line {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 通用按钮 ---------- */
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  box-sizing: border-box;
  width: 143px;
  height: 38px;
  min-height: 38px;
  padding: 13px 16px;
  background: #ed7330;
  color: #ffffff;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  line-height: 12px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  border-radius: 19px;
  border: none;
  transition: background 0.25s, transform 0.2s;
  cursor: pointer;
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-orange .btn-text {
  width: 70px;
  height: 12px;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  color: #ffffff;
  line-height: 12px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  overflow: visible;
  white-space: nowrap;
}

.btn-orange .ico-arrow {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-orange .ico-arrow img {
  width: 10px;
  height: 10px;
  display: block;
}

.btn-orange-lg {
  width: 143px;
  height: 38px;
  min-height: 38px;
  padding: 13px 16px;
  font-size: 12px;
  border-radius: 19px;
}

.btn-load {
  width: 374px;
  max-width: 100%;
  height: 44px;
  margin: 40px auto 0;
  padding: 0;
  background: #f1eeed;
  border-radius: 22px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  color: #000000;
  line-height: 25px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: background 0.25s;
}

.btn-load:hover {
  background: #e8e4e2;
}

.btn-load:disabled {
  opacity: 0.7;
  cursor: wait;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.rz-page-next[hidden] {
  display: none !important;
}

.circle-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
}

.circle-arrow img {
  width: 12px;
  height: 12px;
  display: block;
  filter: brightness(0) opacity(0.35);
  transition: transform 0.25s, filter 0.25s;
}

.circle-arrow.active,
.circle-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.circle-arrow.active img,
.circle-arrow:hover img {
  filter: brightness(0) invert(1);
}

/* ============================================================
   【公共 Header】对照：白底版（首页 / 团队详情 / 案例详情）
   ============================================================ */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
}

.site-header.is-fixed {
  position: sticky;
  top: 0;
  /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); */
}

.site-header .header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand .logo {
  height: 40px;
  width: auto;
}

.brand .divider {
  width: 1px;
  height: 36px;
  background: #ddd;
}

.brand .brtv {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  width: auto;
  max-width: 920px;
  height: auto;
  min-height: 13px;
  margin-left: auto;
  gap: 0;
}

.nav-menu > a {
  position: relative;
  padding: 0;
  margin: 0 18px;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  line-height: 13px;
  color: #333333;
  text-align: center;
  font-style: normal;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.25s;
}

.nav-menu > a:first-of-type {
  margin-left: 0;
}

.nav-menu > a:hover,
.nav-menu > a.active {
  color: var(--orange);
}

.nav-menu > a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: var(--orange);
}

.nav-menu .header-hotline {
  margin-left: 28px;
}

.header-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-hotline .phone-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-hotline .phone-ico img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.header-hotline .txt {
  line-height: 1.25;
}

.header-hotline .label {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  color: #888888;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.header-hotline .num,
.header-hotline a.num {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.5px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

/* ============================================================
   【公共 Header】对照：透明白字版（内页 Banner 叠加）
   ============================================================ */
.site-header.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header.header-overlay .nav-menu > a {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  line-height: 13px;
  color: #ffffff;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.site-header.header-overlay .nav-menu > a:hover,
.site-header.header-overlay .nav-menu > a.active {
  color: #ffffff;
}

.site-header.header-overlay .nav-menu > a.active::after {
  bottom: -40px;
  width: 100%;
  height: 2px;
  background: #ffffff;
}

.site-header.header-overlay .header-hotline .label {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.site-header.header-overlay .header-hotline .num {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.site-header.header-overlay .header-hotline .phone-ico {
  background: #ffffff;
}

.site-header.header-overlay .header-hotline .phone-ico img {
  filter: none;
}

.site-header.header-overlay .brand .divider {
  background: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   【内页 Banner】对照：关于我们页标准（全站内页统一）
   首页 Hero 独立，不走此样式
   ============================================================ */
.page-banner {
  position: relative;
  height: 554px;
  background: #1a1a1a center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  padding: 120px 40px 100px;
  color: #fff;
}

.page-banner .banner-content {
  position: relative;
  left: auto;
  top: auto;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  min-height: 0;
  display: block;
  box-sizing: border-box;
}

.page-banner h1 {
  margin: 0;
  font-family: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  text-align: left;
  font-style: normal;
  text-transform: none;
  overflow: visible;
}

.page-banner .en {
  margin-top: 16px;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 19px;
  color: #ffffff;
  line-height: 1.4;
  text-align: left;
  font-style: normal;
  text-transform: none;
  overflow: visible;
  opacity: 1;
}

.page-banner .breadcrumb {
  position: static;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin-top: 48px;
  padding: 0;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.5;
  text-align: left;
  font-style: normal;
  text-transform: none;
  overflow: visible;
  white-space: normal;
  box-sizing: border-box;
}

.page-banner .breadcrumb a {
  color: #ffffff;
}

.page-banner .breadcrumb a:hover {
  color: #fff;
}

/* ============================================================
   【公共 CTA】对照：城市天际线 + 预约咨询
   ============================================================ */
.cta-section {
  position: relative;
  height: 460px;
  background: #1a1a1a center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(20, 20, 30, 0.45); */
}

.cta-section .cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section .sub {
  height: 19px;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 19px;
  color: #ffffff;
  line-height: 19px;
  text-align: center;
  font-style: normal;
  text-transform: none;
  margin-bottom: 16px;
}

.cta-section h3 {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  font-style: normal;
  text-transform: none;
  margin-bottom: 28px;
}

.cta-section .btn-orange {
  width: 143px;
  height: 38px;
  background: #ed7330;
  border-radius: 19px;
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  color: #ffffff;
  line-height: 21px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cta-section .btn-orange .btn-text {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  color: #ffffff;
  line-height: 21px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  width: auto;
  height: auto;
}

.cta-section .btn-orange .ico-cs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-section .btn-orange .ico-cs img {
  width: 13px;
  height: 13px;
  display: block;
}

/* ============================================================
   【公共 Footer】对照：三栏联系 + 版权 + 徽章
   ============================================================ */
.site-footer {
  /* width: 1520px; */
  max-width: 100%;
  height: 253px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #333333;
  color: #ccc;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-contact {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 146px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  box-sizing: border-box;
  flex: 1;
  align-content: center;
}

.footer-contact .item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.footer-contact .item .txt {
  text-align: left;
}

.footer-contact .item .label {
  font-family: "HarmonyOS_Sans_SC", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  line-height: 25px;
  text-align: left;
  letter-spacing: 0;
}

.footer-contact .item .num {
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  line-height: 25px;
  text-align: left;
  letter-spacing: 0;
}

.footer-contact .item .label-md {
  font-family: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  line-height: 25px;
  text-align: left;
  letter-spacing: 0;
}

.footer-contact .item .addr {
  font-family: "HarmonyOS_Sans_SC_Medium", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  line-height: 25px;
  text-align: left;
  letter-spacing: 0;
}

.footer-contact .ico {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  opacity: 1;
}

.footer-contact .ico::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.11;
}

.footer-contact .ico img {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  display: block;
}

.footer-bottom {
  height: 80px;
  box-sizing: border-box;
  border-top: none;
  background: #333333;
  position: relative;
  display: flex;
  align-items: center;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1228px;
  max-width: calc(100% - 292px);
  height: 1px;
  background: #ffffff;
  opacity: 0.2;
}

.footer-bottom .inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 146px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom .copy {
  font-size: 12px;
  color: #ffffff;
  text-align: left;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-badges img {
  width: 75px;
  height: 29px;
  display: block;
  object-fit: contain;
}

/* ---------- 筛选条 ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-bar .select,
.filter-bar .input {
  height: 40px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #666;
  font-size: 14px;
  min-width: 140px;
}

.filter-bar .input {
  min-width: 200px;
}

.filter-bar .btn-search {
  height: 40px;
  padding: 0 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-bar .btn-search:hover {
  background: var(--orange-dark);
}

/* ---------- 日期块 ---------- */
.date-box {
  width: 64px;
  height: 64px;
  background: #f0f0f0;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #666;
  transition: background 0.25s, color 0.25s;
}

.date-box .day {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 25px;
  color: #999999;
  text-align: left;
  font-style: normal;
  text-transform: none;
  line-height: 1.1;
}

.date-box .ym {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  color: #999999;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-top: 2px;
}

.date-box.active {
  background: var(--orange);
  color: #fff;
}

.date-box.active .day,
.date-box.active .ym {
  color: #ffffff;
}

/* ---------- 列表行（胜诉案例 / 相关案例 / 法制栏目 / 荣尊普法） ---------- */
.case-row,
.related-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0;
  transition: box-shadow 0.25s;
}

.case-row:hover,
.case-row.active,
.related-item:hover,
.related-item.active {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.case-row .body,
.related-item .body {
  flex: 1;
  min-width: 0;
}

.case-row h3,
.related-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-medium);
  font-size: 16px;
  font-weight: 500;
  color: #111111;
  line-height: 25px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: color 0.25s;
}

.case-row p,
.related-item p {
  max-width: 100%;
  margin: 0;
  font-family: var(--font);
  font-size: 12px;
  color: #666666;
  line-height: 20px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.case-row:hover .date-box,
.case-row.active .date-box,
.related-item:hover .date-box,
.related-item.active .date-box {
  background: #ed7330;
  color: #ffffff;
}

.case-row:hover .date-box .day,
.case-row.active .date-box .day,
.case-row:hover .date-box .ym,
.case-row.active .date-box .ym,
.related-item:hover .date-box .day,
.related-item.active .date-box .day,
.related-item:hover .date-box .ym,
.related-item.active .date-box .ym {
  color: #ffffff;
}

.case-row:hover h3,
.case-row.active h3,
.related-item:hover h3,
.related-item.active h3 {
  color: #ed7330;
}

.case-row:hover .circle-arrow,
.case-row.active .circle-arrow,
.related-item:hover .circle-arrow,
.related-item.active .circle-arrow {
  background: #ed7330;
  border-color: #ed7330;
}

.case-row:hover .circle-arrow img,
.case-row.active .circle-arrow img,
.related-item:hover .circle-arrow img,
.related-item.active .circle-arrow img {
  filter: brightness(0) invert(1);
  transform: rotate(45deg);
}

/* 胜诉案例等大号列表变体 */
.case-row .date-box {
  width: 95px;
  height: 95px;
  border-radius: 3px;
}

.case-row .date-box .day {
  font-size: 38px;
}

.case-row .date-box .ym {
  font-size: 13px;
}

.case-row h3 {
  font-size: 19px;
}

/* ---------- 移动端导航 ---------- */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 220;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.28s ease, opacity 0.2s ease, background 0.25s;
  transform-origin: center;
}

.site-header.header-overlay .nav-toggle span {
  background: #fff;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(17, 17, 17, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-nav-open {
  overflow: hidden;
}

body.is-nav-open .home-header {
  background: #fff;
}

body.is-nav-open .home-header::after {
  background: #000;
  opacity: 0.08;
}

body.is-nav-open .home-header .nav-toggle span,
body.is-nav-open .home-header[data-theme="dark"] .nav-toggle span {
  background: #333;
}

body.is-nav-open .home-header .logo-light {
  display: block;
}

body.is-nav-open .home-header .logo-dark {
  display: none;
}

body.is-nav-open .site-header.header-overlay {
  background: #fff;
  border-bottom-color: #eee;
}

body.is-nav-open .site-header.header-overlay .nav-toggle span {
  background: #333;
}

body.is-nav-open .site-header.header-overlay .brand .divider {
  background: #ddd;
}

@media (max-width: 1400px) {
  .footer-contact,
  .footer-bottom .inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer-bottom::before {
    max-width: calc(100% - 80px);
  }

  .page-banner {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    position: relative;
    z-index: 210;
  }

  .site-header.header-overlay {
    position: absolute;
  }

  .site-header.is-fixed {
    position: sticky;
  }

  .site-header .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand .logo {
    height: 34px;
  }

  .brand .brtv {
    height: 34px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-toggle.is-open span {
    background: var(--text) !important;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    height: auto;
    max-height: calc(100vh - var(--header-h) - 24px);
    min-height: 0;
    flex: none;
    margin-left: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    z-index: 200;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-menu > a {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 14px 22px;
    color: #333 !important;
    text-align: left;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.2s, color 0.2s;
  }

  .nav-menu > a:last-of-type {
    border-bottom: none;
  }

  .nav-menu > a:hover,
  .nav-menu > a.active {
    color: var(--orange) !important;
    background: #fff7f2;
  }

  .nav-menu > a.active {
    font-weight: 600;
  }

  .nav-menu > a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: var(--orange);
  }

  .nav-menu > a.active::after {
    display: none;
  }

  .nav-menu .header-hotline {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    margin: 6px 14px 14px;
    padding: 14px 16px;
    border-top: none;
    border-radius: 10px;
    background: #fff7f2;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .nav-menu .header-hotline .txt {
    min-width: 0;
    flex: 1;
  }

  .nav-menu .header-hotline .label {
    display: block;
    color: #888 !important;
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 2px;
  }

  .nav-menu .header-hotline .num {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--orange) !important;
    letter-spacing: 0.3px;
    word-break: break-all;
  }

  .nav-menu .header-hotline .phone-ico {
    width: 40px;
    height: 40px;
    background: var(--orange) !important;
    flex-shrink: 0;
  }

  .nav-menu .header-hotline .phone-ico img {
    filter: brightness(0) invert(1) !important;
  }

  .sec-title h2,
  .svc-intro h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .sec-title .en,
  .svc-intro .en {
    font-size: 15px;
  }

  .page-banner {
    height: auto;
    min-height: 280px;
    padding: 110px 20px 40px;
  }

  .page-banner .banner-content {
    width: 100%;
    max-width: 100%;
  }

  .page-banner h1 {
    font-size: 32px;
    line-height: 1.25;
  }

  .page-banner .en {
    margin-top: 10px;
    font-size: 15px;
  }

  .page-banner .breadcrumb {
    margin-top: 20px;
    white-space: normal;
    line-height: 1.5;
  }

  .cta-section {
    height: auto;
    min-height: 320px;
    padding: 48px 20px;
    box-sizing: border-box;
  }

  .cta-section .sub {
    height: auto;
    font-size: 16px;
    line-height: 1.4;
  }

  .cta-section h3 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 20px 20px;
  }

  .site-footer {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .footer-bottom {
    height: auto;
    min-height: 80px;
    padding: 16px 0;
  }

  .footer-bottom .inner {
    padding: 0 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom::before {
    max-width: calc(100% - 40px);
  }

  .filter-bar {
    width: 100%;
  }

  .filter-bar .select,
  .filter-bar .input {
    min-width: 0;
    flex: 1 1 140px;
  }

  .case-row,
  .related-item {
    gap: 16px;
    padding: 18px 16px;
  }

  .case-row .date-box {
    width: 72px;
    height: 72px;
  }

  .case-row .date-box .day {
    font-size: 28px;
  }

  .case-row h3 {
    font-size: 16px;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand .brtv,
  .brand .divider {
    display: none;
  }

  .brand .logo {
    height: 30px;
  }

  .sec-title h2,
  .svc-intro h2 {
    font-size: 24px;
  }

  .sec-title .en,
  .svc-intro .en {
    font-size: 13px;
  }

  .page-banner {
    min-height: 220px;
    padding: 96px 16px 32px;
  }

  .page-banner h1 {
    font-size: 24px;
  }

  .page-banner .en {
    font-size: 13px;
    line-height: 1.4;
  }

  .page-banner .breadcrumb {
    margin-top: 16px;
    font-size: 12px;
  }

  .cta-section {
    min-height: 240px;
    padding: 40px 16px;
  }

  .cta-section h3 {
    font-size: 22px;
  }

  .btn-load {
    width: 100%;
    max-width: 320px;
  }

  .case-row,
  .related-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 12px;
  }

  .case-row .date-box {
    width: 64px;
    height: 64px;
  }

  .case-row .date-box .day {
    font-size: 24px;
  }

  .case-row .body,
  .related-item .body {
    flex: 1 1 calc(100% - 100px);
  }

  .case-row .circle-arrow,
  .related-item .circle-arrow {
    margin-left: auto;
  }

  .case-row h3,
  .related-item h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .case-row p,
  .related-item p {
    font-size: 12px;
    line-height: 1.5;
  }

  .filter-bar .select,
  .filter-bar .input,
  .filter-bar .btn-search {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .footer-contact .item .addr,
  .footer-contact .item .num {
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-badges img {
    width: 64px;
    height: auto;
  }
}
