/* FMIEN English site responsive/style patch
   Load after reset.css, head.css and fmien.css. */

:root {
  --primary: #84a846;
  --primary-dark: #668a32;
  --ink: #1c2419;
  --text: #3b4037;
  --muted: #71786a;
  --line-soft: #e5eadf;
  --surface: #ffffff;
  --surface-soft: #f6f8f2;
  --shadow-soft: 0 18px 45px rgba(24, 34, 18, .10);
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, "Helvetica Neue", Helvetica, "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.container {
  width: min(92%, 1600px);
  max-width: 1600px;
  padding-left: 0;
  padding-right: 0;
}

/* Header */


/* Hero */
.fmen-banner {
  height: min(100vh, 920px);
  min-height: 680px;
  background: #111;
}

.banner-img {
  background-position: center;
}

.banner-overlay {
  background:
    linear-gradient(90deg, rgba(0,0,0,.44) 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28));
}

.banner-inner {
  max-width: min(800px, 58%);
  margin-left: clamp(32px, 9vw, 170px);
  padding-bottom: clamp(90px, 8vw, 145px);
  align-items: flex-end;
}

.bannerGreen {
  width: 100%;
  padding: clamp(28px, 3vw, 46px) clamp(28px, 4vw, 64px);
  background: linear-gradient(90deg, rgba(132,168,70,.92), rgba(255,255,255,.68) 78%, rgba(255,255,255,0));
}

.bannerGreen h1 {
  color: var(--ink);
  font-size: clamp(30px, 4.1vw, 42px);
  line-height: 1.12;
}

.bannerGreen h1 span {
  color: #fff;
}

.bannerGreen p {
  max-width: 620px;
  color: #20251d;
  font-size: clamp(15px, 1.35vw, 21px);
  line-height: 1.65;
}

.banner-pagination {
  left: clamp(32px, 9vw, 170px) !important;
  bottom: 46px !important;
}

.banner-arrow {
  border-color: rgba(255,255,255,.72);
  background: rgba(0,0,0,.12);
}

/* Shared headings */
.fmen-head {
  width: min(92%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.fmen-label,
.fmen-about-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.fmen-label img,
.fmen-about-label img {
  width: 20px;
  margin-right: 0;
}

.fmen-title,
.fmen-about-title {
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
  text-transform: uppercase;
}

.fmen-title span,
.fmen-about-title span {
  color: var(--primary);
}

/* About */
.fmen-about {
  min-height: auto;
  background: #fff;
}

.fmen-about-main {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: auto;
}

.fmen-about-img {
  min-height: clamp(460px, 42vw, 680px);
}

.fmen-about-content {
  padding: clamp(70px, 8vw, 140px) clamp(46px, 8vw, 140px) clamp(70px, 7vw, 120px) clamp(44px, 5vw, 90px);
}

.fmen-about-title {
  margin-bottom: clamp(28px, 4vw, 56px);
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.16;
  text-transform: uppercase;
}

.fmen-about-title span {
  display: inline;
  margin-right: .25em;
}

.fmen-about-text {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.9;
  text-align: left;
}

.fmen-about-btn,
.fmen-contact-btn,
.fmen-submit-btn {
  border-radius: 6px;
}

.fmen-about-adv {
  padding: clamp(48px, 5vw, 78px) 4vw;
}

.fmen-adv-list {
  min-height: 0;
  gap: 24px;
}

.fmen-adv-item {
  transform: none;
  padding: 0 12px;
}

.fmen-adv-title {
  min-height: 54px;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.45;
  text-transform: capitalize;
}

/* Product */
.fmen-product {
  padding: clamp(58px, 6vw, 96px) 0;
  background: #fff;
}

.fmen-scene {
  height: clamp(440px, 42vw, 700px);
  border-radius: 0;
  background: #dfe6df;
}

.fmen-bg {
  background-position: center;
}

.fmen-series-nav {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.fmen-series-item {
  min-width: 0;
  padding: 24px 16px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.fmen-series-item::before {
  opacity: .32;
  background: rgba(20,30,20,.48);
}

.fmen-series-item.active::before,
.fmen-series-item:hover::before {
  background: rgba(28,45,22,.72);
}

.fmen-series-cn {
  max-width: 180px;
  margin: 0 auto;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.25;
  text-align: center;
  word-break: normal;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.fmen-product-box {
  width: min(92%, 1516px);
  min-height: 0;
  padding: 28px 58px;
  margin-top: -82px;
  background: var(--surface-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.fmen-product-card {
  height: 350px;
  justify-content: space-between;
  padding: 28px 22px 24px;
  color: var(--ink);
}

.fmen-product-card .profile,
.profile {
  width: 100%;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.fmen-product-card .profile img,
.profile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fmen-product-card .line {
  width: 42px;
  height: 2px;
  margin: 0 auto 12px;
  background: var(--primary);
}

.fmen-product-card h3 {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.fmen-productSwiper .swiper-wrapper:empty {
  min-height: 260px;
}

.fmen-productSwiper .swiper-wrapper:empty::before {
  content: "Products are being updated";
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 16px;
}

/* News */
.fmen-news-section {
  padding: clamp(56px, 6vw, 90px) 0 clamp(50px, 5vw, 76px);
  background: #f8faf5;
}

.fmen-news-section .container {
  width: min(92%, 1600px);
}

.fmen-news-swiper {
  overflow: hidden;
}

.fmen-news-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(34, 45, 28, .06);
}

.fmen-news-img {
  height: auto;
  aspect-ratio: 1.55 / 1;
  border-radius: 0;
}

.fmen-news-info {
  padding: 24px 24px 28px;
}

.fmen-news-info h3 {
  min-height: 56px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fmen-news-info p:empty {
  display: none;
}

.fmen-news-btn {
  margin-top: 22px;
  width: 150px;
  height: 44px;
  color: var(--primary-dark);
  background: #fff;
}

.fmen-news-bottom {
  margin-top: 44px;
}

.arrow-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dark);
}

.arrow-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Contact */
.fmen-contact-section {
  min-height: auto;
  padding: clamp(58px, 6vw, 92px) 0;
  position: relative;
}

.fmen-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.52);
  pointer-events: none;
}

.fmen-contact-wrap {
  position: relative;
  z-index: 1;
  width: min(92%, 1580px);
  grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 84px);
}

.fmen-contact-text .fmen-about-title {
  margin-bottom: 24px;
}

.fmen-contact-text h3 {
  color: var(--ink);
  line-height: 1.45;
}

.fmen-contact-text p {
  width: auto;
  max-width: 430px;
  color: var(--muted);
}

.fmen-form-box {
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.fmen-form-grid {
  gap: 18px;
}

.fmen-form-box input,
.fmen-form-box textarea,
.input-text {
  border: 1px solid var(--line-soft);
  background: #f9faf7;
  color: var(--ink);
}

.fmen-form-box input:focus,
.fmen-form-box textarea:focus {
  border-color: var(--primary);
  background: #fff;
}

/* Footer */
.footer {
  background: #2e332b;
}

.footer-main,
.footer-info {
  width: min(92%, 1580px);
}

.footer-nav {
  gap: clamp(22px, 4vw, 78px);
  flex-wrap: wrap;
}

.footer-contact p {
  color: rgba(255,255,255,.86);
  overflow-wrap: anywhere;
}

.copyright {
  height: auto;
  min-height: 58px;
  grid-template-columns: 1.5fr .7fr 1fr .7fr;
  gap: 18px;
  padding: 14px 0;
  line-height: 1.5;
}

/* Large and tablet */
@media (max-width: 1440px) {


  .fmen-product-box {
    width: 92%;
  }
}

@media (max-width: 1200px) {
  /*.header {*/
  /*  height: 64px;*/
  /*  padding: 0 18px;*/
  /*}*/

  /*.header-box {*/
  /*  width: 100%;*/
  /*}*/

  /*.header .left {*/
  /*  width: auto;*/
  /*  min-width: 0;*/
  /*}*/

  /*.header .left a {*/
  /*  height: 64px;*/
  /*}*/

  /*.header .left a img {*/
  /*  max-height: 46px;*/
  /*}*/

  /*.header #navToggle {*/
  /*  display: flex;*/
  /*  height: 64px;*/
  /*  padding: 0 6px;*/
  /*  margin-right: 0;*/
  /*}*/

  .fmen-banner {
    height: 72vh;
    min-height: 560px;
  }

  .banner-inner {
    max-width: 70%;
    margin-left: 6vw;
    padding-bottom: 92px;
  }

  .banner-pagination {
    left: 6vw !important;
  }

  .fmen-about-main,
  .fmen-contact-wrap {
    grid-template-columns: 1fr;
  }

  .fmen-about-img {
    min-height: 420px;
  }

  .fmen-adv-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fmen-scene {
    height: auto;
  }

  .fmen-series-nav {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fmen-series-item {
    height: 220px;
  }

  .fmen-product-box {
    margin-top: 28px;
    padding: 26px 54px;
  }

  .footer-main {
    height: auto;
    padding: 34px 0;
    gap: 28px;
  }

  .copyright {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .fmen-banner {
    height: 64vh;
    min-height: 500px;
  }

  .banner-inner {
    max-width: 86%;
  }

  .bannerGreen {
    background: linear-gradient(90deg, rgba(132,168,70,.94), rgba(255,255,255,.76));
  }

  .fmen-about-content {
    padding: 58px 6vw;
  }

  .fmen-adv-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmen-news-card {
    border-radius: 10px;
  }

}

@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .m_nav {
    max-width: none;
  }

  .fmen-banner {
    height: 78vh;
    min-height: 520px;
  }

  .banner-inner {
    max-width: 92%;
    margin-left: 4%;
    padding-bottom: 76px;
  }

  .bannerGreen {
    padding: 24px 24px;
  }

  .bannerGreen h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .bannerGreen p {
    display: block;
    font-size: 14px;
    line-height: 1.55;
  }

  .banner-pagination {
    left: 4% !important;
    right: 4% !important;
    bottom: 28px !important;
  }

  .fmen-about-img {
    min-height: 310px;
  }

  .fmen-about-title {
    font-size: 31px;
  }

  .fmen-about-content::before {
    opacity: .75;
  }

  .fmen-adv-list {
    gap: 30px 16px;
  }

  .fmen-adv-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
  }

  .fmen-product {
    padding: 48px 0 58px;
  }

  .fmen-series-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmen-series-item {
    height: 168px;
    padding: 20px 12px;
  }

  .fmen-series-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
  }

  .fmen-series-cn {
    font-size: 16px;
  }

  .fmen-product-box {
    width: 100%;
    padding: 20px 42px;
    border-radius: 10px;
  }

  .fmen-product-card {
    height: 318px;
  }

  .fmen-product-card .profile,
  .profile {
    height: 200px;
  }

  .fmen-news-section {
    padding-top: 46px;
  }

  .fmen-news-track {
    gap: 30px;
  }

  .fmen-news-info {
    padding: 20px;
  }

  .fmen-news-info h3 {
    min-height: auto;
  }

  .fmen-news-bottom {
    margin-top: 32px;
    gap: 16px;
  }

  .fmen-contact-section {
    padding: 48px 0;
    background-position: center;
  }

  .fmen-contact-text .fmen-contact-btn {
    margin-top: 28px;
  }

  .fmen-form-box {
    padding: 24px 18px;
  }

  .fmen-form-grid {
    grid-template-columns: 1fr;
  }

  .fmen-form-box textarea {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .fmen-banner {
    min-height: 500px;
  }

  .banner-inner {
    max-width: 94%;
    margin-left: 3%;
  }

  .bannerGreen {
    padding: 20px;
  }

  .bannerGreen::before {
    width: 3px;
  }

  .fmen-about-content {
    padding: 46px 5vw;
  }

  .fmen-about-title {
    font-size: 28px;
  }

  .fmen-about-text {
    font-size: 14px;
    line-height: 1.8;
  }

  .fmen-adv-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fmen-adv-title {
    min-height: 0;
  }

  .fmen-series-item {
    height: 144px;
  }

  .fmen-product-box {
    padding: 18px 34px;
  }

  .fmen-productSwiper .swiper-button-next,
  .fmen-productSwiper .swiper-button-prev {
    width: 34px;
    height: 34px;
  }

  .fmen-productSwiper .swiper-button-prev {
    left: 5px;
  }

  .fmen-productSwiper .swiper-button-next {
    right: 5px;
  }

  .fmen-news-btn {
    width: 140px;
  }

}
