/* =========================================================
   TQ Teknologies — style.css
   Exact recreation of redesign tokens (charcoal + mustard
   editorial system). Roboto Condensed headings, Manrope body.
   Design & Development by Samantha Technologies
   ========================================================= */

:root {
  --tq-accent: #E0A32E;            /* mustard */
  --tq-bg: #F8F7F2;                /* warm off-white */
  --tq-bg-2: #F1EFE7;              /* secondary surface */
  --tq-ink: #17181D;               /* charcoal */
  --tq-text: #1B1C21;
  --tq-text-2: #6E6E6E;
  --tq-border: #DAD8CF;
  --tq-border-inv: rgba(248, 247, 242, 0.2);
  --tq-text-inv: #F8F7F2;
  --tq-text-inv-2: rgba(248, 247, 242, 0.6);
  --font-heading: "Roboto Condensed", sans-serif;
  --font-body: "Manrope", sans-serif;
}

html { scroll-behavior: smooth; }
/* No horizontal scrolling — absolutely-positioned elements (nav dropdown,
   reveal animations) must never widen the page */
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--tq-bg);
  color: var(--tq-text);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

/* Containers (max 1600px like the source) */
.tq-container {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 20px;
}
.tq-container-fluid { max-width: 1600px; margin-inline: auto; }
@media (min-width: 768px)  { .tq-container { padding-inline: 40px; } }
@media (min-width: 1024px) { .tq-container { padding-inline: 56px; } }

/* ---------- Typography ---------- */
.tq-h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.04em;
  font-size: clamp(2.6rem, 6vw, 6rem);
}
.tq-h2-sm { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 0.9; }
.tq-h2-xl { font-size: clamp(2.8rem, 7.5vw, 8rem); line-height: 0.84; max-width: 18ch; }
.tq-h2-sans {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  max-width: 15ch;
  margin-top: 2rem;
}
.tq-h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
}
.tq-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tq-accent);
  margin-bottom: 0;
}
.tq-eyebrow-accent { color: var(--tq-accent); }
.tq-lead { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.55; }
.tq-muted { color: var(--tq-text-2); line-height: 1.7; }
.tq-num { color: var(--tq-text-2); }
.tq-num-accent { font-size: 0.75rem; font-weight: 700; color: var(--tq-accent); }

/* ---------- Navbar ---------- */
.tq-navbar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  color: var(--tq-text-inv);
  padding-block: 24px;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.tq-navbar.is-fixed {
  position: fixed;
  background: rgba(23, 24, 29, 0.94);
  backdrop-filter: blur(8px);
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--tq-border-inv);
}
.tq-brand { text-decoration: none; }
.tq-brand-logo {
  display: block;
  height: 44px;
  width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
}
.tq-brand-mark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--tq-accent);
}
.tq-brand-text {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.3;
  color: var(--tq-text-inv-2);
}
.tq-nav { gap: 32px; }
.tq-nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tq-text-inv-2);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}
.tq-nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px; width: 100%;
  background: var(--tq-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.tq-nav-link:hover { color: var(--tq-accent); }
.tq-nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.tq-menu-toggle {
  background: transparent;
  border: 1px solid var(--tq-border-inv);
  padding: 12px;
  color: inherit;
}
.tq-menu-icon { display: block; width: 20px; }
.tq-menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.tq-menu-toggle[aria-expanded="true"] .tq-menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tq-menu-toggle[aria-expanded="true"] .tq-menu-icon span:nth-child(2) { opacity: 0; }
.tq-menu-toggle[aria-expanded="true"] .tq-menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.tq-mobile-menu {
  display: none;
  margin: 0 20px;
  border: 1px solid var(--tq-border-inv);
  background: var(--tq-ink);
  padding: 20px;
  flex-direction: column;
}
.tq-mobile-menu.open { display: flex; }
.tq-mobile-link {
  padding-block: 16px;
  border-bottom: 1px solid var(--tq-border-inv);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tq-text-inv);
  text-decoration: none;
}
.tq-mobile-link:last-child { border-bottom: 0; }
.tq-mobile-link:hover { color: var(--tq-accent); }

/* ---------- Hero ---------- */
.tq-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--tq-ink);
  color: var(--tq-text-inv);
  display: flex;
}
@media (min-width: 1024px) { .tq-hero { min-height: 900px; } }
.tq-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.tq-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--tq-ink) 0%, rgba(23,24,29,0.7) 55%, transparent 100%);
}
.tq-hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 760px;
  padding-top: 128px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .tq-hero-inner { align-items: center; min-height: 900px; padding-bottom: 0; }
}
.tq-hero-content { max-width: 42rem; }
.tq-hero-title {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-size: clamp(3rem, 7.2vw, 6.5rem);
}
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: inline-block; }
.tq-hero-sub {
  margin-top: 28px;
  max-width: 28rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--tq-text-inv-2);
}
.tq-hero-explore {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tq-accent);
  text-decoration: none;
}
.tq-hero-rule { height: 1px; width: 64px; background: var(--tq-accent); transition: width 0.3s ease; }
.tq-hero-explore:hover { color: var(--tq-accent); }
.tq-hero-explore:hover .tq-hero-rule { width: 90px; }

/* ---------- About ---------- */
.tq-about { background: var(--tq-bg); }
.tq-about-top {
  border-bottom: 1px solid var(--tq-border);
  padding-block: 96px;
}
@media (min-width: 1024px) { .tq-about-top { padding-block: 128px; } }
.tq-eyebrow-rule {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.tq-eyebrow-rule .rule { height: 1px; width: 40px; background: var(--tq-accent); }
.tq-about-copy { margin-top: 48px; }
@media (min-width: 1024px) { .tq-about-copy { margin-top: 24px; } }
.tq-arrow-link {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tq-text);
  text-decoration: none;
}
.tq-arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--tq-accent);
  color: var(--tq-ink);
  transition: transform 0.3s ease;
}
.tq-arrow-link:hover .tq-arrow-circle { transform: translateX(6px); }

.tq-leadership { padding-block: 96px; }
.tq-leader-grid { border-top: 1px solid var(--tq-border); }
.tq-leader {
  border-bottom: 1px solid var(--tq-border);
  padding-block: 24px;
}
@media (min-width: 576px) {
  .tq-leader { border-right: 1px solid var(--tq-border); padding-inline: 20px; }
  .tq-leader:first-child { padding-left: 0; }
  .tq-leader:last-child { border-right: 0; }
}
.tq-leader img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}
.tq-leader:hover img { transform: scale(1.03); }
.tq-leader-body {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.tq-leader-body h3 { font-size: 1rem; font-weight: 700; font-family: var(--font-body); }
.tq-leader-body p { margin-top: 12px; font-size: 0.875rem; line-height: 1.6; color: var(--tq-text-2); }
.tq-leader-years {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--tq-accent);
}

/* ---------- Capabilities ---------- */
.tq-capabilities {
  background: var(--tq-bg-2);
  border-block: 1px solid var(--tq-border);
}
.tq-cap-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px 20px;
  border-bottom: 1px solid var(--tq-border);
}
@media (min-width: 768px)  { .tq-cap-left { padding-inline: 40px; } }
@media (min-width: 1024px) {
  .tq-cap-left { padding: 112px 56px; border-bottom: 0; border-right: 1px solid var(--tq-border); }
}
.tq-cap-left .tq-h2 { margin-top: 28px; }
.tq-cap-note { margin-top: 48px; max-width: 24rem; }
.tq-cap-img-wide img { min-height: 420px; height: 100%; width: 100%; object-fit: cover; }
.tq-cap-index {
  border-top: 1px solid var(--tq-border);
  padding: 28px;
}
@media (min-width: 768px) { .tq-cap-index { padding: 40px; } }
.tq-ruled-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.tq-ruled-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--tq-border);
  padding-block: 12px;
  font-size: 0.875rem;
}
.tq-cap-img-tall img { min-height: 420px; width: 100%; aspect-ratio: 3 / 4; height: auto; max-height: 620px; object-fit: cover; border-top: 1px solid var(--tq-border); transition: opacity 0.3s ease; background: #fff; }
.tq-cap-item { cursor: pointer; transition: color 0.3s ease; }
.tq-cap-item:hover span:first-child,
.tq-cap-item.active span:first-child { color: var(--tq-accent); }
.tq-cap-item.active .tq-num { color: var(--tq-accent); }

/* ---------- Why us ---------- */
.tq-why .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-why .tq-container { padding-block: 128px; } }
.tq-why .tq-h2 { margin-top: 28px; }
.tq-why-list { margin-top: 48px; border-top: 1px solid var(--tq-border); }
@media (min-width: 1024px) { .tq-why-list { margin-top: 0; } }
.tq-why-row {
  display: grid;
  gap: 16px;
  border-bottom: 1px solid var(--tq-border);
  padding-block: 28px;
}
@media (min-width: 768px) {
  .tq-why-row { grid-template-columns: 80px 0.8fr 1.2fr; align-items: center; }
}
.tq-why-row h3 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.tq-why-row p { max-width: 36rem; font-size: 0.875rem; line-height: 1.65; color: var(--tq-text-2); margin: 0; }

/* ---------- Quality policy / vision ---------- */
.tq-quality-dark,
.tq-quality-accent {
  padding: 80px 20px;
}
@media (min-width: 768px)  { .tq-quality-dark, .tq-quality-accent { padding-inline: 40px; } }
@media (min-width: 1024px) { .tq-quality-dark, .tq-quality-accent { padding: 112px 56px; } }
.tq-quality-dark { background: var(--tq-ink); color: var(--tq-text-inv); }
.tq-quality-accent { background: var(--tq-accent); color: var(--tq-ink); }
.tq-quality-dark .tq-h2, .tq-quality-accent .tq-h2 { margin-top: 32px; max-width: 15ch; }
.tq-quality-text { margin-top: 40px; max-width: 36rem; font-size: 1.125rem; line-height: 1.65; }
.tq-quality-dark .tq-quality-text { color: var(--tq-text-inv-2); }
.tq-quality-accent .tq-quality-text { opacity: 0.75; }
.tq-quality-accent .tq-eyebrow { color: var(--tq-ink); }

/* ---------- Quality control ---------- */
.tq-qc { background: var(--tq-bg); }
.tq-qc-img img { min-height: 520px; height: 100%; width: 100%; object-fit: cover; }
.tq-qc-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--tq-border);
  padding: 80px 20px;
}
@media (min-width: 768px)  { .tq-qc-body { padding-inline: 40px; } }
@media (min-width: 1024px) { .tq-qc-body { padding: 96px 56px; } }
.tq-qc-body .tq-h2 { margin-top: 28px; }
.tq-qc-body .tq-muted { margin-top: 28px; }
.tq-qc-list { margin-top: 48px; }
.tq-qc-list li { font-weight: 600; padding-block: 16px; }

/* ---------- Testimonials ---------- */
.tq-testimonials { background: var(--tq-ink); color: var(--tq-text-inv); }
.tq-testimonials .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-testimonials .tq-container { padding-block: 128px; } }
.tq-lead-inverse { font-size: 1.25rem; line-height: 1.6; color: var(--tq-text-inv-2); }
.tq-small-inverse { margin-top: 28px; font-size: 0.875rem; line-height: 1.65; color: var(--tq-text-inv-2); }
.tq-refs { margin-top: 80px; border-block: 1px solid var(--tq-border-inv); }
.tq-ref {
  padding-block: 32px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  border-bottom: 1px solid var(--tq-border-inv);
}
@media (min-width: 576px) {
  .tq-ref { border-bottom: 0; border-right: 1px solid var(--tq-border-inv); }
  .tq-ref:last-child { border-right: 0; }
}

/* ---------- Gallery ---------- */
.tq-gallery { background: var(--tq-bg-2); }
.tq-gallery .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-gallery .tq-container { padding-block: 128px; } }
.tq-gallery-note { max-width: 32rem; font-size: 1.125rem; line-height: 1.6; color: var(--tq-text-2); }
@media (min-width: 1024px) { .tq-gallery-note { margin-left: auto; } }
.tq-gallery-grid {
  margin-top: 56px;
  display: grid;
  gap: 4px;
}
.tq-gallery-grid img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
@media (min-width: 768px) {
  .tq-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 320px 320px;
  }
  .g1 { grid-column: span 2; grid-row: span 2; }
  .g2 { grid-column: span 2; }
}

/* ---------- Insights ---------- */
.tq-insights .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-insights .tq-container { padding-block: 128px; } }
.tq-insights .tq-h2 { margin-top: 32px; }
.tq-insights-list { margin-top: 48px; border-top: 1px solid var(--tq-border); }
@media (min-width: 1024px) { .tq-insights-list { margin-top: 0; } }
.tq-insight-row {
  display: grid;
  gap: 16px;
  border-bottom: 1px solid var(--tq-border);
  padding-block: 32px;
}
@media (min-width: 768px) {
  .tq-insight-row { grid-template-columns: 120px 1fr 1fr 40px; align-items: center; }
}
.tq-insight-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tq-accent);
}
.tq-insight-row h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.25; margin: 0; font-family: var(--font-body); }
.tq-insight-row p { font-size: 0.875rem; line-height: 1.6; color: var(--tq-text-2); margin: 0; }
.tq-insight-arrow { font-size: 1.5rem; color: var(--tq-text); text-decoration: none; transition: transform 0.3s ease, color 0.3s ease; display: inline-block; }
.tq-insight-arrow:hover { transform: translate(4px, -4px); color: var(--tq-accent); }

/* ---------- Contact CTA ---------- */
.tq-contact { background: var(--tq-accent); color: var(--tq-ink); }
.tq-contact .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-contact .tq-container { padding-block: 128px; } }
.tq-contact .tq-eyebrow { color: var(--tq-ink); }
.tq-contact .tq-h2-xl { margin-top: 32px; }
.tq-contact-details { border-top: 1px solid var(--tq-ink); padding-top: 24px; }
.tq-contact-mail {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--tq-ink);
  text-decoration: none;
}
.tq-contact-mail:hover { text-decoration: underline; color: var(--tq-ink); }
.tq-contact-details p { margin-top: 24px; font-size: 0.875rem; line-height: 1.7; margin-bottom: 0; }

/* ---------- Footer ---------- */
.tq-footer { background: var(--tq-ink); color: var(--tq-text-inv); }
.tq-footer-top {
  border-bottom: 1px solid var(--tq-border-inv);
  padding-block: 64px;
  margin: 0;
}
.tq-footer-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--tq-accent);
}
.tq-footer-logo {
  display: block;
  height: 56px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}
.tq-footer-desc { margin-top: 20px; max-width: 24rem; font-size: 0.875rem; line-height: 1.65; color: var(--tq-text-inv-2); }
.tq-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.tq-footer-nav a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tq-text-inv-2);
  text-decoration: none;
  transition: color 0.25s ease;
}
.tq-footer-nav a:hover { color: var(--tq-accent); }
.tq-footer-contact { font-size: 0.875rem; line-height: 1.7; color: var(--tq-text-inv-2); }
@media (min-width: 1024px) { .tq-footer-contact { text-align: right; } }
.tq-footer-contact a { color: var(--tq-text-inv-2); text-decoration: none; }
.tq-footer-contact a:hover { color: var(--tq-accent); }
.tq-footer-bottom {
  padding-block: 20px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tq-text-inv-2);
}
.tq-footer-bottom a { color: var(--tq-text-inv); text-decoration: none; }
.tq-footer-bottom a:hover { color: var(--tq-accent); }

/* ---------- Floating buttons ---------- */
.tq-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tq-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}
.tq-float-btn:hover { transform: translateY(-4px) scale(1.05); color: #fff; }
.tq-float-wa { background: #25D366; }
.tq-float-call { background: var(--tq-accent); color: var(--tq-ink); }
.tq-float-call:hover { color: var(--tq-ink); }

/* ---------- Animation initial states (JS removes) ---------- */
.js .reveal-up,
.js .reveal-row,
.js .reveal-batch { opacity: 0; }
.js .tq-img-reveal { overflow: hidden; }
.js .tq-img-reveal img { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal-up, .js .reveal-row, .js .reveal-batch { opacity: 1; }
  .js .tq-img-reveal img { transform: none; }
}

/* =========================================================
   INNER PAGES
   ========================================================= */

/* Active nav */
.tq-nav-link.active { color: var(--tq-accent); }
.tq-nav-link.active::after { transform: scaleX(1); }
.tq-mobile-link.active { color: var(--tq-accent); }

/* Page hero */
.tq-page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--tq-ink);
  color: var(--tq-text-inv);
}
@media (min-width: 1024px) { .tq-page-hero { min-height: 560px; } }
.tq-page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.tq-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--tq-ink) 5%, rgba(23,24,29,0.62) 60%, rgba(23,24,29,0.4) 100%);
}
.tq-page-hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 160px;
  padding-bottom: 64px;
}
.tq-page-title { margin-top: 24px; }

/* Contact page */
.tq-contact-list { border-top: 1px solid var(--tq-border); }
.tq-contact-item {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--tq-border);
  padding-block: 20px;
}
@media (min-width: 576px) {
  .tq-contact-item { grid-template-columns: 160px 1fr; gap: 16px; }
}
.tq-contact-item h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tq-accent);
  margin: 0;
  padding-top: 4px;
}
.tq-contact-item p { margin: 0; font-size: 0.9375rem; line-height: 1.7; color: var(--tq-text-2); }
.tq-contact-item a { color: var(--tq-text); text-decoration: none; font-weight: 600; }
.tq-contact-item a:hover { color: var(--tq-accent); }

.tq-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  color: var(--tq-text);
}
.tq-form input,
.tq-form textarea {
  width: 100%;
  border: 1px solid var(--tq-border);
  background: transparent;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--tq-text);
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.tq-form input:focus,
.tq-form textarea:focus {
  outline: none;
  border-color: var(--tq-accent);
}
.tq-form textarea { resize: vertical; }
.tq-form-submit {
  display: inline-block;
  border: 0;
  background: var(--tq-ink);
  color: var(--tq-text-inv);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.tq-form-submit:hover { background: var(--tq-accent); color: var(--tq-ink); }
.tq-form-note { margin: 12px 0 0; font-size: 0.8125rem; color: var(--tq-text-2); }

.tq-map { line-height: 0; background: var(--tq-bg); }
.tq-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.2);
}

/* Generic inner section */
.tq-section { background: var(--tq-bg); }
.tq-section .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-section .tq-container { padding-block: 120px; } }

/* Advantages list (about) */
.tq-adv-list { margin-top: 48px; border-top: 1px solid var(--tq-border); }
@media (min-width: 1024px) { .tq-adv-list { margin-top: 0; } }

/* Formation (dark) */
.tq-formation { background: var(--tq-ink); color: var(--tq-text-inv); }
.tq-formation .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-formation .tq-container { padding-block: 120px; } }
.tq-formation-note { margin-top: 28px; font-size: 0.9375rem; line-height: 1.7; color: var(--tq-text-inv-2); }
.tq-timeline { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--tq-border-inv); }
@media (min-width: 1024px) { .tq-timeline { margin-top: 0; } }
.tq-timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--tq-border-inv);
  padding-block: 28px;
}
.tq-timeline-year {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--tq-accent);
  line-height: 1;
}
.tq-timeline-item p { margin: 0; align-self: center; color: var(--tq-text-inv-2); line-height: 1.65; }

/* Milestones vertical track */
.tq-milestones { background: var(--tq-bg-2); border-block: 1px solid var(--tq-border); }
.tq-milestone-track { position: relative; margin-top: 48px; padding-left: 32px; }
@media (min-width: 1024px) { .tq-milestone-track { margin-top: 0; } }
.tq-milestone-line {
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--tq-accent);
  transform-origin: top;
}
.tq-milestone { position: relative; padding-bottom: 40px; }
.tq-milestone:last-child { padding-bottom: 0; }
.tq-milestone-dot {
  position: absolute;
  left: -32px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tq-accent);
}
.tq-milestone-year {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.tq-milestone p { margin: 12px 0 0; max-width: 34rem; color: var(--tq-text-2); line-height: 1.65; }

/* Highlights / counters */
.tq-highlights { background: var(--tq-ink); color: var(--tq-text-inv); }
.tq-highlight {
  padding: 56px 20px;
  border-bottom: 1px solid var(--tq-border-inv);
}
@media (min-width: 1024px) {
  .tq-highlight { padding: 72px 56px; border-bottom: 0; border-right: 1px solid var(--tq-border-inv); }
  .tq-highlight:last-child { border-right: 0; }
}
.tq-highlight-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  color: var(--tq-accent);
  line-height: 1;
}
.tq-highlight-label {
  display: block;
  margin-top: 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tq-text-inv-2);
}

/* Revenue chart */
.tq-revenue { border-bottom: 1px solid var(--tq-border); }
.tq-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
  height: 380px;
  margin-top: 48px;
  border-bottom: 2px solid var(--tq-ink);
  padding-bottom: 0;
}
@media (min-width: 1024px) { .tq-chart { margin-top: 0; height: 420px; } }
.tq-chart-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.tq-chart-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 10px;
}
.tq-chart-bar {
  width: 100%;
  max-width: 120px;
  height: var(--h);
  background: var(--tq-accent);
  transform-origin: bottom;
}
.tq-chart-col:nth-child(odd) .tq-chart-bar { background: var(--tq-ink); }
.tq-chart-year {
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tq-text-2);
  margin-bottom: -40px;
}
.js .tq-chart-bar { transform: scaleY(0); }
@media (prefers-reduced-motion: reduce) { .js .tq-chart-bar { transform: none; } }

/* Management */
.tq-mgmt-body { margin-top: 16px; }
.tq-mgmt-body h3 { font-size: 1rem; font-weight: 700; font-family: var(--font-body); margin: 0; }
.tq-mgmt-body p {
  margin: 6px 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tq-accent);
  font-weight: 600;
}
.tq-mgmt img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: top; }

/* Exposure (dark) */
.tq-exposure { background: var(--tq-ink); color: var(--tq-text-inv); }
.tq-exposure .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-exposure .tq-container { padding-block: 120px; } }
.tq-exposure-list { margin-top: 48px; border-top: 1px solid var(--tq-border-inv); }
@media (min-width: 1024px) { .tq-exposure-list { margin-top: 0; } }
.tq-why-row-inv { border-color: var(--tq-border-inv); }
.tq-why-row-inv p { color: var(--tq-text-inv-2); }

/* Mini CTA */
.tq-cta-mini .tq-container { padding-block: 72px; }
.tq-cta-mini .tq-arrow-link { color: var(--tq-ink); margin-top: 0; }

/* Machines (facility) */
.tq-machine { border-bottom: 1px solid var(--tq-border); padding-bottom: 24px; height: 100%; }
.tq-machine img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.tq-machine-body { margin-top: 20px; }
.tq-machine-body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.tq-machine-spec { margin: 10px 0 0; font-size: 0.875rem; color: var(--tq-text-2); }
.tq-machine-cap {
  margin: 10px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tq-accent);
}

/* Process grid (facility) */
.tq-process { background: var(--tq-bg-2); border-block: 1px solid var(--tq-border); }
.tq-process .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-process .tq-container { padding-block: 120px; } }
.tq-process-note { max-width: 32rem; color: var(--tq-text-2); line-height: 1.65; }
@media (min-width: 1024px) { .tq-process-note { margin-left: auto; } }
.tq-process-grid {
  margin-top: 56px;
  display: grid;
  gap: 1px;
  background: var(--tq-border);
  border: 1px solid var(--tq-border);
}
@media (min-width: 576px)  { .tq-process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { .tq-process-grid { grid-template-columns: repeat(4, 1fr); } }
.tq-process-step {
  background: var(--tq-bg);
  padding: 28px 24px 36px;
  transition: background 0.3s ease;
  position: relative;
}
.tq-process-step:hover { background: var(--tq-ink); }
.tq-process-step:hover h3 { color: var(--tq-text-inv); }
.tq-process-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--tq-accent);
  line-height: 1;
  display: block;
}
.tq-process-step h3 {
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* ISO certificate (quality) */
.tq-cert {
  margin: 0;
  border: 1px solid var(--tq-border);
  background: #fff;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(23, 24, 29, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.tq-cert:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 32px 70px rgba(23,24,29,0.18); }
.tq-cert img { width: 100%; }
.tq-cert figcaption {
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tq-text-2);
  text-align: center;
}

/* Instruments (quality) */
.tq-instruments { background: var(--tq-ink); color: var(--tq-text-inv); }
.tq-instruments .tq-container { padding-block: 96px; }
@media (min-width: 1024px) { .tq-instruments .tq-container { padding-block: 120px; } }
.tq-instruments-note { max-width: 30rem; color: var(--tq-text-inv-2); line-height: 1.65; }
@media (min-width: 1024px) { .tq-instruments-note { margin-left: auto; } }
.tq-inst-table { border-top: 1px solid var(--tq-border-inv); margin-top: 24px; }
.tq-inst-row {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--tq-border-inv);
  padding-block: 20px;
}
@media (min-width: 768px) { .tq-inst-row { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.tq-inst-row h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.tq-inst-row p { margin: 0; font-size: 0.875rem; color: var(--tq-text-inv-2); }
.tq-inst-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.tq-inst-extra h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.tq-inst-extra p { margin: 8px 0 0; font-size: 0.875rem; color: var(--tq-text-inv-2); }
.tq-gauges { margin-top: 72px; border: 1px solid var(--tq-border-inv); }
.tq-gauge {
  padding: 24px 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-right: 1px solid var(--tq-border-inv);
  border-bottom: 1px solid var(--tq-border-inv);
  transition: color 0.25s ease, background 0.25s ease;
}
.tq-gauge:hover { color: var(--tq-ink); background: var(--tq-accent); }

/* Product gallery grid */
.tq-product-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
@media (min-width: 768px)  { .tq-product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .tq-product-grid { grid-template-columns: repeat(5, 1fr); } }
.tq-product { background: #fff; border: 1px solid var(--tq-border); }
.tq-product img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tq-product:hover img { transform: scale(1.06); }
.tq-product { overflow: hidden; }
.tq-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

/* Lightbox */
.tq-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(23, 24, 29, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.tq-lightbox.open { opacity: 1; visibility: visible; }
.tq-lightbox img {
  max-width: min(86vw, 1100px);
  max-height: 84vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.tq-lightbox-close,
.tq-lightbox-nav {
  position: absolute;
  border: 1px solid var(--tq-border-inv);
  background: transparent;
  color: var(--tq-text-inv);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.tq-lightbox-close:hover,
.tq-lightbox-nav:hover { background: var(--tq-accent); color: var(--tq-ink); border-color: var(--tq-accent); }
.tq-lightbox-close { top: 24px; right: 24px; font-size: 2rem; }
.tq-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.tq-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.tq-lightbox-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--tq-text-inv-2);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
}
@media (max-width: 575px) {
  .tq-lightbox img { max-width: 94vw; }
  .tq-lightbox-prev { left: 8px; }
  .tq-lightbox-next { right: 8px; }
  .tq-lightbox-close { top: 12px; right: 12px; }
}

/* =========================================================
   Products navbar dropdown (categories > subcategories)
   ========================================================= */
.tq-nav-drop { position: relative; display: flex; align-items: center; }
.tq-drop-caret { font-size: .6rem; margin-left: 2px; opacity: .7; transition: transform .25s ease; display: inline-block; }
.tq-nav-drop:hover .tq-drop-caret { transform: rotate(180deg); }

.tq-nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  display: flex; gap: 36px; padding: 26px 30px 18px;
  background: var(--tq-ink); border: 1px solid var(--tq-border-inv); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  min-width: 460px; max-width: min(92vw, 720px); flex-wrap: wrap; z-index: 1100;
}
.tq-nav-drop:hover .tq-nav-dropdown,
.tq-nav-drop:focus-within .tq-nav-dropdown,
.tq-nav-drop.touch-open .tq-nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.tq-nav-dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }

.tq-drop-col { min-width: 190px; }
.tq-drop-cat {
  display: block; font-family: var(--font-heading); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--tq-accent);
  text-decoration: none; padding-bottom: 10px; margin-bottom: 8px;
  border-bottom: 1px solid var(--tq-border-inv);
}
.tq-drop-cat:hover { color: var(--tq-text-inv); }
.tq-drop-sub {
  display: block; color: var(--tq-text-inv-2); text-decoration: none;
  font-size: .88rem; padding: 6px 0; transition: color .2s ease, padding-left .2s ease;
}
.tq-drop-sub:hover { color: var(--tq-accent); padding-left: 6px; }
.tq-drop-foot { flex-basis: 100%; border-top: 1px solid var(--tq-border-inv); padding-top: 12px; margin-top: 6px; }
.tq-drop-foot a { color: var(--tq-text-inv); font-size: .85rem; text-decoration: none; }
.tq-drop-foot a:hover { color: var(--tq-accent); }

/* ---------- Global lightbox trigger ---------- */
.tq-zoomable { cursor: zoom-in; }

/* ---------- Category / subcategory detailed product rows ---------- */
.tq-prod-row { padding: 44px 0; border-bottom: 1px solid var(--tq-border); margin: 0; }
.tq-prod-row:last-of-type { border-bottom: 0; }
.tq-prod-row-title { color: var(--tq-text); text-decoration: none; transition: color .2s ease; }
.tq-prod-row-title:hover { color: var(--tq-accent); }
.tq-prod-row .tq-img-reveal img { transition: transform .45s ease; }
.tq-prod-row a:hover .tq-img-reveal img { transform: scale(1.04); }
.tq-prod-row-desc { color: var(--tq-text-2); font-size: 0.9375rem; }
.tq-prod-row-desc p { margin-bottom: 8px; }
.tq-prod-row-desc ul { padding-left: 20px; margin-bottom: 0; }
.tq-prod-row-desc li { margin-bottom: 4px; }

/* ---------- Products listing: clickable machine cards ---------- */
a .tq-machine h3 { color: var(--tq-text); transition: color .2s ease; }
a .tq-machine .tq-machine-spec { color: var(--tq-text-2); }
a:hover .tq-machine h3 { color: var(--tq-accent); }
a:hover .tq-machine .tq-img-reveal img { transform: scale(1.04); }
.tq-machine .tq-img-reveal img { transition: transform .45s ease; }

/* Mid-width desktops: anchor the dropdown to the right so it never
   crosses the viewport edge (nav sits close to the right side) */
@media (min-width: 1200px) and (max-width: 1649.98px) {
  .tq-nav-dropdown { left: auto; right: -90px; transform: translateY(8px); }
  .tq-nav-drop:hover .tq-nav-dropdown,
  .tq-nav-drop:focus-within .tq-nav-dropdown,
  .tq-nav-drop.touch-open .tq-nav-dropdown { transform: translateY(0); }
}

/* ---------- Mobile: products accordion ---------- */
.tq-mobile-menu { max-height: calc(100dvh - 110px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

.tq-mobile-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
                 border-bottom: 1px solid var(--tq-border-inv); }
.tq-mobile-row .tq-mobile-link { border-bottom: 0; flex: 1 1 auto; }
.tq-mobile-expand {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px;
  background: transparent; border: 1px solid var(--tq-border-inv);
  color: var(--tq-text-inv); display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s ease, color .2s ease, border-color .2s ease;
}
.tq-mobile-expand.open { transform: rotate(180deg); color: var(--tq-accent); border-color: var(--tq-accent); }

.tq-mobile-subwrap {
  display: none; padding: 4px 0 12px; border-bottom: 1px solid var(--tq-border-inv);
}
.tq-mobile-subwrap.open { display: block; }
.tq-mobile-cat {
  display: block; font-family: var(--font-heading); font-weight: 700; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tq-accent);
  text-decoration: none; padding: 12px 0 6px 14px;
}
.tq-mobile-cat:hover { color: var(--tq-text-inv); }
.tq-mobile-subcat {
  display: block; color: var(--tq-text-inv-2); text-decoration: none;
  font-size: .875rem; padding: 8px 0 8px 28px;
}
.tq-mobile-subcat:hover, .tq-mobile-subcat:active { color: var(--tq-accent); }
.tq-mobile-allprod {
  display: block; color: var(--tq-text-inv); text-decoration: none;
  font-size: .82rem; padding: 12px 0 2px 14px;
}
.tq-mobile-allprod:hover { color: var(--tq-accent); }
