* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --orange: #e05a1e;
  --border: rgba(255, 255, 255, 0.07);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-35: rgba(255, 255, 255, 0.35);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-06: rgba(255, 255, 255, 0.06);
  --white-03: rgba(255, 255, 255, 0.03);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
html {
  scroll-behavior: smooth;
}
body {
  background: #000;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ===== CURSOR ===== */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s var(--ease-spring),
    height 0.3s var(--ease-spring);
}
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(224, 90, 30, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s var(--ease-spring),
    height 0.5s var(--ease-spring),
    border-color 0.3s;
}
.cursor.hovering {
  width: 18px;
  height: 18px;
  background: #fff;
}
.cursor-follower.hovering {
  width: 64px;
  height: 64px;
  border-color: rgba(224, 90, 30, 0.9);
}

/* ===== LAYOUT ===== */
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 73px;
}

/* ===== LEFT IMAGE PANEL — default (static image) ===== */
.detail-img-panel {
  position: sticky;
  top: 73px;
  height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: #030303;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

/* ambient glow — only for static image, hidden when 3D is active */
.detail-img-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(224, 90, 30, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(224, 90, 30, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: panelAmbient 6s ease-in-out infinite alternate;
  transition: opacity 0.5s ease;
}
@keyframes panelAmbient {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}

/* orbit ring — only for static image */
.detail-img-panel::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(224, 90, 30, 0.05);
  box-shadow: 0 0 0 80px rgba(224, 90, 30, 0.02);
  animation: orbitSlow 18s linear infinite;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
@keyframes orbitSlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ===== LEFT PANEL — 3D MODE ===== */
/* when 3D viewer is showing, strip all decoration from the panel */
.detail-img-panel.has-3d {
  background: #000 !important;
  border-right: none !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}
.detail-img-panel.has-3d::before,
.detail-img-panel.has-3d::after {
  display: none !important;
}

/* ===== STATIC IMAGE ===== */
.detail-img {
  max-width: 460px;
  max-height: 460px;
  width: 100%;
  object-fit: contain;
  /* mix-blend-mode removed for perf */
  filter: brightness(1.15) contrast(1.08);
  position: relative;
  z-index: 2;
  transition:
    transform 0.7s var(--ease-spring),
    filter 0.5s ease;
  animation: imgEntrance 1s var(--ease-spring) both;
}
@keyframes imgEntrance {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(24px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.detail-img:hover {
  transform: scale(1.05) translateY(-8px);
  filter: brightness(1.22) contrast(1.12);
}

.detail-img-glow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 130px;
  background: radial-gradient(
    ellipse,
    rgba(224, 90, 30, 0.26),
    transparent 68%
  );
  opacity: 0.6; /* blur removed for perf */
  pointer-events: none;
  z-index: 1;
  animation: detailGlow 6s ease-in-out infinite;
}
@keyframes detailGlow {
  0%,
  100% {
    opacity: 0.65;
    transform: translateX(-50%) scaleX(0.88);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.28);
  }
}

.detail-img-label {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  text-align: center;
}
.detail-img-label span {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--white-35);
  text-transform: uppercase;
}

/* ===== 3D VIEWER ===== */
#stlViewerPanel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stl-canvas-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: grab;
  background: transparent;
}
.stl-canvas-wrap:active {
  cursor: grabbing;
}
.stl-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.stl-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 5;
  transition: opacity 0.5s ease;
}
.stl-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

#stlViewerPanel .stl-loader-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: #e05a1e;
  border-radius: 50%;
  animation: stlSpin 0.9s linear infinite;
}
@keyframes stlSpin {
  to {
    transform: rotate(360deg);
  }
}

.stl-loader-text {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.stl-hints {
  display: flex;
  gap: 20px;
  padding: 12px 20px;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  flex-shrink: 0; /* ← ADD THIS — prevents it from being squished */
}

.stl-hint {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.3px;
}

/* ===== RIGHT CONTENT ===== */
.detail-content {
  padding: 80px 72px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 90, 30, 0.35) transparent;
}
.detail-content::-webkit-scrollbar {
  width: 3px;
}
.detail-content::-webkit-scrollbar-track {
  background: transparent;
}
.detail-content::-webkit-scrollbar-thumb {
  background: rgba(224, 90, 30, 0.35);
  border-radius: 3px;
}
.detail-content::-webkit-scrollbar-thumb:hover {
  background: rgba(224, 90, 30, 0.65);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--white-35);
  margin-bottom: 40px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.5s var(--ease-spring) 0.05s forwards;
}
.breadcrumb a {
  color: var(--white-35);
  text-decoration: none;
  transition:
    color 0.2s,
    letter-spacing 0.2s;
}
.breadcrumb a:hover {
  color: #fff;
  letter-spacing: 0.2px;
}
.breadcrumb-sep {
  opacity: 0.3;
}
.breadcrumb-cur {
  color: #fff;
}

/* ===== HEADER ===== */
.detail-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeSlideUp 0.55s var(--ease-spring) 0.1s forwards;
}
.detail-eyebrow::before {
  content: "";
  display: inline-block;
  height: 1px;
  background: var(--orange);
  width: 0;
  animation: lineExpand 0.6s var(--ease-spring) 0.55s forwards;
}
@keyframes lineExpand {
  to {
    width: 28px;
  }
}

.detail-model-name {
  font-family: "Syne", sans-serif;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(28px) skewY(0.8deg);
  animation: modelNameIn 1s var(--ease-spring) 0.18s forwards;
}
@keyframes modelNameIn {
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

.detail-machine-name {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--white-35);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeSlideUp 0.65s var(--ease-spring) 0.3s forwards;
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TAGS ===== */
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-spring) 0.38s forwards;
}
.detail-tag {
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--white-35);
  transition:
    border-color 0.25s,
    color 0.25s,
    transform 0.25s var(--ease-spring);
}
.detail-tag:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}
.detail-tag.orange {
  border-color: rgba(224, 90, 30, 0.4);
  color: var(--orange);
  background: rgba(224, 90, 30, 0.07);
}
.detail-tag.orange:hover {
  border-color: rgba(224, 90, 30, 0.7);
  background: rgba(224, 90, 30, 0.14);
  box-shadow: 0 0 16px rgba(224, 90, 30, 0.25);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.detail-section {
  margin-bottom: 44px;
}
.detail-section-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-35);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.detail-section-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transition: width 0.7s var(--ease-spring);
}
.detail-section:hover .detail-section-title::after {
  width: 80px;
}
.detail-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.9;
}

/* ===== SPECS TABLE ===== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
  position: relative;
}
.specs-table tr:last-child {
  border-bottom: none;
}
.specs-table tr::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1px;
  background: rgba(224, 90, 30, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-spring);
}
.specs-table tr:hover {
  background: rgba(255, 255, 255, 0.022);
}
.specs-table tr:hover::after {
  transform: scaleX(0.3);
}
.specs-table td {
  padding: 14px 0;
  font-size: 13px;
  vertical-align: top;
}
.specs-table td:first-child {
  color: var(--white-35);
  width: 45%;
  padding-right: 24px;
  transition: color 0.25s;
}
.specs-table td:last-child {
  color: #fff;
  font-weight: 500;
}
.specs-table tr:hover td:first-child {
  color: rgba(255, 255, 255, 0.55);
}

/* ===== IOT SECTION ===== */
.iot-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(224, 90, 30, 0.08);
  border: 1px solid rgba(224, 90, 30, 0.28);
  border-radius: 8px;
  padding: 11px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--orange);
  position: relative;
  overflow: hidden;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    transform 0.3s var(--ease-spring);
  animation: badgePop 0.6s var(--ease-spring) 0.2s both;
}
@keyframes badgePop {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.iot-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 65%
  );
  transform: translateX(-150%);
  transition: transform 0.6s ease;
}
.iot-badge:hover {
  background: rgba(224, 90, 30, 0.14);
  box-shadow: 0 0 28px rgba(224, 90, 30, 0.22);
  transform: translateY(-1px);
}
.iot-badge:hover::after {
  transform: translateX(200%);
}

.iot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.iot-card {
  background: var(--white-03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  cursor: default;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.35s,
    background 0.35s,
    transform 0.4s var(--ease-spring),
    box-shadow 0.35s;
}
.iot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(224, 90, 30, 0.07),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.iot-card:hover {
  border-color: rgba(224, 90, 30, 0.4);
  background: rgba(224, 90, 30, 0.05);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}
.iot-card:hover::before {
  opacity: 1;
}
.iot-icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.4s var(--ease-spring);
}
.iot-card:hover .iot-icon {
  transform: scale(1.2) translateY(-3px);
}
.iot-card-title {
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.iot-card-desc {
  font-size: 12px;
  color: var(--white-35);
  line-height: 1.65;
}

/* ===== ENQUIRE BOX ===== */
.enquire-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.enquire-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224, 90, 30, 0.4),
    transparent
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-spring);
}
.enquire-box:focus-within {
  border-color: rgba(224, 90, 30, 0.3);
  box-shadow:
    0 0 0 1px rgba(224, 90, 30, 0.07),
    0 24px 70px rgba(0, 0, 0, 0.35);
}
.enquire-box:focus-within::before {
  transform: scaleX(1);
}
.enquire-box h3 {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.enquire-box > p {
  font-size: 13px;
  color: var(--white-35);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-35);
  transition: color 0.25s ease;
}
.form-field:focus-within label {
  color: var(--orange);
}
.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 17px;
  font-size: 13px;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  outline: none;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s,
    transform 0.2s var(--ease-spring);
}
.form-field input:hover,
.form-field textarea:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.13);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(224, 90, 30, 0.55);
  background: rgba(224, 90, 30, 0.045);
  box-shadow: 0 0 0 3px rgba(224, 90, 30, 0.1);
  transform: translateY(-1px);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.18);
}
.form-full {
  grid-column: 1/-1;
}
.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.enquire-submit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s,
    opacity 0.2s;
}
.enquire-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.14),
    transparent
  );
  transition: left 0.55s ease;
}
.enquire-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(224, 90, 30, 0.5);
}
.enquire-submit:hover::before {
  left: 160%;
}
.enquire-submit:active {
  transform: scale(0.98) translateY(-1px);
}

/* ===== BACK LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white-35);
  text-decoration: none;
  margin-bottom: 48px;
  transition:
    color 0.25s,
    gap 0.35s var(--ease-spring),
    letter-spacing 0.3s;
}
.back-link:hover {
  color: #fff;
  gap: 14px;
  letter-spacing: 0.3px;
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-in-out);
  pointer-events: none;
}
.page-transition.out {
  transform: scaleY(1);
  transform-origin: bottom;
}
.page-transition.in {
  transform: scaleY(0);
  transform-origin: top;
}

/* ── Performance: respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   MOBILE BRIGHTNESS + PREMIUM POLISH  (auto-generated)
   Hard hex values — correct at ANY screen brightness level
================================================================ */
@media (max-width: 768px) {
  /* ENQUIRY FORM - stack fields vertically on mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* CARD BACKGROUNDS */
  .why-card,
  .infra-stat-box,
  .infra-floor,
  .quality-pillar,
  .story-img-cell,
  .explore-card,
  .pl-card,
  .bake-card,
  .ind-card,
  .machine-card,
  .blog-card,
  .timeline-card,
  .featured-card,
  .stat-block,
  .r-card,
  .t-card,
  .pkg-card,
  .pkg-info-card,
  .pkg-manpower-card,
  .contact-info-card,
  .post-sidebar-box,
  .flow-step-box,
  .iot-card,
  .infra-img-main,
  .tl-img-frame,
  .why-features .why-card,
  .cert-grid .cert-card,
  .export-panel,
  .r-card,
  .rating-callout {
    background: #1e1e1e;
    border-color: #3a3a3a;
  }

  /* BODY / DESCRIPTION TEXT */
  .why-card p,
  .infra-floor-body,
  .infra-floor-detail,
  .infra-intro,
  .quality-intro,
  .quality-pillar-body-inner li,
  .quality-pillar-sub,
  .story-body-text p,
  .explore-card-desc,
  .explore-header-sub,
  .about-hero-desc,
  .section-body,
  .why-header-right p,
  .pl-card-desc,
  .pl-hero-sub,
  .pl-card-flow span,
  .machine-card-desc,
  .bake-card-desc,
  .blog-card-excerpt,
  .blog-card-subtitle,
  .featured-desc,
  .timeline-desc,
  .tl-body,
  .r-quote,
  .t-card-quote,
  .pkg-desc,
  .pkg-info-sub,
  .line-meta-text,
  .post-content p,
  .detail-desc,
  .hero-desc,
  .page-sub,
  .csa-sub,
  .ind-sub,
  .bake-sub,
  .about-body,
  .process-sub,
  .cta-sub,
  .card-models,
  .card-count,
  .terms-clause-body p,
  .pp-section p,
  .pp-list li,
  .contact-subtitle,
  .footer-tagline,
  .blog-hero-desc,
  .step-label,
  .cta-sub {
    color: #cccccc;
  }

  /* SECONDARY / LABEL TEXT */
  .about-hero-stat-label,
  .infra-stat-box-label,
  .pl-stat-label,
  .csa-stat-l,
  .stat-label,
  .t-stat-label,
  .pkg-info-label,
  .pkg-manpower-label,
  .card-cat,
  .section-eyebrow,
  .line-hero-eyebrow,
  .flow-step-num,
  .blog-card-date,
  .post-hero-date,
  .r-loc,
  .t-card-loc,
  .cert-milestone-label,
  .line-nav-prev-hint,
  .line-nav-next-hint,
  .contact-info-label,
  .breadcrumb,
  .breadcrumb a,
  .back-btn,
  .pkg-machine-note {
    color: #aaaaaa;
  }

  /* CARD TITLES */
  .why-card h3,
  .infra-floor-name,
  .quality-pillar-title,
  .explore-card-title,
  .pl-card-name,
  .machine-card-name,
  .bake-card-name,
  .blog-card-title,
  .featured-name,
  .timeline-event-name,
  .tl-headline,
  .t-card-name,
  .pkg-card-name,
  .card-name,
  .cta-title,
  .models-cta-text h4,
  .iot-card-title,
  .contact-info-value {
    color: #ffffff;
    font-size: 15px;
  }

  /* STAT NUMBERS */
  .about-hero-stat-num,
  .infra-stat-box-num,
  .pl-stat-num,
  .csa-stat-n,
  .stat-num,
  .t-stat-num,
  .pkg-info-value,
  .pkg-manpower-value,
  .history-meta-num,
  .rating-big {
    color: #ffffff;
    font-size: 24px;
  }

  /* PILL / TAG CHIPS */
  .pl-card-capacity,
  .pl-card-machine-tag,
  .infra-badge,
  .line-meta-badge,
  .tl-tag,
  .model-tag,
  .card-tag,
  .pkg-tag,
  .pkg-material,
  .detail-tag,
  .filter-pill,
  .filter-btn {
    background: #252525;
    border-color: #3d3d3d;
    color: #cccccc;
  }

  /* SECTION TITLES */
  .section-title,
  .pl-lines-title,
  .pl-overview-title,
  .bake-title,
  .ind-title,
  .about-title,
  .featured-title,
  .timeline-title,
  .t-hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  /* FLOW */
  .flow-step-name {
    color: #ffffff;
  }
  .flow-step-box {
    background: #1e1e1e;
    border-color: #3a3a3a;
  }

  /* FOOTER */
  .footer-col ul li a {
    color: #aaaaaa;
  }
  .footer-col h4.footer-col-title {
    color: #888888;
  }
  .footer-address {
    color: #aaaaaa;
  }
  .footer-bottom span,
  .footer-bottom-links a {
    color: #666666;
  }

  /* TESTIMONIALS */
  .t-card-quote,
  .r-quote {
    color: #cccccc;
  }
  .cert-milestone-year {
    color: #888888;
  }

  /* PACKAGES */
  .pkg-machine-name {
    color: #eeeeee;
  }
  .pkg-capacity-row span {
    color: #cccccc;
  }
  .pkg-capacity-row span:first-child {
    color: #eeeeee;
  }
  .pkg-note,
  .pkg-desc {
    color: #cccccc;
  }

  /* BLOG */
  .post-related-title {
    color: #cccccc;
  }

  /* MACHINE / MODEL */
  .detail-desc,
  .iot-card-desc,
  .right-sub,
  .models-cta-text p {
    color: #cccccc;
  }
  .specs-table td:first-child {
    color: #aaaaaa;
  }
  .specs-table td:last-child {
    color: #eeeeee;
  }

  /* PRIVACY / TERMS */
  .terms-notice,
  .pp-note {
    color: #cccccc;
  }
}

@media (max-width: 480px) {
  .pl-card-name,
  .machine-card-name,
  .bake-card-name,
  .why-card h3,
  .explore-card-title {
    font-size: 14px;
  }
  .section-title,
  .pl-lines-title {
    font-size: clamp(26px, 8vw, 34px);
  }
}

/* ================================================================
   PREMIUM MICRO-ANIMATIONS (auto-generated)
   Smooth, tasteful — respects prefers-reduced-motion
================================================================ */

/* Scroll reveal base */
.reveal,
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.stagger-1 {
  transition-delay: 0.08s;
}
.stagger-2 {
  transition-delay: 0.16s;
}
.stagger-3 {
  transition-delay: 0.24s;
}
.stagger-4 {
  transition-delay: 0.32s;
}
.stagger-5 {
  transition-delay: 0.4s;
}
.stagger-6 {
  transition-delay: 0.48s;
}

/* Card hover lift — premium feel */
.why-card,
.infra-stat-box,
.infra-floor,
.explore-card,
.pl-card,
.bake-card,
.ind-card,
.machine-card,
.blog-card,
.featured-card,
.stat-block,
.r-card,
.t-card,
.pkg-card,
.pkg-info-card,
.timeline-card,
.contact-info-card {
  transition:
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Shimmer on card hover */
.why-card::after,
.explore-card::after,
.pl-card::after,
.machine-card::after,
.blog-card::after,
.pkg-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224, 90, 30, 0.6),
    transparent
  );
  opacity: 0;
  transform: scaleX(0);
  transition:
    opacity 0.4s,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover::after,
.explore-card:hover::after,
.pl-card:hover::after,
.machine-card:hover::after,
.blog-card:hover::after,
.pkg-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Stat number count-up glow on hover */
.about-hero-stat:hover .about-hero-stat-num,
.infra-stat-box:hover .infra-stat-box-num,
.stat-block:hover .stat-number {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Link underline slide */
.footer-col ul li a,
.drawer-link,
.toc-pill,
.filter-pill {
  transition:
    color 0.25s,
    padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s,
    border-color 0.25s,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Button press feedback */
.nav-cta:active,
.fcta-btn-primary:active,
.line-cta-btn-primary:active,
.pkg-cta-primary:active,
.enquire-submit:active {
  transform: scale(0.97) translateY(0);
}

/* Image scale on card hover */
.bake-card:hover .bake-card-img,
.ind-line-pill:hover .ind-line-pill-icon img,
.blog-card:hover img {
  transform: scale(1.06);
}

/* Smooth border-radius pulse on active nav item */
.island-item.active .island-icon svg {
  filter: drop-shadow(0 0 4px rgba(224, 90, 30, 0.6));
}

/* Orange accent line slide-in on section hover */
.pl-card-cta-text,
.view-btn,
.blog-card-cta,
.explore-card-cta,
.featured-details {
  transition:
    letter-spacing 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tablet-specific enhancements */
@media (min-width: 769px) and (max-width: 1024px) {
  .why-card:hover,
  .explore-card:hover,
  .pl-card:hover,
  .machine-card:hover,
  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(224, 90, 30, 0.06);
  }
}

/* Desktop-specific enhancements */
@media (min-width: 1025px) {
  .why-card:hover,
  .explore-card:hover,
  .pl-card:hover,
  .machine-card:hover,
  .blog-card:hover {
    transform: translateY(-8px);
    box-shadow:
      0 28px 72px rgba(0, 0, 0, 0.65),
      0 0 0 1px rgba(224, 90, 30, 0.07);
  }
  /* Subtle parallax depth on hero sections */
  .pl-hero-bg,
  .about-hero-orb,
  .blog-hero-orb {
    will-change: transform;
  }
}

/* Mobile — no hover transforms (tap only) */
@media (max-width: 768px) {
  .why-card:hover,
  .explore-card:hover,
  .pl-card:hover,
  .machine-card:hover,
  .blog-card:hover,
  .infra-floor:hover,
  .quality-pillar:hover {
    transform: none;
  }
  .why-card:active {
    transform: scale(0.98);
  }
  .pl-card:active,
  .blog-card:active,
  .machine-card:active {
    transform: scale(0.98);
  }
  .island-item:active {
    transform: scale(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}

@media (max-width: 768px) {
  .detail-hero {
    display: block;
    min-height: auto;
    padding-top: 0;
  }
  .detail-img-panel {
    position: relative;
    top: 0;
    height: 380px;
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .detail-content {
    padding: 32px 20px;
    overflow-y: visible;
  }
}

/* ===== TABLET FIX: enquiry form was forced into 2 columns between
   769px-1024px (only <=768px was handled above), causing Company/
   Country fields to get cut off. Stack to 1 column here too. ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
