/* ═══════════════════════════════════════════════════════════════
   Box 14 - Our Story Section (响应式)
   ═══════════════════════════════════════════════════════════════ */

/* 主容器 - 深蓝色背景 */
.box_14 {
  width: 100vw;
  min-height: 100vh;
  background-color: #2c4a6e;
  padding: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* 主内容容器 */
.container-main {
  max-width: var(--content-max, 1280px);
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px 0;
  flex: 1;
  display: flex;
  align-items: center;
}

/* 顶部主内容区 - 左右两列布局 */
.group_38 {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  align-items: stretch;
}

/* ═══════════════════════════════════════════════════════════════
   左侧图片列 (block_9)
   ═══════════════════════════════════════════════════════════════ */

.block_9 {
  display: flex;
  flex-direction: column;
  width: 340px;
  flex-shrink: 0;
}

/* 顶部狗狗图片 */
.image_3 {
  width: 100%;
  height: 398px;
  object-fit: cover;
  border-radius: 8px;
}

/* "2023 FOUNDED" 卡片 */
.block_3 {
  width: 210px;
  height: 334px;
  border-radius: 12px;
  margin: 20px 0 0 130px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
}

/* 背景图放到伪元素上，便于 hover 缩放而不影响文字 */
.block_3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../images/pic3-3.png') center center / cover no-repeat;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.block_3:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.block_3:hover::before {
  transform: scale(1.08);
}

.text-group_35 {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* 数字上方的金色装饰条 */
.text-group_35::before,
.text-group_36::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(188, 153, 75, 1);
  margin-bottom: 14px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.block_3:hover .text-group_35::before,
.section_4:hover .text-group_36::before {
  width: 56px;
}

.text_24 {
  color: rgba(255, 255, 255, 1);
  font-size: 48px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.1;
}

.text_25 {
  color: rgba(255, 255, 255, 1);
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 2px;
  line-height: 24px;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   右侧内容列 (block_10)
   ═══════════════════════════════════════════════════════════════ */

.block_10 {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 顶部行：50+ PRODUCTS + OUR STORY */
.group_39 {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}

/* "50+ PRODUCTS" 卡片 */
.section_4 {
  width: 240px;
  height: 334px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
}

.section_4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.55)), url('../images/pic3-2.png') center center / cover no-repeat;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.section_4:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.section_4:hover::before {
  transform: scale(1.08);
}

.text-group_36 {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.text_26 {
  color: rgba(255, 255, 255, 1);
  font-size: 72px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 84px;
}

.text_27 {
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 2px;
  line-height: 20px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* OUR STORY 内容块 */
.box_47 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
}

.text_28 {
  color: rgba(188, 153, 75, 1);
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 4px;
  line-height: 22px;
  text-transform: uppercase;
  margin-bottom: 36px;
  text-align: right;
}

.paragraph_7 {
  color: rgba(255, 255, 255, 1);
  font-size: 42px;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  text-align: right;
  line-height: 54px;
  margin-bottom: 48px;
}

/* 5个标签胶囊 */
.grid_2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 16px;
  width: 100%;
}

.text-wrapper_38,
.text-wrapper_39,
.text-wrapper_40,
.text-wrapper_41,
.text-wrapper_42 {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 29px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.text-wrapper_38:hover,
.text-wrapper_39:hover,
.text-wrapper_40:hover,
.text-wrapper_41:hover,
.text-wrapper_42:hover {
  background-color: rgba(188, 153, 75, 0.18);
  border-color: rgba(188, 153, 75, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.text_127,
.text_128,
.text_129,
.text_130,
.text_131 {
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  line-height: 16px;
  white-space: nowrap;
}

/* 描述段落 */
.paragraph_8 {
  color: rgba(255, 255, 255, 1);
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  text-align: right;
  line-height: 36px;
  margin-top: 48px;
  width: 100%;
}

/* SHOP COLLECTION 按钮 */
.section_6 {
  width: 260px;
  height: 64px;
  background: linear-gradient(135deg, rgba(188, 153, 75, 1) 0%, rgba(218, 183, 115, 1) 100%);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: auto;
  margin-left: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section_6:hover {
  background: linear-gradient(135deg, rgba(168, 133, 55, 1) 0%, rgba(198, 163, 95, 1) 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(188, 153, 75, 0.3);
}

.label_23 {
  width: 32px;
  height: 30px;
}

.text_34 {
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   底部特性标签栏 (block_4) - 跑马灯 Marquee
   ═══════════════════════════════════════════════════════════════ */

.block_4 {
  background-color: rgba(25, 42, 68, 1);
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* 渐隐边缘遮罩 */
.block_4::before,
.block_4::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.block_4::before {
  left: 0;
  background: linear-gradient(to right, rgba(25, 42, 68, 1), rgba(25, 42, 68, 0));
}

.block_4::after {
  right: 0;
  background: linear-gradient(to left, rgba(25, 42, 68, 1), rgba(25, 42, 68, 0));
}

/* 滚动轨道：两组内容拼接，平移 -50% 实现无缝循环 */
.marquee-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
  animation: marquee-scroll 30s linear infinite;
}

.block_4:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-item {
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 22px;
  white-space: nowrap;
  padding: 0 22px;
}

.marquee-paw {
  width: 16px;
  height: 15px;
  opacity: 0.6;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   响应式断点
   ═══════════════════════════════════════════════════════════════ */

/* 平板 (768px - 1024px) */
@media (max-width: 1024px) {
  .container-main {
    padding: 60px 40px 0;
  }

  .group_38 {
    flex-direction: column;
    gap: 40px;
  }

  .block_9 {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .block_3 {
    margin: 20px auto 0;
  }

  .block_10 {
    width: 100%;
  }

  .group_39 {
    flex-direction: column;
    gap: 20px;
  }

  .section_4 {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 0 auto;
  }

  .box_47 {
    margin-top: 20px;
    text-align: center;
  }

  .paragraph_7 {
    font-size: 36px;
    line-height: 48px;
    text-align: center;
    margin-bottom: 32px;
  }

  .grid_2 {
    justify-content: center;
  }

  .paragraph_8 {
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    margin-left: 0;
  }

  .section_6 {
    margin: 40px auto 0;
  }

  .block_4 {
    height: 50px;
  }

  .block_4::before,
  .block_4::after {
    width: 40px;
  }
}

/* 手机 (最大768px) */
@media (max-width: 768px) {
  .box_14 {
    overflow-x: hidden;
  }

  .container-main {
    padding: 40px 20px 0;
  }

  .group_38 {
    gap: 30px;
  }

  .image_3 {
    height: 300px;
  }

  .block_3 {
    width: 100%;
    max-width: 280px;
    height: 250px;
    margin: 20px auto 0;
  }

  .text_24 {
    font-size: 72px;
    line-height: 86px;
  }

  .text_25 {
    font-size: 16px;
  }

  .section_4 {
    height: 180px;
  }

  .text_26 {
    font-size: 56px;
    line-height: 68px;
  }

  .text_28 {
    font-size: 12px;
    text-align: center;
  }

  .paragraph_7 {
    font-size: 28px;
    line-height: 38px;
  }

  .paragraph_8 {
    font-size: 14px;
    line-height: 28px;
    margin-left: 0;
    text-align: center;
  }

  .section_6 {
    width: 100%;
    max-width: 280px;
    margin: 40px auto 0 !important;
  }

  .block_4 {
    height: 46px;
  }

  .marquee-item {
    font-size: 12px;
    letter-spacing: 1px;
    padding: 0 16px;
  }

  .marquee-track {
    animation-duration: 22s;
  }
}

/* ═══════════════════════════════════════════════════════════════
   滚动入场动效 (Scroll Reveal)
   ═══════════════════════════════════════════════════════════════ */

.js .box_14 [data-reveal] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js .box_14 [data-reveal="left"]  { transform: translateX(-48px); }
.js .box_14 [data-reveal="right"] { transform: translateX(48px); }
.js .box_14 [data-reveal="up"]    { transform: translateY(40px); }

/* 右列稍作延迟，形成左右先后入场的层次感 */
.js .box_14 [data-reveal="right"] { transition-delay: 0.12s; }

.js .box_14 [data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* 内层标签胶囊：随右列入场依次淡入 */
.js .box_14 [data-reveal="right"] .grid_2 > div {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .box_14 [data-reveal="right"].is-visible .grid_2 > div {
  opacity: 1;
  transform: translateY(0);
}

.js .box_14 [data-reveal="right"].is-visible .grid_2 > div:nth-child(1) { transition-delay: 0.30s; }
.js .box_14 [data-reveal="right"].is-visible .grid_2 > div:nth-child(2) { transition-delay: 0.38s; }
.js .box_14 [data-reveal="right"].is-visible .grid_2 > div:nth-child(3) { transition-delay: 0.46s; }
.js .box_14 [data-reveal="right"].is-visible .grid_2 > div:nth-child(4) { transition-delay: 0.54s; }
.js .box_14 [data-reveal="right"].is-visible .grid_2 > div:nth-child(5) { transition-delay: 0.62s; }

@media (prefers-reduced-motion: reduce) {
  .box_14 [data-reveal],
  .box_14 [data-reveal="right"] .grid_2 > div {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}