:root {
  --bg-main: #f5f3ef;
  --text-dark: #151515;
  --text-primary: #1a2332;
  --text-secondary: rgba(0, 0, 0, 0.7);
  --text-gray: #655e59;
  --card-bg-1: #e9e6e0;
  --card-bg-2: #eeece8;
  --footer-bg: #101214;
  --accent-color: #c8922a;
  --border-color: #e4dfd6;
}

@font-face{font-family:STK Miso;src:url("fonts/STKMisoVariableComplete.woff2")format("woff2");font-style:normal;font-display:swap}
@font-face{font-family:ArizonaMix;src:url("fonts/ABCArizonaMixVariable.woff2")format("woff2");font-style:normal;font-display:swap}

/* 全局平滑滚动 */
html {
	scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'ArizonaMix', serif;
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
  line-height: 1.6;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.container {
  max-width: 1736px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

.section-title {
  font-size: 48px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .section-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  .container {
    padding: 0 20px;
  }
}

/* CSS for section section:Header */
#section-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  .nav-header {
    position: absolute;
    width: 100%;
    transition: all 0.3s ease;
  }
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo img {
    height: 40px;
    width: auto;
    object-fit: cover;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
  }


/* 导航默认样式 */
  nav{
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;
    background: transparent; /* 默认透明 */
    transition: all 0.3s ease;
    z-index: 999;
  }
  /* 滚动后添加的类名样式 */
  nav.active{
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  nav ul{
    display: flex;
    justify-content: center;
    padding: 24px 0px 20px 0;
    gap: 40px;
	text-transform: uppercase;
  }
  nav a{
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    padding-bottom: 4px;
    transition: color 0.3s ease;
  }
  nav a:hover{
    color: #eda400;
  }
  nav a.active{
    border-bottom: 4px solid #eda400;
  }

/* 移动端按钮：PC 默认隐藏 */
.menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 10px;
}
/* 移动端下拉菜单：默认隐藏，从 nav 下方滑出 */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: absolute;
  top: 80px; /* 紧贴导航栏下方 */
  left: 0;
  width: 100%;
  padding: 10px 20px;
  z-index: 98;
}

.mobile-menu a {
  padding: 24px 0;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
  text-transform: uppercase;
}
.mobile-menu a.active{
	color: #c8922a;
    border-bottom: none;
}
.lang-switch-mobile{
	width: 100%;
	text-align: center;
	display: flex;
	gap: 16px;
    flex-wrap: nowrap;
    justify-content: center;
}


  .lang-switch {
    font-size: 14px;
    color: #3a4a5c;
    cursor: pointer;
    font-weight: 500;
	width: 64px;
	text-align: right;
  }
  .lang-switch a:hover{
    color: #c8922a;
  }

  @media (max-width: 1024px) {
    .main-nav {
      display: none; /* Mobile menu would go here */
    }
  }

/* Mobile Menu */
  @media (max-width: 768px) {
  .nav-header {
      position: absolute;
      width: 100%;
      transition: all 0.3s ease;
      align-items: center;
      padding: 24px 0px;
  }
  .logo{
      height: 24px;
      width: auto;
      object-fit: cover;
  }
	  .lang-switch{
		  display: none;
	  }
  /* 隐藏 PC 横向菜单 */
  .nav-list {
    display: none;
  }

  /* 显示汉堡按钮 */
  .menu-btn {
    display: block;
  }

  /* 移动端菜单开启时用 flex */
  .mobile-menu.active {
    display: flex;
  }
  }




/* CSS for section section:Hero */
#section-hero {
    position: relative;
    /* 使用现代的 dvh (动态视口高度) 解决移动端浏览器地址栏遮挡问题 */
    min-height: 960px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /**padding-top: 100px; /* Account for header **/
	overflow: hidden;
	top: -80px;
  }
  .hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    max-height: 1080px;
  }
  .hero-bg-base {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #deccb5;
  }
  .hero-bg-image {
    position: absolute;
    top: -10%; left: -10%; width: 120%; height: 120%;
    object-fit: cover;
    mix-blend-mode: normal;
    opacity: 1;
  }
  .hero-bg-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(245, 243, 239, 0) 67%, rgba(245, 243, 239, 1) 100%);
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
  }
  .hero-title {
    font-family: 'ArizonaMix', serif;
	font-size: 80px;
	font-weight: 100;
    line-height: 1.3;
    color: var(--text-dark);
  }
  .hero-subtitle {
    font-family: 'ArizonaMix', serif;
	font-weight: 300;
    font-size: 18px;
    color: var(--text-gray);
    max-width: 800px;
  }
  .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 30px;

    transition: transform 0.3s ease;
	min-width: 244px;
    justify-content: center;
    /**background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);**/
  }
  .cta-button:hover {
    transform: translateY(-2px);
  }
  .cta-text {
    font-size: 14px;
    color: #343436;
    font-weight: 500;
  }
  .cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #ecd5a1;
    border-radius: 50%;
  }

  @media (max-width: 1024px) {
    #section-hero { min-height: 800px; }
    .hero-title { font-size: 56px; }
  }
  @media (max-width: 768px) {
    #section-hero { min-height: 600px; padding-top: 100px; }
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 16px; }
  }


/* CSS for section section:Features */
#section-features {
    padding: 120px 0;
  }
  .features-header {
    max-width: 1256px;
    margin: 0 auto 64px auto;
    text-align: center;
  }
  .features-desc {
    font-family: 'ArizonaMix', serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 24px auto 0 auto;
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .feature-card {
    background-color: var(--card-bg-2);
    border-radius: 16px;
    padding: 56px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 500px;
  }
  .feature-card.card-highlight {
    background-color: var(--card-bg-1);
  }
  .card-title {
    font-size: 32px;
    color: var(--text-primary);
    line-height: 1.3;
  }
  .card-text {
    font-family: 'ArizonaMix', serif;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: auto;
  }
  .card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
  }
  .card-list li {
    font-family: 'ArizonaMix', serif;
    font-size: 18px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
  }
  .card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-secondary);
  }

  @media (max-width: 1200px) {
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .feature-card {
      min-height: auto;
    }
  }
  @media (max-width: 768px) {
    .features-grid {
      grid-template-columns: 1fr;
    }
    .card-title {
      font-size: 28px;
    }
  }

/* CSS for section section:Research */
#section-research {
    padding: 120px 0;
    background-color: rgba(255, 255, 255, 0.3);
  }
  .research-list {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
  }
  .research-item {
    padding: 56px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .research-item:last-child {
    border-bottom: 1px solid var(--border-color);
  }
  .research-title {
    font-size: 28px;
    color: var(--text-primary);
  }
  .research-desc {
    font-family: 'ArizonaMix', serif;
    font-size: 18px;
    color: var(--text-secondary);
  }

  @media (max-width: 768px) {
    .research-item {
      padding: 40px 0;
    }
    .research-title {
      font-size: 24px;
    }
  }

/* CSS for section section:About */
#section-about {
    padding: 120px 0;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .about-text {
    font-family: 'ArizonaMix', serif;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 100%;
    line-height: 1.8;
  }

/* CSS for section section:Contact */
#section-contact {
    padding: 120px 0;
    padding-bottom: 120px;
  }
  .contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 64px;
  }
  .contact-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .contact-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }
  .icon-part-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
  }
  .icon-part-2 {
    position: absolute;
    top: 6.5px;
    left: 0.25px;
    width: 63.5px;
    height: 56.25px;
  }
  .contact-city {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 24px;
	font-weight: 200;
  }
  .contact-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
  }
  .contact-details p {
    font-family: 'ArizonaMix', serif;
    font-size: 16px;
	font-weight: 300;
    color: var(--text-secondary);
  }
  .contact-details p a:hover{
      color: #c8922a;
  }


  @media (max-width: 768px) {
    .contact-details {
      flex-direction: column;
      gap: 16px;
    }
  }

/* CSS for section section:Footer */
.site-footer {
    background-color: var(--footer-bg);
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 80px;
    max-width: 1736px;
    width: 100%;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .footer-slogan-small {
    font-size: 14px;
    color: #58595B;
    letter-spacing: 2px;
  }
  .footer-slogan-large {
    font-size: 48px;
	font-weight: 300;
    color: #e8e2d7;
    line-height: 1.3;
  }
  .footer-notice {
    max-width: 1200px;
  }
  .footer-notice p {
    font-size: 12px;
    color: #58595B;
    line-height: 1.6;
  }
  .footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
  }
  .copyright {
    font-size: 12px;
    color: rgba(252, 250, 248, 0.4);
	text-transform: uppercase;
  }

  @media (max-width: 768px) {
    .footer-slogan-large {
      font-size: 32px;
	  font-weight: 300;
    }
    .footer-content {
      gap: 40px;
    }
  }

/* 返回顶部按钮样式 */
.back-top {
  position: fixed;
  right: 2.0rem;
  bottom: 2.0rem;
  width: 3rem;
  height: 3rem;
  background: #c8922a;
  color: #fff;
  text-align: center;
  line-height: 3rem;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  z-index: 999;
  /* 默认隐藏 + 过渡动画 */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
/* 滚动后显示 */
.back-top.show {
  opacity: 1;
  visibility: visible;
}
.back-top:hover {
  background: #333;
  color: #fff;
}

