/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  min-height: 640px;
  position: relative;
  background: #edf1f4 url('../images/hero-background.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-inner {
  width: min(92%, var(--container-max));
  margin: auto;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-base);
  font-size: clamp(36px, 4.2vw, 68px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0f172a;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--red);
  margin-top: 4px;
}

.hero p {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.68;
  color: #475569;
  letter-spacing: 0.25px;
  max-width: 780px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@media (max-width: 1150px) {
  .hero {
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    min-height: 580px;
    padding: 0;
  }
  .hero h1 { font-size: clamp(34px, 4vw, 52px); }
  .hero p { max-width: 580px; font-size: 17px; }
}

@media (max-width: 760px) {
  .hero {
    height: auto;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    background-position: 65% center;
    padding: clamp(48px, 10vh, 72px) 0;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
  }
  .hero-inner { position: relative; width: min(92%, var(--container-max)); }
  .hero h1 { font-size: clamp(30px, 6.8vw, 44px); line-height: 1.2; }
  .hero p { font-size: 16px; line-height: 1.6; margin-top: 20px; max-width: 480px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 28px; gap: 14px; flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 28px; }
  .hero-actions { gap: 12px; }
}

/* ==========================================================================
   Homepage Product Range
   ========================================================================== */
.products-section {
  padding: clamp(80px, 6.5vw, 110px) 0;
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), #f4f7fb url('../images/index-pro-bg.png') center / cover no-repeat;
  color: #101b2a;
}

.products-heading {
  width: min(92%, var(--container-max));
  margin: 0 auto clamp(40px, 3.5vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.products-intro {
  min-width: 0;
  max-width: 860px;
}

.products-eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.products-eyebrow::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.products-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 2.8vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.products-intro h2 span {
  color: var(--red);
}

.products-description {
  margin: 0;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.68;
  color: #5f6b7c;
  letter-spacing: 0.2px;
}

.products-view-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #1e293b;
  padding-bottom: 6px;
  transition: color 0.2s ease;
}

.products-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.25s ease;
}

.products-view-all:hover {
  color: var(--red);
}

.products-view-all:hover .products-arrow {
  background: var(--red-dark);
  transform: translateX(4px);
}

.products-grid {
  width: min(92%, var(--container-max));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  border-bottom: 3px solid var(--red);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(21, 44, 77, 0.05);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.product-card:hover::after {
  left: 160%;
}

.product-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 357 / 269;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover > img {
  transform: scale(1.06);
}

.product-card-info {
  min-height: 104px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.product-card h3 {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: #1e293b;
  transition: color 0.2s ease;
}

.product-card:hover h3 {
  color: var(--red);
}

.product-card-arrow {
  flex: 0 0 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(21, 44, 77, 0.13);
}

.product-card:hover .product-card-arrow {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateX(3px) scale(1.05);
}

@media (max-width: 1450px) {
  .products-grid { gap: 16px; }
  .product-card-info { padding: 16px; }
  .products-break { display: none; }
}

@media (max-width: 1150px) {
  .products-heading { align-items: flex-start; gap: 24px; }
  .products-view-all { font-size: 14px; gap: 10px; }
  .products-arrow { width: 38px; height: 38px; font-size: 13px; }
  .products-eyebrow { font-size: 12px; letter-spacing: 1.8px; }
  .products-eyebrow::after { width: 60px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 760px) {
  .products-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
  .products-intro h2 { font-size: clamp(28px, 6.5vw, 38px); }
  .products-eyebrow { gap: 10px; margin-bottom: 12px; font-size: 11px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .product-card-info { padding: 14px 16px; min-height: 80px; }
  .product-card h3 { font-size: 15px; }
  .product-card-arrow { flex-basis: 32px; height: 32px; font-size: 12px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card-info { min-height: 84px; padding: 18px 20px; }
  .product-card h3 { font-size: 18px; }
  .product-card-arrow { flex-basis: 38px; height: 38px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .product-card-arrow, .products-arrow { transition: none; }
  .product-card:hover { transform: none; }
}

/* ==========================================================================
   Company Introduction (About Section)
   ========================================================================== */
.about-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f7f9fb url('../images/about-factory.png') center / cover no-repeat;
  color: #101b2a;
  min-height: clamp(680px, 48vw, 840px);
  display: flex;
  align-items: center;
}

.about-inner {
  width: min(92%, var(--container-max));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  align-items: center;
  gap: clamp(32px, 3.5vw, 64px);
  padding: clamp(72px, 6vw, 108px) 0;
  position: relative;
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
}

.about-eyebrow {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.about-eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.about-content h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 2.8vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #101b2a;
}

.about-content h2 span {
  color: var(--red);
}

.about-subtitle {
  margin: 0 0 20px;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #64748b;
}

.about-description {
  margin: 0;
  color: #475569;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.72;
  letter-spacing: 0.2px;
  max-width: 620px;
}

.about-action {
  margin-top: 26px;
}

.about-button {
  min-width: 160px;
  height: 48px;
  padding: 0 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  gap: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(108deg, var(--red-dark) 0%, var(--red-dark) 50%, var(--red) 50.1%, var(--red) 100%);
  background-size: 240% 100%;
  background-position: right bottom;
  color: #fff;
  border: 1px solid var(--red);
  transition: background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-button:hover {
  background-position: left bottom;
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(215, 25, 32, 0.25);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid #edf2f7;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 16px;
  position: relative;
  min-width: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-stat:hover {
  transform: translateY(-4px);
}

.about-stat:first-child {
  padding-left: 0;
}

.about-stat + .about-stat {
  border-left: 1px solid #eef2f6;
}

.about-stat-icon {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-bottom: 14px;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-stat:hover .about-stat-icon {
  transform: scale(1.15) rotate(4deg);
}

.about-stat dt {
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.2px;
  color: #0f172a;
  white-space: nowrap;
}

.about-stat dt small {
  font-size: 0.75em;
  font-weight: 700;
}

.about-stat dd {
  margin: 4px 0 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.35;
  white-space: nowrap;
}

.stat-dash {
  width: 18px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s;
}

.about-stat:hover .stat-dash {
  width: 38px;
  background: var(--red-dark);
}

/* Right visual */
.about-visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0;
}

.about-visual-media {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid #fff;
  box-shadow: 0 16px 36px #172b4140;
}

.about-visual-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.about-video-trigger {
  position: absolute;
  top: 54.5%;
  left: 51.1%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 90px);
  height: clamp(64px, 7vw, 90px);
  border-radius: 50%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(20px, 2.2vw, 26px);
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.about-video-trigger:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px rgba(215, 25, 32, 0.4);
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-active {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 46, 0.88);
  backdrop-filter: blur(4px);
}

.video-modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 960px;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.video-modal video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}

@media (max-width: 1200px) {
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .about-stat { padding: 0 10px; border-left: 0; }
  .about-stat:nth-child(even) { border-left: 1px solid #eef2f6; }
}

@media (max-width: 960px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: clamp(50px, 7vw, 70px) 0;
  }
  .about-content {
    width: 100%;
    max-width: 720px;
    margin: auto;
  }
  .about-visual {
    width: 100%;
    max-width: 720px;
    margin: auto;
    max-height: 500px;
  }
  .about-visual-media img {
    height: auto;
    max-height: 500px;
    object-fit: contain;
  }
}

@media (max-width: 540px) {
  .about-content h2 { font-size: 30px; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .about-stat { padding: 0; border-left: 0 !important; }
  .about-stat dt { font-size: 18px; }
  .about-button { width: auto; align-self: stretch; }
}
/* ==========================================================================
   Application Areas
   ========================================================================== */
.applications-section {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 6.5vw, 110px) 0;
  background: #edf2f6 url('../images/index-app-bg.png') center center / cover no-repeat fixed;
  color: #101b2a;
}

.applications-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  pointer-events: none;
  z-index: -1;
}

.applications-inner {
  width: min(92%, var(--container-max));
  margin: auto;
}

.applications-heading {
  text-align: center;
  margin-bottom: clamp(40px, 3.5vw, 56px);
}

.applications-eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.applications-eyebrow::before,
.applications-eyebrow::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.applications-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 2.8vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.applications-heading h2 span {
  color: var(--red);
}

.applications-heading .applications-description,
.applications-heading p:not(.applications-eyebrow) {
  margin: 0 auto;
  max-width: 680px;
  color: #5f6b7c;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.68;
  letter-spacing: 0.2px;
}

.applications-grid {
  --application-gap: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--application-gap);
}

.application-card {
  flex: 0 0 calc((100% - 3 * var(--application-gap)) / 4);
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(38, 63, 89, 0.06);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s ease;
  display: flex;
  flex-direction: column;
}

.application-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 121 / 78;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.application-card:hover > img {
  transform: scale(1.08);
}

.application-card-info {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.application-card h3 {
  margin: 0;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: #1e293b;
  transition: color 0.35s ease;
}

.application-card:hover h3 {
  color: var(--red);
}

.application-arrow {
  flex: 0 0 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 12px;
  color: var(--red);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.application-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(38, 63, 89, 0.14);
}

.application-card:hover .application-arrow {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateX(4px);
}



@media (max-width: 1150px) {
  .applications-grid { --application-gap: 16px; }
  .application-card-info { padding: 14px 16px; min-height: 72px; }
  .application-arrow { flex-basis: 28px; height: 28px; font-size: 11px; }
}

@media (max-width: 760px) {
  .applications-heading { margin-bottom: 28px; }
  .applications-heading h2 { font-size: clamp(26px, 6vw, 34px); }
  .applications-heading h2::before, .applications-heading h2::after { width: 30px; }
  .applications-heading h2::before { margin-right: 14px; }
  .applications-heading h2::after { margin-left: 14px; }
  .application-card { flex-basis: calc((100% - var(--application-gap)) / 2); }
  .application-card-info { min-height: 72px; padding: 12px 14px; }
  .application-card h3 { font-size: 14px; }
}

@media (max-width: 480px) {
  .applications-inner { width: 90%; }
  .application-card { flex-basis: 100%; }
  .application-card-info { padding: 16px 18px; min-height: 74px; }
  .application-card h3 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .application-card, .application-arrow { transition: none; }
  .application-card:hover { transform: none; }
}

/* ==========================================================================
   Manufacturing & Quality
   ========================================================================== */
.manufacturing-section {
  padding-top: clamp(80px, 6.5vw, 110px);
  background: #fff;
  color: #101b2a;
}

.section-container {
  width: min(92%, var(--container-max));
  margin: auto;
}

.section-heading {
  text-align: center;
  margin-bottom: clamp(40px, 3.5vw, 56px);
}

.manufacturing-eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.manufacturing-eyebrow::before,
.manufacturing-eyebrow::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 2.8vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-heading h2 span {
  color: var(--red);
}

.section-heading .manufacturing-description,
.section-heading p:not(.manufacturing-eyebrow) {
  margin: 0 auto;
  color: #5f6b7c;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 1.68;
  letter-spacing: 0.2px;
  max-width: 720px;
}

.manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.manufacturing-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s ease;
}

.manufacturing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(21, 44, 77, 0.12);
}

.manufacturing-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.35;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.manufacturing-card:hover img {
  transform: scale(1.08);
}

.manufacturing-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(200, 16, 32, 0.95), rgba(200, 16, 32, 0.8));
  color: #fff;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.25px;
  text-align: center;
  transition: padding 0.5s ease, background 0.5s ease;
}

.manufacturing-card:hover figcaption {
  padding: 18px 18px;
  background: linear-gradient(to top, rgba(215, 25, 32, 0.98), rgba(215, 25, 32, 0.88));
}

.quality-strip {
  margin-top: 50px;
  padding: 48px 0;
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.quality-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  transition: transform 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.quality-item:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.quality-item > i {
  color: var(--red);
  font-size: 38px;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.quality-item:hover > i {
  transform: scale(1.18) rotate(6deg);
}

.quality-item h3 {
  margin: 0 0 6px;
  font-size: clamp(16px, 1.05vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: #0f172a;
}

.quality-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   Latest News
   ========================================================================== */
.news-section { padding: clamp(80px, 6.5vw, 110px) 0 clamp(60px, 5vw, 80px); background: #fff; color: #0c2343; }
.news-section .section-container { width: min(92%, var(--container-max)); margin: auto; }
.news-heading { text-align: center; margin-bottom: clamp(40px, 3.5vw, 56px); }
.news-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 14px; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 2.2px; text-transform: uppercase; color: var(--red); }
.news-eyebrow::before, .news-eyebrow::after { content: ''; width: 40px; height: 2px; background: var(--red); border-radius: 1px; }
.news-heading h2 { margin: 0 0 14px; font-size: clamp(32px, 2.8vw, 46px); font-weight: 800; line-height: 1.2; letter-spacing: 0.5px; text-transform: uppercase; }
.news-heading h2 span { color: var(--red); }
.news-intro { margin: 0 auto; color: #5f6b7c; font-size: clamp(14.5px, 1.05vw, 16.5px); line-height: 1.68; letter-spacing: 0.2px; max-width: 720px; }
.news-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: stretch; }
.news-feature {
  position: relative;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1a3048;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s ease;
}

.news-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 35, 60, 0.22);
}

.news-feature > a { display: block; position: relative; height: 100%; min-height: 450px; color: #fff; }

.news-feature img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-feature:hover img {
  transform: scale(1.06);
}

.news-feature > a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, #0b233c42 48%, #0b233ce8 100%); }
.news-feature-copy { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 28px; }
.news-feature time { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.news-feature time::before { content: ''; width: 3px; height: 18px; background: #ed1225; }
.news-feature h3 { margin: 12px 0; max-width: 700px; font-size: clamp(21px, 1.45vw, 28px); line-height: 1.2; font-weight: 700; }
.news-feature p { margin: 0 0 16px; max-width: 650px; color: #e0e5ed; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.news-feature-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 160px;
  padding: 12px 24px;
  background-image: linear-gradient(108deg, #9e0c12 0%, #9e0c12 50%, #d90016 50.1%, #d90016 100%);
  background-size: 240% 100%;
  background-position: right bottom;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.news-feature a:hover .news-feature-button {
  background-position: left bottom;
  transform: translateX(4px);
}

.news-list { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 24px; min-width: 0; }

.news-row {
  min-width: 0;
  border-radius: 8px;
  padding: 10px 12px;
  margin: -10px -12px;
  transition: background-color 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-row:hover {
  background-color: #f8fafc;
  transform: translateX(6px);
}

.news-row > a { display: grid; grid-template-columns: 32% minmax(0, 1fr) 42px; gap: 24px; height: 100%; color: inherit; }
.news-row-image { overflow: hidden; border-radius: 6px; min-height: 130px; }
.news-row-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.75s ease; }
.news-row-copy { padding: 0 0 18px; border-bottom: 1px solid #e0e5eb; }
.news-row:last-child .news-row-copy { border: 0; padding-bottom: 0; }
.news-row time { display: flex; align-items: center; gap: 10px; color: #798398; font-size: 12px; }
.news-row time::before { content: ''; width: 16px; height: 2px; background: #ed1225; }
.news-row h3 { margin: 10px 0 8px; font-size: clamp(15px, 1vw, 19px); line-height: 1.25; font-weight: 700; transition: color 0.35s ease; }
.news-row p { margin: 0; color: #788297; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.news-row-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 18px;
  border: 1px solid #a6afbe;
  border-radius: 50%;
  color: #64748b;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-row a:hover h3 { color: #d71920; }
.news-row a:hover .news-row-arrow {
  color: #fff;
  background: #d71920;
  border-color: #d71920;
  transform: translateX(4px);
}
.news-row a:hover img { transform: scale(1.06); }
.news-more { display: flex; justify-content: center; margin-top: 20px; }
.news-more a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-width: 280px;
  padding: 14px 28px;
  border: 1px solid #df0017;
  border-radius: 30px;
  background-image: linear-gradient(108deg, #d90016 0%, #d90016 50%, #ffffff 50.1%, #ffffff 100%);
  background-size: 240% 100%;
  background-position: right bottom;
  color: #d90016;
  font-size: 15px;
  font-weight: 600;
  transition: background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.4s ease,
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.news-more a:hover {
  background-position: left bottom;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 0, 22, 0.22);
}
.news-section a:focus-visible { outline: 3px solid #d71920; outline-offset: 4px; }
@media (max-width: 1200px) {
  .news-layout { gap: 24px; grid-template-columns: 1fr 1fr; }
  .news-row > a { grid-template-columns: 30% minmax(0, 1fr) 32px; gap: 14px; }
  .news-row-arrow { width: 32px; height: 32px; }
  .news-row p { font-size: 13px; }
  .news-feature-copy { left: 24px; right: 24px; }
}
@media (max-width: 960px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-feature > a { min-height: 420px; }
  .news-row > a { grid-template-columns: 30% minmax(0, 1fr) 40px; gap: 22px; }
  .news-row h3 { font-size: 18px; }
  .news-row p { font-size: 14px; }
  .news-row-arrow { width: 40px; height: 40px; }
}
@media (max-width: 540px) {
  .news-section .section-container { width: min(92%, var(--container-max)); }
  .news-heading { margin-bottom: 24px; }
  .news-eyebrow { font-size: 13px; gap: 12px; }
  .news-eyebrow::before, .news-eyebrow::after { width: 30px; }
  .news-feature > a { min-height: 390px; }
  .news-feature-copy { left: 20px; right: 20px; bottom: 20px; }
  .news-feature h3 { font-size: 22px; }
  .news-row > a { grid-template-columns: 31% minmax(0, 1fr); gap: 14px; }
  .news-row-image { min-height: 130px; }
  .news-row-arrow { display: none; }
  .news-row h3 { font-size: 15px; }
  .news-row p { font-size: 12px; }
  .news-more a { min-width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-section *, .news-section *::before, .news-section *::after { transition: none; }
}
@media (max-width: 1150px) {
  .quality-item { gap: 14px; }
  .quality-item > i { font-size: 32px; width: 38px; }
  .manufacturing-grid { gap: 18px; }
  .manufacturing-card figcaption { padding: 14px 12px; }
}

@media (max-width: 860px) {
  .manufacturing-grid,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quality-grid { gap: 26px 20px; }
  .section-heading h2 { font-size: 28px; gap: 8px; }
  .section-heading h2::before, .section-heading h2::after { display: none; }
}

@media (max-width: 480px) {
  .manufacturing-grid { grid-template-columns: 1fr; gap: 20px; }
  .quality-grid { grid-template-columns: 1fr; gap: 20px; }
  .quality-item { gap: 14px; }
  .quality-item > i { font-size: 28px; width: 32px; }
  .quality-item h3 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
}

/* Render the CMS banner as an image; use the template image only when no banner is configured. */
.hero.hero-bound-banner { background-image: none; }
.hero-bound-banner .hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bound-banner .hero-inner { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .hero-bound-banner .hero-banner-image { object-position: 65% center; }
  .hero.hero-bound-banner::before { z-index: 1; }
}

.hero-swiper { width: 100%; overflow: hidden; }
.hero-swiper .hero.swiper-slide { flex-shrink: 0; display: flex; }
.hero-swiper .hero-title span { display: inline; }
.hero-swiper .hero-title .accent { margin-top: 0; }
.hero-swiper-pagination { position: absolute; bottom: 24px; left: 0; width: 100%; z-index: 2; text-align: center; }
.hero-bullet { display: inline-block; width: 10px; height: 10px; margin: 0 6px; border-radius: 50%; background: #94a3b8; cursor: pointer; }
.hero-bullet.active { background: var(--red); }
