.inquiry-form input, .inquiry-form textarea {
  background-color: #ffffff;
}

.factory-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.factory-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../../images/LED-screen-supplier-banner.jpg") center / cover no-repeat;
  overflow: hidden;
}

.factory-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.35);
}

.factory-hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  padding: 22px 20px 24px;
  background: rgba(17, 24, 39, 0.28);
}

.factory-hero-content h1 {
  margin: 0;
  font-size: 50px;
  line-height: 1.15;
  font-weight: 600;
  color: #ffffff;
}

.factory-hero-content p {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.96);
}

.factory-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-width: 220px;
  height: 46px;
  padding: 0 24px;
  background: #1354a3;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.factory-hero-btn:hover {
  background: #0f478a;
}

.factory-overview {
  padding: 58px 0;
}

.factory-overview-intro h2 {
  margin: 0;
  text-align: center;
  font-size: 33px;
  line-height: 1.2;
  font-weight: 500;
  color: #111827;
}

.factory-overview-content {
  margin: 24px auto 0;
  max-width: 980px;
}

.factory-overview-content p {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: #4b5563;
}

.factory-feature-row {
  padding: 56px 0;
}

.factory-feature-row.is-white {
  background: #ffffff;
}

.factory-feature-row.is-gray {
  background: #f6f6f6;
}

.factory-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.factory-feature-grid.is-reverse {
  direction: rtl;
}

.factory-feature-grid.is-reverse > * {
  direction: ltr;
}

.factory-feature-text h3 {
  margin: 0;
  font-size: 33px;
  line-height: 1.2;
  font-weight: 500;
  color: #111827;
}

.factory-feature-text p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: #4b5563;
}

.factory-feature-media {
  margin: 0;
}

.factory-feature-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.factory-feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-width: 220px;
  height: 46px;
  padding: 0 18px;
  background: #1354a3;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.25s ease;
}

.factory-feature-btn:hover {
  background: #0f478a;
}

.factory-process {
  padding: 56px 0 64px;
  background: #ffffff;
}

.factory-process-header {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.factory-process-header h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
  color: #111827;
}

.factory-process-header h2 span {
  color: #1354a3;
}

.factory-process-divider {
  display: inline-block;
  width: 64px;
  height: 3px;
  background: #1354a3;
  margin-top: 14px;
}

.factory-process-header p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.factory-process-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.factory-process-card {
  min-width: 0;
  text-align: center;
}

.factory-process-media {
  display: block;
  overflow: hidden;
  background: #ffffff;
}

.factory-process-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.factory-process-media:hover img {
  transform: scale(1.04);
}

.factory-process-card h3 {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  color: #111827;
}

.factory-process-body {
  margin-top: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 16px 14px 18px;
}

.factory-process-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

.factory-process-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 38px;
  padding: 0 16px;
  background: #1354a3;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 2px;
  transition: background-color 0.25s ease;
}

.factory-process-btn:hover {
  background: #0f478a;
}

.factory-trusted {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../../images/LED-display-screen-facory-1.jpg") center / cover no-repeat;
  overflow: hidden;
}

.factory-trusted-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
}

.factory-trusted-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  padding: 22px 20px 24px;
  background: rgba(17, 24, 39, 0.28);
}

.factory-trusted-content h2 {
  margin: 0;
  font-size: 46px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
}

.factory-trusted-content p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.factory-trusted-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 42px;
  padding: 0 18px;
  background: #1354a3;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: 2px;
  transition: background-color 0.25s ease;
}

.factory-trusted-btn:hover {
  background: #0f478a;
}

.factory-tour-tabs {
  padding: 56px 0 64px;
  background: #eeeeee;
}

.factory-tour-header {
  text-align: center;
}

.factory-tour-header h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
  color: #111827;
}

.factory-tour-divider {
  display: inline-block;
  width: 64px;
  height: 3px;
  background: #1354a3;
  margin-top: 14px;
}

.factory-tour-panel {
  margin-top: 22px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.factory-tour-tablist {
  display: flex;
  gap: 26px;
  padding: 16px 18px 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 30px;
}

.factory-tour-tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 10px 0 12px;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.factory-tour-tab.is-active {
  color: #1354a3;
  border-bottom-color: #1354a3;
}

.factory-tour-tabpanels {
  padding: 18px;
}

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

.factory-tour-item {
  margin: 0;
  text-align: center;
}

.factory-tour-thumb {
  width: 100%;
  height: 240px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.factory-tour-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.factory-tour-thumb:hover img {
  transform: scale(1.04);
}

.factory-tour-item figcaption {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #111827;
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.image-preview-modal.is-open {
  display: block;
}

.image-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.6);
  border: none;
  padding: 0;
}

.image-preview-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 28px));
  background: #ffffff;
  padding: 14px;
}

.image-preview-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(17, 24, 39, 0.65);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.image-preview-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: #0b1220;
}

.factory-inquiry {
  padding: 56px 0 64px;
  background: #ffffff;
}

.factory-inquiry h2 {
  margin: 0 0 18px;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
  color: #111827;
}

.factory-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.factory-inquiry-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.factory-inquiry-form input,
.factory-inquiry-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  padding: 12px 12px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 4px;
  outline: none;
}

.factory-inquiry-form textarea {
  resize: vertical;
  min-height: 180px;
}

.factory-inquiry-upload {
  display: grid;
  place-items: center;
  border: 1px dashed #cbd5e1;
  padding: 14px 12px;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.factory-inquiry-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.factory-inquiry-upload span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.factory-inquiry-submit {
  justify-self: end;
  min-width: 170px;
  height: 38px;
  border: none;
  border-radius: 2px;
  background: #1354a3;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.factory-inquiry-video {
  position: relative;
  border: 1px solid #e5e7eb;
  min-height: 420px;
  overflow: hidden;
}

.factory-inquiry-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.15);
  pointer-events: none;
}

.factory-inquiry-video-btn {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.factory-inquiry-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.factory-inquiry-play::before {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 16px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  filter: drop-shadow(0 2px 2px rgba(15, 23, 42, 0.25));
}

.factory-visit-note {
  padding: 56px 0 64px;
  background: #ffffff;
}

.factory-visit-note-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.factory-visit-brand {
  font-size: 22px;
  font-weight: 600;
  color: #1354a3;
}

.factory-visit-note-inner h2 {
  margin: 10px 0 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
  color: #111827;
}

.factory-visit-note-inner p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
}

@media (max-width: 1024px) {
  .factory-container {
    width: min(1200px, calc(100% - 32px));
  }

  .factory-hero {
    min-height: 360px;
  }

  .factory-hero-content h1 {
    font-size: 40px;
  }

  .factory-hero-content p {
    font-size: 24px;
  }

  .factory-hero-btn {
    min-width: 200px;
    height: 42px;
    font-size: 18px;
  }

  .factory-overview {
    padding: 44px 0;
  }

  .factory-overview-intro h2 {
    font-size: 30px;
  }

  .factory-overview-content p,
  .factory-feature-text p {
    font-size: 16px;
  }

  .factory-feature-row {
    padding: 44px 0;
  }

  .factory-feature-grid {
    gap: 26px;
  }

  .factory-feature-text h3 {
    font-size: 30px;
  }

  .factory-feature-btn {
    min-width: 196px;
    height: 42px;
    font-size: 16px;
  }

  .factory-process {
    padding: 44px 0 52px;
  }

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

  .factory-trusted {
    min-height: 260px;
  }

  .factory-tour-tabs {
    padding: 44px 0 52px;
  }

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

  .factory-inquiry {
    padding: 44px 0 52px;
  }

  .factory-inquiry-video {
    min-height: 360px;
  }

  .factory-visit-note {
    padding: 44px 0 52px;
  }
}

@media (max-width: 768px) {
  .factory-container {
    width: min(1200px, calc(100% - 24px));
  }

  .factory-hero {
    min-height: 280px;
  }

  .factory-hero-content {
    width: min(980px, calc(100% - 24px));
    padding: 16px 14px 18px;
  }

  .factory-hero-content h1 {
    font-size: 30px;
  }

  .factory-hero-content p {
    margin-top: 8px;
    font-size: 18px;
  }

  .factory-hero-btn {
    margin-top: 14px;
    min-width: 164px;
    height: 38px;
    font-size: 15px;
  }

  .factory-overview {
    padding: 36px 0;
  }

  .factory-overview-intro h2 {
    font-size: 26px;
  }

  .factory-overview-content {
    margin-top: 16px;
  }

  .factory-overview-content p,
  .factory-feature-text p {
    font-size: 14px;
    line-height: 1.65;
  }

  .factory-feature-row {
    padding: 34px 0;
  }

  .factory-feature-grid,
  .factory-feature-grid.is-reverse {
    direction: ltr;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .factory-feature-text h3 {
    font-size: 26px;
  }

  .factory-feature-btn {
    margin-top: 14px;
    min-width: 170px;
    height: 38px;
    font-size: 14px;
  }

  .factory-process {
    padding: 34px 0 42px;
  }

  .factory-process-header p {
    font-size: 14px;
  }

  .factory-process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .factory-trusted {
    min-height: 220px;
  }

  .factory-trusted-content {
    width: min(980px, calc(100% - 24px));
    padding: 16px 14px 18px;
  }

  .factory-trusted-content p {
    font-size: 14px;
  }

  .factory-trusted-btn {
    min-width: 180px;
    height: 38px;
    font-size: 14px;
  }

  .factory-tour-tabs {
    padding: 34px 0 42px;
  }

  .factory-tour-tablist {
    gap: 18px;
    padding-left: 14px;
    padding-right: 14px;
    overflow-x: auto;
  }

  .factory-tour-tabpanels {
    padding: 14px;
  }

  .factory-tour-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .factory-inquiry {
    padding: 34px 0 42px;
  }

  .factory-inquiry-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .factory-inquiry h2,
  .factory-visit-note-inner h2 {
    font-size: 26px;
  }

  .factory-inquiry-video {
    min-height: 240px;
  }

  .factory-visit-note {
    padding: 34px 0 42px;
  }
}

@media (max-width: 768px) {
  .factory-overview-intro h2,
  .factory-process-header h2,
  .factory-trusted-content h2,
  .factory-tour-header h2,
  .factory-inquiry h2,
  .factory-visit-note-inner h2 {
    font-size: 26px;
  }
}
