/* sections.css — C1/C2 区块布局样式
   只定义区块骨架布局，不覆盖模板主题色（用 token 变量）。
   101 模板的 style.css 不动，此文件始终最后加载。

   命名规则：与模板 style.css 可能冲突的类名必须加 sec- 前缀。
   sections.css 在 style.css 之后加载，冲突会覆盖模板已有样式。 */

/* ===== Feature Grid ===== */
.feature-grid { padding: 4rem 0; }
.feature-grid-columns {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
.feature-item {
  text-align: center;
  padding: 1.5rem;
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--accent, #e94560);
  margin-bottom: 1rem;
}
.feature-item h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.feature-item p  { margin: 0; color: var(--text-secondary, #666); line-height: 1.6; }
.feature-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent, #e94560);
  text-decoration: none;
  font-weight: 500;
}
.feature-link:hover { text-decoration: underline; }

/* ===== Trust Bar ===== */
.sec-trust-bar {
  padding: 2.5rem 0;
  background: var(--bg-alt, #f8f9fa);
}
.sec-trust-bar h2 { text-align: center; margin: 0 0 1.75rem; }
.sec-trust-bar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}
.sec-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card, #fff);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 180px;
}
.sec-trust-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.sec-trust-item i {
  font-size: 1.35rem;
  color: var(--accent, #e94560);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233,69,96,0.08);
  border-radius: 50%;
  flex-shrink: 0;
}
.sec-trust-item span {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.sec-trust-bar--strip .sec-trust-bar-items {
  gap: 0;
  background: transparent;
}
.sec-trust-bar--strip .sec-trust-item {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0.75rem 2rem;
  position: relative;
}
.sec-trust-bar--strip .sec-trust-item:hover {
  transform: none;
  box-shadow: none;
}
.sec-trust-bar--strip .sec-trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border, #ddd);
}

/* ===== Testimonials ===== */
.testimonials { padding: 4rem 0; }
.testimonials h2 { text-align: center; margin: 0 0 2rem; }
.testimonials-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}
.testimonial-card {
  background: var(--bg-card, #fff);
  border-radius: 12px;
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  inset-inline-start: 14px;
  font-size: 5.5rem;
  font-family: Georgia, serif;
  color: var(--accent, #e94560);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid rgba(233,69,96,0.15);
}
.testimonial-quote {
  margin: 0 0 1.25rem;
  font-style: italic;
  color: var(--text-secondary, #555);
  line-height: 1.75;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.testimonial-author strong  {
  font-size: 0.95rem;
  color: var(--text-primary, #222);
}
.testimonial-role {
  font-size: 0.825rem;
  color: var(--text-muted, #888);
  font-weight: 500;
}
.testimonials--quotes .testimonial-card {
  border-inline-start: 3px solid var(--accent, #e94560);
}
.testimonials--quotes .testimonial-card::before {
  inset-inline-start: 24px;
}

/* ===== Brand Story ===== */
.brand-story { padding: 4rem 0; }
.brand-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.brand-story--image-right .brand-story-inner { direction: rtl; }
.brand-story--image-right .brand-story-inner > * { direction: ltr; }
.brand-story--banner .brand-story-inner {
  grid-template-columns: 1fr;
  text-align: center;
}
.brand-story-image img {
  width: 100%;
  border-radius: var(--radius, 8px);
  object-fit: cover;
}
/* brand-story 轮播 */
.brand-story-carousel {
  position: relative;
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.brand-story-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  /* aspect-ratio 兜底 */
  height: 0;
  padding-bottom: 75%; /* 4:3 */
}
@supports (aspect-ratio: 4/3) {
  .brand-story-carousel-track {
    height: auto;
    padding-bottom: 0;
  }
}
.brand-story-carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.brand-story-carousel-slide.active { opacity: 1; }
.brand-story-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius, 8px);
}
.brand-story-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.brand-story-carousel-btn:hover { background: #fff; }
.brand-story-carousel-prev { inset-inline-start: 12px; }
.brand-story-carousel-next { inset-inline-end: 12px; }
.brand-story-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.brand-story-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.brand-story-carousel-dots .dot.active { background: #fff; }
.brand-story-content { display: flex; flex-direction: column; gap: 1rem; }
.brand-story-body { line-height: 1.8; color: var(--text-secondary, #555); margin-bottom: 1.5rem; }

/* ===== Product Grid ===== */
.sec-product-grid { display: block; padding: 4rem 0; }
.sec-product-grid-columns {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.sec-product-card {
  border: 1px solid var(--border, #e0e0e0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.sec-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.sec-product-card-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.sec-product-card-content { padding: 1rem; }
.sec-product-card-content h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.sec-product-card-content h3 a { text-decoration: none; color: inherit; }
.sec-product-price {
  font-weight: 600;
  color: var(--accent, #e94560);
  font-size: 1.125rem;
}

/* ===== Product Highlight ===== */
.product-highlight { padding: 4rem 0; }
.product-highlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.product-highlight--overlay .product-highlight-inner {
  grid-template-columns: 1fr;
  position: relative;
}
.product-highlight-image img {
  width: 100%;
  border-radius: var(--radius, 8px);
}
.product-highlight-content h3 { font-size: 1.75rem; margin: 0 0 1rem; }
.product-highlight-content p  { color: var(--text-secondary, #555); line-height: 1.7; margin-bottom: 1.25rem; }

/* 多品网格 */
.product-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.product-highlight-card {
  border: 1px solid var(--border, #e0e0e0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  background: var(--card-bg, #fff);
  transition: box-shadow 0.2s;
}
.product-highlight-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.product-highlight-card-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.product-highlight-card-body {
  padding: 1rem;
}
.product-highlight-card-body h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}
.product-highlight-card-body p {
  color: var(--text-secondary, #555);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Category Nav ===== */
.category-nav { padding: 3rem 0; }
.category-nav-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.category-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border, #e0e0e0);
  border-radius: var(--radius, 8px);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.category-nav-item:hover {
  border-color: var(--accent, #e94560);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.category-nav-item i { font-size: 1.25rem; color: var(--accent, #e94560); }
.category-nav-label { font-weight: 500; }
.category-nav-count { margin-inline-start: auto; color: var(--text-muted, #888); font-size: 0.875rem; }
.category-nav--pills .category-nav-item {
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
}

/* ===== Hero Banner ===== */
.sec-hero-banner {
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
.sec-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.sec-hero-banner .sec-hero-inner { position: relative; z-index: 1; }
.sec-hero-banner-content {
  max-width: 640px;
}
.sec-hero-banner--center .sec-hero-banner-content {
  margin: 0 auto;
  text-align: center;
}
.sec-hero-banner--split .sec-hero-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.sec-hero-banner-content h1 {
  font-size: 2.75rem;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.sec-hero-banner-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0 0 1.5rem;
}
.sec-hero-banner-content .sec-hero-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent, #e94560);
  color: #fff;
}

/* ===== Stats ===== */
.sec-stats-bar {
  padding: 3rem 0;
  background: var(--bg-alt, #f8f9fa);
}
.sec-stats-bar h2 { text-align: center; margin: 0 0 2rem; }
.sec-stats-bar-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}
.sec-stat-item { text-align: center; }
.sec-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent, #e94560);
  line-height: 1.2;
}
.sec-stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary, #555);
  margin-top: 0.25rem;
}

/* ===== Gallery ===== */
.sec-gallery { padding: 3rem 0; }
.sec-gallery h2 { text-align: center; margin: 0 0 2rem; }
.sec-gallery-grid {
  display: grid;
  gap: 1rem;
}
.sec-gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.sec-gallery-caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary, #555);
  text-align: center;
}

/* ===== Team ===== */
.sec-team { padding: 3rem 0; }
.sec-team h2 { text-align: center; margin: 0 0 2rem; }
.sec-team-grid {
  display: grid;
  gap: 1.5rem;
}
.sec-team-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 8px;
}
.sec-team-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
}
.sec-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec-team-card h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.sec-team-role {
  font-size: 0.875rem;
  color: var(--accent, #e94560);
  margin-bottom: 0.75rem;
}
.sec-team-card p {
  font-size: 0.9rem;
  color: var(--text-secondary, #555);
  line-height: 1.6;
  margin: 0;
}

/* ===== Pricing ===== */
.sec-pricing { padding: 3rem 0; }
.sec-pricing h2 { text-align: center; margin: 0 0 0.5rem; }
.sec-pricing .sec-pricing-subtitle { text-align: center; color: var(--text-muted, #888); margin: 0 0 2rem; }
.sec-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.sec-pricing-card {
  padding: 2rem;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #e0e0e0);
  border-radius: 8px;
  text-align: center;
}
.sec-pricing-card--highlighted {
  border-color: var(--accent, #e94560);
  box-shadow: 0 4px 20px rgba(233,69,96,0.15);
}
.sec-pricing-card h3 { margin: 0 0 0.5rem; }
.sec-pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent, #e94560);
  margin-bottom: 1rem;
}
.sec-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: start;
}
.sec-pricing-features li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border, #eee);
  font-size: 0.9rem;
  color: var(--text-secondary, #555);
}
.sec-pricing-features li:last-child { border-bottom: none; }
.sec-pricing-card .sec-pricing-btn {
  display: inline-block;
  padding: 0.55rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent, #e94560);
  color: #fff;
}

/* ===== 成功案例 case-study ===== */
.sec-case-study { padding: 4rem 0; }
.sec-case-study h2 { text-align: center; margin: 0 0 2rem; }
.sec-case-grid {
  display: grid;
  gap: 1.75rem;
}
.sec-case-card {
  background: var(--bg-card, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.sec-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.sec-case-image {
  overflow: hidden;
}
.sec-case-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.sec-case-card:hover .sec-case-image img {
  transform: scale(1.05);
}
.sec-case-content {
  padding: 1.5rem;
}
.sec-case-content h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.35;
}
.sec-case-content p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted, #666);
  line-height: 1.7;
}
.sec-case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent, #e94560);
  text-decoration: none;
  transition: gap 0.2s;
}
.sec-case-link:hover { gap: 0.6rem; text-decoration: none; }
.sec-case-study--list .sec-case-grid {
  grid-template-columns: 1fr !important;
}
.sec-case-study--list .sec-case-card {
  display: grid;
  grid-template-columns: 320px 1fr;
}
.sec-case-study--list .sec-case-image img {
  height: 100%;
  min-height: 200px;
}

/* ===== 评价星级 ===== */
.testimonial-rating {
  margin-bottom: 0.65rem;
  letter-spacing: 2px;
}
.sec-star {
  color: #f6b73c;
  font-size: 1rem;
}
.sec-star--empty {
  color: #e0e0e0;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .feature-grid-columns,
  .testimonials-grid,
  .sec-product-grid-columns,
  .category-nav-grid,
  .sec-gallery-grid,
  .sec-team-grid,
  .sec-case-grid {
    grid-template-columns: 1fr !important;
  }
  .brand-story-inner,
  .product-highlight-inner,
  .sec-hero-banner--split .sec-hero-banner-inner {
    grid-template-columns: 1fr;
  }
  .sec-trust-bar-items { gap: 1rem; }
  .sec-stats-bar-items { gap: 1.5rem; }
  .sec-stat-number { font-size: 2rem; }
}

/* ================================================================
   P1 区块 DOM 变体样式
   每个变体类名前缀对应 sections/{name}-{layout}.html partial
   ================================================================ */

/* ===== product-list — 横向列表 ===== */
.sec-product-list { padding: 4rem 0; }
.sec-product-list h2 { margin: 0 0 2rem; }
.sec-product-list-items { display: flex; flex-direction: column; gap: 1.25rem; }
.sec-product-list-item {
  display: flex;
  gap: 1.5rem;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #eef0f2);
  border-radius: 10px;
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}
.sec-product-list-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.sec-product-list-img {
  flex: 0 0 180px;
  border-radius: 8px;
  overflow: hidden;
}
.sec-product-list-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.sec-product-list-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.sec-product-list-info h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.sec-product-list-info h3 a { color: inherit; text-decoration: none; }
.sec-product-list-info h3 a:hover { color: var(--primary, #1a1a2e); }
.sec-product-list-desc {
  margin: 0 0 0.75rem;
  color: var(--text-secondary, #666);
  font-size: 0.9rem;
  line-height: 1.5;
}
.sec-product-list-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sec-product-list-meta .sec-product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent, #e94560);
}

/* ===== product-menu — 餐饮菜单 ===== */
.sec-product-menu { padding: 4rem 0; }
.sec-product-menu h2 {
  text-align: center;
  margin: 0 0 2.5rem;
  font-family: var(--font-heading, Georgia, serif);
}
.sec-product-menu-items {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sec-product-menu-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border, #e0e0e0);
}
.sec-product-menu-item:last-child { border-bottom: none; padding-bottom: 0; }
.sec-product-menu-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.sec-product-menu-head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}
.sec-product-menu-head h3 a { color: inherit; text-decoration: none; }
.sec-product-menu-dots {
  flex: 1;
  border-bottom: 2px dotted var(--border, #ccc);
  min-width: 2rem;
  position: relative;
  top: -4px;
}
.sec-product-menu-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary, #1a1a2e);
  white-space: nowrap;
}
.sec-product-menu-desc {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary, #777);
  line-height: 1.5;
  font-style: italic;
}
.sec-product-menu-tags {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.sec-product-menu-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: var(--light, #f8f9fa);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary, #666);
}

/* ===== product-listing — 房产/服务列表 ===== */
.sec-product-listing { padding: 4rem 0; }
.sec-product-listing h2 { margin: 0 0 2rem; }
.sec-product-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.sec-product-listing-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #eef0f2);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.sec-product-listing-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.sec-product-listing-img {
  display: block;
  position: relative;
}
.sec-product-listing-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.sec-product-listing-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 0.25rem 0.75rem;
  background: var(--primary, #1a1a2e);
  color: #fff;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.sec-product-listing-body {
  padding: 1.25rem;
}
.sec-product-listing-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.sec-product-listing-body h3 a { color: inherit; text-decoration: none; }
.sec-product-listing-desc {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary, #666);
  line-height: 1.5;
}
.sec-product-listing-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border, #eef0f2);
}
.sec-product-listing-spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  color: var(--text-secondary, #666);
}
.sec-product-listing-spec i {
  color: var(--primary, #1a1a2e);
  font-size: 0.85rem;
}
.sec-product-listing-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--light, #f8f9fa);
  border-top: 1px solid var(--border, #eef0f2);
}
.sec-product-listing-foot .sec-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent, #e94560);
}

/* ===== feature-alternating — 左右交替 ===== */
.feature-alternating { padding: 4rem 0; }
.feature-alternating h2 { text-align: center; margin: 0 0 1rem; }
.feature-alt-rows {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2.5rem;
}
.feature-alt-row {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.feature-alt-row--reverse { flex-direction: row-reverse; }
.feature-alt-content { flex: 1; }
.feature-alt-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}
.feature-alt-content p {
  margin: 0 0 1rem;
  color: var(--text-secondary, #555);
  line-height: 1.7;
  font-size: 1.05rem;
}
.feature-alt-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary, #1a1a2e);
  color: #fff;
  border-radius: 14px;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.feature-alt-media {
  flex: 0 0 42%;
}
.feature-alt-media img {
  width: 100%;
  border-radius: 16px;
  display: block;
}
.feature-alt-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--light, #f0f2f5), var(--border, #e2e6ea));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--primary, #1a1a2e);
  opacity: 0.25;
}

/* ===== feature-icon-list — 横向图标列表 ===== */
.feature-icon-list { padding: 4rem 0; }
.feature-icon-list h2 { margin: 0 0 1rem; }
.feature-list-items {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border, #eef0f2);
}
.feature-list-item:first-child { border-top: 1px solid var(--border, #eef0f2); }
.feature-list-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light, #f8f9fa);
  border-radius: 10px;
  color: var(--primary, #1a1a2e);
  font-size: 1.15rem;
}
.feature-list-body { flex: 1; }
.feature-list-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
.feature-list-body p {
  margin: 0;
  color: var(--text-secondary, #666);
  line-height: 1.55;
  font-size: 0.925rem;
}
.feature-list-arrow {
  flex: 0 0 auto;
  font-size: 1.25rem;
  color: var(--primary, #1a1a2e);
  text-decoration: none;
  padding: 0.5rem;
  transition: transform 0.2s;
}
.feature-list-arrow:hover { transform: translateX(4px); }

/* ===== feature-bento — 便当盒网格 ===== */
.feature-bento { padding: 4rem 0; }
.feature-bento h2 { text-align: center; margin: 0 0 1rem; }
.feature-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.feature-bento-cell {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #eef0f2);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.feature-bento-cell:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.feature-bento-cell--wide { grid-column: span 2; }
.feature-bento-cell--tall { grid-row: span 2; }
.feature-bento-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary, #1a1a2e);
  color: #fff;
  border-radius: 12px;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}
.feature-bento-cell h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.feature-bento-cell p {
  margin: 0;
  color: var(--text-secondary, #666);
  line-height: 1.6;
  flex: 1;
}

/* ===== cta-inline — 内联紧凑 CTA ===== */
.cta-inline {
  padding: 1.5rem 0;
  background: var(--light, #f8f9fa);
}
.cta-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-inline-text h2 {
  margin: 0;
  font-size: 1.35rem;
}
.cta-inline-text p {
  margin: 0.25rem 0 0;
  color: var(--text-secondary, #666);
  font-size: 0.95rem;
}

/* ===== cta-split — 左右分栏 CTA ===== */
.cta-split {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--primary, #1a1a2e), var(--gradient-secondary, #16213e));
  color: #fff;
}
.cta-split-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.cta-split-text { flex: 1; }
.cta-split-text h2 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
}
.cta-split-text p {
  margin: 0;
  opacity: 0.85;
  font-size: 1.1rem;
  line-height: 1.6;
}
.cta-split-action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.cta-split-note {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== cta-bar — 全宽横条 CTA ===== */
.cta-bar {
  padding: 1rem 0;
  background: var(--primary, #1a1a2e);
  color: #fff;
}
.cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-bar-text {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.cta-bar-text strong { font-size: 1.15rem; }
.cta-bar-text span { opacity: 0.8; font-size: 0.95rem; }

/* ===== testimonials-quotes — 大引文 ===== */
.testimonials-quotes { padding: 4.5rem 0; }
.testimonials-quotes h2 { text-align: center; margin: 0 0 3rem; }
.tq-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.tq-item {
  margin: 0;
  text-align: center;
}
.tq-mark {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent, #e94560);
  opacity: 0.35;
  margin-bottom: -1.5rem;
}
.tq-text {
  margin: 0;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.45rem;
  line-height: 1.65;
  color: var(--text, #333);
  font-style: italic;
}
.tq-author {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.tq-author strong { font-size: 1.05rem; }
.tq-role {
  font-size: 0.9rem;
  color: var(--text-secondary, #777);
}
.tq-rating {
  letter-spacing: 2px;
  margin-bottom: 0.35rem;
}

/* ===== testimonials-slider — 轮播指示器 ===== */
.testimonials-slider { padding: 4rem 0; overflow: hidden; }
.testimonials-slider h2 { text-align: center; margin: 0 0 2.5rem; }
.ts-viewport {
  overflow: hidden;
}
.ts-track {
  display: flex;
  transition: transform 0.4s ease;
}
.ts-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.ts-rating {
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}
.ts-quote {
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.35rem;
  line-height: 1.65;
  max-width: 600px;
}
.ts-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: start;
}
.ts-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary, #1a1a2e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.ts-author strong { display: block; }
.ts-role {
  font-size: 0.85rem;
  color: var(--text-secondary, #777);
}
.ts-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.ts-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border, #ddd);
}
.ts-dot--active {
  background: var(--primary, #1a1a2e);
  width: 28px;
  border-radius: 5px;
}

/* ===== testimonials-stacked — 层叠卡片 ===== */
.testimonials-stacked { padding: 4.5rem 0; }
.testimonials-stacked h2 { text-align: center; margin: 0 0 3rem; }
.tst-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tst-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #eef0f2);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.tst-card--0 { margin-top: 0; }
.tst-card--1 { margin-top: 2.5rem; }
.tst-card--2 { margin-top: 1.25rem; }
.tst-num {
  position: absolute;
  top: -12px;
  inset-inline-start: 20px;
  background: var(--primary, #1a1a2e);
  color: #fff;
  width: 36px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.tst-rating {
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.tst-quote {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text, #333);
}
.tst-author strong { display: block; font-size: 0.95rem; }
.tst-role {
  font-size: 0.85rem;
  color: var(--text-secondary, #777);
}

/* ===== faq-list — 编号列表 ===== */
.faq-list { padding: 4rem 0; }
.faq-list h2 { margin: 0 0 2.5rem; }
.faq-list-items {
  list-style: none;
  counter-reset: faq-counter;
  margin: 0;
  padding: 0;
}
.faq-list-item {
  counter-increment: faq-counter;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border, #eef0f2);
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 1.25rem;
}
.faq-list-item::before {
  content: counter(faq-counter, decimal-leading-zero);
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent, #e94560);
  opacity: 0.6;
  line-height: 1.35;
}
.faq-list-q {
  grid-column: 2;
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.faq-list-a {
  grid-column: 2;
  margin: 0;
  color: var(--text-secondary, #555);
  line-height: 1.65;
}

/* ===== faq-grid — 双列网格 ===== */
.faq-grid { padding: 4rem 0; }
.faq-grid h2 { text-align: center; margin: 0 0 2.5rem; }
.faq-grid-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.faq-grid-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #eef0f2);
  border-radius: 12px;
  padding: 1.75rem;
}
.faq-grid-q {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}
.faq-grid-a {
  margin: 0;
  color: var(--text-secondary, #555);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== faq-accordion — 折叠面板 ===== */
.faq-accordion { padding: 4rem 0; }
.faq-accordion h2 { margin: 0 0 2.5rem; }
.faq-acc-items {
  max-width: 800px;
}
.faq-acc-item {
  border: 1px solid var(--border, #eef0f2);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-acc-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  background: var(--card-bg, #fff);
  transition: background 0.2s;
}
.faq-acc-q:hover { background: var(--light, #f8f9fa); }
.faq-acc-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  position: relative;
}
.faq-acc-icon::before,
.faq-acc-icon::after {
  content: '';
  position: absolute;
  background: var(--text, #333);
  transition: transform 0.3s;
}
.faq-acc-icon::before {
  width: 14px;
  height: 2px;
  top: 9px;
  inset-inline-start: 3px;
}
.faq-acc-icon::after {
  width: 2px;
  height: 14px;
  top: 3px;
  inset-inline-start: 9px;
}
.faq-acc-item[open] .faq-acc-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-acc-a {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary, #555);
  line-height: 1.7;
}
.faq-acc-item[open] .faq-acc-q {
  border-bottom: 1px solid var(--border, #eef0f2);
}

/* ===== gallery-masonry — 瀑布流 ===== */
.sec-gallery-masonry { padding: 3.5rem 0; }
.sec-gallery-masonry h2 { text-align: center; margin: 0 0 2rem; }
.sec-gallery-masonry-cols {
  column-gap: 1.25rem;
}
.sec-gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  overflow: hidden;
}
.sec-gallery-masonry-item img {
  width: 100%;
  display: block;
}
.sec-gallery-masonry-item .sec-gallery-caption {
  padding: 0.65rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary, #666);
}

/* ===== gallery-carousel — 横向滑动 ===== */
.sec-gallery-carousel { padding: 3.5rem 0; overflow: hidden; }
.sec-gallery-carousel h2 { text-align: center; margin: 0 0 2rem; }
.gc-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gc-viewport::-webkit-scrollbar { display: none; }
.gc-track {
  display: flex;
  gap: 1.25rem;
  padding: 0 2rem;
}
.gc-slide {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
}
.gc-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gc-slide .sec-gallery-caption {
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary, #666);
}
.gc-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}
.gc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border, #ddd);
}
.gc-dot--active {
  background: var(--primary, #1a1a2e);
  width: 24px;
  border-radius: 4px;
}

/* ===== gallery-lightbox — 悬浮遮罩 ===== */
.sec-gallery-lightbox { padding: 3.5rem 0; }
.sec-gallery-lightbox h2 { text-align: center; margin: 0 0 2rem; }
.sec-gallery-lb-grid {
  display: grid;
  gap: 1.25rem;
}
.sec-gallery-lb-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.sec-gallery-lb-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.sec-gallery-lb-overlay {
  position: absolute;
  top: 0; inset-inline-start: 0; inset-inline-end: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.sec-gallery-lb-overlay i { font-size: 1.5rem; }
.sec-gallery-lb-overlay span { font-size: 0.95rem; font-weight: 500; }
.sec-gallery-lb-item:hover .sec-gallery-lb-overlay { opacity: 1; }
.sec-gallery-lb-item:hover img { transform: scale(1.05); }
.sec-gallery-lb-link {
  display: block;
  text-decoration: none;
}

/* ===== P1 变体响应式 ===== */
@media (max-width: 768px) {
  /* product-list */
  .sec-product-list-item {
    flex-direction: column;
  }
  .sec-product-list-img {
    flex: none;
  }
  .sec-product-list-img img {
    height: 200px;
  }

  /* feature-alternating */
  .feature-alt-row,
  .feature-alt-row--reverse {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .feature-alt-media {
    flex: none;
    width: 100%;
    order: -1;
  }

  /* feature-bento */
  .feature-bento-grid {
    grid-template-columns: 1fr;
  }
  .feature-bento-cell--wide {
    grid-column: span 1;
  }
  .feature-bento-cell--tall {
    grid-row: span 1;
  }

  /* cta-inline / cta-split / cta-bar */
  .cta-inline-row,
  .cta-split-inner,
  .cta-bar-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-split-action {
    width: 100%;
  }
  .cta-bar-text {
    flex-direction: column;
    gap: 0.25rem;
  }

  /* testimonials */
  .tst-stack {
    grid-template-columns: 1fr;
  }
  .tst-card--0,
  .tst-card--1,
  .tst-card--2 {
    margin-top: 0;
  }

  /* faq */
  .faq-grid-columns {
    grid-template-columns: 1fr;
  }

  /* gallery */
  .sec-gallery-lb-grid {
    grid-template-columns: 1fr !important;
  }
  .gc-slide {
    flex-basis: 280px;
  }
}
