@charset "UTF-8";

/* ==========================================================================
   bauma CHINA 2026 - SBM Special Feature Page
   Palette derived from the banner: deep navy #01296e -> #0e57b6, gold #ffd02e
   ========================================================================== */

:root {
  --navy-900: #01296e;
  --navy-800: #052f7d;
  --navy-700: #0a3f96;
  --blue-600: #0e57b6;
  --blue-500: #1668d0;
  --gold: #ffd02e;
  --gold-deep: #e8c82d;
  --ink: #0b1d3f;
  --muted: #5b6b87;
  --line: #dce6f5;
  --bg-soft: #f2f6fd;
  --white: #ffffff;
  --serif: "Open Sans", Inter, Roboto,sans-serif;
  --sans: "Open Sans", Inter, Roboto,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

a {text-decoration: none;color: #0b1d3f;}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
p,h1,h2,h4,h3{margin: 0;}
img, svg { display: block; }
button { font-family: inherit; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   Responsive content width
   > 1800px  -> 1410px | > 1410px -> 1320px | > 1200px -> 1120px
   <= 1200px -> 100% with 15px side padding
   -------------------------------------------------------------------------- */
.container {
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

@media (min-width: 1201px) {
  .container { max-width: 1120px; padding: 0; }
}
@media (min-width: 1411px) {
  .container { max-width: 1320px; }
}
@media (min-width: 1801px) {
  .container { max-width: 1410px; }
}

/* ============================ BANNER ============================ */
.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-900);
}
.banner img {
  width: 100%;
  height: auto;
}

/* ============================ SHARED SECTION ============================ */
.section { padding: 92px 0; }

.section-head { max-width: 810px; margin: 0 auto 52px; text-align: center; }

.section-head h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--navy-900);
}
.section-head h2 em { font-style: normal; color: var(--blue-600); }
.section-head .lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: normal;
}

.section-head.light h2 { color: var(--white); }
.section-head.light h2 em { color: var(--gold); }
.section-head.light .lead { color: rgba(255, 255, 255, .76); }

/* ============================ 01 / ABOUT ============================ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 56px;
  align-items: start;
}
.about-copy p {
  max-width: 980px;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  color: #42557a;
}
.about-copy p strong { color: var(--navy-900); }

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(1, 41, 110, .09); }
.feature-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: #d5e5ff;
  color: var(--blue-600);
  display: grid;
  place-items: center;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 5px; font-size: 16px; color: var(--navy-900); }
.feature p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ============================ 02 / BOOTH ============================ */
.booth {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(22, 104, 208, .55), transparent 46%),
    linear-gradient(115deg, #01296e 0%, #052f7d 45%, #0a47a3 100%);
  background-color: #01296e;
  color: var(--white);
}
.booth::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.booth .container { position: relative; }

.booth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.booth-info { border-top: 1px solid rgba(255, 255, 255, .2); }
.info-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.info-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.info-value { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.info-value b { color: var(--gold); }

.booth-visual {
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
}
.booth-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ============================ 03 / PRODUCTS ============================ */
.products { background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: #b9cff0;
  box-shadow: 0 16px 40px rgba(1, 41, 110, .13);
}
.product-ph {
  aspect-ratio: 4 / 3;
  background: #eef4fd;
}
.product-ph img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-ph img { transform: scale(1.04); }
.product-card .product-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  margin: 0;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  color: var(--navy-900);
}

/* ============================ 04 / NEWS CAROUSEL ============================ */
.news { background: var(--white); }
.head-with-nav {
  display: block;
  max-width: none;
  text-align: center;
}
.head-with-nav > div:first-child { max-width: 810px; margin: 0 auto; }
.news-controls {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding: 0 220px;
}
.nav-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-btn svg { width: 20px; height: 20px; }
#newsPrev svg { transform: rotate(180deg); }
.nav-btn:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.nav-btn:focus-visible, .dot:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.news-window {
  overflow: hidden;
  padding: 24px 20px 52px;
  margin: -24px 0 -52px;
}
.news-track {
  display: flex;
  gap: 24px;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: box-shadow .3s ease;
}
.news-card:hover { box-shadow: 0 8px 18px rgba(1, 41, 110, .12); }
.news-ph img{
  width: 100%;
  height: auto;
  display: block;
}
.news-body { display: flex; flex: 1; flex-direction: column; padding: 24px 22px 28px; }
.news-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #eaf2ff;
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.news-body h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 49px;
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--navy-900);
}
.news-body p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.news-dots { display: flex; justify-content: center; align-items: center; gap: 10px; }
.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c8d8f0;
  cursor: pointer;
  transition: width .25s ease, background .25s ease, border-radius .25s ease;
}
.dot.is-active { width: 30px; border-radius: 6px; background: var(--blue-600); }

/* ============================ 05 / ON-SITE MARQUEE ============================ */
.onsite {
  overflow: hidden;
  background: linear-gradient(120deg, #01296e 0%, #052f7d 55%, #0a47a3 100%);
  background-color: #01296e;
  color: var(--white);
}
.onsite .section-head { margin-bottom: 44px; }
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 20px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}
.scene {
  position: relative;
  flex: 0 0 450px;
  width: 450px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, #0a3f96, #1568cf);
  color: var(--white);
  display: grid;
  place-items: center;
}
.scene .ph-word {
  position: absolute;
  top: 8px;
  left: 18px;
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, .2);
}
.scene .ph-icon {
  position: relative;
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, .62);
}
.marquee-note { margin: 34px 0 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .66); }
.marquee-note b { color: var(--gold); }

/* Clickable scene — zoom hint on hover */
.scene { cursor: zoom-in; outline: none; }
.scene:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.scene .scene-zoom {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(1, 41, 110, .42);
  opacity: 0;
  transition: opacity .25s ease;
}
.scene .scene-zoom::before {
  content: "CLICK TO ENLARGE";
  position: absolute;
  bottom: 34px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .9);
}
.scene img {display: block;width: 100%;height: auto;}
.scene .scene-zoom svg { width: 58px; height: 58px; color: var(--white); }
.scene:hover .scene-zoom,
.scene:focus-visible .scene-zoom { opacity: 1; }

/* ============ IMAGE LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 52, .88);
  backdrop-filter: blur(6px);
}
.lb-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(900px, 82vw);
  transform-origin: center;
}
.lb-figure.pop { animation: lb-pop .3s cubic-bezier(.22, .61, .36, 1); }
@keyframes lb-pop {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  background: rgba(0, 0, 0, .25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.lb-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lb-caption { margin-top: 18px; text-align: center; font-size: 14px; letter-spacing: .06em; color: rgba(255, 255, 255, .85); }
.lb-caption span { color: var(--gold); font-weight: 700; }
.lb-close, .lb-nav {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .24); transform: scale(1.06); }
.lb-close { position: absolute; top: 26px; right: 30px; width: 46px; height: 46px; }
.lb-close svg { width: 22px; height: 22px; }
.lb-nav { width: 52px; height: 52px; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev svg { transform: rotate(180deg); }
@media (max-width: 767px) {
  .lightbox { gap: 10px; padding: 20px 12px; }
  .lb-figure { width: 86vw; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-close { top: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ============================ RESPONSIVE LAYOUT ============================ */
@media (max-width: 1400px) {
  .booth-grid { gap: 40px; }
}
@media (max-width: 1200px) {
  .section { padding: 76px 0; }
}
@media (max-width: 980px) {
  .about-grid { display: block; }
  .booth-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
  .feature { flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-controls { padding: 0 120px; }
}
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: 28px; }
  .section-head .lead { font-size: 15px; }
  .feature-list { grid-template-columns: 1fr; }
  .banner { height: 210px; }
  .banner img { position: absolute; top: 0; left: 0; width: auto; max-width: none; height: 100%; }
  .info-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .booth-visual { padding: 8px; }
  .ph-word { font-size: 34px; }
  .scene { flex-basis: 230px; width: 230px; }
  .news-window { padding-left: 12px; padding-right: 12px; }
  .news-controls { padding: 0 48px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .product-card .product-title { min-height: 66px; padding: 10px; font-size: 14px; }
  .feature { gap: 14px; padding: 20px; }
  .feature-icon { width: 40px; height: 40px; }
  .banner { height: 186px; }
  .news-body { padding: 20px 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .news-track, .product-card, .feature, .nav-btn, .dot { transition: none; }
}
