
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

.thriwa-factory-capabilities,
.thriwa-factory-capabilities * {
  box-sizing: border-box;
}

.thriwa-factory-capabilities {
  --thriwa-text: #222222;
  --thriwa-muted: #5d6470;
  --thriwa-brand: #9b1c31;
  --thriwa-brand-dark: #741426;
  --thriwa-border: #dfe3e8;
  --thriwa-soft: #f6f7f9;
  --thriwa-dark: #19202d;
  width: calc(100vw - 32px);
  max-width: 1440px;
  margin-inline: auto;
  /* 注:旧版 margin:0 0 0 50% + translateX(-50%) 在 RTL 下会因 margin-left 被丢弃
     导致整体左移约 720px,已改用逻辑属性居中, LTR/RTL 表现一致 */
  color: var(--thriwa-text);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.thriwa-factory-capabilities p,
.thriwa-factory-capabilities li,
.thriwa-factory-capabilities td,
.thriwa-factory-capabilities dd {
  color: var(--thriwa-text);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.thriwa-factory-capabilities p {
  margin: 0 0 18px;
}

.thriwa-factory-capabilities a {
  color: var(--thriwa-brand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.thriwa-factory-capabilities a:hover {
  color: var(--thriwa-brand-dark);
}

.thriwa-factory-capabilities h1,
.thriwa-factory-capabilities h2,
.thriwa-factory-capabilities h3 {
  margin-top: 0;
  color: var(--thriwa-text);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.thriwa-factory-capabilities h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.thriwa-factory-capabilities h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.thriwa-factory-capabilities h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.3;
}

.thriwa-factory-capabilities ul,
.thriwa-factory-capabilities ol {
  margin: 0 0 20px;
  padding-left: 26px;
}

.thriwa-factory-capabilities li + li {
  margin-top: 8px;
}

.thriwa-hero {
  padding: clamp(34px, 6vw, 76px) clamp(22px, 6vw, 72px);
  border-radius: 16px;
  background: linear-gradient(135deg, #171d29 0%, #391c28 62%, #82182c 145%);
}

.thriwa-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.thriwa-hero-copy {
  min-width: 0;
}

.thriwa-hero h1,
.thriwa-hero p {
  max-width: 960px;
  color: #ffffff;
}

.thriwa-hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  margin: 0;
  padding: 14px 16px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transform: translateY(10px);
  text-decoration: none !important;
}

.thriwa-hero-logo img {
  display: block;
  width: min(220px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(1.18);
  transform-origin: center;
}

.thriwa-hero p {
  margin-bottom: 0;
  color: #f1f2f5;
  font-size: 19px;
}

.thriwa-eyebrow {
  margin-bottom: 12px !important;
  color: #f2c96c !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.thriwa-section {
  padding: clamp(42px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--thriwa-border);
}

.thriwa-section:last-child {
  border-bottom: 0;
}

.thriwa-section-intro {
  max-width: 980px;
}

.thriwa-table-scroll {
  width: 100%;
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--thriwa-border);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.thriwa-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  background: #ffffff;
}

.thriwa-table th,
.thriwa-table td {
  padding: 16px;
  border-inline-end: 1px solid var(--thriwa-border);
  border-bottom: 1px solid var(--thriwa-border);
  text-align: left;
  vertical-align: top;
}

.thriwa-table th:last-child,
.thriwa-table td:last-child {
  border-inline-end: 0;
}

.thriwa-table tr:last-child td {
  border-bottom: 0;
}

.thriwa-table th {
  color: var(--thriwa-text);
  background: #eef1f4;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.thriwa-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.thriwa-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.thriwa-step {
  padding: 24px;
  border: 1px solid var(--thriwa-border);
  border-radius: 12px;
  background: var(--thriwa-soft);
}

.thriwa-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--thriwa-brand);
  font-size: 16px;
  font-weight: 700;
}

.thriwa-step p:last-child {
  margin-bottom: 0;
}

.thriwa-machine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.thriwa-machine {
  padding: 18px;
  border: 1px solid var(--thriwa-border);
  border-radius: 10px;
  background: #fafbfc;
}

.thriwa-machine img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 7px;
  background: #eef1f4;
}

.thriwa-machine-content {
  padding: 0;
}

.thriwa-machine-content h3 {
  margin: 14px 0 8px;
  color: #7d1729;
  font-size: 1.18rem;
  line-height: 1.35;
}

.thriwa-machine dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 7px 10px;
  margin: 12px 0 0;
}

.thriwa-machine dt {
  color: #3e4758;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.thriwa-machine dd {
  margin: 0;
}

.thriwa-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.thriwa-category-grid li {
  display: flex;
  align-items: center;
  min-height: 74px;
  margin: 0 !important;
  padding: 16px 18px;
  border: 1px solid var(--thriwa-border);
  border-radius: 10px;
  background: var(--thriwa-soft);
}

.thriwa-category-grid a {
  color: var(--thriwa-text);
  text-decoration: none;
}

.thriwa-category-grid a:hover {
  color: var(--thriwa-brand);
}

.thriwa-trust {
  padding: 28px;
  border-left: 5px solid var(--thriwa-brand);
  border-radius: 0 12px 12px 0;
  background: var(--thriwa-soft);
}

.thriwa-trust p:last-child {
  margin-bottom: 0;
}

.thriwa-cta {
  padding: clamp(30px, 5vw, 54px);
  border-radius: 16px;
  color: #ffffff;
  background: var(--thriwa-dark);
}

.thriwa-cta h2,
.thriwa-cta p {
  max-width: 920px;
  color: #ffffff;
}

.thriwa-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.thriwa-cta .thriwa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  color: var(--thriwa-brand-dark);
  background: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.thriwa-cta .thriwa-button-secondary {
  color: #ffffff;
  background: transparent;
}

.thriwa-cta a.thriwa-button.themes_box_inquiry_button_alert {
  border-radius: 8px !important;
  cursor: pointer;
}

.thriwa-cta .thriwa-button:hover,
.thriwa-cta .thriwa-button:focus-visible {
  border-color: var(--thriwa-brand);
  color: #ffffff;
  background: var(--thriwa-brand);
  outline: none;
}

.thriwa-cta .thriwa-button-secondary:hover,
.thriwa-cta .thriwa-button-secondary:focus-visible {
  border-color: #ffffff;
  color: var(--thriwa-brand-dark);
  background: #ffffff;
  outline: 3px solid rgba(255, 255, 255, 0.28);
  outline-offset: 3px;
}

.thriwa-faq {
  border-top: 1px solid var(--thriwa-border);
}

.thriwa-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--thriwa-border);
}

.thriwa-faq-item h3 {
  margin-bottom: 10px;
}

.thriwa-faq-item p:last-child {
  margin-bottom: 0;
}

.thriwa-source-layout {
  padding: clamp(42px, 6vw, 72px) 0;
}

.thriwa-source-layout h2 {
  margin: 64px 0 22px;
  padding-top: 56px;
  border-top: 1px solid var(--thriwa-border);
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.22;
}

.thriwa-source-layout > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.thriwa-source-layout > p {
  max-width: 1100px;
  margin: 0;
}

.thriwa-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 28px 0 0;
}

.thriwa-process-step {
  padding: 24px;
  border: 1px solid var(--thriwa-border);
  border-radius: 12px;
  background: var(--thriwa-soft);
}

.thriwa-process-step h3 {
  margin-bottom: 10px;
  color: #7d1729;
}

.thriwa-process-step p:last-child {
  margin-bottom: 0;
}

.thriwa-source-layout .cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 28px 0 0;
}

.thriwa-source-layout .machine {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--thriwa-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(25, 32, 45, 0.06);
}

.thriwa-source-layout .machine img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 7px;
  background: #e9edf2;
}

.thriwa-source-layout .machine h3 {
  margin: 14px 0 8px;
  color: #7d1729;
  font-size: 1.18rem;
  line-height: 1.35;
}

.thriwa-source-layout .machine dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 7px 10px;
  margin: 12px 0 0;
}

.thriwa-source-layout .machine dt {
  color: #3e4758;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.thriwa-source-layout .machine dd {
  margin: 0;
}

@media (max-width: 860px) {
  .thriwa-steps {
    grid-template-columns: 1fr;
  }

  .thriwa-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .thriwa-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .thriwa-hero-logo {
    grid-row: 1;
    width: auto;
    max-width: 190px;
    padding: 10px 14px;
    justify-self: end;
    transform: none;
  }

  .thriwa-hero-logo img {
    width: min(160px, 44vw);
    transform: scale(1.12);
  }

  .thriwa-hero-copy {
    grid-row: 2;
  }

  .thriwa-source-layout .cap-grid {
    grid-template-columns: 1fr;
  }

  .thriwa-process-grid {
    grid-template-columns: 1fr;
  }

  .thriwa-source-layout .machine dl {
    grid-template-columns: 1fr;
  }

  .thriwa-source-layout .machine dd {
    margin-bottom: 6px;
  }

  .thriwa-machine-grid {
    grid-template-columns: 1fr;
  }

  .thriwa-machine dl {
    grid-template-columns: 1fr;
  }

  .thriwa-machine dd {
    margin-bottom: 6px;
  }
}

@media (max-width: 560px) {
  .thriwa-factory-capabilities {
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
  }

  .thriwa-factory-capabilities,
  .thriwa-factory-capabilities p,
  .thriwa-factory-capabilities li,
  .thriwa-factory-capabilities td,
  .thriwa-factory-capabilities dd {
    font-size: 18px;
  }

  .thriwa-hero {
    border-radius: 10px;
  }

  .thriwa-category-grid {
    grid-template-columns: 1fr;
  }

  .thriwa-cta-actions,
  .thriwa-cta .thriwa-button {
    width: 100%;
  }
}
