/* Techno-Mac Enterprises - static stylesheet */

:root {
  --ink: #05102a;
  --ink-2: #1f2340;
  --steel: #2f1747;
  --accent: #7b5ea7;
  --accent-2: #a99fba;
  --line: #e3e2ec;
  --muted: #5f617a;
  --bg: #ffffff;
  --bg-alt: #f5f4f9;
  --bg-lavender: #f6f3fa;
  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(5, 16, 42, 0.55);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.tm {
  margin: 0;
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

.tm h1, .tm h2, .tm h3, .tm h4 {
  font-family: "Oswald", "Barlow Condensed", Impact, sans-serif;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin: 0 0 14px;
  line-height: 1.15;
  text-transform: uppercase;
}

.tm p { margin: 0 0 14px; }
.tm a { color: inherit; text-decoration: none; }
.tm img { max-width: 100%; display: block; }
.tm ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- top bar + header ---------- */

.topbar {
  background: var(--ink);
  color: #c9c5db;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot { color: var(--accent); font-weight: 700; }
@media (max-width: 720px) {
  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center; min-height: 38px; flex-wrap: nowrap; }
  .topbar .container > span:first-child { display: none; }
  .topbar .container > span:last-child { flex-wrap: nowrap; justify-content: center; gap: 0 10px; }
  .topbar a[href^="mailto"] { display: none; }
  .topbar a[href^="mailto"] + .dot { display: none; }
}
@media (max-width: 560px) {
  .topbar { font-size: 11.5px; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.5); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 2px;
  box-shadow: 0 6px 16px -10px rgba(5, 16, 42, 0.6);
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.brand-text strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand-text small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: inset 0 0 0 0 var(--ink);
}
.btn-dark:hover { background: var(--ink); color: #fff; }

.header-cta {
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px var(--accent);
}
.header-cta:hover { transform: translateY(-2px); }
a.btn.btn-accent.header-cta { color: #fff; }


.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(5, 16, 42, 0.94) 0%, rgba(47, 23, 71, 0.85) 45%, rgba(5, 16, 42, 0.55) 100%);
}
.hero .container { position: relative; z-index: 3; padding-top: 90px; padding-bottom: 90px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d9cfe9;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 68px);
  max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { max-width: 58ch; color: #dedbec; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 28px; }
.tm .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 34px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tm .hero-badges li {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
  color: #eeecf5;
}
.hero-badges li::before { content: "◆"; color: var(--accent); margin-right: 9px; font-size: 10px; }

.hero-dots { position: absolute; z-index: 4; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button {
  width: 30px; height: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
}
.hero-dots button.active { background: var(--accent); }

/* ---------- marquee ---------- */

.marquee {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 28s linear infinite;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
}
.marquee span::after { content: " ✦"; opacity: 0.7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #d6d3e4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-white { background: #fff; color: var(--muted); }
.section-white h2, .section-white h3 { color: var(--ink); }
.section-lavender { background: var(--bg-lavender); color: var(--muted); }
.section-lavender h2, .section-lavender h3 { color: var(--ink); }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: #b7b3ca; }

.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* about */
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; width: 100%; height: 100%; min-height: 340px; }
.about-badge {
  position: absolute;
  right: -14px;
  bottom: -22px;
  background: var(--accent);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
  box-shadow: var(--shadow);
}
.about-badge b { display: block; font-size: 30px; }
.about-list { display: grid; gap: 10px; margin-top: 18px; }
.about-list li { display: flex; gap: 10px; font-weight: 600; color: var(--ink); }
.about-list li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; height: 3px; width: 0;
  background: var(--accent);
  transition: width 0.4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: 100%; }
.card .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(123, 94, 167, 0.12);
  color: var(--accent);
  font-size: 18px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

.section-dark .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.section-dark .card p { color: #b7b3ca; }

/* capability masonry cards */
.capability-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.capability-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 28px;
  transition: transform 0.45s ease, background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.capability-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(123, 94, 167, 0.55);
  box-shadow: 0 24px 50px -20px rgba(5, 16, 42, 0.6);
}
.capability-number {
  position: absolute;
  top: -8px;
  right: -6px;
  font-family: "Oswald", sans-serif;
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  font-style: italic;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.capability-tag {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(123, 94, 167, 0.14);
  border: 1px solid rgba(123, 94, 167, 0.25);
  border-radius: 40px;
  padding: 5px 13px;
  margin-bottom: 18px;
}
.capability-card h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}
.capability-card p {
  color: #b7b3ca;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

/* light-background capability cards */
.section-white .capability-card,
.section-lavender .capability-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(5, 16, 42, 0.06);
}
.section-white .capability-card:hover,
.section-lavender .capability-card:hover {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(5, 16, 42, 0.14);
}
.section-white .capability-number,
.section-lavender .capability-number { color: rgba(5, 16, 42, 0.06); }
.section-white .capability-card h3,
.section-lavender .capability-card h3 { color: var(--ink); }
.section-white .capability-card p,
.section-lavender .capability-card p { color: var(--muted); }

@media (max-width: 980px) {
  .capability-masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .capability-masonry { grid-template-columns: 1fr; }
}

/* products */
.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
}
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease, opacity 0.4s ease;
  opacity: 0.85;
}
.product-card:hover img { transform: scale(1.1); opacity: 0.55; }
.product-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(5, 16, 42, 0.92));
  color: #fff;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-card figcaption small { display: block; font-family: "Barlow", sans-serif; letter-spacing: 0; text-transform: none; color: #c6c2d8; font-size: 13px; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.3s ease;
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.chip b { color: var(--accent); margin-right: 8px; }
.chip:hover b { color: #c3b4de; }

/* counters */
.counters { background: var(--steel); color: #fff; padding: 66px 0; }
.counter { text-align: center; }
.counter b {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  color: #fff;
  line-height: 1;
}
.counter span { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #cfc7e2; }

/* industries */
.industry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  transition: all 0.3s ease;
}
.industry:hover { background: var(--ink); color: #fff; transform: translateX(6px); }
.industry i { color: var(--accent); font-style: normal; font-size: 20px; }

/* clients */
.client-scroll {
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 22px;
  columns: 3;
  column-gap: 30px;
}
.client-scroll li {
  break-inside: avoid;
  font-size: 14px;
  padding: 6px 0;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
}
.client-scroll li::before { content: "▸ "; color: var(--accent); }

/* cta */
.cta {
  background: var(--bg-lavender);
  color: var(--muted);
  padding: 74px 0;
  text-align: center;
}
.cta h2 { color: var(--ink); font-size: clamp(26px, 4vw, 40px); }
.cta p { color: var(--muted); max-width: 60ch; margin-inline: auto; }
.cta .kicker { color: var(--accent); }
.cta .btn-ghost { border-color: var(--ink); color: var(--ink); }
.cta .btn-ghost:hover { background: var(--ink); color: #fff; }
.cta a.btn.btn-accent {
  background: var(--steel);
  color: #fff;
  border-color: var(--steel);
  box-shadow: 0 10px 24px -14px rgba(47, 23, 71, 0.9);
}
.cta a.btn.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* contact */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.contact-card i { font-style: normal; font-size: 22px; color: var(--accent); }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15px; }

form.enquiry { display: grid; gap: 14px; }
form.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
  color: var(--ink);
}
form.enquiry textarea { min-height: 130px; resize: vertical; }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123, 94, 167, 0.18);
}
.form-note { font-size: 14px; color: var(--muted); }
.form-status { font-weight: 600; color: var(--accent); min-height: 22px; }

/* footer */
.site-footer { background: var(--steel); color: rgba(255, 255, 255, 0.72); padding: 68px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: 0.16em; margin-bottom: 18px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #fff; }
.site-footer li { padding: 5px 0; font-size: 15px; }
.footer-iso {
  text-align: center;
  margin-top: 34px;
}
.footer-iso span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 999px;
}
.footer-iso span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}
.footer-bottom {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.social-links { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social-links a {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: all 0.25s ease;
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: all 0.3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .client-scroll { columns: 2; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  form.enquiry .row { grid-template-columns: 1fr; }
  .client-scroll { columns: 1; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    transition: max-height 0.4s ease;
  }
  .nav.open { max-height: 460px; padding: 12px 20px 20px; border-bottom-color: var(--line); }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .header-cta { display: none; }
  .about-badge { right: 10px; bottom: -18px; }
}

/* ---- sub-page banner ---- */
.tm .page-hero {
  background: linear-gradient(120deg, var(--ink) 0%, var(--steel) 100%);
  padding: 96px 0 64px;
  color: #fff;
  position: relative;
}
.tm .page-hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 4px;
  background: var(--accent);
}
.tm .page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 5vw, 52px);
  margin: 12px 0 10px;
}
.tm .page-hero p { color: var(--accent-2); max-width: 640px; margin: 0; }

/* ---- Product detail pages ---- */
.tm .spec-wrap { overflow-x: auto; border: 1px solid rgba(5,16,42,.12); border-radius: 14px; background: #fff; }
.tm .spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tm .spec-table th,
.tm .spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid rgba(5,16,42,.08); vertical-align: top; }
.tm .spec-table tr:last-child th,
.tm .spec-table tr:last-child td { border-bottom: 0; }
.tm .spec-table th { width: 34%; font-family: "Oswald", sans-serif; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; color: var(--brand, #05102a); background: rgba(5,16,42,.04); }
.tm .spec-table td { color: var(--muted, #4a4a58); font-weight: 500; }
.tm .related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; list-style: none; padding: 0; margin: 0; }
.tm .related-list a { display: block; padding: 14px 18px; border: 1px solid rgba(5,16,42,.14); border-radius: 12px; background: #fff; font-weight: 700; color: var(--brand, #05102a); text-decoration: none; transition: .2s; }
.tm .related-list a:hover { background: var(--brand, #05102a); color: #fff; border-color: var(--brand, #05102a); }
@media (max-width: 900px) { .tm .related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tm .related-list { grid-template-columns: 1fr; } .tm .spec-table th { width: 44%; } }
.tm .product-card-link { display: block; text-decoration: none; color: inherit; }
.tm .product-card-link .product-card { height: 100%; }

/* ---------- client logo marquee ---------- */
.tm .client-logos { padding-bottom: 46px; }
.tm .logo-marquee {
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tm .logo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: logo-scroll 46s linear infinite;
  animation-play-state: running;
  transition: none;
}
.tm .logo-track.reverse { animation-direction: reverse; }
.tm .logo-marquee:hover .logo-track,
.tm .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tm .logo-card {
  flex: 0 0 auto;
  width: 190px;
  min-height: 148px;
  background: #fff;
  border: 1px solid rgba(5, 16, 42, 0.1);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(5, 16, 42, 0.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tm .logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(5, 16, 42, 0.14);
}
.tm .logo-card img {
  width: 62px; height: 62px;
  object-fit: contain;
  border-radius: 10px;
}
.tm .logo-card span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #05102a;
}
@media (max-width: 640px) {
  .tm .logo-card { width: 158px; min-height: 132px; padding: 14px 10px; }
  .tm .logo-card img { width: 52px; height: 52px; }
  .tm .logo-track { animation-duration: 34s; }
}
@media (prefers-reduced-motion: reduce) {
  .tm .logo-track { animation: none; }
  .tm .logo-marquee { overflow-x: auto; }
}
.tm a.logo-card { text-decoration: none; cursor: pointer; }
.tm a.logo-card span { color: #05102a; }
.tm a.logo-card:hover span { color: var(--accent); }
.tm .logo-mono {
  width: 62px; height: 62px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #05102a, #2f1747);
}

/* Industries served - tile grid */
.industries-section .section-head { max-width: 760px; margin: 0 auto 40px; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.industry-tile {
  background: #fff;
  border: 1px solid rgba(47, 23, 71, 0.10);
  border-radius: 18px;
  padding: 30px 24px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* soft gradient wash that blooms on hover */
.industry-tile::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.22), rgba(123, 94, 167, 0) 70%);
  transition: transform .45s ease, opacity .45s ease;
  opacity: 0;
}
.industry-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--steel), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.industry-tile:hover {
  transform: translateY(-7px);
  border-color: rgba(123, 94, 167, 0.40);
  box-shadow: 0 22px 40px -22px rgba(47, 23, 71, 0.55);
}
.industry-tile:hover::before { opacity: 1; transform: scale(1.35); }
.industry-tile:hover::after { transform: scaleX(1); }
.industry-num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(47, 23, 71, 0.16);
  transition: color .3s ease, -webkit-text-stroke-color .3s ease;
  pointer-events: none;
}
.industry-tile:hover .industry-num { -webkit-text-stroke-color: rgba(123, 94, 167, 0.55); }
.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 23, 71, 0.10), rgba(123, 94, 167, 0.16));
  border: 1px solid rgba(123, 94, 167, 0.25);
  color: var(--steel);
  font-size: 22px;
  line-height: 1;
  margin-bottom: 16px;
  transition: background .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}
.industry-tile:hover .industry-icon {
  background: linear-gradient(135deg, var(--steel), var(--accent));
  border-color: transparent;
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.industry-tile h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: .02em;
}
.industry-tile p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.industry-arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 17px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s ease, transform .3s ease;
}
.industry-tile:hover .industry-arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 1024px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }

/* ===== Product detail page (reference structure) ===== */
.tm .breadcrumb { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.tm .breadcrumb a { color: rgba(255,255,255,.82); text-decoration: none; }
.tm .breadcrumb a:hover { color: #fff; }
.tm .breadcrumb span { color: rgba(255,255,255,.55); }
.tm .breadcrumb .current { color: #fff; }

.tm .pd-usp-band { background: var(--bg-lavender, #f6f3fa); padding: 30px 0; }
.tm .pd-usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tm .pd-usp-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid rgba(47,23,71,.10); border-radius: 14px; padding: 18px 20px; }
.tm .pd-usp-ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: linear-gradient(135deg, #7b5ea7, #2f1747); position: relative; }
.tm .pd-usp-ico::after { content: ""; position: absolute; inset: 12px; border: 2px solid #fff; border-radius: 4px; transform: rotate(45deg); }
.tm .pd-usp-item strong { display: block; font-size: 15px; color: #2f1747; }
.tm .pd-usp-item span { display: block; font-size: 13.5px; color: #5c5470; margin-top: 4px; }

.tm .pd-showcase { padding: 64px 0; }
.tm .pd-showcase-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 40px; align-items: start; }
.tm .pd-showcase-grid.no-gallery { display: block; }
.tm .pd-showcase-grid.no-gallery .pd-contact { max-width: 560px; margin: 0 auto; }
.tm .pd-gallery { position: relative; }
.tm .pd-stage { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(47,23,71,.14); background: #f2eff7; aspect-ratio: 4/3; }
.tm .pd-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.tm .pd-slide.is-active { opacity: 1; }
.tm .pd-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm .pd-arrow { position: absolute; top: 38%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(47,23,71,.18); background: #fff; color: #2f1747; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(20,10,40,.14); }
.tm .pd-arrow.prev { left: -14px; }
.tm .pd-arrow.next { right: -14px; }
.tm .pd-arrow:hover { background: #2f1747; color: #fff; }
.tm .pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.tm .pd-thumb { padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; height: 78px; }
.tm .pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm .pd-thumb.is-active { border-color: #7b5ea7; }

.tm .pd-contact { background: var(--bg-lavender, #f6f3fa); border: 1px solid rgba(47,23,71,.12); border-radius: 16px; padding: 26px; }
.tm .pd-contact h3 { margin: 0 0 14px; color: #2f1747; font-size: 19px; }
.tm .pd-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tm .pd-contact-list li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px dashed rgba(47,23,71,.18); }
.tm .pd-contact-list span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #7b5ea7; }
.tm .pd-contact-list strong { color: #2f1747; font-size: 15px; }
.tm .pd-contact-list a { color: #2f1747; font-weight: 600; text-decoration: none; word-break: break-word; }
.tm .pd-contact-note { font-size: 14px; color: #5c5470; margin: 16px 0 18px; }

.tm .pd-tabs { position: sticky; top: 68px; z-index: 20; background: #2f1747; }
.tm .pd-tabs .container { display: flex; gap: 6px; overflow-x: auto; }
.tm .pd-tabs a { color: rgba(255,255,255,.78); text-decoration: none; padding: 15px 18px; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
.tm .pd-tabs a:hover, .tm .pd-tabs a.active { color: #fff; border-bottom-color: #a99fba; }

.tm .pd-desc { display: grid; grid-template-columns: 1.25fr .85fr; gap: 40px; align-items: start; }
.tm .pd-desc.no-media { display: block; max-width: 900px; }
.tm .pd-desc-body p { margin: 0 0 16px; }
.tm .pd-desc-media img { width: 100%; border-radius: 14px; display: block; }

.tm .pd-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm .pd-feature { background: #fff; border: 1px solid rgba(47,23,71,.10); border-left: 3px solid #7b5ea7; border-radius: 12px; padding: 20px; display: flex; gap: 14px; }
.tm .pd-feature-no { font-weight: 800; color: #a99fba; }
.tm .pd-feature p { margin: 0; color: #43405a; }

.tm .pd-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tm .pd-app { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid rgba(47,23,71,.10); border-radius: 12px; padding: 16px 18px; }
.tm .pd-app span { color: #7b5ea7; }
.tm .pd-app p { margin: 0; }

.tm .pd-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tm .pd-photo { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(47,23,71,.12); }
.tm .pd-photo img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .5s ease; }
.tm .pd-photo:hover img { transform: scale(1.06); }

@media (max-width: 980px) {
  .tm .pd-usp { grid-template-columns: 1fr; }
  .tm .pd-showcase-grid, .tm .pd-desc { grid-template-columns: 1fr; }
  .tm .pd-features, .tm .pd-apps, .tm .pd-photos { grid-template-columns: repeat(2, 1fr); }
  .tm .pd-arrow.prev { left: 8px; } .tm .pd-arrow.next { right: 8px; }
}
@media (max-width: 620px) {
  .tm .pd-features, .tm .pd-apps, .tm .pd-photos { grid-template-columns: 1fr; }
  .tm .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .tm .pd-thumb { height: 60px; }
}
