:root {
  --deep-blue: #0a1628;
  --warm-gold: #d4a85c;
  --white: #ffffff;
  --light-bg: #f8f7f4;
  --gold-light: #e8c97a;
  --gold-dark: #b8912e;
  --text-dark: #1a1a2e;
  --text-light: #6a6a7a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  background: var(--deep-blue);
  color: var(--text-dark);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* Scroll progress bar */
#scroll-progress {
  position: fixed; right: 0; top: 0; width: 3px; height: 100%;
  background: rgba(212,168,92,0.1); z-index: 9999;
}
#scroll-progress-bar {
  width: 100%; height: 0%; background: linear-gradient(180deg,var(--warm-gold),var(--gold-light));
  transition: height 0.1s ease-out;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9998;
  padding: 0 60px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.6s ease, box-shadow 0.6s ease;
}
nav.scrolled { background: rgba(10,22,40,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(212,168,92,0.08); }
.nav-logo { font-size: 20px; font-weight: 700; color: var(--warm-gold); letter-spacing: 3px; display: flex; align-items: center; gap: 6px; }
.nav-logo .sub { font-weight: 400; font-size: 20px; color: rgba(255,255,255,0.55); letter-spacing: 2px; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.65); font-size: 15px; letter-spacing: 2px;
  position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1.5px;
  background: var(--warm-gold); transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  transform: translateX(-50%);
}
.nav-links a:hover, .nav-links a.active { color: var(--warm-gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* 楼盘下拉菜单 */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown .dropbtn { cursor: pointer; }
.dropdown-content {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: rgba(10,22,40,0.95); backdrop-filter: blur(20px); min-width: 160px;
  border: 1px solid rgba(212,168,92,0.15); border-radius: 8px;
  padding: 8px 0; z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .dropdown-content,
.nav-dropdown.open .dropdown-content { display: block; }
.dropdown-content li { list-style: none; }
.dropdown-content a {
  display: block; padding: 8px 20px; color: rgba(255,255,255,0.75);
  font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: all 0.2s; position: relative; letter-spacing: 1px;
}
.dropdown-content a::after { display: none; }
.dropdown-content a:hover { color: var(--warm-gold); background: rgba(212,168,92,0.06); }
.dropdown-label {
  padding: 8px 20px 4px; color: var(--warm-gold); font-size: 13px;
  font-weight: 600; letter-spacing: 2px; cursor: default;
}
.dropdown-group {
  padding: 6px 20px 2px; color: rgba(255,255,255,0.35); font-size: 11px;
  letter-spacing: 3px; cursor: default; 
}
.dropdown-divider {
  height: 1px; background: rgba(212,168,92,0.12); margin: 4px 12px;
}
/* 移动端适配 */
@media (max-width: 768px) {
  .nav-dropdown { display: block; }
  .nav-dropdown .dropbtn { display: block; width: auto; padding: 0; font-size: 16px; letter-spacing: 2px; color: rgba(255,255,255,0.65); text-align: left; }
  .dropdown-content { 
    position: static; transform: none; background: transparent; 
    border: none; box-shadow: none; padding: 4px 0 4px 20px; display: none;
  }
  .nav-dropdown.open .dropdown-content { display: block; }
  .dropdown-content a { padding: 6px 16px; font-size: 14px; white-space: normal; }
  .dropdown-label { padding: 6px 16px 2px; font-size: 12px; }
  .dropdown-group { padding: 6px 16px 2px; font-size: 10px; }
  .dropdown-divider { margin: 4px 16px; }
}
.nav-cta {
  background: transparent; border: 1px solid var(--warm-gold); color: var(--warm-gold);
  padding: 10px 28px; font-size: 14px; letter-spacing: 2px; cursor: pointer;
  transition: all 0.3s; font-family: inherit;
}
.nav-cta:hover { background: var(--warm-gold); color: var(--deep-blue); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--warm-gold); transition: 0.3s; display: block; }

/* Snap container */
.snap-container { height: 100dvh; overflow-y: scroll; scroll-snap-type: y mandatory; }
.snap-section {
  scroll-snap-align: start; min-height: 100dvh; width: 100%;
  position: relative; overflow: hidden;
}

/* Section common */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 100px 60px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.section-tag {
  font-size: 12px; letter-spacing: 6px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: 42px; font-weight: 300; letter-spacing: 5px; margin-bottom: 14px; line-height: 1.2; }
.section-subtitle { font-size: 16px; font-weight: 300; letter-spacing: 2px; color: rgba(255,255,255,0.45); margin-bottom: 32px; }
.gold { color: var(--warm-gold); }
.dark-bg { background: var(--deep-blue); color: var(--white); }
.light-bg { background: var(--light-bg); color: var(--text-dark); }
.light-bg .section-title { color: var(--deep-blue); }
.light-bg .section-tag { color: var(--warm-gold); }
.dark-bg .section-tag { color: var(--warm-gold); }

/* Fade in up */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.35s; }
.fade-up-d4 { transition-delay: 0.5s; }
.fade-up-d5 { transition-delay: 0.65s; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(160deg,#060e1c 0%,#0a1628 20%,#132544 45%,#1a2d4a 60%,#0d1f3c 80%,#060e1c 100%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}
.hero-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 20% 80%, rgba(212,168,92,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212,168,92,0.03) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(10,22,40,0.6) 0%, transparent 70%);
  z-index: 1;
}
.hero-coastline {
  position: absolute; bottom: 0; left: 0; right: 0; height: 250px;
  background:
    linear-gradient(to top, rgba(10,22,40,0.9) 0%, transparent 100%);
  overflow: hidden;
}
.hero-coastline::before {
  content: ''; position: absolute; bottom: 0; left: -10%; right: -10%; height: 120px;
  background:
    radial-gradient(ellipse 40% 100% at 15% 100%, rgba(212,168,92,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 30% 100% at 50% 100%, rgba(212,168,92,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 100% at 85% 100%, rgba(212,168,92,0.05) 0%, transparent 55%);
  animation: coastGlow 8s ease-in-out infinite alternate;
}
@keyframes coastGlow {
  0% { opacity: 0.6; transform: scaleX(1) translateY(0); }
  100% { opacity: 1; transform: scaleX(1.05) translateY(-5px); }
}
.hero-content { position: relative; z-index: 2; padding-top: 60px; }
.hero-sub {
  font-size: 24px; letter-spacing: 6px; color: var(--warm-gold); margin-bottom: 20px;
  opacity: 0; animation: heroFadeIn 0.8s ease 0.2s forwards;
}
.hero-title {
  font-size: 62px; font-weight: 200; color: var(--white); letter-spacing: 10px; line-height: 1.15; margin-bottom: 8px;
  opacity: 0; animation: heroFadeIn 0.8s ease 0.5s forwards;
}
.hero-title strong { font-weight: 600; color: var(--warm-gold); }
.hero-slogan {
  font-size: 20px; font-weight: 300; color: rgba(255,255,255,0.6); letter-spacing: 4px; margin-bottom: 36px;
  opacity: 0; animation: heroFadeIn 0.8s ease 0.9s forwards;
}
.hero-search {
  display: flex; max-width: 500px; border: 1px solid rgba(212,168,92,0.25);
  background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  opacity: 0; animation: heroFadeIn 0.8s ease 1.4s forwards;
}
.hero-search input {
  flex: 1; padding: 16px 20px; background: transparent; border: none;
  color: var(--white); font-size: 14px; outline: none; font-family: inherit;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.3); }
.hero-search button {
  padding: 16px 32px; background: var(--warm-gold); border: none;
  color: var(--deep-blue); font-size: 13px; letter-spacing: 1.5px; cursor: pointer;
  font-weight: 600; font-family: inherit; transition: background 0.3s;
}
.hero-search button:hover { background: var(--gold-light); }

.hero-data {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: rgba(212,168,92,0.1);
  opacity: 0; animation: heroFadeIn 0.8s ease 1.4s forwards;
}
.hero-data-item {
  background: rgba(10,22,40,0.75); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  padding: 24px 20px; text-align: center;
}
.hero-data-num { font-size: 38px; font-weight: 700; color: var(--warm-gold); letter-spacing: 2px; margin-bottom: 6px; }
.hero-data-label { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 3px; }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ MISSION / BRANDS ============ */
.mission-section { position: relative; }
.mission-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/mission-bg.jpg') center/cover no-repeat;
  opacity: 0.06;
}
.mission-desc {
  font-size: 17px; line-height: 1.9; color: var(--text-light); max-width: 700px;
  margin-bottom: 50px; letter-spacing: 0.5px;
}

/* ---------- Brand Sections (two sub-brands) ---------- */
.brand-sections {
  display: flex; flex-direction: row; gap: 24px; margin-top: 10px;
}
.brand-block {
  flex: 1; display: flex; align-items: stretch;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}
.brand-block::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
}

/* 品牌块内容 */
.brand-content {
  padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1;
  width: 100%;
}
/* 品牌标签 */
.brand-label {
  display: flex; align-items: center; gap: 12px;
  color: var(--warm-gold); margin-bottom: 14px;
  text-transform: uppercase;
}
.brand-label-cn {
  font-size: 16px; font-weight: 700; letter-spacing: 3px;
}
.brand-label-en {
  font-size: 11px; font-weight: 500; letter-spacing: 4px;
  opacity: 0.65;
}
.brand-heading {
  font-size: 28px; font-weight: 500; color: var(--deep-blue); letter-spacing: 3px;
  line-height: 1.35; margin-bottom: 16px;
}
.brand-desc {
  font-size: 15px; color: var(--text-light); line-height: 1.8; max-width: 520px; letter-spacing: 0.3px;
}
.brand-tags {
  display: flex; gap: 10px; margin-top: 24px;
}
.brand-tag {
  padding: 6px 16px; font-size: 12px; letter-spacing: 2px;
  border: 1px solid var(--warm-gold); color: var(--warm-gold);
  background: transparent; font-family: inherit;
}

/* 品牌块颜色区分：理想豪宅 — 左侧深蓝边 */
.brand-mansion {
  border-left: 4px solid #0a1628;
}
/* 品牌块颜色区分：安好家 — 左侧暖金边 */
.brand-home {
  border-left: 4px solid var(--warm-gold);
}

/* 品牌模块 hover 交互 */
.brand-block:hover .brand-content { background: rgba(10,22,40,0.015); }
.brand-block:hover .brand-tag { background: var(--warm-gold); color: var(--deep-blue); }
.brand-block:hover .brand-heading { color: var(--warm-gold); }

/* ============ PROJECTS ============ */
.project-intro { font-size: 16px; color: rgba(255,255,255,0.4); margin-bottom: 14px; letter-spacing: 0.5px; }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 16px; }

/* 片区分类标题 */
.project-group-title {
  grid-column: 1 / -1;
  font-size: 14px; letter-spacing: 4px; color: var(--warm-gold);
  padding: 20px 0 4px; margin-top: 12px;
  border-bottom: 1px solid rgba(212,168,92,0.1);
  text-transform: uppercase;
}
.project-group-title:first-child { margin-top: 0; }
.project-card {
  position: relative; padding: 0; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,92,0.06); cursor: pointer; overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.project-card::before {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid transparent; transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  pointer-events: none; z-index: 3;
}
.project-card:hover { background: rgba(212,168,92,0.07); transform: translateY(-3px); }
.project-card:hover::before { border-color: var(--warm-gold); }
.project-card:hover .project-more { color: var(--warm-gold); }
.project-card:hover .project-more span { width: 36px; background: var(--warm-gold); }
.project-card-img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.project-card:hover .project-card-img { transform: scale(1.05); }
.project-card-body { padding: 34px 30px; position: relative; z-index: 2; }
.project-card-body::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,92,0.15), transparent);
}
.project-city {
  font-size: 11px; letter-spacing: 4px; color: var(--warm-gold); margin-bottom: 8px;
}
.project-name { font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 6px; letter-spacing: 1.5px; }
.project-location { font-size: 13px; color: rgba(255,255,255,0.3); margin-bottom: 14px; letter-spacing: 0.5px; }
.project-details { display: flex; gap: 24px; margin-bottom: 14px; flex-wrap: wrap; }
.project-detail-item { font-size: 13px; color: rgba(255,255,255,0.45); }
.project-detail-item strong { color: var(--warm-gold); font-weight: 500; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.project-tag {
  padding: 4px 12px; font-size: 11px; border: 1px solid rgba(212,168,92,0.12);
  color: rgba(212,168,92,0.6); letter-spacing: 0.5px;
}
.project-more { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.25); transition: color 0.3s; }
.project-more span { display: block; width: 20px; height: 1px; background: rgba(255,255,255,0.25); transition: all 0.3s; }

/* City tabs */
.city-tabs { display: flex; gap: 0; margin-bottom: 28px; }
.city-tab {
  padding: 10px 32px; font-size: 13px; letter-spacing: 2px; cursor: pointer;
  background: transparent; border: 1px solid rgba(212,168,92,0.15); color: rgba(255,255,255,0.45);
  font-family: inherit; transition: all 0.35s;
}
.city-tab:first-child { border-right: none; }
.city-tab.active { background: var(--warm-gold); color: var(--deep-blue); border-color: var(--warm-gold); font-weight: 600; }
.city-tab:hover:not(.active) { color: var(--warm-gold); border-color: rgba(212,168,92,0.3); }

/* ============ SERVICES ============ */
.service-intro { font-size: 16px; color: var(--text-light); max-width: 600px; margin-bottom: 10px; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.service-card {
  background: var(--white); padding: 38px 28px; position: relative;
  overflow: hidden; transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  border: 1px solid transparent; box-shadow: 0 2px 20px rgba(10,22,40,0.03);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 50%; width: 0; height: 2px;
  background: var(--warm-gold); transition: all 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
  transform: translateX(-50%);
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--warm-gold); transition: all 0.45s cubic-bezier(0.25,0.46,0.45,0.94) 0.08s;
  transform: translateX(-50%);
}
.service-card:hover { border-color: rgba(212,168,92,0.1); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(10,22,40,0.06); }
.service-card:hover::before, .service-card:hover::after { width: 50%; }
.service-icon { display: block; margin-bottom: 14px; }
.service-icon img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-radius: 8px; }
.service-title { font-size: 18px; font-weight: 600; color: var(--deep-blue); margin-bottom: 10px; letter-spacing: 1px; }
.service-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ PARTNERS ============ */
.partner-intro { font-size: 15px; color: rgba(255,255,255,0.4); margin-bottom: 36px; max-width: 600px; letter-spacing: 0.5px; line-height: 1.7; }
.partner-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 50px; }
.partner-item {
  aspect-ratio: 5/2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(212,168,92,0.06); background: rgba(255,255,255,0.02);
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  padding: 10px;
}
.partner-item:hover { border-color: var(--warm-gold); background: rgba(212,168,92,0.04); }
.partner-logo {
  width: 100%; max-width: 130px; height: auto; max-height: 48px;
  object-fit: contain; filter: brightness(0.9) contrast(0.85);
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  margin-bottom: 6px;
}
.partner-item:hover .partner-logo { transform: scale(1.08); filter: brightness(1) contrast(1); }
.partner-label {
  font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 2px;
  text-align: center; display: block; width: 100%;
}
.partner-item:hover .partner-label { color: rgba(255,255,255,0.8); }
.partner-name {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9);
  letter-spacing: 1px; text-align: center; line-height: 1.3;
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.partner-item:hover .partner-name { transform: scale(1.1); }

/* Testimonial cards - project card style */
.testimonial-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto;
}
.testimonial-card {
  padding: 32px 36px; position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,92,0.08);
  transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.testimonial-card:hover {
  background: rgba(212,168,92,0.07);
  transform: translateY(-3px);
  border-color: var(--warm-gold);
}
.testimonial-card::before {
  content: '\201C'; font-size: 64px; position: absolute; top: 6px; left: 14px;
  color: var(--warm-gold); line-height: 1; font-family: Georgia,serif;
  opacity: 0.25; pointer-events: none;
}
.testimonial-text {
  font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.7);
  font-style: italic; margin-bottom: 14px; letter-spacing: 0.5px;
  padding-left: 36px;
}
.testimonial-author { font-size: 14px; color: var(--warm-gold); letter-spacing: 1.5px; }
.testimonial-role { font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 2px; }

/* Dark tree texture background - shared */
.dark-tree-bg {
  position: relative;
}
.dark-tree-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/9648151/pexels-photo-9648151.jpeg?auto=compress&cs=tinysrgb&w=1920') center center / cover no-repeat fixed;
  pointer-events: none;
}
.dark-tree-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.7) 0%, rgba(10,22,40,0.4) 50%, rgba(10,22,40,0.7) 100%);
  pointer-events: none;
}
.dark-tree-bg .section-inner {
  position: relative; z-index: 1;
}

/* Partner section */
.partner-section {
  background: var(--deep-blue);
  position: relative;
}
.partner-section::before {
  opacity: 0.12;
}

/* Project section */
.project-section::before {
  opacity: 0.12;
}
.pexels-credit {
  text-align: center; margin-top: 10px; font-size: 11px; color: rgba(255,255,255,0.2);
  position: relative; z-index: 1;
}
.pexels-credit a { color: rgba(212,168,92,0.4); text-decoration: underline; }
.pexels-credit a:hover { color: var(--warm-gold); }

/* ============ CONTACT ============ */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: 14px 18px; border: 1px solid rgba(10,22,40,0.08); font-size: 15px;
  background: var(--white); font-family: inherit; color: var(--text-dark);
  outline: none; transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--warm-gold); }
.contact-form textarea { height: 100px; resize: vertical; }
.contact-form button {
  padding: 16px 36px; background: var(--deep-blue); color: var(--warm-gold);
  border: 1px solid var(--warm-gold); font-size: 14px; letter-spacing: 2px;
  cursor: pointer; transition: all 0.3s; font-family: inherit; font-weight: 500;
}
.contact-form button:hover { background: var(--warm-gold); color: var(--deep-blue); }
.contact-info { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon { font-size: 20px; color: var(--warm-gold); min-width: 28px; display: flex; align-items: center; justify-content: center; padding-top: 2px; }
.contact-info-text { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.contact-info-text strong { color: var(--deep-blue); display: block; font-weight: 600; margin-bottom: 2px; letter-spacing: 0.5px; }

footer { text-align: center; padding: 36px 0 20px; border-top: 1px solid rgba(10,22,40,0.05); margin-top: 36px; }
footer p { font-size: 12px; color: var(--text-light); letter-spacing: 1px; }
.footer-brand { font-size: 14px; color: var(--warm-gold); letter-spacing: 5px; font-weight: 600; margin-bottom: 6px; }
.footer-sub { font-size: 11px; color: rgba(10,22,40,0.3); letter-spacing: 2px; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(10,22,40,0.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.open {
  opacity: 1; visibility: visible;
}
.modal-card {
  background: var(--white); max-width: 380px; width: 90%;
  padding: 48px 36px 36px;
  text-align: center; position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 30px 80px rgba(10,22,40,0.2);
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 28px;
  color: var(--text-light); cursor: pointer; line-height: 1;
  transition: color 0.2s; font-family: inherit;
}
.modal-close:hover { color: var(--deep-blue); }
.modal-icon { margin-bottom: 16px; }
.modal-title {
  font-size: 22px; font-weight: 500; color: var(--deep-blue);
  letter-spacing: 1px; margin-bottom: 10px;
}
.modal-desc {
  font-size: 15px; color: var(--text-light); line-height: 1.7;
  margin-bottom: 20px;
}
.modal-desc strong { color: var(--warm-gold); font-weight: 600; }
.modal-phone {
  display: inline-block; font-size: 28px; font-weight: 700;
  color: var(--warm-gold); letter-spacing: 2px;
  text-decoration: none; padding: 10px 0;
  border-bottom: 2px solid rgba(212,168,92,0.2);
  transition: border-color 0.3s;
}
.modal-phone:hover { border-color: var(--warm-gold); }
.modal-hint {
  font-size: 12px; color: rgba(106,106,122,0.5);
  margin-top: 14px; letter-spacing: 0.5px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section-inner { padding: 80px 40px; }
  .hero-title { font-size: 48px; letter-spacing: 8px; }
  .hero-data { left: 40px; right: 40px; bottom: 36px; }
  .hero-data-num { font-size: 28px; }
  .project-grid { gap: 16px; }
  .partner-grid { grid-template-columns: repeat(4,1fr); }
  .project-card-img { height: 150px; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 60px; }
  .nav-logo { font-size: 18px; letter-spacing: 2px; gap: 4px; }
  .nav-logo .sub { font-size: 18px; letter-spacing: 1px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: rgba(10,22,40,0.98); padding: 24px 24px; gap: 16px; align-items: stretch; }
  .nav-links.open a { font-size: 16px; letter-spacing: 2px; display: block; padding: 4px 0; }
  .nav-links.open .nav-dropdown { min-height: auto; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  /* section-inner: 顶部80px确保导航栏(60px)下方有安全间距，内容flex居中 */
  .section-inner { padding: 80px 24px 60px; }
  .section-tag { font-size: 11px; letter-spacing: 5px; margin-bottom: 12px; }
  .section-title { font-size: 30px; letter-spacing: 4px; }
  .hero-title { font-size: 36px; letter-spacing: 5px; }
  .hero-slogan { font-size: 17px; letter-spacing: 2px; line-height: 1.5; }
  .hero-sub { font-size: 14px; letter-spacing: 5px; }
  .hero-data { left: 24px; right: 24px; bottom: 24px; grid-template-columns: repeat(2,1fr); gap: 1px; }
  .hero-data-item { padding: 18px 12px; }
  .hero-data-num { font-size: 26px; }
  .hero-data-label { font-size: 11px; letter-spacing: 2px; }
  .hero-search { max-width: 100%; }
  .hero-search input { padding: 14px 16px; font-size: 15px; }
  .hero-search button { padding: 14px 20px; font-size: 14px; }
  .mission-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .mission-desc { font-size: 16px; line-height: 1.8; }
  .brand-block { min-height: auto; flex-direction: column; }
  .brand-content { padding: 32px 28px; }
  .brand-heading { font-size: 22px; }
  .brand-desc { font-size: 14px; }
  .brand-sections { flex-direction: column; gap: 16px; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-intro { font-size: 15px; }
  .project-card-body { padding: 24px 22px; }
  .project-name { font-size: 20px; }
  .project-location { font-size: 13px; }
  .project-city { font-size: 11px; }
  .project-detail-item { font-size: 13px; }
  .project-tag { font-size: 11px; padding: 4px 10px; }
  .project-card-img { height: 200px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 32px 24px; }
  .service-title { font-size: 18px; }
  .service-desc { font-size: 14px; line-height: 1.6; -webkit-line-clamp: 2; }
  .partner-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .partner-logo { max-width: 100px; max-height: 36px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .partner-name { width: 64px; height: 64px; font-size: 11px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { gap: 14px; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; padding: 14px 16px; }
  .contact-form button { font-size: 15px; padding: 16px 28px; }
  .contact-info { gap: 20px; }
  .contact-info-text { font-size: 14px; }
  .contact-info-icon { font-size: 20px; }
  .testimonial-card { padding: 28px 24px; }
  .testimonial-text { font-size: 16px; }
  .hero-data { bottom: 12px; }
  .project-card-img { height: 200px; }
}
@media (max-width: 480px) {
  .nav-logo { font-size: 16px; letter-spacing: 1px; }
  .nav-logo .sub { font-size: 16px; }
  .section-inner { padding: 70px 20px 50px; }
  .section-title { font-size: 24px; letter-spacing: 3px; }
  .section-tag { font-size: 10px; letter-spacing: 4px; }
  .hero-title { font-size: 28px; letter-spacing: 4px; }
  .hero-sub { font-size: 13px; letter-spacing: 4px; }
  .hero-slogan { font-size: 15px; }
  .hero-data { bottom: 10px; }
  .hero-data-item { padding: 14px 10px; }
  .hero-data-num { font-size: 22px; }
  .hero-data-label { font-size: 10px; letter-spacing: 2px; }
  .mission-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .brand-block { min-height: auto; }
  .brand-content { padding: 24px 20px; }
  .brand-heading { font-size: 19px; letter-spacing: 2px; }
  .brand-desc { font-size: 13px; }
  .brand-tags { gap: 6px; }
  .brand-tag { padding: 5px 12px; font-size: 11px; }
  .brand-sections { gap: 12px; }
  .mission-num { font-size: 30px; }
  .project-card-body { padding: 20px 18px; }
  .project-name { font-size: 18px; }
  .project-card-img { height: 180px; }
  .service-card { padding: 26px 20px; }
  .service-icon img { border-radius: 6px; }
  .partner-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .partner-item { padding: 10px; }
  .partner-logo { max-width: 80px; max-height: 28px; }
  .partner-name { width: 56px; height: 56px; font-size: 10px; }
  .testimonial-card { padding: 22px 18px; }
  .testimonial-text { font-size: 15px; }
  .hero-data { grid-template-columns: repeat(2,1fr); }
  .hero-data-num { font-size: 20px; }
  .hero-data-label { font-size: 10px; letter-spacing: 2px; }
  .contact-wrapper { gap: 24px; }
  footer { padding: 24px 0 16px; }
  footer p { font-size: 11px; }
}
