@charset "UTF-8";
/* ======================================
   Header 外层（PC 主布局）
====================================== */
.top-header {
  background: #fff;
  padding: 0px 0;
  border-bottom: 0px solid #eaeaea;
}

.header-inner {
  width: 100%;
  max-width: 980px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
}

/* LOGO副标题 */
.top-title {
  margin: 0 10px -50px 100px;
  font-size: 15px;
  font-weight: bold;
  color: #222;
}

/* LOGO */
.logo-link img {
  width: 100%;
  min-width: 428px;
  max-width: 628px;
  margin: 20px 0px 0px 0px;
  height: auto;
  display: block;
}

.brand-text .brand-sub {
  margin: 0;
  font-size: 13px;
  color: #222;
}

.brand-main {
  font-size: 28px;
  font-weight: bold;
  color: #3f2a63;
  margin: 5px 0;
  letter-spacing: 2px;
}

.brand-sub-en {
  font-size: 12px;
  color: #555;
  margin: 0;
}

/* ======================================
   右侧布局（PC）
====================================== */
.header-right {
  text-align: right;
}

/* 语言切换 */
.lang-switch {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.lang-btn {
  background: #f5f5f5;
  padding: 3px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}

.lang-btn:hover {
  color: white;
  background:url(../images/bg_nevi.jpg) repeat-x;
}

/* 联系标题 */
.contact-title {
  font-size: 13px;
  margin: 5px 0 8px;
  color: #444;
  border-bottom: 1px solid #901717;
}

.contact-title .dot {
  color: #444;
}

.contact-title .time {
  color: #666;
  font-size: 12px;
}

/* 按钮 + 电话号码 */
.contact-block {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
}

.contact-btn {
  background: #bfa28a;
  padding: 6px 12px;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid #9c856f;
}

.contact-btn:hover {
  font-weight: bold;
  background:url(../images/bg_nevi.jpg) repeat-x;
  border: 1px solid #901717;
}

.phone-list {
  text-align: left;
}

.phone-item {
  font-size: 16px;
  color: #555;
  font-weight: bold;
}

/* ==================================================================
   ▼ 响应式布局（关键逻辑）
================================================================== */

/* ---------- 980px 以下：LOGO 缩小 ---------- */
@media screen and (max-width: 979px) {
  .logo-link img {
    min-width: 300px;
    max-width: 420px;
  }

  .top-title {
    margin: 0 0 -30px 40px;
    font-size: 14px;
  }
}

/* ---------- 768px 以下：右侧变为块级（不再右对齐） ---------- */
@media screen and (max-width: 767px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  /* 右侧由“靠右”改为“自然上下结构” */
  .header-right {
    text-align: left;
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .lang-switch {
    justify-content: flex-start;
  }

  .contact-block {
    justify-content: flex-start;
  }
}

/* ---------- 480px 以下：右侧整个隐藏 ---------- */
@media screen and (max-width: 479px) {
  .header-right {
    display: none !important;
  }

  /* LOGO 自适应更小的设备 */
  .logo-link img {
    min-width: 200px;
    max-width: 320px;
    margin-top: 10px;
  }

  .top-title {
    margin: 0 0 -10px 18px;
    font-size: 8px;
  }
}

/* Header END */
