/* =========================================
   全局 rem 基准（qw.html 依赖 base.css / global.css 设置，
   本项目全局 font-max.css 已设 body,html { font-size: 16px }）
   显式写一次以防未加载
   ========================================= */
html {
  font-size: 16px;
}

/* =========================================
   首页 - 首屏 Hero Banner
   设计稿：1920 宽，背景图 2x
   ========================================= */

.hero {
  position: relative;
  /* 避开固定定位的白色头部 */
  margin-top: 87px;
  height: 900px;
  background: url("../images/image@2x.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero_inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1600px;
  /* 与头部容器对齐；整体较垂直居中位置略下移 */
  margin: 88px auto 0;
}

/* 标题：DM Sans 700 / 48px / 行高 80px / #FFFFFF / 宽 768px */
.hero_title {
  width: 100%;
  max-width: 768px;
  margin: 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 80px;
  color: #ffffff;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

/* 按钮：180 × 54 / 圆角 180 / 背景 #CF2734 */
.hero_btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 180px;
  height: 54px;
  margin-top: 64px;
  padding: 0 30px 0 30px;
  box-sizing: border-box;
  background: #cf2734;
  border-radius: 180px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* 按钮文字：Palanquin 400 / 16px / #FFFFFF */
.hero_btn_text {
  font-family: "Palanquin", "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}

/* 右侧白色圆形箭头 */
.hero_btn_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hero_btn_arrow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero_btn:hover {
  background: #b7202c;
}

.hero_btn:hover .hero_btn_arrow {
  transform: translateX(2px);
}

/* ---------- 响应式 ---------- */

@media screen and (max-width: 1440px) {
  .hero {
    height: 820px;
  }
  .hero_title {
    font-size: 44px;
    line-height: 72px;
    max-width: 720px;
  }
  .hero_btn {
    margin-top: 56px;
  }
}

@media screen and (max-width: 1200px) {
  .hero {
    height: 720px;
  }
  .hero_inner {
    margin-top: 70px;
  }
  .hero_title {
    font-size: 38px;
    line-height: 64px;
    max-width: 640px;
  }
  .hero_btn {
    width: 168px;
    height: 52px;
    margin-top: 48px;
  }
  .hero_btn_arrow {
    width: 38px;
    height: 38px;
  }
}

@media screen and (max-width: 992px) {
  .hero {
    height: 640px;
  }
  .hero_inner {
    margin-top: 54px;
  }
  .hero_title {
    font-size: 32px;
    line-height: 54px;
    max-width: 560px;
  }
  .hero_btn {
    width: 160px;
    height: 50px;
    padding: 0 6px 0 22px;
    margin-top: 40px;
  }
  .hero_btn_arrow {
    width: 36px;
    height: 36px;
  }
  .hero_btn_text {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    margin-top: 100px;
    height: 560px;
    background-position: 60% center;
  }
  .hero_inner {
    margin-top: 30px;
  }
  .hero_title {
    font-size: 26px;
    line-height: 42px;
    max-width: 460px;
  }
  .hero_btn {
    margin-top: 32px;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    margin-top: 96px;
    height: 480px;
    background-position: 62% center;
  }
  .hero_inner {
    margin-top: 10px;
  }
  .hero_title {
    font-size: 22px;
    line-height: 36px;
  }
  .hero_btn {
    width: 150px;
    height: 48px;
    padding: 0 5px 0 20px;
    margin-top: 26px;
  }
  .hero_btn_arrow {
    width: 34px;
    height: 34px;
  }
  .hero_btn_text {
    font-size: 14px;
  }
}

/* =========================================
   首页 - 公司简介 Introduction To Lishen
   ========================================= */

.intro {
  padding: 100px 0 120px;
  background: #ffffff;
}

.intro_inner {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.intro_left {
  width: 43.75%; /* 1600 稿下 700px */
  flex-shrink: 0;
}

/* 标题 */
.intro_title {
  margin: 0 0 36px;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
  color: #333333;
  text-align: left;
}

/* 介绍文字：DM Sans 400 / 18px / 行高 36px / #666666 / 两端对齐 / 宽 700px */
.intro_desc p {
  margin: 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 36px;
  color: #666666;
  text-align: justify;
}

.intro_desc p + p {
  margin-top: 21px;
}

.intro_right {
  width: 50%; /* 1600 稿下 800px */
  flex-shrink: 0;
}

.intro_right img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 数据统计 ---------- */

.intro_stats {
  width: 90%;
  max-width: 1600px;
  margin: 100px auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.intro_stat {
  flex: 1;
  text-align: center;
}

/* 数字：DM Sans 700 / 64px / 行高 78px / #333333 */
.intro_stat_num {
  margin: 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 78px;
  color: #333333;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.intro_stat_num:hover {
  margin: 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 78px;
  color: #cf2734;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

/* 单位：上标小字 */
.intro_stat_unit {
  margin-left: 6px;
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  vertical-align: super;
  line-height: 0;
}

.intro_stat_unit:hover {
  color: #cf2734;
}


/* “Years” 为文字型单位，居中对齐数字 */
.intro_stat_unit.is-text {
  font-size: 26px;
  vertical-align: middle;
}

/* 说明文字：DM Sans 500 / 16px / 行高 28px / #666666 */
.intro_stat_label {
  margin: 12px 0 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 28px;
  color: #666666;
  text-align: center;
  text-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.intro_stat_label:hover {
  color: #cf2734;
}


/* ---------- 响应式 ---------- */

@media screen and (max-width: 1440px) {
  .intro_title {
    font-size: 36px;
    line-height: 48px;
  }
  .intro_desc p {
    font-size: 17px;
    line-height: 34px;
  }
  .intro_stat_num {
    font-size: 56px;
    line-height: 68px;
  }
  .intro_stat_unit {
    font-size: 22px;
  }
  .intro_stat_unit.is-text {
    font-size: 24px;
  }
}

@media screen and (max-width: 1200px) {
  .intro {
    padding: 80px 0 90px;
  }
  .intro_title {
    font-size: 32px;
    line-height: 44px;
    margin-bottom: 28px;
  }
  .intro_desc p {
    font-size: 16px;
    line-height: 30px;
  }
  .intro_desc p + p {
    margin-top: 16px;
  }
  .intro_stats {
    margin-top: 70px;
  }
  .intro_stat_num {
    font-size: 46px;
    line-height: 58px;
  }
  .intro_stat_unit {
    font-size: 20px;
  }
  .intro_stat_unit.is-text {
    font-size: 22px;
  }
  .intro_stat_label {
    font-size: 15px;
    line-height: 24px;
  }
}

@media screen and (max-width: 992px) {
  .intro {
    padding: 60px 0 70px;
  }
  .intro_inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .intro_left {
    width: 100%;
  }
  .intro_right {
    width: 100%;
    margin-top: 40px;
  }
  .intro_stats {
    margin-top: 50px;
    flex-wrap: wrap;
  }
  .intro_stat {
    flex: 0 0 50%;
    margin-bottom: 34px;
  }
}

@media screen and (max-width: 768px) {
  .intro_title {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 22px;
  }
  .intro_desc p {
    font-size: 15px;
    line-height: 28px;
  }
  .intro_stat_num {
    font-size: 38px;
    line-height: 48px;
  }
  .intro_stat_unit {
    font-size: 17px;
  }
  .intro_stat_unit.is-text {
    font-size: 18px;
  }
  .intro_stat_label {
    font-size: 14px;
    line-height: 22px;
    margin-top: 8px;
  }
}

@media screen and (max-width: 480px) {
  .intro {
    padding: 44px 0 50px;
  }
  .intro_title {
    font-size: 24px;
    line-height: 34px;
  }
  .intro_desc p {
    font-size: 14px;
    line-height: 26px;
  }
  .intro_stat_num {
    font-size: 32px;
    line-height: 40px;
  }
  .intro_stat_unit {
    font-size: 15px;
  }
  .intro_stat_unit.is-text {
    font-size: 16px;
  }
}

/* =========================================
   首页 - 品牌宣言 Mount Huangshan Lishen
   ========================================= */

.brand {
  height: 356px;
  background: url("../images/3.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand_inner {
  width: 90%;
  max-width: 1600px;
  text-align: center;
}

/* 标题：DM Sans 800 / 36px / 行高 47px / #CF2734 / 居中 */
.brand_title {
  margin: 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 47px;
  color: #cf2734;
  text-align: center;
}

/* 说明文字：思源黑体 350 / 18px / 行高 36px / #666666 / 居中 / 宽 753px */
.brand_desc {
  margin: 16px auto 0;
  max-width: 753px;
  font-family: "Source Han Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 350;
  font-size: 18px;
  line-height: 36px;
  color: #666666;
  text-align: center;
}

@media screen and (max-width: 1440px) {
  .brand {
    height: 320px;
  }
  .brand_title {
    font-size: 32px;
    line-height: 42px;
  }
  .brand_desc {
    font-size: 17px;
    line-height: 34px;
  }
}

@media screen and (max-width: 1200px) {
  .brand {
    height: 300px;
  }
  .brand_title {
    font-size: 28px;
    line-height: 38px;
  }
  .brand_desc {
    font-size: 16px;
    line-height: 32px;
  }
}

@media screen and (max-width: 992px) {
  .brand {
    height: 280px;
  }
  .brand_title {
    font-size: 26px;
    line-height: 36px;
  }
  .brand_desc {
    font-size: 15px;
    line-height: 30px;
  }
}

@media screen and (max-width: 768px) {
  .brand {
    height: 260px;
  }
  .brand_title {
    font-size: 22px;
    line-height: 30px;
  }
  .brand_desc {
    margin-top: 12px;
    max-width: 100%;
    font-size: 14px;
    line-height: 26px;
  }
}

@media screen and (max-width: 480px) {
  .brand {
    height: 240px;
  }
  .brand_title {
    font-size: 20px;
    line-height: 28px;
  }
  .brand_desc {
    font-size: 13px;
    line-height: 24px;
  }
}

/* =========================================
   首页 - 产品系列 Product Series（与 qw.css 同款效果）
   ========================================= */

.product_box {
  width: 100%;
  padding-top: calc(53px + 5rem);
  padding-bottom: calc(27px + 5rem);
}

.product {
  max-width: 1640px;
  width: 85%;
  margin: auto;
}

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

.procuct_nav_box .product_nav_title {
  font-family: Source_Han_Regular;
  font-weight: 600;
  font-size: calc(8px + 2rem);
  color: #333333;
  line-height: 70px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.procuct_nav_box .product_nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: calc(18px + 2rem);
}

.procuct_nav_box .product_nav .product_nav_item {
  font-family: Source_Han_normal;
  font-weight: 350;
  font-size: calc(8px + 0.5rem);
  color: #333333;
  line-height: calc(6px + 1rem);
  cursor: pointer;
}

/* 当前激活项红色（原 qw.css 用 :nth-of-type(1) 硬编码） */
.procuct_nav_box .product_nav .product_nav_item.is-active {
  color: #CF2734;
}

.product_main_box {
  width: 100%;
  margin-top: calc(1px + 4rem);
}

.product_main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: none;
}

.product_main:nth-of-type(1) {
  display: flex;
}

.product_item {
  width: 12.439%;
  transition: .5s;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.product_item:nth-of-type(1) {
  width: 59.756%;
}

.product_item .product_img {
  width: 100%;
  height: calc(100px + 20rem);
  position: relative;
}

.product_item .product_img .img1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  transition: .5s;
  opacity: 1;
}

.product_item .product_img .img2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  transition: .5s;
  opacity: 0;
}

/* jt.png / pro_mask.png 若缺失，hover 态仍可用 */
.product_img_mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .5s;
  background: rgba(0, 0, 0, 0.2);
  background-image: url("../images/pro_mask.png");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product_more {
  width: 50px;
  height: 50px;
  background: #CF2734;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product_more .img3 {
  width: calc(10px + 0.5rem);
}

.product_name_1 {
  font-family: Source_Han_Light;
  font-weight: 300;
  font-size: calc(6px + 0.5rem);
  color: #333333;
  margin-top: calc(3px + 2rem);
}

.product_name_2 {
  font-family: Source_Han_Regular;
  font-weight: 400;
  font-size: calc(8px + 0.5rem);
  color: #333333;
  line-height: calc(6px + 1rem);
  margin-top: calc(4px + 0.25rem);
}

/* 查看全部（原 qw.css 的 view_more 未在本区块内使用，保留） */
.view_more {
  font-family: Source_Han_normal;
  font-weight: 350;
  font-size: calc(8px + 0.5rem);
  color: #666666;
  line-height: calc(6px + 1rem);
  text-align: center;
  margin-top: calc(9px + 3rem);
}

/* 产品系列响应式（沿用 qw.css 逻辑） */

@media (max-width: 1100px) {
  .product_box {
    padding-top: calc(53px + -7rem);
  }
  .procuct_nav_box {
    flex-direction: column;
    justify-content: flex-start;
    gap: calc(10px + 1rem);
  }
  .procuct_nav_box .product_nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: calc(10px + 1rem);
    row-gap: calc(10px + 3rem);
  }
  .procuct_nav_box .product_nav .product_nav_item {
    width: 30%;
    font-size: calc(10px + 1rem);
  }
  .product_name_1 {
    font-size: calc(10px + 1rem);
  }
  .product_name_2 {
    font-size: calc(10px + 1rem);
  }
  .product_item:nth-of-type(1) {
    width: 42.756%;
  }
  .product_item {
    width: 31.439%;
  }
  .product_more {
    width: calc(18px + 2rem);
    height: calc(18px + 2rem);
  }
}

/* =========================================
   手机端适配：首页产品系列
   （覆盖修正旧 1100px 断点规则）
   ========================================= */
@media (max-width: 1100px) {
  .product_box {
    padding: 50px 0;
  }
  .product {
    width: 92%;
  }
  .procuct_nav_box {
    align-items: flex-start;
    gap: 16px;
  }
  .procuct_nav_box .product_nav_title {
    font-size: 26px;
    line-height: 1.3;
  }
  .procuct_nav_box .product_nav {
    gap: 10px 20px;
  }
  .procuct_nav_box .product_nav .product_nav_item {
    width: auto;
    font-size: 15px;
    line-height: 1.4;
  }
  .product_main_box {
    margin-top: 24px;
  }
  /* 两个一行换行排列；!important 抵消 JS 悬停写入的内联宽度 */
  .product_main {
    flex-wrap: wrap;
    gap: 16px;
  }
  .product_item,
  .product_item:nth-of-type(1) {
    width: calc(50% - 8px) !important;
  }
  .product_item .product_img {
    height: 220px;
  }
  .product_name_1 {
    font-size: 14px;
    margin-top: 12px;
  }
  .product_name_2 {
    font-size: 14px;
  }
  .product_more {
    width: 34px;
    height: 34px;
  }
  .view_more {
    font-size: 14px;
    margin-top: 32px;
  }
}

@media (max-width: 480px) {
  .procuct_nav_box .product_nav_title {
    font-size: 22px;
  }
  .product_item .product_img {
    height: 160px;
  }
  .product_name_1 {
    font-size: 13px;
  }
}

/* =========================================
   首页 - Founding Team 手风琴
   标题 DM Sans 800 / 48 / 70 / #333333
   项目标题 DM Sans 500 / 20 / 26 / #333333
   描述 DM Sans 400 / 16 / 24 / #666666
   ========================================= */

.team {
  width: 100%;
  padding: 100px 0;
  background: #ffffff;
}

.team_inner {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.team_left {
  width: 38%;
  flex-shrink: 0;
}

/* 标题 */
.team_title {
  margin: 0 0 50px;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 70px;
  color: #333333;
  text-align: left;
}

/* 手风琴容器 */
.team_accordion {
  width: 100%;
}

.team_item {
  border-top: 1px solid #e8e8e8;
  transition: background-color 0.3s ease;
  height: 160px;
}

.team_item:last-child {
  border-bottom: 1px solid #e8e8e8;
}

/* 手风琴标题行 */
.team_item_head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 16px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.team_item_head:hover {
  background: #fafafa;
}

/* 小图标 */
.team_item_icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 项目标题 DM Sans 500 / 20px / line-height 26px / #333333 */
.team_item_text {
  flex: 1;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  color: #333333;
  text-align: left;
}

/* 箭头 */
.team_item_arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* 展开项箭头旋转向上 */
.team_item.is-open .team_item_arrow {
  transform: rotate(180deg);
}

/* 展开项背景微高亮 */
.team_item.is-open .team_item_head {
  background: #fafafa;
}

/* 展开内容 — max-height 由 JS 动态写入 scrollHeight */
.team_item_body {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.team_item.is-open .team_item_body {
  padding: 0 16px 20px;
}

/* 描述文字 DM Sans 400 / 16px / line-height 24px / #666666 */
.team_item_body p {
  margin: 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #666666;
  text-align: left;
}

/* 右侧大图 */
.team_right {
  width: 56%;
  flex-shrink: 0;
  overflow: hidden;
}

.team_right img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ---------- 响应式 ---------- */

@media screen and (max-width: 1440px) {
  .team_title {
    font-size: 42px;
    line-height: 62px;
  }
  .team_item_text {
    font-size: 18px;
    line-height: 24px;
  }
}

@media screen and (max-width: 1200px) {
  .team {
    padding: 80px 0;
  }
  .team_inner {
    flex-direction: column;
    gap: 50px;
  }
  .team_left,
  .team_right {
    width: 100%;
  }
  .team_title {
    font-size: 38px;
    line-height: 56px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 992px) {
  .team_title {
    font-size: 32px;
    line-height: 48px;
  }
  .team_item_text {
    font-size: 17px;
    line-height: 22px;
  }
  .team_item_head {
    padding: 20px 12px;
  }
  .team_item_body p {
    font-size: 15px;
    line-height: 22px;
  }
}

@media screen and (max-width: 768px) {
  .team {
    padding: 60px 0;
  }
  .team_title {
    font-size: 28px;
    line-height: 42px;
    margin-bottom: 30px;
  }
  .team_item_text {
    font-size: 16px;
  }
  .team_inner {
    gap: 36px;
  }
}

@media screen and (max-width: 480px) {
  .team {
    padding: 50px 0;
  }
  .team_title {
    font-size: 24px;
    line-height: 36px;
  }
  .team_item_text {
    font-size: 15px;
    line-height: 20px;
  }
  .team_item_head {
    padding: 18px 10px;
    gap: 12px;
  }
}

/* =========================================
   首页 - 邮件订阅 Do You Have Any Questions?
   背景：9.png 木纹书架
   标题 DM Sans 800 / 36 / 40 / #FFFFFF
   副标题 DM Sans 400 / 16 / 40 / rgba(244,245,246,.7)
   输入框 441×40 白色描边胶囊 + 40×40 #CF2734 红圆按钮
   ========================================= */

.mail_box {
  width: 100%;
  background: url("../images/9.png") center center / cover no-repeat;
  padding: 80px 0 100px;
}

.mail {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

/* 主标题 */
.mail .p1 {
  margin: 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 40px;
  color: #ffffff;
  text-align: center;
}

/* 副标题 */
.mail .p2 {
  margin: 24px 0 0;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 40px;
  color: rgba(244, 245, 246, 0.7);
  text-align: center;
}

/* 输入区 */
.main_input {
  position: relative;
  width: 441px;
  height: 50px;
  margin: 40px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  padding: 0 0 0 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.05);
}

.main_input .form-horizontal {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-right: 44px; /* 留出右侧按钮位置 */
  box-sizing: border-box;
}

.main_input label {
  display: none;
}

.main_input .fc-form-body {
  flex: 1;
  min-width: 0;
}

.main_input .fc-form-body input {
  width: 100% !important;
  height: 100%;
  border: none;
  background-color: transparent;
  outline: none;
  font-family: "DM Sans", "DM_Sans_regular", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 40px;
  color: #ffffff;
  text-align: left;
}

.main_input .fc-form-body input::placeholder {
  color: #ffffff;
  opacity: 1;
}

/* 右侧红色圆按钮 — 限定作用域，避免污染 footer */
.main_input .form-actions {
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
}

.mail_btn {
  width: 42px;
  height: 42px;
  background: #cf2734;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(207, 39, 52, 0.3);
}

.mail_btn:hover {
  background: #b7202c;
  transform: scale(1.05);
}

.mail_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ---------- 响应式 ---------- */

@media screen and (max-width: 1440px) {
  .mail_box {
    padding: 70px 0 80px;
  }
  .mail .p1 {
    font-size: 32px;
    line-height: 38px;
  }
}

@media screen and (max-width: 1200px) {
  .mail_box {
    padding: 60px 0 70px;
  }
  .mail .p1 {
    font-size: 30px;
    line-height: 36px;
  }
  .mail .p2 {
    font-size: 15px;
    line-height: 36px;
    margin-top: 20px;
  }
  .main_input {
    width: 400px;
    margin-top: 32px;
  }
}

@media screen and (max-width: 992px) {
  .mail_box {
    padding: 50px 0 60px;
  }
  .mail .p1 {
    font-size: 28px;
    line-height: 34px;
  }
  .main_input {
    width: 380px;
  }
}

@media screen and (max-width: 768px) {
  .mail_box {
    padding: 44px 0 54px;
    background-position: 55% center;
  }
  .mail .p1 {
    font-size: 24px;
    line-height: 30px;
  }
  .mail .p2 {
    font-size: 14px;
    line-height: 28px;
    margin-top: 16px;
  }
  .main_input {
    width: 340px;
    height: 38px;
    margin-top: 28px;
  }
}

@media screen and (max-width: 480px) {
  .mail_box {
    padding: 40px 0 48px;
  }
  .mail .p1 {
    font-size: 20px;
    line-height: 26px;
  }
  .mail .p2 {
    font-size: 13px;
    line-height: 24px;
  }
  .main_input {
    width: 290px;
    height: 36px;
    padding-left: 16px;
  }
  .main_input .form-horizontal {
    padding-right: 40px;
  }
  .mail_btn {
    width: 40px;
    height: 40px;
  }
}
