:root {
  --primary: #1A5D1A;
  --primary-dark: #0f3d12;
  --accent: #F4D160;
  --accent-hover: #e0bb40;
  --bg-light: #f8faf8;
  --text: #333;
  --gray: #666;
  --muted: #8a8a8a;
  --line: #e8ece8;
  --white: #fff;
  --shadow: 0 18px 45px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  line-height: 1.6;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}

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

.container,
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   Shared Header
   ============================================================ */
.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #eee;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: -0.4px;
}

.brand-main {
  color: var(--primary);
  font-size: 25px;
  font-weight: 900;
}

.brand-sub {
  color: #273227;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-top: 6px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-weight: 800;
  color: #333;
  font-size: 15px;
  position: relative;
  padding: 28px 0;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: 0.25s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid #eaeaea;
}

.lang-switcher a {
  color: var(--gray);
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--primary);
}

.lang-divider {
  color: #ccc;
}

.lang-icon {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--primary);
  display: block;
  border-radius: 2px;
  transition: 0.25s ease;
}

/* ============================================================
   Hero
   ============================================================ */
.video-hero {
  position: relative;
  min-height: 700px;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 80px;
  background:
    linear-gradient(135deg, rgba(11, 61, 91, 0.85), rgba(26, 93, 26, 0.62)),
    url("../images/home-hero-rice-mill-workshop.webp") center/cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 61, 91, 0.78) 0%, rgba(26, 93, 26, 0.58) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 24px;
}

.hero-kicker::before {
  content: "";
  width: 44px;
  height: 3px;
  background: var(--accent);
}

.hero-content h1 {
  margin-bottom: 22px;
  color: #fff;
  letter-spacing: -1.6px;
}

.hero-content h1 span {
  display: block;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  font-weight: 900;
}

.hero-content h2 {
  max-width: 760px;
  font-size: 22px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 40px;
  font-weight: 450;
  letter-spacing: 0.2px;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px;
  border-radius: 4px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-mint {
  background: var(--accent);
  color: #111;
}

.btn-ghost {
  border: 2px solid #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-mint:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}

/* ============================================================
   Common Sections
   ============================================================ */
.section-padding {
  padding: 100px 0;
}

.stats-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 40px 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border-radius: 8px;
  max-width: 1100px;
  margin-inline: auto;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 25px;
}

.stat-item h3 {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 900;
}

.stat-item p {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 42px);
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 900;
  letter-spacing: -0.6px;
}

.section-header p {
  color: var(--gray);
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.solutions {
  background: var(--bg-light);
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  padding: 44px 36px;
  border-radius: 12px;
  transition: 0.25s ease;
  border-bottom: 4px solid transparent;
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-bottom-color: var(--accent);
}

.card h3 {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
}

.card p {
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 15px;
  min-height: 80px;
}

.card-link {
  color: var(--primary);
  font-weight: 900;
}

.card-link:hover {
  color: #0b3b0b;
}

/* ============================================================
   Professional Equipment Series image cards
   ============================================================ */
.series-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.series-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-bottom: 4px solid transparent;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
}

.series-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-bottom-color: var(--accent);
}

.series-image {
  height: 220px;
  background: linear-gradient(135deg, #f7fbf4, #edf5e8);
  border-bottom: 1px solid #e7efe4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

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

.series-card-body {
  padding: 30px 32px 34px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.series-card-body h3 {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 23px;
  font-weight: 900;
}

.series-card-body p {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 15px;
  min-height: 100px;
}

.series-card-body .card-link {
  margin-top: auto;
}


/* ============================================================
   Turnkey Journey
   ============================================================ */
.process-section {
  background: #fff;
}

.journey-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
}

.journey-wheel {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.central-core {
  width: 168px;
  height: 168px;
  background: var(--primary);
  border: 8px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.35;
}

.journey-step {
  position: absolute;
  width: 240px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.11);
  transition: 0.25s ease;
  border-top: 5px solid var(--primary);
  z-index: 5;
}

.journey-step:hover {
  transform: scale(1.05);
  z-index: 11;
}

.step-num {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 10px;
}

.step-title {
  font-weight: 900;
  font-size: 15px;
  color: #111;
  margin-bottom: 5px;
  display: block;
}

.step-sub {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 750;
  display: block;
}

.s1 { top: 0; left: 50%; transform: translateX(-50%); border-color: #1A5D1A; }
.s2 { top: 15%; right: 0; border-color: #247a24; }
.s3 { top: 50%; right: -50px; transform: translateY(-50%); border-color: #2e972e; }
.s4 { bottom: 15%; right: 0; border-color: #38b438; }
.s5 { bottom: 0; left: 50%; transform: translateX(-50%); border-color: #42d142; }
.s6 { bottom: 15%; left: 0; border-color: #F4D160; }
.s7 { top: 50%; left: -50px; transform: translateY(-50%); border-color: #e0bb40; }
.s8 { top: 15%; left: 0; border-color: #BF360C; }

/* ============================================================
   Why Us
   ============================================================ */
.why-us {
  background: var(--primary);
  color: #fff;
}

.why-us .section-header h2 {
  color: #fff;
}

.why-us .section-header p {
  color: #c4d7c4;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.feature-item {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.feature-item h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--accent);
  font-weight: 850;
}

.feature-item p {
  color: #e9f0e9;
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   Projects
   ============================================================ */
.cases {
  background: var(--bg-light);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  background: #e8eee8;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 93, 26, 0.95), transparent);
  padding: 70px 20px 20px;
  color: #fff;
}

.project-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--accent);
  font-weight: 850;
}

.project-info p {
  font-size: 14px;
  margin: 0;
}

/* ============================================================
   Inquiry
   ============================================================ */
.inquiry-section {
  background: #fff;
}

.form-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 50px;
  border-radius: 8px;
  border-top: 5px solid var(--accent);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--primary);
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  background: #fff;
  font: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,93,26,0.08);
}

.floating-inquiry {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 999;
  background: var(--accent);
  color: #111;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  border: 2px solid rgba(255,255,255,0.6);
}

.floating-inquiry:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   Shared Footer - Four-Column Layout, Softer Rice-Mill Colors
   ============================================================ */
.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 209, 96, 0.12), transparent 28%),
    linear-gradient(135deg, #174b26 0%, #10361f 48%, #0b2a19 100%);
  padding: 76px 0 0;
  border-top: 5px solid var(--accent);
  color: rgba(255,255,255,0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 42px;
}

.footer-card {
  min-width: 0;
}

.footer-brand {
  font-size: 28px;
  font-weight: 950;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-brand span {
  color: #d9f59d;
}

.footer-text {
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.72);
  text-align: left;
  max-width: 360px;
}

.footer-heading {
  color: #fff;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 850;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 0.04em;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--accent);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact {
  color: rgba(255,255,255,0.72);
}

.footer-contact-item {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(5, 24, 14, 0.22);
  margin-top: 50px;
  padding: 22px 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1060px) {
  .solution-cards,
  .feature-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .journey-step {
    width: 220px;
  }

  .s3 { right: -15px; }
  .s7 { left: -15px; }
}

@media (max-width: 860px) {
  .site-header {
    height: 72px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-right {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 20px;
    transition: 0.25s ease;
    border-top: 1px solid #eee;
  }

  .nav-right.open {
    transform: translateX(0);
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
  }

  .nav-item::after {
    display: none;
  }

  .lang-switcher {
    margin-top: 24px;
    justify-content: center;
  }

  .video-hero {
    margin-top: 72px;
    min-height: 620px;
    height: auto;
    padding: 110px 0;
  }

  .stats-bar {
    margin-top: 0;
    border-radius: 0;
  }

  .journey-wheel {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .central-core {
    width: auto;
    height: auto;
    min-height: 82px;
    border-radius: 12px;
    border-width: 0;
    margin-bottom: 10px;
  }

  .journey-step,
  .s1, .s2, .s3, .s4, .s5, .s6, .s7, .s8 {
    position: static;
    transform: none;
    width: 100%;
  }

  .journey-step:hover {
    transform: translateY(-3px);
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 640px) {
  .section-padding {
    padding: 70px 0;
  }

  .solution-cards,
  .feature-grid,
  .project-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 34px 26px;
  }

  .card p {
    min-height: unset;
  }

  .form-container {
    padding: 32px 22px;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .floating-inquiry {
    right: 16px;
    bottom: 16px;
  }
}


@media (max-width: 992px) {
  .series-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .series-image {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .series-cards {
    grid-template-columns: 1fr;
  }
  .series-image {
    height: 190px;
  }
  .series-card-body {
    padding: 26px 24px 30px;
  }
  .series-card-body p {
    min-height: 0;
  }
}


/* ============================================================
   Products Overview Page
   ============================================================ */
.page-hero {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(244, 209, 96, 0.22), transparent 26%),
    linear-gradient(135deg, #113a24 0%, #1A5D1A 55%, #0e341e 100%);
  color: #fff;
  padding: 92px 0 82px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 34px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 58px;
  align-items: center;
}

.page-hero-copy h1 {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
  font-weight: 950;
}

.page-hero-copy p {
  font-size: 19px;
  color: rgba(255,255,255,0.86);
  max-width: 760px;
  margin-bottom: 34px;
}

.page-hero-media {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.22);
}

.page-hero-media img {
  width: 100%;
  height: 310px;
  object-fit: contain;
}

.category-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 80px;
  z-index: 80;
  box-shadow: 0 8px 28px rgba(0,0,0,0.04);
}

.category-nav-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 14px;
  padding-bottom: 14px;
}

.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  border: 1px solid #e4ece2;
}

.category-nav a:hover {
  background: var(--primary);
  color: #fff;
}

.product-solution-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 26px;
}

.product-solution-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9eee8;
  box-shadow: 0 8px 22px rgba(0,0,0,0.045);
  transition: 0.25s ease;
}

.product-solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.1);
}

.product-solution-card.highlight-card {
  border-top: 5px solid var(--accent);
}

.product-solution-image {
  height: 250px;
  background: linear-gradient(135deg, #f6fbf4, #eaf3e6);
  border-bottom: 1px solid #e2ebdf;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-solution-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-solution-body {
  padding: 30px 30px 34px;
}


.product-solution-body h3,
.catalog-body h3 {
  color: var(--primary);
  font-size: 23px;
  line-height: 1.22;
  margin-bottom: 14px;
  font-weight: 950;
}

.product-solution-body p,
.catalog-body p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.products-catalog {
  background: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.catalog-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid #e7ede6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
  transition: 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0,0,0,0.1);
}

.catalog-image {
  background: linear-gradient(135deg, #f7fbf4, #eef6ea);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid #e2ebdf;
}

.catalog-image img {
  width: 100%;
  height: 210px;
  object-fit: contain;
}

.catalog-body {
  padding: 28px 28px 30px;
}

.model-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.model-links a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid #e3ece1;
  font-size: 12px;
  font-weight: 900;
}

.model-links a:hover {
  background: var(--primary);
  color: #fff;
}

.popular-models {
  background: var(--bg-light);
}

.model-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid #e7ede6;
  background: #fff;
}

.model-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.model-table th,
.model-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #edf1ec;
}

.model-table th {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.model-table td {
  color: var(--text);
  font-size: 14px;
}

.model-table tbody tr:hover {
  background: #fbfdf9;
}

.model-table td:first-child {
  font-weight: 850;
  color: var(--primary);
}

.model-table a {
  color: var(--primary);
  font-weight: 900;
}

.model-table a:hover {
  color: #0b3b0b;
}

.equipment-selector {
  background:
    linear-gradient(135deg, rgba(26,93,26,0.96), rgba(14,52,30,0.96)),
    url("../images/products-hero-equipment-overview.webp") center/cover no-repeat;
  color: #fff;
}

.selector-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.selector-copy h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  margin-bottom: 18px;
  font-weight: 950;
}

.selector-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  margin-bottom: 30px;
}

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

.selector-step {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 24px;
  min-height: 142px;
}

.selector-step strong {
  display: block;
  color: var(--accent);
  font-size: 26px;
  margin-bottom: 12px;
  font-weight: 950;
}

.selector-step span {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 650;
}

@media (max-width: 1060px) {
  .page-hero-grid,
  .product-solution-grid,
  .selector-layout {
    grid-template-columns: 1fr;
  }

  .product-solution-grid {
    max-width: 760px;
    margin: 0 auto;
  }

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

@media (max-width: 860px) {
  .page-hero {
    margin-top: 72px;
    padding: 72px 0 62px;
  }

  .category-nav {
    top: 72px;
  }

  .page-hero-media img {
    height: 230px;
  }
}

@media (max-width: 640px) {
  .catalog-card {
    grid-template-columns: 1fr;
  }

  .catalog-image {
    border-right: 0;
    border-bottom: 1px solid #e2ebdf;
  }

  .catalog-image img {
    height: 190px;
  }

  .selector-steps {
    grid-template-columns: 1fr;
  }

  .product-solution-image {
    height: 210px;
  }
}


/* ============================================================
   Series Page Template
   ============================================================ */
.series-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 209, 96, 0.25), transparent 28%),
    linear-gradient(135deg, #0e341e 0%, #1A5D1A 54%, #123c27 100%);
}

.series-overview {
  background: #fff;
}

.series-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 60px;
  align-items: center;
}

.series-intro-copy h2 {
  color: var(--primary);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin: 12px 0 20px;
  font-weight: 950;
}

.lead-text {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.intro-points {
  display: grid;
  gap: 14px;
}

.intro-point {
  background: var(--bg-light);
  border: 1px solid #e4ece2;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
}

.intro-point strong {
  display: block;
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 950;
}

.intro-point span {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}

.series-process-card {
  background: linear-gradient(135deg, #f7fbf4, #eef6ea);
  border: 1px solid #e1ebde;
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.series-process-card img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  margin-bottom: 22px;
}

.process-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.process-strip span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--gray);
  border: 1px solid #dfe8dc;
  font-size: 12px;
  font-weight: 900;
}

.process-strip span.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.series-models,
.selection-guide,
.series-inquiry {
  background: var(--bg-light);
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.model-group-note {
  background: #fff;
  border: 1px solid #e6eee4;
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  padding: 18px 22px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin: -22px 0 34px;
}

.model-group-note strong {
  color: var(--primary);
}

.model-group-heading {
  margin: 36px 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.model-group-heading:first-of-type {
  margin-top: 0;
}

.model-group-heading span {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 17px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.model-group-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #dfe8dc;
}

.machine-card {
  background: #fff;
  border: 1px solid #e6eee4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.045);
  transition: 0.25s ease;
}

.machine-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.1);
}

.featured-machine {
  border-top: 5px solid var(--accent);
}

.machine-image {
  height: 240px;
  background: linear-gradient(135deg, #f7fbf4, #edf6e8);
  border-bottom: 1px solid #e2ebdf;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.machine-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.machine-body {
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.machine-body .card-link {
  margin-top: auto;
}

.machine-body h3 {
  color: var(--primary);
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 12px;
  font-weight: 950;
}

.machine-body p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.72;
  margin-bottom: 22px;
}

.comparison-section,
.faq-section {
  background: #fff;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.selection-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e7ede6;
  box-shadow: 0 8px 22px rgba(0,0,0,0.045);
}

.selection-card strong {
  display: inline-flex;
  color: var(--primary);
  background: rgba(244, 209, 96, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 18px;
  font-weight: 950;
}

.selection-card h3 {
  color: var(--primary);
  font-size: 21px;
  margin-bottom: 12px;
}

.selection-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
}

.matching-equipment {
  background:
    linear-gradient(135deg, rgba(26,93,26,0.96), rgba(14,52,30,0.96)),
    url("../images/series-hero-whitener-polisher.webp") center/cover no-repeat;
  color: #fff;
}

.matching-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.matching-copy h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  margin: 12px 0 18px;
  font-weight: 950;
}

.matching-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.8;
}

.matching-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.matching-links a {
  display: flex;
  min-height: 92px;
  align-items: center;
  padding: 22px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 850;
}

.matching-links a:hover {
  background: #fff;
  color: var(--primary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.faq-card {
  background: #fff;
  border: 1px solid #e7ede6;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.045);
}

.faq-card h3 {
  color: var(--primary);
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.faq-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}

.inquiry-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e6eee4;
  box-shadow: var(--shadow);
  padding: 44px 48px;
}

.inquiry-panel h2 {
  color: var(--primary);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  margin: 10px 0 12px;
}

.inquiry-panel p {
  color: var(--gray);
  font-size: 16px;
  max-width: 700px;
}

@media (max-width: 1120px) {
  .machine-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 960px) {
  .series-intro-grid,
  .matching-layout,
  .selection-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .matching-links {
    grid-template-columns: 1fr;
  }

  .inquiry-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .machine-grid {
    grid-template-columns: 1fr;
  }

  .series-process-card img,
  .machine-image {
    height: 210px;
  }

  .inquiry-panel {
    padding: 32px 24px;
  }
}


/* ============================================================
   Product Detail Page Template
   ============================================================ */
.product-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 209, 96, 0.25), transparent 30%),
    linear-gradient(135deg, #0e341e 0%, #1A5D1A 55%, #123c27 100%);
}

.product-hero .page-hero-copy p {
  max-width: 760px;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.product-meta-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.product-hero-card {
  background: linear-gradient(135deg, #f7fbf4, #edf6e8);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
}

.product-hero-card img {
  width: 100%;
  height: 380px;
  object-fit: contain;
}

.product-hero-caption {
  margin-top: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--primary);
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid #e3ece1;
}

.product-hero-caption small {
  display: block;
  color: var(--gray);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.detail-section-white {
  background: #fff;
}

.detail-section-light {
  background: var(--bg-light);
}

.detail-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 60px;
  align-items: center;
}

.detail-copy h2,
.detail-section-title h2 {
  color: var(--primary);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin: 12px 0 20px;
  font-weight: 950;
}

.detail-copy p,
.detail-section-title p {
  color: var(--gray);
  font-size: 17px;
  line-height: 1.82;
}

.application-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.application-card,
.feature-tile,
.guide-card,
.related-card {
  background: #fff;
  border: 1px solid #e7ede6;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.045);
}

.application-card strong,
.feature-tile strong,
.guide-card strong {
  display: block;
  color: var(--primary);
  font-size: 17px;
  margin-bottom: 10px;
  font-weight: 950;
}

.application-card span,
.feature-tile span,
.guide-card span {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}

.detail-media-box {
  background: linear-gradient(135deg, #f7fbf4, #edf6e8);
  border: 1px solid #e1ebde;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.detail-media-box img {
  width: 100%;
  height: 360px;
  object-fit: contain;
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.feature-tile {
  padding: 22px;
  border-left: 5px solid var(--accent);
}

.principle-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.principle-step {
  background: #fff;
  border: 1px solid #e7ede6;
  border-radius: 16px;
  padding: 28px 24px;
  min-height: 190px;
  position: relative;
  box-shadow: 0 8px 22px rgba(0,0,0,0.045);
}

.principle-step::before {
  content: attr(data-step);
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 18px;
}

.principle-step h3 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 10px;
}

.principle-step p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.spec-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff8dd;
  border: 1px solid rgba(244, 209, 96, 0.6);
  color: #6c5600;
  font-size: 14px;
  line-height: 1.65;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.guide-card {
  border-top: 5px solid var(--accent);
}

.process-position-card {
  background: #fff;
  border: 1px solid #e1ebde;
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin-top: 36px;
}

.detail-process-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-process-strip span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--gray);
  border: 1px solid #dfe8dc;
  font-size: 13px;
  font-weight: 900;
}

.detail-process-strip span.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.related-card {
  padding: 0;
  overflow: hidden;
}

.related-card-img {
  height: 160px;
  background: linear-gradient(135deg, #f7fbf4, #edf6e8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid #e2ebdf;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.related-card-body {
  padding: 22px;
}

.related-card-body h3 {
  color: var(--primary);
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.related-card-body p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.detail-inquiry {
  background:
    linear-gradient(135deg, rgba(26,93,26,0.96), rgba(14,52,30,0.96)),
    linear-gradient(135deg, rgba(26,93,26,0.96), rgba(14,52,30,0.96));
  color: #fff;
}

.detail-inquiry-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.detail-inquiry h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  margin: 12px 0 18px;
}

.detail-inquiry p {
  color: rgba(255,255,255,0.84);
  font-size: 17px;
  line-height: 1.8;
}

.detail-form {
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.18);
}

.detail-form label {
  display: block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.detail-form input,
.detail-form select,
.detail-form textarea {
  width: 100%;
  border: 1px solid #dce6da;
  border-radius: 8px;
  padding: 14px 15px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 18px;
  font-family: inherit;
}

.detail-form textarea {
  min-height: 118px;
  resize: vertical;
}

.detail-form input:focus,
.detail-form select:focus,
.detail-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,93,26,0.12);
}

@media (max-width: 1040px) {
  .detail-two-col,
  .detail-inquiry-grid {
    grid-template-columns: 1fr;
  }

  .application-card-grid,
  .guide-grid,
  .principle-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .product-hero-card img,
  .detail-media-box img {
    height: 240px;
  }

  .application-card-grid,
  .feature-list-grid,
  .guide-grid,
  .principle-flow,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-form {
    padding: 26px 22px;
  }
}


/* ============================================================
   v3.9 Template Enhancements
   ============================================================ */
.product-trust {
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.trust-card {
  background: var(--bg-light);
  border: 1px solid #e5eee2;
  border-top: 5px solid var(--accent);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.trust-card strong {
  display: block;
  color: var(--primary);
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 12px;
  font-weight: 950;
}

.trust-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
}

.machine-difference {
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.machine-difference span {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7fbf4;
  border: 1px solid #e2ebdf;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}

.machine-difference strong {
  color: var(--primary);
}

.problem-guide {
  background: #fff;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.problem-card {
  background: var(--bg-light);
  border: 1px solid #e6eee4;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
  border-left: 5px solid var(--primary);
}

.problem-card h3 {
  color: var(--primary);
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.problem-card span {
  display: block;
  color: #6c5600;
  background: #fff8dd;
  border: 1px solid rgba(244, 209, 96, 0.55);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

.factory-gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card {
  background: #fff;
  border: 1px solid #e6eee4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.055);
}

.wide-gallery-card {
  grid-column: span 1;
}

.gallery-image {
  height: 260px;
  background: linear-gradient(135deg, #f7fbf4, #edf6e8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid #e2ebdf;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-body {
  padding: 22px 24px 26px;
}

.gallery-body h3 {
  color: var(--primary);
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.gallery-body p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .trust-grid,
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .trust-grid,
  .problem-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .popular-models .model-table-wrap {
    overflow-x: visible;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .popular-models .model-table {
    min-width: 0;
    display: block;
  }

  .popular-models .model-table thead {
    display: none;
  }

  .popular-models .model-table tbody,
  .popular-models .model-table tr,
  .popular-models .model-table td {
    display: block;
    width: 100%;
  }

  .popular-models .model-table tr {
    background: #fff;
    border: 1px solid #e6eee4;
    border-radius: 16px;
    margin-bottom: 14px;
    padding: 16px 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.045);
  }

  .popular-models .model-table td {
    padding: 10px 0;
    border-bottom: 1px solid #edf1ec;
  }

  .popular-models .model-table td:last-child {
    border-bottom: none;
  }

  .popular-models .model-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 950;
    margin-bottom: 4px;
  }

  .gallery-image {
    height: 220px;
  }
}

/* ============================================================
   v4 Typography Optimization
   Larger, steadier reading scale for B2B machinery pages.
   Structure, layout, header and footer are unchanged.
   ============================================================ */
body {
  font-size: 16px;
  line-height: 1.68;
}

.section-header p,
.page-hero-copy p,
.hero-content h2 {
  line-height: 1.75;
}

.card p,
.series-card-body p,
.feature-item p,
.product-solution-body p,
.catalog-body p,
.selector-copy p,
.selector-step span,
.intro-point span,
.model-group-note,
.machine-body p,
.selection-card p,
.matching-copy p,
.faq-card p,
.application-card span,
.feature-tile span,
.guide-card span,
.principle-step p,
.spec-note,
.problem-card p,
.problem-card span,
.trust-card p,
.gallery-body p {
  font-size: 16px;
  line-height: 1.78;
}

.detail-copy p,
.detail-section-title p,
.detail-inquiry p {
  font-size: 17px;
  line-height: 1.82;
}

.related-card-body p {
  font-size: 15px;
  line-height: 1.72;
}

.project-info p,
.footer-text,
.footer-links a,
.footer-contact-item {
  line-height: 1.75;
}

.model-table td {
  font-size: 15.5px;
  line-height: 1.65;
}

.model-table th {
  font-size: 13.5px;
}

.form-group input,
.form-group select,
.form-group textarea,
.detail-form input,
.detail-form select,
.detail-form textarea {
  font-size: 16px;
}

.btn {
  font-size: 15px;
}

.machine-body h3,
.selection-card h3 {
  font-size: 22px;
}

.faq-card h3,
.problem-card h3 {
  font-size: 20px;
}

.application-card strong,
.feature-tile strong,
.guide-card strong,
.gallery-body h3,
.trust-card strong {
  font-size: 18px;
}

@media (max-width: 680px) {
  .card p,
  .series-card-body p,
  .feature-item p,
  .product-solution-body p,
  .catalog-body p,
  .selector-copy p,
  .selector-step span,
  .intro-point span,
  .model-group-note,
  .machine-body p,
  .selection-card p,
  .matching-copy p,
  .faq-card p,
  .application-card span,
  .feature-tile span,
  .guide-card span,
  .principle-step p,
  .spec-note,
  .problem-card p,
  .problem-card span,
  .trust-card p,
  .gallery-body p {
    font-size: 16px;
    line-height: 1.76;
  }

  .popular-models .model-table td {
    font-size: 15.5px;
    line-height: 1.65;
  }
}


/* ============================================================
   v4.1 Test Package Additions: Contact / About / Projects / QA Rules
   ============================================================ */
img { max-width: 100%; }
.product-hero-card img,
.page-hero-media img,
.product-solution-image img,
.catalog-image img,
.series-image img,
.machine-image img,
.detail-media-box img,
.related-card-img img,
.project-card img,
.gallery-card img {
  object-fit: contain;
}
.project-card img {
  background: linear-gradient(135deg, #f7fbf4, #eef6ea);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.contact-info-card,
.contact-form-card,
.map-card {
  background: #fff;
  border: 1px solid #e6eee4;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.contact-info-card,
.contact-form-card {
  padding: 34px;
}
.contact-info-card h3,
.contact-form-card h3,
.map-card h3 {
  margin: 0 0 22px;
  color: var(--primary);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 950;
}
.contact-intro,
.contact-text p,
.contact-note {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #2f7c39);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(26,93,26,0.18);
}
.contact-text h4 {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 19px;
  font-weight: 950;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-control {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #dce6da;
  border-radius: 12px;
  background: #fbfcfb;
  font-size: 16px;
  color: var(--text);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,93,26,0.10);
  background: #fff;
}
textarea.form-control { resize: vertical; min-height: 150px; }
.map-card-full { grid-column: 1 / -1; }
.map-card h3 { padding: 34px 34px 0; }
.map-wrap { padding: 0 34px 34px; }
.map-frame {
  border: 0;
  width: 100%;
  height: 340px;
  border-radius: 18px;
  background: #eef4ef;
  display: block;
}
@media (max-width: 920px) {
  .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .map-wrap { padding: 0 22px 22px; }
  .map-card h3, .contact-info-card, .contact-form-card { padding-left: 22px; padding-right: 22px; }
}


/* ============================================================
   Full Site v1 Additions: generated page consistency + QA rules
   ============================================================ */
.hero-lead { color: rgba(255,255,255,0.88); max-width: 760px; font-size: 18px; line-height: 1.8; margin: 0 0 34px; }
img { max-width: 100%; }
.product-hero-card img,
.page-hero-media img,
.product-solution-image img,
.catalog-image img,
.series-image img,
.machine-image img,
.detail-media-box img,
.related-card-img img,
.project-card img,
.gallery-card img,
.series-process-card img { object-fit: contain; background: linear-gradient(135deg, #f7fbf4, #eef6ea); }
.series-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.series-card { background:#fff; border:1px solid #e6eee4; border-radius:22px; overflow:hidden; box-shadow:var(--shadow); transition:.3s; }
.series-card:hover { transform: translateY(-6px); }
.series-image { display:block; height:220px; padding:18px; background:linear-gradient(135deg,#f7fbf4,#edf5e9); }
.series-image img { width:100%; height:100%; }
.series-body { padding:24px; }
.series-body h3 { color:var(--primary); font-size:22px; margin-bottom:12px; }
.series-body p { font-size:16px; line-height:1.75; color:var(--gray); }
.responsive-table-wrap { overflow-x:auto; border-radius:18px; border:1px solid #e6eee4; background:#fff; box-shadow:var(--shadow); }
.model-table { width:100%; border-collapse: collapse; }
.model-table th, .model-table td { padding:16px 18px; border-bottom:1px solid #e6eee4; text-align:left; vertical-align:top; }
.model-table th { background:#f4f8f1; color:var(--primary); font-size:14px; text-transform:uppercase; letter-spacing:.04em; }
.model-table td { font-size:16px; color:var(--text); line-height:1.65; }
.model-table a { color:var(--primary); font-weight:800; }
.gallery-grid, .related-grid, .problem-grid, .trust-grid, .guide-grid, .application-card-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:24px; }
.related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-card, .related-card, .problem-card, .trust-card, .guide-card, .application-card { background:#fff; border:1px solid #e6eee4; border-radius:20px; overflow:hidden; box-shadow:var(--shadow); }
.gallery-card img, .related-card-img img { width:100%; height:220px; padding:16px; }
.gallery-card div, .related-card-body, .problem-card, .trust-card, .guide-card, .application-card { padding:22px; }
.gallery-card h3, .related-card h3, .problem-card h3 { color:var(--primary); font-size:20px; margin-bottom:10px; }
.gallery-card p, .related-card p, .problem-card p, .trust-card p, .guide-card span, .application-card span { font-size:16px; line-height:1.75; color:var(--gray); }
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap:30px; align-items:stretch; }
.contact-info-card, .contact-form-card, .map-card { background:#fff; border:1px solid #e6eee4; border-radius:22px; box-shadow:var(--shadow); }
.contact-info-card, .contact-form-card { padding:34px; }
.contact-info-card h3, .contact-form-card h3, .map-card h3 { margin:0 0 22px; color:var(--primary); font-size:30px; line-height:1.2; font-weight:950; }
.contact-intro, .contact-text p, .contact-note { color:var(--gray); font-size:16px; line-height:1.8; }
.contact-info-item { display:flex; align-items:flex-start; gap:18px; margin-bottom:24px; }
.contact-icon { width:52px; height:52px; border-radius:16px; background:linear-gradient(135deg,var(--primary),#2f7c39); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; box-shadow:0 8px 18px rgba(26,93,26,.18); }
.contact-text h4 { margin:0 0 6px; color:var(--primary); font-size:19px; font-weight:950; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group.full { grid-column:1 / -1; }
.form-label { display:block; margin-bottom:8px; color:var(--primary); font-size:13px; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
.form-control { width:100%; padding:15px 16px; border:1px solid #dce6da; border-radius:12px; background:#fbfcfb; font-size:16px; color:var(--text); font-family:inherit; }
.form-control:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 4px rgba(26,93,26,.10); background:#fff; }
textarea.form-control { resize:vertical; min-height:150px; }
.map-card-full { grid-column:1 / -1; }
.map-card h3 { padding:34px 34px 0; }
.map-wrap { padding:0 34px 34px; }
.map-frame { border:0; width:100%; height:340px; border-radius:18px; background:#eef4ef; display:block; }
@media (max-width: 1020px) { .series-card-grid, .gallery-grid, .trust-grid, .guide-grid, .application-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .series-card-grid, .gallery-grid, .related-grid, .problem-grid, .trust-grid, .guide-grid, .application-card-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; } .map-card-full, .form-group.full { grid-column:auto; } .map-wrap { padding:0 22px 22px; } .map-card h3, .contact-info-card, .contact-form-card { padding-left:22px; padding-right:22px; } .model-table thead { display:none; } .model-table, .model-table tbody, .model-table tr, .model-table td { display:block; width:100%; } .model-table tr { border-bottom:1px solid #e6eee4; padding:12px 0; } .model-table td { border-bottom:0; padding:9px 16px; } .model-table td::before { content: attr(data-label); display:block; font-size:12px; text-transform:uppercase; letter-spacing:.04em; font-weight:900; color:var(--primary); margin-bottom:4px; } }

/* ============================================================
   Full Site v1.1 Layout Readability Fixes
   Fixes light text in detail feature sections, FAQ accordion layout,
   and uneven related product card alignment.
   ============================================================ */

/* Detail feature cards on light/white sections should not inherit the dark Why Us text style. */
.detail-section-light .feature-grid,
.detail-section-white .feature-grid {
  gap: 24px;
}

.detail-section-light .feature-item,
.detail-section-white .feature-item {
  background: #fff;
  border: 1px solid #e6eee4;
  border-left: 5px solid var(--accent);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.055);
}

.detail-section-light .feature-item h4,
.detail-section-white .feature-item h4 {
  color: var(--primary);
  font-size: 21px;
  line-height: 1.28;
  margin-bottom: 14px;
}

.detail-section-light .feature-item p,
.detail-section-white .feature-item p {
  color: #555f55;
  font-size: 16px;
  line-height: 1.82;
}

/* FAQ: replace browser-default details list with centered accordion cards. */
.faq-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-list details {
  background: #fff;
  border: 1px solid #e4ece2;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.045);
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  position: relative;
  padding-right: 58px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(244,209,96,0.32);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 950;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 28px 24px;
  color: #555f55;
  font-size: 16px;
  line-height: 1.78;
}

/* Related pages: center small sets instead of leaving a large empty right side. */
.related-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

.related-card {
  width: 100%;
}

.related-card-img {
  height: 190px;
}

.related-card-body h3 {
  font-size: 19px;
  line-height: 1.32;
}

.related-card-body p {
  color: #5f685f;
  font-size: 16px;
  line-height: 1.72;
}

/* Keep detail section spacing steady after card-style feature blocks. */
.detail-section-light .detail-section-title,
.detail-section-white .detail-section-title {
  margin-bottom: 34px;
}

@media (max-width: 1020px) {
  .detail-section-light .feature-grid,
  .detail-section-white .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .detail-section-light .feature-grid,
  .detail-section-white .feature-grid {
    grid-template-columns: 1fr;
  }

  .faq-list summary {
    padding: 20px 22px;
    padding-right: 54px;
    font-size: 17px;
  }

  .faq-list details p {
    padding: 0 22px 22px;
  }

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

/* ============================================================
   Full Site v1.2 Related Products Last-Row Alignment Fix
   Use flex wrapping so 1–4 related cards remain visually centered.
   ============================================================ */
.related-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

.related-card {
  flex: 1 1 260px;
  max-width: 300px;
  min-width: 260px;
}

@media (max-width: 720px) {
  .related-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .related-card {
    max-width: none;
    min-width: 0;
  }
}


/* ============================================================
   Interactive Process Explorer / Processing Effect Modules
   ============================================================ */
.process-explorer-section,
.single-process-section {
  background: linear-gradient(180deg, #f8faf8 0%, #ffffff 100%);
}
.line-explorer-layout,
.single-process-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.58fr;
  gap: 28px;
  align-items: stretch;
}
.line-stage-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.line-stage-btn {
  width: 100%;
  text-align: left;
  border: 1px solid #e5ede5;
  background: #fbfdfb;
  color: #243124;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  transition: 0.25s ease;
}
.line-stage-btn:hover,
.line-stage-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(26, 93, 26, 0.18);
}
.line-stage-btn:last-child { margin-bottom: 0; }
.line-stage-content,
.single-process-steps,
.single-process-image,
.line-overview-image {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.line-stage-content { padding: 26px; }
.line-overview-image {
  overflow: hidden;
  margin-bottom: 22px;
  background: #f7faf7;
}
.line-overview-image img,
.single-process-image img {
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: contain;
  padding: 12px;
}
.line-stage-panel { display: none; }
.line-stage-panel.active { display: block; animation: fadeProcess 0.28s ease both; }
.line-stage-panel h3,
.single-process-steps h3 { color: var(--primary); margin-bottom: 10px; }
.mini-flow-diagram,
.single-process-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #f5f8f3;
  border: 1px solid #dfe8d8;
  border-radius: 18px;
  padding: 18px;
  margin: 16px 0 18px;
}
.mini-flow-diagram span,
.single-process-placeholder span,
.mini-flow-diagram strong,
.single-process-placeholder strong {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e4ece1;
  font-weight: 850;
  color: #263226;
}
.mini-flow-diagram strong,
.single-process-placeholder strong {
  color: var(--primary);
  border-color: rgba(26,93,26,.25);
  background: #edf7ed;
}
.mini-flow-diagram i,
.single-process-placeholder i {
  color: var(--accent-hover);
  font-style: normal;
  font-weight: 900;
}
.process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.process-tags span {
  background: #fff9e7;
  border: 1px solid #f2dda1;
  color: #7b6417;
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 800;
  font-size: 13px;
}
.single-process-image {
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7faf7;
}
.single-process-steps {
  padding: 24px;
  display: grid;
  gap: 14px;
}
.single-process-steps article {
  border: 1px solid #e7eee4;
  border-radius: 18px;
  padding: 18px;
  background: #fbfdfb;
}
.single-process-steps article span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  margin-bottom: 10px;
}
@keyframes fadeProcess {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .line-explorer-layout,
  .single-process-layout { grid-template-columns: 1fr; }
  .line-stage-nav { display: grid; grid-template-columns: 1fr; }
  .line-overview-image img,
  .single-process-image img { max-height: 260px; }
}


/* v2.8 refined selection guide cards */
.selection-scale-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  text-align: left;
}
.selection-scale-item {
  background: #fff;
  border: 1px solid #e6eee4;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 14px 36px rgba(27, 78, 35, 0.08);
}
.selection-scale-item strong {
  display: block;
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
}
.selection-scale-item span {
  display: block;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
}
@media (max-width: 1020px) {
  .selection-scale-list { grid-template-columns: 1fr; }
}


/* v2.10 compact homepage capability bar */
.stats-bar {
  padding: 22px 0;
  margin-top: -38px;
  max-width: 1260px;
  border-radius: 16px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}
.stat-item {
  padding: 8px 12px;
  border-right: 1px solid #e6eee4;
}
.stat-item:last-child { border-right: 0; }
.stat-item h3 {
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.15;
  margin-bottom: 6px;
}
.stat-item p {
  font-size: 11px;
  letter-spacing: 1.3px;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item { border-bottom: 1px solid #e6eee4; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: 0; }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid #e6eee4; }
  .stat-item:last-child { border-bottom: 0; }
}
/* ============================================================
   Final Fix: remove hero image white edge
   ============================================================ */
.page-hero-media {
  overflow: hidden;
}

.page-hero-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  background: transparent;
  border: none;
  display: block;
  border-radius: 8px;
}
