:root {
  /* 贵州自然神圣色系：喀斯特暖调+民族风 */
  --gui-white: #F9F5F0;
  --gui-gray: #6B5440;
  --gui-red: #E6772D;
  --gui-gold: #FF8C38;
  --gui-black: #333333;
  --gui-shadow: 0 4px 16px rgba(255,140,56,0.08);
  --gui-gradient: linear-gradient(180deg, rgba(51, 51, 51, 0.4) 0%, rgba(51, 51, 51, 0.7) 100%);
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Serif SC", "SimSun", "Microsoft Yahei", serif;
}

body {
  background-color: var(--gui-white);
  color: var(--gui-gray);
  line-height: 1.8;
  overflow-x: hidden;
  opacity: 0.95;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
}

/* 贵州民族风仪式感线条 */
.gui-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gui-gold), transparent);
  margin: 30px auto;
  position: relative;
}
.gui-line::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gui-gold);
  font-size: 18px;
}

/* 贵州风格按钮 */
.gui-btn {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid var(--gui-red);
  color: var(--gui-red);
  border-radius: 0;
  font-size: 15px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  width: auto;
  max-width: 100%;
}
.gui-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 119, 45, 0.1), transparent);
  transition: all 0.6s ease;
}
.gui-btn:hover {
  background: var(--gui-red);
  color: white;
  letter-spacing: 3px;
  box-shadow: var(--gui-shadow);
}
.gui-btn:hover::before {
  left: 100%;
}

/* 容器通用样式 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(10px, 3vw, 20px);
  position: relative;
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(249, 245, 240, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  padding: clamp(10px, 2vw, 20px) 0;
  border-bottom: 1px solid rgba(107, 84, 64, 0.15);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--gui-black);
  letter-spacing: 3px;
  font-weight: 600;
  position: relative;
}
.logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gui-red);
  font-size: 20px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(20px, 4vw, 40px);
}

.nav-menu li a {
  font-size: clamp(12px, 1.5vw, 14px);
  color: var(--gui-gray);
  letter-spacing: 2px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  position: relative;
}
.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gui-gold);
  transition: width 0.4s ease;
}
.nav-menu li a:hover {
  color: var(--gui-black);
}
.nav-menu li a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: clamp(18px, 2vw, 22px);
  cursor: pointer;
  color: var(--gui-black);
  z-index: 1000;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 首屏 */
.hero {
  height: 100vh;
  min-height: 500px;
  background: url("images/guizhou-hero.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: clamp(60px, 10vw, 80px);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gui-gradient);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(0deg, var(--gui-white), transparent);
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 clamp(10px, 5vw, 20px);
  position: relative;
}
.hero-content::before {
  content: "多彩贵州 · 山水人文";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(14px, 2vw, 16px);
  letter-spacing: 3px;
}

.hero-title {
  font-size: clamp(28px, 7vw, 52px);
  font-weight: 400;
  letter-spacing: 6px;
  margin-bottom: clamp(20px, 3vw, 25px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-family: "Noto Serif SC", serif;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 3px;
  margin-bottom: clamp(40px, 6vw, 50px);
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.9;
}

/* 通用区块样式 */
section {
  padding: clamp(80px, 15vw, 120px) 0;
  position: relative;
}
section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: var(--gui-gold);
  opacity: 0.5;
}

.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 32px);
  color: var(--gui-black);
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 10px;
  font-family: "Noto Serif SC", serif;
}

.section-desc {
  text-align: center;
  font-size: clamp(12px, 1.5vw, 14px);
  color: var(--gui-gray);
  letter-spacing: 2px;
  margin-bottom: clamp(70px, 12vw, 90px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

/* 地市导航栏 */
.city-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 15px);
  justify-content: center;
  margin-bottom: clamp(70px, 12vw, 90px);
  padding: clamp(25px, 4vw, 30px);
  background: white;
  border-radius: 0;
  box-shadow: var(--gui-shadow);
  border-top: 2px solid var(--gui-gold);
}
.city-nav .city-btn {
  padding: clamp(12px, 2vw, 14px) clamp(22px, 4vw, 25px);
  background: var(--gui-white);
  color: var(--gui-red);
  border: 1px solid #ffd4b4;
  border-radius: 0;
  font-size: clamp(14px, 1.8vw, 16px);
  cursor: pointer;
  transition: all 0.5s ease;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.city-nav .city-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,140,56,0.1), transparent);
  transition: all 0.6s ease;
}
.city-nav .city-btn:hover {
  background: #ffe8d5;
  border-color: var(--gui-red);
  letter-spacing: 2px;
}
.city-nav .city-btn:hover::before {
  left: 100%;
}
.city-nav .city-btn.active {
  background: var(--gui-red);
  color: white;
  border-color: var(--gui-red);
  box-shadow: 0 2px 6px rgba(230,119,45,0.3);
}

/* 服务卡片区域 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(30px, 6vw, 50px);
}
.service-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--gui-shadow);
  transition: all 0.5s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gui-gold);
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gui-red), var(--gui-gold));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 24px rgba(255,140,56,0.18);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.95);
}
.service-card:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}
.card-body {
  padding: clamp(20px, 4vw, 25px);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h2 {
  margin: 0 0 15px;
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--gui-red);
  letter-spacing: 2px;
  font-family: "Noto Serif SC", serif;
}
.card-body p {
  font-size: clamp(12px, 1.8vw, 14px);
  color: var(--gui-gray);
  line-height: 1.9;
  margin: 0 0 20px 0;
  flex: 1;
}
.card-body a {
  display: inline-block;
  color: var(--gui-red);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  align-self: flex-start;
  position: relative;
  letter-spacing: 1px;
}
.card-body a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gui-gold);
  transition: width 0.4s ease;
}
.card-body a:hover {
  color: var(--gui-black);
  letter-spacing: 2px;
}
.card-body a:hover::after {
  width: 100%;
}

/* 联系我们区域 */
#contact {
  background: linear-gradient(180deg, var(--gui-white) 0%, rgba(255,140,56,0.02) 100%);
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-info h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--gui-black);
  letter-spacing: 3px;
  margin-bottom: 30px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.contact-item .icon {
  font-size: 24px;
  color: var(--gui-red);
  margin-right: 20px;
  margin-top: 5px;
}
.contact-item .text h3 {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--gui-black);
  letter-spacing: 2px;
  margin-bottom: 5px;
}
.contact-item .text p {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--gui-gray);
}
.contact-form {
  background: var(--gui-white);
  padding: 40px;
  box-shadow: var(--gui-shadow);
  border-top: 3px solid var(--gui-red);
}
.contact-form h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--gui-black);
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-align: center;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--gui-gray);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(107, 84, 64, 0.2);
  background: white;
  color: var(--gui-gray);
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: 1px;
  border-radius: 0;
  transition: all 0.4s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gui-red);
  box-shadow: 0 0 0 2px rgba(230, 119, 45, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 150px;
}
.form-btn {
  width: 100%;
  padding: 15px;
  background: var(--gui-red);
  color: white;
  border: none;
  font-size: clamp(15px, 1.5vw, 16px);
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.5s ease;
  border-radius: 0;
}
.form-btn:hover {
  background: var(--gui-black);
  letter-spacing: 4px;
  box-shadow: var(--gui-shadow);
}

/* 联系方式区域样式 */
.contact-details {
  text-align: center;
}

.contact-phone {
  margin-bottom: 30px;
}

.contact-phone h4 {
  font-size: 18px;
  color: var(--gui-gray);
  margin-bottom: 10px;
  font-weight: normal;
}

.contact-phone p {
  font-size: 24px;
  color: var(--gui-red);
  font-weight: bold;
  margin: 0;
}

.contact-qrcode {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--gui-light-gray, #ddd);
}

.contact-qrcode h4 {
  font-size: 18px;
  color: var(--gui-gray);
  margin-bottom: 20px;
  font-weight: normal;
}

/* 页脚 */
.footer {
  padding: clamp(80px, 12vw, 100px) 0 clamp(30px, 6vw, 50px);
  background: var(--gui-black);
  color: rgba(249, 245, 240, 0.7);
  position: relative;
  margin-top: clamp(80px, 15vw, 120px);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gui-red), var(--gui-gold));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(30px, 8vw, 60px);
  margin-bottom: clamp(60px, 10vw, 80px);
}

.footer-logo {
  font-size: clamp(18px, 2.2vw, 22px);
  color: white;
  letter-spacing: 3px;
  margin-bottom: clamp(20px, 4vw, 28px);
  font-family: "Noto Serif SC", serif;
  position: relative;
  white-space: nowrap;
}
.footer-logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gui-red);
  font-size: 22px;
}

.footer-desc {
  font-size: clamp(12px, 1.8vw, 14px);
  line-height: 1.9;
  margin-bottom: clamp(20px, 4vw, 28px);
  opacity: 0.7;
  max-width: 400px;
}

.footer-contact {
  font-size: clamp(12px, 1.8vw, 14px);
  margin-bottom: clamp(10px, 2vw, 14px);
  display: flex;
  gap: clamp(10px, 2vw, 14px);
  align-items: center;
  white-space: nowrap;
}
.footer-contact span:first-child {
  color: var(--gui-gold);
  font-size: 18px;
}

.footer-title {
  font-size: clamp(16px, 2.2vw, 18px);
  color: white;
  letter-spacing: 2px;
  margin-bottom: clamp(20px, 4vw, 28px);
  font-family: "Noto Serif SC", serif;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--gui-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: clamp(10px, 2vw, 14px);
}

.footer-links li a {
  font-size: clamp(12px, 1.8vw, 14px);
  opacity: 0.7;
  letter-spacing: 1px;
  position: relative;
  padding-left: 10px;
}
.footer-links li a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gui-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.footer-links li a:hover {
  opacity: 1;
  color: var(--gui-red);
  padding-left: 15px;
}
.footer-links li a:hover::before {
  opacity: 1;
}

.footer-copyright {
  text-align: center;
  font-size: clamp(10px, 1.5vw, 12px);
  padding-top: clamp(30px, 6vw, 40px);
  border-top: 1px solid rgba(249, 245, 240, 0.1);
  opacity: 0.6;
  letter-spacing: 2px;
  line-height: 1.9;
}

/* 断点适配 */
@media (max-width: 992px) {
  .hero {
    background-attachment: scroll;
  }
  .card-body p {
    text-align: center;
  }
  .card-body a {
    align-self: center;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gui-white);
    flex-direction: column;
    padding: clamp(90px, 18vw, 120px) clamp(25px, 6vw, 40px);
    gap: clamp(25px, 4vw, 35px);
    border-bottom: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  .nav-menu.active {
    display: flex;
  }
  .city-nav .city-btn {
    flex: 1 1 calc(33% - 8px);
    text-align: center;
    padding: 10px 15px;
  }
  .service-card {
    padding: clamp(25px, 5vw, 35px) clamp(15px, 3vw, 20px);
  }
  .service-grid {
    gap: clamp(20px, 4vw, 30px);
  }
  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 450px;
  }
  .hero-content::before {
    top: -40px;
    font-size: 12px;
  }
  .gui-btn {
    padding: clamp(12px, 4vw, 14px) clamp(25px, 8vw, 36px);
    width: 100%;
  }
  .city-nav .city-btn {
    flex: 1 1 calc(50% - 8px);
  }
  .section-title {
    font-size: clamp(24px, 5vw, 28px);
  }
}

@media (max-width: 375px) {
  .hero-title {
    line-height: 1.2;
    letter-spacing: 4px;
  }
  .hero-subtitle {
    letter-spacing: 2px;
    line-height: 1.8;
  }
  .footer-content {
    gap: clamp(40px, 8vw, 60px);
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* 高性能适配优化 */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .service-card:hover {
    transform: none;
    box-shadow: none;
  }
  .gui-btn::before, .city-btn::before {
    display: none;
  }
}

/* 横屏适配 */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    height: 150vh;
    min-height: 350px;
  }
  .hero-title {
    font-size: clamp(24px, 6vw, 36px);
  }
}
