/* ============================================
   M Concept Studio — 公共样式
   所有页面共享：Reset、变量、Header、Footer、通用组件
   ============================================ */

/* --- CSS 变量 --- */
:root {
  --base: #213a41;
  --lime: #b9e035;
  --grad-start: #e1ec79;
  --grad-end: #9cd7be;
  --ft-top: #294851;
  --ft-bot: #1b3036;
  --white: #fff;

  /* Gray scale */
  --gray-bg:     #f4f4f4;
  --gray-light:  #eee;
  --gray-border: #e0e0e0;
  --gray-mid:    #ccc;
  --gray-text:   #999;
  --gray-dark:   #666;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--base);
  background: #fff;
  line-height: 1.6;
  min-width: 1200px;
  overflow-x: hidden;
}

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

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 通用布局 --- */
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head .tag {
  font-size: 13px;
  color: var(--base);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 34px;
  color: var(--base);
}

/* --- 通用按钮 --- */
.btn-lime {
  padding: 14px 32px;
  background: var(--lime);
  color: var(--base);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-lime:hover {
  background: #c8f020;
  transform: translateY(-2px);
}

.btn-outline-white {
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, .5);
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--base);
}

/* ============================================
   HEADER — 固定顶部导航
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.header-inner {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 32px;
}

.header-logo { flex-shrink: 0; }
.header-logo img { height: 42px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.header-nav > li { position: relative; }

.header-nav > li > a {
  display: block;
  padding: 28px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--base);
  transition: all .2s;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.header-nav > li > a:hover,
.header-nav > li.active > a {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* 下拉箭头 */
.header-nav > li.has-sub > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 5px;
  font-size: 11px;
  transition: transform .2s;
}

.header-nav > li.has-sub:hover > a::after {
  transform: rotate(180deg);
}

/* 下拉菜单 */
.header-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  z-index: 10;
}

.header-nav > li.has-sub:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav .submenu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--base);
  border-bottom: 1px solid var(--gray-bg);
  transition: all .2s;
}

.header-nav .submenu li a:hover {
  background: var(--lime); 
}

/* 右侧绿色弧块 */
.header-right {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 40px 0 48px;
  flex-shrink: 0;
  background: var(--lime);
  border-radius: 80px 0 0 80px;
  margin-right: 0;
}

.header-right .lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--base);
  white-space: nowrap;
}

.header-right .lang span { cursor: pointer; padding: 2px 4px; }
.header-right .lang span.active { color: var(--base); font-weight: 700; }

.header-right .socials { display: flex; gap: 12px; }
.header-right .socials a { color: var(--base); font-size: 16px; transition: color .2s; }
.header-right .socials a:hover { color: #fff; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, #07404a 0%, #062933 100%);
  color: #8aaa9a;
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-grid p a{
  font-size: 14px;
}
.footer-brand .ft-logo {
  height: 48px; 
  margin-bottom: 20px;
}

.footer-brand ul li { margin-bottom: 10px; }

.footer-brand ul li a {
  font-size: 14px;
  color: #8aaa9a;
  transition: color .2s;
}

.footer-brand ul li a:hover { color: var(--lime); }

.footer-nav h5 {
  font-size: 13px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-nav ul.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 0;
}

.footer-nav ul li a {
  font-size: 13px;
  color: #8aaa9a;
  line-height: 2;
  transition: color .2s;
}

.footer-nav ul li a:hover { color: var(--lime); }

.footer-contact h5 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-contact p {
  font-size: 14px;
  color: #8aaa9a;
  margin-bottom: 16px;
}

.footer-contact .ft-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-contact .ft-socials a {
  color: #8aaa9a;
  font-size: 16px;
  transition: color .2s;
}

.footer-contact .ft-socials a:hover { color: var(--lime); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #5a7a6a;
}

.footer-bottom .fb-links { display: flex; gap: 20px; }

.footer-bottom .fb-links a {
  color: #5a7a6a;
  transition: color .2s;
}

.footer-bottom .fb-links a:hover { color: var(--lime); }

/* ============================================
   回到顶部按钮
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
   background: var(--lime);

  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .3s;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--base);
   color: #fff;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.bg-gray{
  background-color: var(--gray-bg) !important;
}
/* ============================================
   内页 Banner（innerbanner 公共组件）
   ============================================ */
/* 背景呼吸动画 */
@keyframes heroBreathe {
  0%, 100% { background-size: 100% auto; }
  50% { background-size: 106% auto; }
}
.hero-banner {
  animation: heroBreathe 8s ease-in-out infinite;
  margin-top: 80px;
  width: 100%;
  height: 600px;
  background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .5)),
              center/cover no-repeat;
 
  padding-top: 200px;
  position: relative;
  background-size: cover;
  background-position: center ;
  background-color: #1b3036;
}

.hero-banner .hero-inner { 
  width: 100%;
  position: relative;
}

/* 左上角黄绿色方块 */
.hero-banner h1::before {
  position: absolute; 
  left: -40px;
  width: 24px;
  height: 24px;
  background: var(--lime); 
  border-radius: 3px;
  content: '';
}

.hero-banner h1 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  line-height: 1.2;
    position: relative;
}

.hero-banner p {
  font-size: 20px;
  color: rgba(255, 255, 255, .85);
  margin-top: 16px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .25); 
  max-width: 500px;
}

/* --- 白色内容区（圆角顶部覆盖 banner） --- */
.content-section {
  background: var(--white);
  border-radius: 50px 50px 0 0;
  margin-top: -50px;
  position: relative;
  z-index: 2;
  padding: 64px 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- 面包屑 --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 48px;
}

.breadcrumb a { color: var(--gray-text); transition: color .2s; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .fa-chevron-right { font-size: 10px; color: var(--gray-mid); }

/* ============================================
   空状态提示
   ============================================ */
.no-results {
  text-align: center;
  padding: 80px 0;
  grid-column: 1 / -1;
}
.no-results i {
  font-size: 64px;
  color: var(--gray-mid);
  margin-bottom: 16px;
}
.no-results h3 {
  font-size: 22px;
  color: var(--base);
  margin-bottom: 8px;
}
.no-results p {
  font-size: 14px;
  color: var(--gray-text);
}

/* ============================================
   Cookie 提示条
   ============================================ */
#cookie-tip {
  position: fixed; bottom: 20px; left: 2%; right: 20px;
  background: #1a1a2e; color: #fff;
  padding: 15px 20px; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: none; width: 96%; z-index: 9999;
}
.cookie-inner {
  display: flex; align-items: center; flex: 1;
}
.cookie-inner i { margin-right: 10px; }
#close-cookie-tip {
  background: var(--lime); border: none;
  color: var(--base); padding: 6px 18px;
  border-radius: 5px; cursor: pointer;
  margin-left: 15px; white-space: nowrap;
  font-weight: 600;
}

/* --- 区块标题（section-title 公共样式） --- */
.section-title-content{
  overflow: hidden;
  margin-bottom: 20px;
}
.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--base);
  padding-left: 20px;
  position: relative; 
  margin-bottom: 20px;
}
.section-desc{
  font-size: 18px; 
  color: var(--base);
  margin-bottom: 20px;
}

.section-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--lime);
  border-radius: 5px;
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 30px;
  background: var(--lime);
  color: var(--base);
  border: none;
  border-radius: 50px;  
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.btn-apply:hover {
  background: #c8f020;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(185, 224, 53, .4);
}

/* ============================================
   Layer popup — large border-radius
   ============================================ */
.layui-layer-dialog,
.layui-layer-msg {
  border-radius: 20px !important;
}
.layui-layer-dialog .layui-layer-content,
.layui-layer-msg .layui-layer-content {
  border-radius: 20px !important;
}



/* ============================================
   5. CTA
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(0, 0, 0, .35) 55%, var(--gray-bg) 55%),
    url('/uploads/images/banner-contact.jpg') center/cover no-repeat;
}

.cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.cta-card {
  width: 40%;
  padding: 120px 40px;
  margin-left: auto;
}
 
.cta-card p {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.9;
  margin-bottom: 20px;
}

.cta-card .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--lime);
  color: var(--base);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
}

.cta-card .btn-white:hover {
  background: var(--base);
  color: var(--lime);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
