/* ==========================================================================
   LTSS — v3: modern glass / laser-lit layer. Loaded last, wins over v2.
   ========================================================================== */

:root {
  --ink-900: #05060a;
  --ink-800: #0a0c12;
  --ink-700: #10131b;
  --ink-600: #171b25;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-brd: rgba(255, 255, 255, 0.12);
  --glass-hi: rgba(255, 255, 255, 0.09);
}

/* ---------- brand lockup: "Laser Tech" red, rest bold ---------- */
.brandname { font-weight: 700; color: inherit; }
.brandname .lt { color: var(--red); font-weight: 700; }
.section--dark .brandname .lt,
.hero-v2 .brandname .lt,
.reach .brandname .lt,
.why-ltss .brandname .lt { color: var(--red-bright); }

/* ---------- shared: glass card ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: 18px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(255,255,255,.14), transparent 42%);
  pointer-events: none;
}

/* ---------- laser-lit section backdrop ---------- */
.lit {
  position: relative;
  background: var(--ink-800);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.lit > .container { position: relative; z-index: 3; }
.lit h2, .lit h3, .lit h4 { color: #fff; }
.lit p { color: #ffffffab; }
.lit::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 35%, transparent 100%);
}
.lit-beam {
  position: absolute; z-index: 1;
  width: 140%; height: 190px; left: -20%;
  background: linear-gradient(90deg, transparent, rgba(226,35,26,.22) 35%, rgba(255,68,51,.30) 50%, rgba(226,35,26,.22) 65%, transparent);
  filter: blur(42px);
  animation: beamDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.lit-beam.b1 { top: 6%; }
.lit-beam.b2 { bottom: 2%; animation-delay: -7s; animation-duration: 18s; }
@keyframes beamDrift {
  from { transform: translate3d(-6%, 0, 0) rotate(-2.5deg); opacity: .55; }
  to   { transform: translate3d(6%, 22px, 0) rotate(2.5deg); opacity: 1; }
}

/* ---------- NAV: category list + side flyout ---------- */
.dropdown.mega {
  min-width: 0;
  display: block;
  padding: 10px;
  width: 292px;
}
.nav-cat { position: relative; }
.nav-cat > a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: var(--steel); white-space: nowrap;
}
.nav-cat > a::after {
  content: ""; width: 6px; height: 6px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: .45; transition: opacity .2s, transform .2s;
}
.nav-cat:hover > a { background: #e2231a0f; color: var(--red); }
.nav-cat:hover > a::after { opacity: 1; transform: rotate(-45deg) translate(2px,-2px); }

.nav-sub {
  position: absolute;
  top: -10px; left: calc(100% + 10px);
  min-width: 286px;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: 14px;
  box-shadow: 0 26px 64px rgba(11,11,12,.18);
  padding: 12px;
  opacity: 0; visibility: hidden;
  transform: translateX(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 130;
}
.nav-sub::before { content:""; position:absolute; top:0; left:-12px; width:12px; height:100%; }
.nav-cat:hover .nav-sub { opacity: 1; visibility: visible; transform: translateX(0); }
.nav-sub .sub-head {
  font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--red);
  padding: 6px 12px 8px; border-bottom: 1px solid var(--grey-100); margin-bottom: 6px;
}
.nav-sub a { padding: 9px 12px; font-size: .85rem; border-radius: 9px; }

@media (max-width: 900px) {
  .dropdown.mega { width: auto; }
  .nav-sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-cat.open .nav-sub { max-height: 620px; }
  .nav-cat > a::after { transform: rotate(45deg); }
  .nav-cat.open > a::after { transform: rotate(-135deg); }
}

/* ---------- HERO: tighter, fits in one view ---------- */
.hero-v2 { padding: 44px 0 40px; }
.hero-grid { gap: 44px; align-items: center; }
.hero-v2 h1 { font-size: clamp(2.1rem, 3.9vw, 3.35rem); margin: 14px 0 14px; }
.hero-v2 .lead { font-size: 1rem; max-width: 520px; }
.hero-cta-row { margin-top: 20px; }
.hero-controls { margin-top: 24px; padding-top: 18px; }
.hero-machines { gap: 13px; }
.hm-card .hm-label { font-size: .68rem; padding: 8px 10px; }
@media (max-width: 980px) { .hero-v2 { padding: 34px 0 34px; } }

/* glass stat cells */
.stats-band { background: var(--ink-900); border-bottom: 0; padding: 26px 0; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% 0%, rgba(226,35,26,.20), transparent 70%);
}
.stats-band .inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 760px) { .stats-band .inner { grid-template-columns: repeat(2,1fr); } }
.stats-band .cell {
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-radius: 16px;
  padding: 24px 22px;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .35s;
}
.stats-band .cell::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(255,255,255,.16), transparent 45%);
  pointer-events: none;
}
.stats-band .cell:hover {
  transform: translateY(-6px);
  border-color: rgba(255,68,51,.55);
  box-shadow: 0 18px 44px rgba(226,35,26,.24);
}
.stats-band strong { color: #fff; font-size: 2.15rem; }
.stats-band .cell:hover strong { color: var(--red-bright); }
.stats-band span { color: #ffffff85; }

/* ---------- WHO WE ARE: glass panel ---------- */
.about-glass {
  background: var(--ink-800);
  position: relative; overflow: hidden; color: #fff;
}
.about-glass h2, .about-glass h3 { color: #fff; }
.about-glass p { color: #ffffffb0; }
.about-glass .check-list li { border-bottom-color: rgba(255,255,255,.09); }
.about-glass .panel {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-radius: 22px;
  padding: 40px;
}
@media (max-width: 700px) { .about-glass .panel { padding: 26px; } }
.about-glass .shot {
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--glass-brd);
  aspect-ratio: 4/5;
  position: relative;
}
.about-glass .shot img { width: 100%; height: 100%; object-fit: cover; }
.about-glass .shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,68,51,.12), transparent 55%);
}

/* ---------- MARQUEE (auto-scroll strips) ---------- */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marq var(--marq, 38s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee.rev .marquee-track { animation-direction: reverse; }

.mq-card {
  flex: none; width: 232px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mq-card .im { aspect-ratio: 4/3; overflow: hidden; background: #0e1118; }
.mq-card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mq-card:hover .im img { transform: scale(1.06); }
.mq-card .cap { padding: 12px 14px; font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: #fff; }

/* chip list that glows on hover */
.glow-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.glow-chips span {
  padding: 9px 17px; border-radius: 999px;
  border: 1px solid var(--glass-brd);
  background: rgba(255,255,255,.04);
  color: #ffffffbe; font-size: .86rem; font-weight: 500;
  cursor: default;
  transition: color .25s, border-color .25s, box-shadow .25s, transform .25s, background .25s;
}
.glow-chips span:hover {
  color: #fff;
  background: rgba(226,35,26,.16);
  border-color: rgba(255,68,51,.7);
  box-shadow: 0 0 0 1px rgba(255,68,51,.25), 0 8px 26px rgba(226,35,26,.35);
  transform: translateY(-3px);
}

/* ---------- SERVICE BEFORE SALES band ---------- */
.sbs { position: relative; overflow: hidden; }
.sbs .big {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.035em; color: #fff; margin: 0 0 18px;
}
.sbs .big em {
  font-style: normal;
  background: linear-gradient(100deg, var(--red-bright), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sbs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 860px) { .sbs-grid { grid-template-columns: 1fr; } }
.sbs-card { padding: 28px 26px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .3s, border-color .3s; }
.sbs-card:hover { transform: translateY(-6px); border-color: rgba(255,68,51,.5); }
.sbs-card .num { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--red-bright); margin-bottom: 12px; }
.sbs-card h4 { color: #fff; margin-bottom: 8px; }
.sbs-card p { color: #ffffffa3; margin: 0; font-size: .93rem; }

/* ---------- REACH map ---------- */
.map-wrap { position: relative; }
.india-map { width: 100%; height: auto; max-width: 480px; margin: 0 auto; display: block; }
.india-map .st { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.22); stroke-width: .8; transition: fill .3s, stroke .3s; }
.india-map .st.served { fill: rgba(226,35,26,.55); stroke: rgba(255,110,90,.85); }
.india-map .st.served:hover { fill: var(--red-bright); }
.map-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }
.map-legend i { width: 13px; height: 13px; border-radius: 3px; display: inline-block; margin-right: 7px; vertical-align: -2px; }
.map-legend span { font-size: .84rem; color: #ffffffa8; }
.hq-pin { position: absolute; }
.hq-pin .ring { width: 15px; height: 15px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 4px rgba(255,68,51,.28), 0 0 18px 5px rgba(255,68,51,.65); }
.hq-pin .ring::after { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid var(--red-bright); animation: wa-ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
.hq-pin b { position: absolute; left: 22px; top: -4px; white-space: nowrap; font-family: var(--font-head); font-size: .78rem; color:#fff; text-shadow: 0 2px 10px #000; }

/* ---------- TESTIMONIALS ---------- */
.tq { position: relative; padding: 32px 30px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 16px; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .35s; }
.tq:hover { transform: translateY(-7px); border-color: rgba(255,68,51,.45); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.tq .qm { font-family: Georgia, serif; font-size: 3.4rem; line-height: .55; color: rgba(255,68,51,.42); }
.tq blockquote { margin: 0; color: #ffffffd0; font-size: .96rem; line-height: 1.62; }
.tq .stars { color: var(--amber); letter-spacing: 3px; font-size: .95rem; }
.tq .who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.tq .who .av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-bright)); }
.tq .who strong { display: block; color: #fff; font-size: .94rem; }
.tq .who span { color: #ffffff7d; font-size: .82rem; }

/* ---------- LIGHTBOX (enlarged video) ---------- */
.lb {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(4,5,8,.93);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb-inner { width: min(1180px, 94vw); max-height: 92vh; position: relative; }
.lb video { width: 100%; max-height: 88vh; border-radius: 14px; display: block; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.lb-close {
  position: absolute; top: -46px; right: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: var(--red); border-color: var(--red); }
.lb-cap { color: #fff; font-family: var(--font-head); font-weight: 600; margin-top: 14px; text-align: center; }

/* ---------- MACHINE PAGE: samples strip, sticky info ---------- */
.samples-strip .mq-card { width: 260px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--grey-200); font-size: .92rem; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: var(--grey-600); }
.spec-row strong { color: var(--ink); }

.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .adv-grid { grid-template-columns: 1fr; } }
.adv {
  position: relative; padding: 28px 26px 26px; border-radius: 18px;
  background: #fff; border: 1px solid var(--grey-200);
  overflow: hidden; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
.adv::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--red), var(--amber));
  transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.adv:hover { transform: translateY(-6px); box-shadow: 0 20px 46px rgba(11,11,12,.14); border-color: #e2231a44; }
.adv:hover::before { transform: scaleY(1); }
.adv .ix {
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem;
  color: #e2231a1f; line-height: 1; margin-bottom: 6px;
}
.adv h4 { margin: 0 0 8px; font-size: 1.06rem; }
.adv p { margin: 0; font-size: .93rem; }

.app-tile {
  position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 4/3; border: 1px solid var(--grey-200); background: #0e1118;
}
.app-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1), filter .4s; }
.app-tile:hover img { transform: scale(1.09); }
.app-tile .ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; background: linear-gradient(0deg, rgba(5,6,10,.94) 8%, rgba(5,6,10,.45) 45%, transparent 75%);
}
.app-tile h4 { color: #fff; margin: 0 0 6px; font-size: 1.02rem; }
.app-tile p {
  color: #ffffffb5; margin: 0; font-size: .86rem; line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease;
}
.app-tile:hover p { max-height: 130px; opacity: 1; }

/* ---------- scroll reveal variants ---------- */
[data-rv] { opacity: 0; transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: var(--rvd, 0s); will-change: opacity, transform; }
[data-rv="up"]    { transform: translateY(38px); }
[data-rv="left"]  { transform: translateX(-46px); }
[data-rv="right"] { transform: translateX(46px); }
[data-rv="zoom"]  { transform: scale(.93); }
[data-rv="blur"]  { filter: blur(10px); }
[data-rv].seen { opacity: 1; transform: none; filter: none; }

/* section heads on dark */
.lit .eyebrow, .sbs .eyebrow, .reach .eyebrow { color: var(--red-bright); }
.lit .eyebrow::before, .sbs .eyebrow::before, .reach .eyebrow::before { background: var(--red-bright); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .lit-beam { animation: none; }
  [data-rv] { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- product shots sit on light plinths ----------
   The catalogue photos are studio shots on white. Cutting that white out
   destroyed the light-bodied machines, so instead we present every product
   shot on a light card — the white background then reads as intentional. */
.hm-card {
  background: linear-gradient(165deg, #ffffff 0%, #eceff4 100%);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.hm-card img { filter: none; mix-blend-mode: multiply; }
.hm-card .hm-label {
  color: var(--ink);
  background: linear-gradient(0deg, rgba(255,255,255,.96) 40%, rgba(255,255,255,0));
  font-weight: 700;
}
.hm-card .hm-spark { mix-blend-mode: normal; }
.hm-card:hover { border-color: rgba(255,68,51,.75); box-shadow: 0 22px 54px rgba(226,35,26,.30); }

/* marquee tiles: light bed so white-background shots blend */
.mq-card .im { background: linear-gradient(165deg, #ffffff, #eef1f5); }
.mq-card .im img { mix-blend-mode: multiply; }
/* photographic samples/industries should NOT multiply */
.samples-strip .mq-card .im img,
.marquee.rev .mq-card .im img { mix-blend-mode: normal; }
.samples-strip .mq-card .im, .marquee.rev .mq-card .im { background: #0e1118; }
