:root {
  --bg: #f6f1e8;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.78);
  --text: #1d2417;
  --muted: #5c6652;
  --line: rgba(35, 55, 25, 0.12);
  --green-900: #123d22;
  --green-800: #1d4f2f;
  --green-700: #2c6137;
  --green-600: #3f6e37;
  --gold-300: #e6cd92;
  --gold-400: #d9b35d;
  --gold-500: #c89a39;
  --shadow: 0 20px 50px rgba(21, 40, 20, 0.14);
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1200px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(222, 194, 134, 0.18), transparent 30%),
    linear-gradient(180deg, #fcfaf5 0%, var(--bg) 100%);
  font-family: "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.topbar-inner,
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-inner {
  min-height: 42px;
  gap: 18px;
}

.topbar-contact,
.topbar-lang {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 61, 34, 0.08);
}

.navbar-inner {
  min-height: 108px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  width: 76px;
  height: 76px;
  color: #6f8a31;
  flex: none;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: clamp(1.8rem, 2vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-copy span {
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(16px, 1.7vw, 34px);
  font-size: 1rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7e9f35, var(--gold-400));
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay,
.page-hero-media,
.page-hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(9, 20, 8, 0.6) 0%, rgba(9, 20, 8, 0.35) 32%, rgba(9, 20, 8, 0.02) 100%),
    url("./福豆五穀國際貿易圖片/首頁/S__29221018_0.jpg") center/cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 34%, rgba(198, 154, 57, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(10, 15, 8, 0.08) 0%, rgba(10, 15, 8, 0.18) 100%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
}

.hero-content {
  padding: 140px 0 240px;
}

.eyebrow,
.section-kicker,
.breadcrumb {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.8rem, 5.1vw, 5.4rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hero h2 {
  margin: 18px 0 0;
  max-width: none;
  font-size: clamp(1.25rem, 2.35vw, 2.55rem);
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
}

.hero-line {
  width: 84px;
  height: 4px;
  margin: 26px 0 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #87a348, var(--gold-400));
}

.hero-text {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(14, 31, 15, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #5c7826 0%, #7e9f35 100%);
  color: #fff;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #dfc175 0%, var(--gold-500) 100%);
  color: #17311f;
}

.hero-highlights {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(17, 40, 19, 0.8);
  backdrop-filter: blur(10px);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item:last-child {
  border-right: 0;
}

.highlight-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(217, 179, 93, 0.55);
  border-radius: 50%;
  color: #d9d8a7;
  font-size: 1.55rem;
  flex: none;
}

.highlight-item h3 {
  margin: 0;
  font-size: 1.15rem;
}

.highlight-item p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 88px 0;
}

.about-section {
  padding-bottom: 48px;
}

.products-section {
  padding-top: 48px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.4));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2,
.about-copy h2,
.value-intro h2,
.page-section h2,
.cta-panel h2 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.15;
  color: #1f3e26;
}

.no-wrap-title {
  white-space: nowrap;
}

.text-link {
  color: #305b38;
  font-weight: 800;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-card,
.media-card,
.page-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-card img,
.media-card img,
.page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy p,
.page-section p,
.timeline-content p,
.contact-card p,
.spec-list li,
.doc-list li,
.check-list li,
.news-item p {
  color: var(--muted);
}

.about-copy p {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.about-points,
.spec-list,
.doc-list,
.check-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-points {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.about-points li,
.spec-list li,
.doc-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
}

.about-points li::before,
.spec-list li::before,
.doc-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e8b2e, var(--gold-400));
}

.product-grid,
.news-grid,
.grid-3,
.grid-4,
.stats-grid,
.card-grid,
.check-grid,
.contact-grid,
.news-list {
  display: grid;
  gap: 24px;
}

.product-grid,
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-grid,
.grid-3,
.card-grid,
.stats-grid,
.check-grid,
.news-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.product-card,
.news-card,
.info-card,
.stat-card,
.contact-card,
.news-item,
.spec-card,
.process-card,
.check-card,
.page-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 54, 29, 0.08);
  box-shadow: 0 18px 40px rgba(38, 51, 28, 0.08);
}

.product-card img,
.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-body,
.news-body,
.info-card,
.stat-card,
.contact-card,
.news-item,
.spec-card,
.process-card,
.check-card {
  padding: 22px 22px 24px;
}

.product-body h3,
.news-body h3,
.info-card h3,
.stat-card h3,
.contact-card h3,
.news-item h3,
.spec-card h3,
.process-card h3,
.check-card h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #213924;
}

.product-body p,
.news-body p,
.news-body time,
.product-body span,
.info-card p,
.stat-card p,
.contact-card p,
.news-item time,
.news-item p {
  color: var(--muted);
}

.product-body p,
.news-body p,
.info-card p,
.stat-card p,
.contact-card p,
.news-item p {
  margin: 12px 0 0;
}

.product-body span,
.news-item time {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.value-band {
  background:
    linear-gradient(135deg, rgba(10, 49, 26, 0.98) 0%, rgba(17, 66, 34, 0.98) 100%),
    url("./福豆五穀國際貿易圖片/採購優勢/S__29221111.jpg") center/cover no-repeat;
  color: #fff;
}

.value-grid {
  display: grid;
  grid-template-columns: 1.95fr repeat(5, minmax(0, 1fr));
  gap: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-intro,
.value-item {
  padding: 38px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.value-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.value-item:last-child {
  border-right: 0;
}

.section-kicker-light {
  color: rgba(223, 193, 117, 0.92);
}

.value-intro h2 {
  color: #fff8e6;
  max-width: 100%;
  font-size: clamp(1.7rem, 2vw, 2.75rem);
  line-height: 1.22;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
}

.value-item h3 {
  margin: 0 0 10px;
  color: #f4ddb0;
  font-size: 1.28rem;
}

.value-item p {
  margin: 0;
  line-height: 1.6;
}

.value-item p,
.footer-about,
.footer-links a,
.footer-links li {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 420px;
}

.page-hero-content {
  padding: 110px 0 92px;
}

.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 28, 14, 0.72) 0%, rgba(12, 28, 14, 0.34) 50%, rgba(12, 28, 14, 0.12) 100%),
    linear-gradient(180deg, rgba(198, 154, 57, 0.08), rgba(0, 0, 0, 0.18));
}

.page-hero h1 {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  line-height: 1.08;
  font-weight: 900;
}

.page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.82);
}

.page-section {
  padding: 82px 0;
}

.two-col-grid,
.content-split,
.content-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 34px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(28, 54, 29, 0.08);
}

.timeline-year {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--green-700);
}

.timeline-content h3,
.table-wrap h3 {
  margin: 0 0 6px;
  color: #213924;
}

.stats-grid {
  margin-top: 26px;
}

.stat-card strong {
  display: block;
  color: var(--green-700);
  font-size: 2.1rem;
  font-weight: 900;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: #213924;
  font-weight: 700;
}

.card-stack {
  display: grid;
  gap: 24px;
}

.table-wrap {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid rgba(28, 54, 29, 0.08);
  box-shadow: 0 18px 40px rgba(38, 51, 28, 0.08);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.spec-table th,
.spec-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(35, 55, 25, 0.1);
  vertical-align: top;
}

.spec-table th {
  width: 28%;
  color: #213924;
  font-weight: 800;
}

.spec-table td {
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  text-align: center;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b8f30, var(--gold-400));
  color: #fff;
  font-weight: 900;
}

.check-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-item img,
.page-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-item h3 {
  margin-top: 8px;
}

.contact-map {
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 56, 29, 0.98), rgba(34, 91, 44, 0.96));
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-map h3,
.cta-panel h2 {
  color: #fff;
}

.contact-map h3 {
  font-size: 2rem;
  margin: 10px 0 14px;
}

.contact-map p,
.contact-map li {
  color: rgba(255, 255, 255, 0.84);
}

.contact-map p,
.contact-map li {
  font-size: 1.1rem;
  line-height: 1.8;
}

.cta-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(18, 61, 34, 0.98), rgba(33, 94, 47, 0.98)),
    url("./福豆五穀國際貿易圖片/首頁/S__29221018_0.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.84);
  margin: 14px 0 0;
}

.cta-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.site-footer {
  background: #0f341d;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  gap: 42px;
  padding: 54px 0;
}

.footer-brand .brand-mark {
  color: #d7b15c;
}

.footer-about {
  max-width: 360px;
  margin: 18px 0 0;
}

.site-footer h3 {
  margin: 0 0 18px;
  font-size: 1.1rem;
  color: #f4ddb0;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 18px;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .navbar-inner,
  .about-grid,
  .footer-grid,
  .value-grid,
  .two-col-grid,
  .content-split,
  .content-grid,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .navbar-inner {
    display: grid;
    padding: 18px 0;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .highlights-grid,
  .product-grid,
  .news-grid,
  .grid-4,
  .grid-3,
  .stats-grid,
  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-item,
  .value-intro,
  .highlight-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .about-section {
    padding-bottom: 40px;
  }

  .products-section {
    padding-top: 40px;
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(100% - 32px, 1000px);
  }

  .topbar {
    display: none;
  }

  .navbar {
    position: relative;
  }

  .navbar-inner {
    display: grid;
    gap: 14px;
    min-height: auto;
    padding: 16px 0 14px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-copy {
    gap: 4px;
  }

  .brand-copy strong {
    font-size: 2.2rem;
  }

  .brand-copy span {
    font-size: 0.88rem;
  }

  .brand-copy small {
    font-size: 0.76rem;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 18px;
    padding: 0 2px 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    flex: 0 0 auto;
    font-size: 0.94rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 54px 0 34px;
  }

  .eyebrow,
  .breadcrumb {
    margin-bottom: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
    line-height: 1.14;
  }

  .hero h2 {
    margin-top: 14px;
    font-size: clamp(0.92rem, 3.2vw, 1.1rem);
    line-height: 1.3;
  }

  .hero-line {
    margin: 18px 0 20px;
  }

  .hero-text {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-actions,
  .section-head,
  .highlights-grid,
  .product-grid,
  .news-grid,
  .grid-4,
  .grid-3,
  .stats-grid,
  .check-grid,
  .contact-grid,
  .news-list,
  .process-grid,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
  }

  .hero-highlights {
    position: relative;
    margin-top: 26px;
  }

  .highlight-item {
    padding: 18px 0;
    gap: 14px;
  }

  .highlight-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .section,
  .page-section {
    padding: 64px 0;
  }

  .about-section {
    padding-bottom: 28px;
  }

  .products-section {
    padding-top: 28px;
  }

  .section-head {
    gap: 10px;
  }

  .section-head h2,
  .about-copy h2,
  .value-intro h2,
  .page-section h2,
  .cta-panel h2 {
    font-size: 1.9rem;
  }

  .no-wrap-title {
    white-space: normal;
  }

  .value-intro h2 {
    font-size: 1.8rem;
  }

  .about-grid,
  .footer-grid,
  .two-col-grid,
  .content-split,
  .content-grid {
    gap: 28px;
  }

  .product-card img,
  .news-card img,
  .news-item img,
  .page-card img {
    height: 210px;
  }

  .page-hero {
    min-height: 320px;
  }

  .page-hero-content {
    padding: 72px 0 62px;
  }

  .page-hero h1 {
    font-size: 2.3rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .spec-table th {
    padding-top: 16px;
  }
}
