/* Home: Hero Banner */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 90px);
  min-height: 520px;
  max-height: 760px;
  overflow: hidden;
  background: #0f172a;
}

.hero-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 0.6s ease, transform 0.9s ease, visibility 0.6s ease;
}

.hero-slide-1 {
  background-image: linear-gradient(rgba(9, 23, 48, 0.35), rgba(9, 23, 48, 0.35)),
    url("../../images/IF500-sereis-indoor-LED-display.jpg");
}

.hero-slide-2 {
  background-image: linear-gradient(rgba(9, 23, 48, 0.38), rgba(9, 23, 48, 0.38)),
    url("../../images/OE960-Series-3D-LED-Billboard.jpg");
}

.hero-slide-3 {
  background-image: linear-gradient(rgba(9, 23, 48, 0.4), rgba(9, 23, 48, 0.4)),
    url("../../images/RX-series-rental-LED-display-1.jpg");
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.3), rgba(2, 6, 23, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  width: 100%;
  max-width: var(--section-max-width);
}

.hero-content h1,
.hero-content h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.16;
  margin: 0 0 16px;
  font-weight: 600;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.55;
  width: 100%;
  max-width: var(--section-max-width);
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 168px;
  padding: 12px 26px;
  background: var(--theme-color);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.25s ease;
}

.hero-btn:hover {
  background: var(--accent-color);
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 23, 42, 0.34);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  z-index: 3;
}

.hero-control:hover {
  background: rgba(2, 30, 67, 0.9);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-control.prev {
  left: 20px;
}

.hero-control.next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.hero-dot.active {
  width: 24px;
  border-radius: 999px;
  background: #fff;
}

main > section + section {
  margin-top: 60px;
}

/* Home: Trusted Partners */
.partners-section {
  background: #fff;
  padding: 0;
}

.partners-title {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  margin: 0 0 14px;
}

.partners-slider {
  position: relative;
}

.partners-viewport {
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.45s ease;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc((100% - (18px * 5)) / 6);
  min-height: 52px;
  text-decoration: none;
}

.partner-logo-item img {
  width: auto;
  max-height: 54px;
  height: auto;
  object-fit: contain;
}

.partners-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.partners-dot {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  border: none;
  background: #c9c9c9;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.partners-dot.active {
  background: var(--theme-color);
}

/* Home: Products & Solutions */
.product-solution-section {
  padding: 0;
}

.product-solution-intro {
  text-align: center;
}

.product-solution-intro h2 {
  font-size: 33px;
  line-height: 1.2;
  color: #333333;
  margin: 0 0 16px;
  font-weight: 500;
}

.product-solution-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.product-solution-intro p + p {
  margin-top: 6px;
}

.product-solution-cards-wrap {
  width: calc(100% - 60px);
  margin: 28px auto 0;
}

.product-solution-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.solution-card {
  background: #fafafa;
  border-radius: 12px;
  padding: 36px 30px 28px;
  text-align: center;
}

.solution-card-subtitle {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  font-weight: 600;
  margin: 0;
}

.solution-card h3 {
  margin: 4px 0 0;
  font-size: clamp(24px, 2.3vw, 33px);
  line-height: 1.2;
  color: #121212;
  font-weight: 400;
}

.solution-card > p {
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  max-width: 560px;
}

.solution-card-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  height: 42px;
  padding: 0 18px;
  background: var(--theme-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.solution-card-btn:hover {
  background: var(--accent-color);
}

.solution-card-image {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.solution-card-image img {
  width: 372px;
  height: 260px;
  max-width: 100%;
  object-fit: contain;
}

/* Home: Factory Introduction */
.factory-section {
  padding: 0;
}

.factory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.factory-layout--text-only {
  grid-template-columns: 1fr;
}

.factory-image-wrap img {
  width: 100%;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  object-fit: cover;
}

.factory-content h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.2;
  color: #333333;
  font-weight: 500;
}

.factory-content p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}

/* Home: Applications */
.applications-section {
  padding: 0 0 8px;
}

.applications-intro {
  text-align: center;
}

.applications-intro h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
  color: #333333;
}

.applications-intro p {
  margin: 14px auto 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.applications-tabs {
  margin-top: 44px;
  margin-bottom: 44px;
  display: flex;
  justify-content: center;
}

.app-tab {
  border: none;
  background: transparent;
  color: #333;
  font-size: 20px;
  line-height: 1;
  padding: 10px 25px;
  margin: 0 40px;
  border-radius: 999px;
  cursor: pointer;
}

.app-tab.active {
  background: #0059aa;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 89, 170, 0.25);
}

.applications-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.applications-card {
  background: #f4f6f8;
  padding: 36px 36px 28px;
}

.applications-card h3 {
  margin: 0;
  font-size: 46px;
  line-height: 1.15;
  color: #1f2937;
  font-weight: 500;
}

.applications-card p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #5f6670;
  max-width: 580px;
}

.applications-list {
  margin-top: 18px;
}

.applications-list li {
  color: #8a9099;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
  padding-left: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.applications-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9bfc7;
  position: absolute;
  top: 11px;
  left: 2px;
}

.applications-list li.is-active {
  color: #1f5ca8;
}

.applications-more {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
  text-decoration: none;
  font-size: 16px;
}

.applications-more-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #808791;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.applications-slider {
  position: relative;
  overflow: hidden;
}

.applications-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.applications-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
}

.applications-slide img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.applications-slide figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: #fff;
  font-size: 34px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.applications-dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 7px;
  z-index: 3;
}

.applications-dot {
  width: 7px;
  height: 7px;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.applications-dot.active {
  background: #fff;
}

/* Home: Featured Products */
.featured-products-section {
  padding: 0;
}

.featured-products-intro {
  text-align: center;
}

.featured-products-intro h2 {
  margin: 0 0 20px;
  font-size: 33px;
  font-weight: 500;
  color: #333333;
  line-height: 1.2;
}

.featured-products-intro p {
  margin: 0 auto;
  max-width: 860px;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.featured-products-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.featured-product-card {
  min-width: 0;
}

.featured-product-image {
  position: relative;
  width: 270px;
  height: 270px;
  max-width: 100%;
  margin: 0 auto 10px;
}

.featured-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-product-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  background: #16529b;
  font-weight: 600;
}

.featured-product-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #1f4f82;
  line-height: 1.2;
}

.featured-product-card p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: #555;
}

.featured-products-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Home: Why Choose */
.why-choose-section {
  padding: 0;
}

.why-choose-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  overflow: hidden;
}

.why-choose-content {
  background: #1f5ca8;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 36px 72px 34px;
}

.why-choose-content h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.why-choose-list {
  margin-top: 22px;
}

.why-choose-list li {
  font-size: 16px;
  line-height: 1.55;
  margin-top: 36px;
  position: relative;
  padding-left: 22px;
}

.why-choose-list li:first-child {
  margin-top: 0;
}

.why-choose-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  left: 0;
  top: 8px;
}

.why-choose-list li strong {
  font-weight: 600;
}

.why-choose-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  background: #f3f6fa;
  color: #1f5ca8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 2px;
}

.why-choose-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* Home: Custom Service */
.custom-service-section {
  background: #f6f6f6;
  padding: 60px 0 60px;
}

main > .custom-service-section {
  margin-top: 0;
}

.custom-service-title {
  text-align: center;
  margin: 0 0 40px;
  font-size: 33px;
  font-weight: 500;
  color: #333333;
  line-height: 1.2;
}

.custom-service-visual {
  position: relative;
}

.custom-service-image {
  width: 62%;
}

.custom-service-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.custom-service-card {
  position: absolute;
  top: 40px;
  right: 0;
  width: 48%;
  background: #fff;
  padding: 26px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.custom-service-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #1f2937;
  font-weight: 600;
}

.custom-service-card p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #4b5563;
}

.custom-service-card ul {
  margin-top: 8px;
}

.custom-service-card li {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
}

.custom-service-link {
  margin-top: 12px;
  display: inline-block;
  color: #1f4f82;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.custom-service-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.custom-service-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #9bb3cc;
  background: #ffffff;
  color: #1f4f82;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
}

/* Home: News & Video */
.news-video-section {
  padding: 0;
}

.news-video-intro {
  text-align: center;
}

.news-video-intro h2 {
  margin: 0 0 20px;
  font-size: 33px;
  font-weight: 500;
  color: #333333;
  line-height: 1.2;
}

.news-video-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.news-video-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.news-card-image {
  display: block;
}

.news-card-image img {
  width: 100%;
  max-width: 370px;
  height: 210px;
  object-fit: cover;
}

.news-card-date {
  margin: 15px 0 0;
  color: #16529b;
  font-size: 14px;
  line-height: 1.4;
}

.news-card-title {
  margin-top: 10px;
  display: inline-block;
  color: #16529b;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  text-decoration: none;
}

.news-card-desc {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.6em * 3);
}

/* Home: FAQ */
.faq-section {
  padding: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.faq-intro h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
  color: #333333;
}

.faq-intro p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #4b5563;
}

.faq-intro .hero-btn {
  margin-top: 20px;
}

.faq-list {
  border-top: 1px solid #e9edf2;
}

.faq-item {
  border-bottom: 1px solid #e9edf2;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 15px 0 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #111827;
  font-weight: 600;
  cursor: pointer;
}

.faq-question i {
  color: #16529b;
  font-size: 18px;
}

.faq-answer {
  display: none;
  padding: 0 0 14px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 8px 0 0;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.55;
}

/* Home: Trusted Events slider */
.trusted-events-section {
  background: #16529b;
  color: #fff;
  padding: 22px 0;
}

.trusted-events-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.trusted-events-intro h3 {
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
}

.trusted-events-intro p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.trusted-events-swiper .swiper-slide {
  width: auto;
}

.trusted-events-swiper img {
  width: 150px;
  height: 75px;
  object-fit: cover;
}

/* Home: Successful Cases */
.successful-cases-section {
  padding: 6px 0 4px;
}

.successful-cases-intro {
  text-align: center;
}

.successful-cases-intro h2 {
  margin: 0;
  font-size: 33px;
  line-height: 1.2;
  color: #1f2937;
  font-weight: 500;
}

.successful-cases-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #6b7280;
}

.successful-cases-intro p:first-of-type {
  margin-top: 30px;
}

.successful-cases-intro p + p {
  margin-top: 4px;
}

.successful-cases-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.successful-case-item {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
}

.successful-case-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.successful-case-item:hover img {
  transform: scale(1.04);
}

.successful-cases-cta {
  margin-top: 30px;
  text-align: center;
}

/* Home: Get In Touch */
.get-in-touch-section {
  padding: 0;
}

.get-in-touch-layout {
  display: grid;
  grid-template-columns: 570px minmax(0, 1fr);
  min-height: 360px;
}

.get-in-touch-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.get-in-touch-content {
  background: #16529b;
  color: #fff;
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.get-in-touch-content h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.2;
}

.get-in-touch-content p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.get-in-touch-btn {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 276px;
  height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  text-decoration: none;
  color: #16529b;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #02050a;
  color: #fff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 34px;
}

.footer-col h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  padding-bottom: 20px;
}

.footer-col h3::before {
  content: "- ";
  color: #3b82f6;
}

.footer-col p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col ul {
  margin-top: 14px;
}

.footer-col li {
  margin-top: 10px;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
}

.footer-col a:hover {
  color: #3b82f6;
}

.footer-socials {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  font-size: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list i {
  margin-top: 4px;
  color: #fff;
  font-size: 16px;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 14px 10px 16px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

/* Inquiry Modal */
.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.inquiry-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.inquiry-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.inquiry-modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 430px);
  background: #fff;
  padding: 16px 16px 14px;
  border-radius: 3px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.inquiry-modal-close {
  position: absolute;
  top: -30px;
  right: -24px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  z-index: 3;
}

@media (max-width: 768px) {
  .inquiry-modal-close {
    top: 8px !important;
    right: 8px !important;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    font-size: 22px;
    line-height: 1;
  }
}

.inquiry-modal-dialog h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
  color: #0f172a;
  font-weight: 600;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* CF7 compatibility: keep legacy inquiry modal look */
.inquiry-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inquiry-form .wpcf7-form p {
  margin: 0;
}

.inquiry-form .wpcf7-form label {
  display: block;
  font-size: 0;
  line-height: 1;
}

.inquiry-form .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: none;
  background: #f1f3f6;
  padding: 12px 12px;
  font-size: 15px;
  color: #111827;
  outline: none;
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 64px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.inquiry-form .wpcf7-form .wpcf7-submit {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 3px;
  background: #1f5ca8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.inquiry-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #b9c1cb;
  min-height: 48px;
  color: #1f5ca8;
  font-size: 16px;
  cursor: pointer;
}

.inquiry-upload input[type="file"] {
  display: none;
}

.inquiry-upload span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Use :has for modern browsers to style CF7 upload row */
.inquiry-form .wpcf7-form label:has(input[type="file"]) {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  border: 1px dashed #b9c1cb;
  min-height: 48px;
  color: #1f5ca8;
  cursor: pointer;
}

.inquiry-form .wpcf7-form label:has(input[type="file"]) input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.inquiry-form .wpcf7-form label:has(input[type="file"]) .wpcf7-form-control-wrap {
  position: static;
}

.inquiry-form .wpcf7-form label:has(input[type="file"]) span {
  pointer-events: none;
}

.inquiry-form .wpcf7-form .cf7-upload-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 12px;
  color: #1f5ca8;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inquiry-submit-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 3px;
  background: #1f5ca8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.cases-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cases-lightbox.is-open {
  display: flex;
}

.cases-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
}

.cases-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1080px);
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}

.cases-lightbox-dialog img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.cases-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  cursor: pointer;
}

/* Home responsive */
@media (max-width: 1024px) and (min-width: 769px) {
  .featured-product-image {
    width: 100%;
    height: auto;
  }
  main > section + section {
    margin-top: 44px;
  }

  .hero-slider {
    min-height: 460px;
    height: 62vh;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: clamp(34px, 4vw, 42px);
  }

  .partners-track {
    gap: 14px;
  }

  .partner-logo-item {
    flex-basis: calc((100% - (14px * 3)) / 4);
  }

  .product-solution-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .factory-layout {
    grid-template-columns: 1fr;
  }

  .applications-tabs {
    margin-top: 26px;
    margin-bottom: 26px;
  }

  .app-tab {
    margin: 0 14px;
    font-size: 18px;
  }

  .applications-content {
    grid-template-columns: 1fr;
  }

  .featured-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .successful-cases-intro h2 {
    font-size: 34px;
  }

  .successful-cases-intro p {
    font-size: 16px;
  }

  .successful-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .successful-case-item img {
    height: 210px;
  }

  .why-choose-layout,
  .custom-service-visual,
  .faq-layout,
  .trusted-events-layout,
  .get-in-touch-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .custom-service-image,
  .custom-service-card {
    width: 100%;
  }

  .custom-service-card {
    position: static;
    margin-top: 12px;
  }

  .news-video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card-image img {
    max-width: none;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .featured-product-image {
    width: 100%;
    height: auto;
  }

  main > section + section {
    margin-top: 32px;
  }

  .hero-slider {
    height: 72vh;
    min-height: 420px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .hero-content p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-control {
    width: 36px;
    height: 36px;
  }

  .hero-control.prev {
    left: 10px;
  }

  .hero-control.next {
    right: 10px;
  }

  .partners-section {
    padding: 0;
  }

  .partners-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .partners-track {
    gap: 12px;
  }

  .partner-logo-item {
    flex-basis: calc((100% - (12px * 2)) / 3);
  }

  .product-solution-section {
    padding: 0;
  }

  .product-solution-intro h2 {
    font-size: 26px;
  }

  .product-solution-intro p {
    font-size: 14px;
    line-height: 1.7;
  }

  .product-solution-cards-wrap {
    width: calc(100% - 30px);
    margin-top: 20px;
  }

  .product-solution-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .solution-card {
    padding: 24px 18px 20px;
  }

  .solution-card h3 {
    font-size: 30px;
  }

  .solution-card > p {
    font-size: 14px;
  }

  .factory-section {
    padding: 0;
  }

  .factory-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }



  .factory-content h2 {
    font-size: 26px;
  }

  .factory-content p {
    font-size: 14px;
    margin-top: 10px;
  }

  .applications-section {
    padding: 0;
  }

  .applications-intro h2 {
    font-size: 26px;
  }

  .applications-intro p {
    font-size: 14px;
    margin-top: 10px;
  }

  .app-tab {
    font-size: 16px;
    padding: 8px 12px;
    margin: 0;
  }

  .applications-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    margin-bottom: 22px;
  }

  .applications-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .applications-card {
    padding: 22px 16px 18px;
  }

  .applications-card h3 {
    font-size: 36px;
  }

  .applications-card p,
  .applications-list li,
  .applications-more {
    font-size: 14px;
  }

  .applications-slide img {
    min-height: 260px;
  }

  .applications-slide figcaption {
    font-size: 24px;
    left: 12px;
    bottom: 10px;
  }

  .featured-products-intro h2 {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .featured-products-intro p {
    font-size: 14px;
  }

  .featured-products-grid {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .featured-product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 8px;
  }

  .featured-product-card h3 {
    font-size: 20px;
  }

  .featured-product-card p {
    font-size: 13px;
  }

  .why-choose-layout {
    grid-template-columns: 1fr;
  }

  .why-choose-content {
    padding: 50px 30px 50px;
  }

  .why-choose-content h2 {
    font-size: 26px;
  }

  .why-choose-list {
    margin-top: 14px;
  }

  .why-choose-list li {
    font-size: 14px;
    margin-top: 10px;
  }

  .why-choose-btn {
    height: 36px;
    font-size: 14px;
    margin-top: 16px;
  }

  .why-choose-image img {
    min-height: 260px;
  }

  .custom-service-title {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .custom-service-section {
    padding: 24px 0 18px;
  }

  .custom-service-image {
    width: 100%;
  }

  .custom-service-card {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 18px 14px;
  }

  .custom-service-card h3 {
    font-size: 14px;
  }

  .custom-service-card p,
  .custom-service-card li {
    font-size: 14px;
  }

  .custom-service-actions {
    margin-top: 16px;
    flex-direction: column;
    align-items: center;
  }

  .custom-service-secondary-btn,
  .custom-service-actions .hero-btn {
    width: 100%;
    max-width: 280px;
  }

  .news-video-intro h2 {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .news-video-intro p {
    font-size: 14px;
  }

  .news-video-grid {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .news-card-image img {
    max-width: none;
    height: 200px;
  }

  .news-card-date {
    font-size: 13px;
  }

  .news-card-title {
    font-size: 18px;
  }

  .news-card-desc {
    font-size: 14px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-intro h2 {
    font-size: 26px;
  }

  .faq-intro p {
    font-size: 14px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .trusted-events-section {
    padding: 16px 0;
  }

  .trusted-events-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trusted-events-intro h3 {
    font-size: 30px;
  }

  .trusted-events-intro p {
    font-size: 14px;
  }

  .successful-cases-intro h2 {
    font-size: 26px;
  }

  .successful-cases-intro p {
    font-size: 14px;
  }

  .successful-cases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .successful-case-item img {
    height: 220px;
  }

  .get-in-touch-layout {
    grid-template-columns: 1fr;
  }

  .get-in-touch-image img {
    min-height: 220px;
  }

  .get-in-touch-content {
    padding: 20px 16px;
  }

  .get-in-touch-content h2 {
    font-size: 26px;
  }

  .get-in-touch-content p {
    font-size: 14px;
    margin-top: 12px;
  }

  .get-in-touch-btn {
    min-width: 0;
    width: 100%;
    font-size: 15px;
    height: 42px;
    margin-top: 16px;
  }

  .site-footer {
    margin-top: 32px;
    padding-top: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-col h3 {
    font-size: 24px;
  }

  .footer-col p,
  .footer-col a,
  .footer-col span {
    font-size: 14px;
  }

  .footer-bottom {
    margin-top: 20px;
  }

  .inquiry-modal-dialog h3 {
    font-size: 20px;
  }

  .inquiry-submit-btn {
    font-size: 15px;
  }
}

