/* =========================================================
   U友官网 公共样式
   主色调：橙色 #f17d00 / 绿色 #90c320
   品牌色已通过 tailwind.config.js 自定义，此文件仅保留业务组件样式
   ========================================================= */

/* ---- footer 超链接悬停变色 ---- */
.hover-orange:hover { color: #f17d00 !important; }

/* =========================================================
   通用组件样式
   ========================================================= */

.nav-link {
  color: #4b5563;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: #f17d00;
  border-bottom-color: #f17d00;
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
}
.quick-icon {
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}
.quick-item:hover {
  background-color: #fff4e6;
}

.amount-btn {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  background: white;
  transition: all 0.2s;
}
.amount-btn:hover,
.amount-btn.active {
  border-color: #f17d00;
  color: #f17d00;
  background: #fff4e6;
}

.card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f17d00;
  margin-bottom: 0.5rem;
}

.section-title::before,
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #f17d00;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f17d00;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #d96f00;
}

.btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #90c320;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-success:hover {
  background: #7aab1a;
}

.form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: #f17d00;
  box-shadow: 0 0 0 3px rgba(241, 125, 0, 0.12);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}

/* 轮播图幻灯片背景（橙色/绿色 单色渐变） */
.hero-slide-1 {
  /* 橙：深 -> 浅（偏浅） */
  background: linear-gradient(105deg, #f17d00 0%, #ffa64d 100%);
}
.hero-slide-2 {
  /* 橙：浅 -> 深（偏浅） */
  background: linear-gradient(105deg, #ffc98a 0%, #f17d00 100%);
}
.hero-slide-3 {
  /* 橙：稍深一点，深 -> 浅（偏浅） */
  background: linear-gradient(105deg, #e07000 0%, #ff9a2e 100%);
}
.hero-slide-4 {
  /* 绿：深 -> 浅（偏浅） */
  background: linear-gradient(105deg, #90c320 0%, #c4e46b 100%);
}

/* 轮播图控制点 */
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: #ffffff;
  width: 26px;
}

/* 企业荣誉资质圆点（浅色背景，覆盖默认白色圆点） */
#honorDots .carousel-dot {
  background: #d1d5db;
  width: 10px;
}
#honorDots .carousel-dot.active {
  background: #90c320;
  width: 26px;
}

/* ---- 新闻详情富文本正文 ---- */
.news-content {
  word-break: break-word;
  overflow-wrap: break-word;
}
.news-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.news-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.news-content section {
  max-width: 100%;
}
