/* =========================================================
   PACT Industries — styles
   Breakpoints: 1100 (small laptop) · 960 (tablet, nav collapses)
                768 (large phone) · 480 (phone)
   ========================================================= */
:root {
  --orange: #f65e0b;
  --orange-2: #ff7a1a;
  --ink: #17191d;
  --ink-2: #121519;
  --text: #4a4f57;
  --line: #e3e5e8;
  --bg-soft: #f4f5f6;
  --head: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font-family: Inter, Arial, sans-serif; font-size: 14px; line-height: 1.5; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; }
.wrap { width: min(1180px, 92%); margin-inline: auto; }
[hidden] { display: none !important; }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--orange); color: #fff; padding: 10px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- Buttons & shared text ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 20px; border-radius: 3px; border: 1px solid transparent;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn .ico { font-size: 15px; stroke-width: 2.2; transition: transform .2s; }
.btn:hover { background: #d94c08; box-shadow: 0 6px 18px #f15b1240; }
.btn:hover .ico { transform: translateX(3px); }
.btn.small { min-height: 40px; padding: 10px 16px; font-size: 12px; margin-top: 10px; }
.light-btn { background: #e9eaec; color: var(--ink); }
.light-btn .ico { color: var(--orange); }
.light-btn:hover { background: #dfe1e4; box-shadow: none; }
.white-btn { background: #fff; color: var(--ink); }
.white-btn .ico { color: var(--orange); }
.white-btn:hover { background: #fff3ec; }
.outline-btn { background: transparent; border-color: #fff; }
.outline-btn:hover { background: #ffffff1f; box-shadow: none; }

.eyebrow { font-size: 12px; letter-spacing: 1.6px; color: var(--orange); font-weight: 700; margin: 0 0 10px; text-transform: uppercase; }
.eyebrow.light { color: #fff; font-size: 11px; letter-spacing: 3.5px; font-weight: 600; }
.eyebrow i { color: var(--orange); font-style: normal; margin: 0 8px; }
.eyebrow.line::after { content: ""; display: inline-block; width: 30px; height: 1px; background: #c9ccd1; vertical-align: middle; margin-left: 8px; }

.capabilities h2, .product-intro h2, .trust h2, .quality h2 {
  font-family: var(--head); font-weight: 800; line-height: .95; text-transform: uppercase;
  font-size: clamp(32px, 3.4vw, 42px); margin-bottom: 14px;
}
.section-intro > p:not(.eyebrow), .product-intro > p:not(.eyebrow), .trust-copy > p:not(.eyebrow), .quality-copy > p:not(.eyebrow) {
  font-size: 13px; line-height: 1.6; color: var(--text); margin: 0 0 8px;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 14px #00000012; }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 38px; height: 35px; color: var(--ink); }
.brand.inverse, .brand.inverse .brand-mark { color: #fff; }
.brand-name { font-family: Inter, Arial, sans-serif; font-size: 28px; font-weight: 800; line-height: .85; letter-spacing: 1px; }
.brand-name small { display: block; font-size: 8.5px; letter-spacing: 4.2px; margin-top: 6px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 13px; font-weight: 500; }
.nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 24px 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--orange); }
.nav > a.active::after, .has-sub > a.active::after { transform: scaleX(1); }
.nav .chev { font-size: 14px; stroke-width: 2.2; }
.nav-quote { margin-left: 8px; }

.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: grid; place-items: center; width: 22px; height: 30px; padding: 0; margin-left: 2px; border: 0; background: none; color: inherit; cursor: pointer; }
.sub-toggle .ico { transition: transform .2s; }
.has-sub:hover > a, .has-sub:hover > .sub-toggle { color: var(--orange); }
.sub {
  position: absolute; top: 100%; left: -16px; z-index: 5; min-width: 230px; padding: 8px 0; background: #fff;
  border-top: 2px solid var(--orange); box-shadow: 0 12px 30px #0000001f;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.sub-wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 480px; }
.sub-right { left: auto; right: -40px; }
.sub a:not(.btn) { display: block; padding: 10px 18px; font-size: 13px; line-height: 1.35; }
.sub a:not(.btn)::after { display: none; }
.sub a:hover { background: var(--bg-soft); }
.sub .sub-all { grid-column: 1 / -1; border-top: 1px solid var(--line); color: var(--orange); font-weight: 600; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; min-height: 540px; display: flex; align-items: center;
  background: #0d1015 url('img/hero.jpg') 70% center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0e13 0%, #0b0e13f0 30%, #0b0e1399 55%, #0b0e1322 80%); }
.hero-stripes i { position: absolute; top: -10%; bottom: -10%; width: 14px; background: linear-gradient(180deg, var(--orange), #f15b1200); transform: skewX(-24deg); opacity: .85; }
.hero-stripes i:first-child { left: 52%; }
.hero-stripes i:last-child { left: 56%; width: 5px; opacity: .55; }
.hero-content { position: relative; z-index: 2; padding: 70px 0; }
.hero h1 { font-family: var(--head); text-transform: uppercase; line-height: .88; margin: 18px 0 22px; }
.hero h1 span, .hero h1 em, .hero h1 strong { display: block; }
.h1-top { font-weight: 600; font-size: clamp(38px, 5vw, 66px); letter-spacing: .5px; }
.hero h1 em, .hero h1 strong { font-style: italic; font-weight: 900; font-size: clamp(54px, 7.4vw, 100px); letter-spacing: -.5px; }
.hero h1 em { color: var(--orange); }
.hero-copy { max-width: 460px; font-size: 15px; line-height: 1.6; color: #e6e7e9; margin: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; margin-top: 28px; }
.video-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; min-height: 44px; }
.play { width: 42px; height: 42px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.play .ico { font-size: 20px; margin-left: 2px; }
.video-link:hover .play { background: var(--orange); border-color: var(--orange); }

/* ---------- Industries ---------- */
.industries { background: #fff; border-bottom: 1px solid var(--line); }
.industry-row { display: grid; grid-template-columns: 1.1fr repeat(5, 1fr); align-items: center; min-height: 108px; padding: 14px 0; }
.industry-heading { font-size: 17px; font-weight: 700; line-height: 1.25; border-left: 3px solid var(--orange); padding-left: 16px; }
.industry { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; line-height: 1.3; color: #33373d; padding: 6px 8px; border-left: 1px solid #d5d8dc; }
.industry .ico { font-size: 30px; color: var(--ink); stroke-width: 1.6; }

/* ---------- Capabilities ---------- */
.capabilities { padding: 40px 0; background: linear-gradient(180deg, #fafafa, #fff); }
.cap-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: center; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-right: -12px; }
.cap-card {
  position: relative; height: 200px; margin-left: -14px; overflow: hidden; background: var(--ink);
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%); transition: transform .3s;
}
.cap-card:first-child { margin-left: 0; }
.cap-card img { width: 100%; height: 72%; object-fit: cover; transition: transform .5s; }
.cap-card h3 {
  position: absolute; left: 0; right: 0; bottom: 0; height: 32%; display: flex; align-items: center;
  padding: 0 18% 0 14%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.15;
}
.cap-card:hover img { transform: scale(1.07); }

/* ---------- Products ---------- */
.products { position: relative; background: var(--bg-soft); padding: 18px 0; overflow: hidden; }
.products::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(4% + 330px + max(0px, (100% - 1180px) / 2));
  background: var(--ink); clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}
.product-layout { position: relative; display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: center; }
.product-intro { color: #fff; padding: 24px 0; }
.product-intro > p:not(.eyebrow) { color: #d9dbde; max-width: 220px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.product-card { background: linear-gradient(180deg, #fff, #eceef0); border: 1px solid #e2e4e7; border-radius: 4px; padding: 12px 12px 14px; text-align: center; transition: transform .25s, box-shadow .25s; }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 12.5px; font-weight: 600; margin-top: 12px; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #00000014; }

/* ---------- Why choose ---------- */
.trust {
  position: relative; padding: 44px 0;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, #ffffffcc 55%, #ffffff40 100%),
              url('img/facility.jpg') right center / cover no-repeat;
}
.trust-layout { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; }
.trust-points { display: grid; grid-template-columns: repeat(5, minmax(0, 96px)); gap: 8px; }
.trust-points div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 112px; padding: 12px 6px; background: #ffffffee; border: 1px solid #eceef0; border-radius: 3px; box-shadow: 0 4px 14px #0000000d; }
.trust-points .ico { font-size: 32px; color: var(--orange); stroke-width: 1.5; }
.trust-points b { font-size: 12px; line-height: 1.25; font-weight: 600; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; padding: 18px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 10px; border-right: 1px solid var(--orange); }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid .ico { font-size: 36px; color: var(--orange); stroke-width: 1.6; }
.stats-grid p { margin: 0; font-size: 13px; font-weight: 500; }
.stats-grid strong { display: block; font-family: var(--head); font-size: 30px; line-height: 1; font-weight: 700; }

/* ---------- Quality ---------- */
.quality { display: grid; grid-template-columns: 48% 1fr; background: #f7f7f8; }
.quality-image { position: relative; min-height: 220px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.quality-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quality-body { display: flex; align-items: center; gap: 24px; padding: 28px 4% 28px 2%; }
.quality-copy { flex: 1; }
.quality h2 { font-size: clamp(28px, 2.8vw, 36px); }
.quality h2 em { font-style: normal; color: var(--orange); }
.certs { display: flex; gap: 12px; }
.cert { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 78px; height: 74px; padding: 8px; background: #fff; border-radius: 6px; box-shadow: 0 3px 12px #00000012; text-align: center; }
.cert small { font-size: 8px; font-weight: 700; letter-spacing: .5px; color: #555; }
.iso { border: 2px solid #1f5fa6; color: #1f5fa6; }
.iso span { font-family: var(--head); font-weight: 800; font-size: 26px; line-height: .9; font-style: italic; }
.iso b { font-size: 10px; }
.iso small { color: #1f5fa6; }
.ce span { font-family: Arial, sans-serif; font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -2px; }

/* ---------- Testimonial & clients ---------- */
.testimonial { background: #f1f2f4; }
.testimonial-layout { display: grid; grid-template-columns: minmax(250px, 24%) 1fr 1.05fr; min-height: 160px; }
.testimonial-title {
  position: relative; background: var(--ink); color: #fff; padding: 26px 50px 26px max(4vw, calc((100vw - 1180px) / 2));
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.testimonial-title .eyebrow { font-size: 10px; }
.testimonial h2 { font-family: var(--head); font-weight: 700; font-size: clamp(26px, 2.6vw, 32px); line-height: 1; }
.slider-nav { display: flex; gap: 8px; margin-top: 14px; }
.slider-nav button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #ffffff55; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.slider-nav button:hover { background: var(--orange); border-color: var(--orange); }
.quote { margin: 14px 0 14px -10px; padding: 18px 28px; background: #fff; border-radius: 4px; box-shadow: 0 4px 16px #0000000d; display: flex; align-items: center; }
.quote-slide { display: none; margin: 0; }
.quote-slide.is-active { display: block; }
.quote-mark { display: block; font-family: Georgia, serif; font-size: 48px; line-height: .6; color: var(--orange); margin-top: 8px; }
.quote blockquote { margin: 6px 0 10px; font-size: 13px; line-height: 1.6; color: #33373d; }
.quote figcaption { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; }
.clients { padding: 20px max(4vw, calc((100vw - 1180px) / 2)) 20px 28px; display: flex; flex-direction: column; justify-content: center; }
.clients h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.client-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.client-logos b { display: grid; place-items: center; min-height: 54px; padding: 6px; background: #fff; border-radius: 4px; font-size: 13px; font-weight: 800; text-align: center; line-height: 1.1; box-shadow: 0 2px 8px #0000000a; }
.c-tata { color: #1b3e6f; letter-spacing: 1px; }
.c-red { color: #c8102e; }
.c-blue { color: #1f6fb5; font-size: 10px !important; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(100deg, var(--orange) 0%, var(--orange-2) 60%, #e14e0b 100%); color: #fff; padding: 22px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cta-text { display: flex; align-items: center; gap: 22px; padding-left: 8%; }
.paper { font-size: 44px; stroke-width: 1.5; }
.cta h2 { font-family: var(--head); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.1; }
.cta p { font-size: 12px; margin: 4px 0 0; opacity: .9; }
.cta-actions { display: flex; gap: 22px; }
.cta-actions .btn { min-width: 160px; }

/* ---------- Footer ---------- */
footer { background: var(--ink-2); color: #e9eaec; padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .9fr .9fr 1.3fr 1.5fr; gap: 28px; }
.footer-brand .brand-name { font-size: 34px; }
.footer-brand .brand-mark { width: 46px; height: 42px; }
.footer-brand p { font-size: 13px; margin: 18px 0 0; }
.footer-grid h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-col a { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #c9ccd1; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.contact-list .ico { font-size: 16px; color: var(--orange); }
.contact-list a span { overflow-wrap: anywhere; }
.footer-social { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 18px; text-align: right; }
.socials { display: flex; gap: 12px; }
.socials a { width: 30px; height: 30px; display: grid; place-items: center; background: #fff; color: var(--ink); border-radius: 4px; transition: background .2s, color .2s; }
.socials a:hover { background: var(--orange); color: #fff; }
.socials .ico { font-size: 17px; }
.footer-social small { font-size: 11px; line-height: 1.9; color: #a8acb3; }

/* ---------- Floating contact buttons ---------- */
.float-contact {
  position: fixed; z-index: 90; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 18px #00000038; transition: transform .2s, box-shadow .2s;
}
.float-btn .ico { font-size: 28px; }
.float-call { background: var(--orange); }
.float-call .ico { fill: currentColor; stroke: none; font-size: 24px; }
.float-wa { background: #25d366; }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.4s ease-out infinite; }
.float-btn:hover { transform: scale(1.08); box-shadow: 0 10px 24px #00000047; }
.float-tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 4px;
  opacity: 0; pointer-events: none; transition: .2s;
}
.float-btn:hover .float-tip, .float-btn:focus-visible .float-tip { opacity: 1; transform: translate(0, -50%); }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   ≤1100px — small laptops
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 16px; font-size: 12.5px; }
  .cap-layout { grid-template-columns: 220px 1fr; }
  .cap-card { height: 180px; }
  .cap-card h3 { font-size: 13.5px; }
  .product-layout { grid-template-columns: 250px 1fr; }
  .products::before { width: calc(4% + 290px); }
  .trust-layout { grid-template-columns: 260px 1fr; }
  .trust-points { grid-template-columns: repeat(5, 1fr); }
  .quality { grid-template-columns: 42% 1fr; }
  .quality-body { flex-wrap: wrap; gap: 18px; }
  .testimonial-layout { grid-template-columns: 230px 1fr 1fr; }
  .client-logos { grid-template-columns: repeat(2, 1fr); }
  .client-logos b { min-height: 44px; }
  .cta-text { padding-left: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
  .footer-social { grid-column: 1 / -1; flex-direction: row; align-items: center; text-align: left; border-top: 1px solid #ffffff1a; padding-top: 18px; }
}

/* =========================================================
   ≤960px — tablets: collapsible navigation, stacked intros
   ========================================================= */
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand-name { font-size: 24px; }
  .brand-mark { width: 33px; height: 30px; }
  .menu-toggle { display: block; margin-right: -8px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 4% 28px; background: #fff;
    font-size: 16px; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 2px; border-bottom: 1px solid #eef0f2; display: flex; justify-content: space-between; min-height: 50px; }
  .nav a:not(.btn)::after { display: none; }
  .has-sub { flex-wrap: wrap; border-bottom: 1px solid #eef0f2; }
  .has-sub > a:not(.btn) { flex: 1; border-bottom: 0; }
  .sub-toggle { width: 50px; height: 50px; margin: 0 -8px 0 0; }
  .sub-toggle .ico { font-size: 20px; }
  .has-sub.open .sub-toggle .ico { transform: rotate(180deg); }
  .has-sub:hover > a, .has-sub:hover > .sub-toggle { color: inherit; }
  .sub, .sub-wide { position: static; display: none; flex-basis: 100%; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .has-sub.open .sub { display: block; }
  .sub a:not(.btn) { font-size: 14.5px; color: #5b6068; padding: 11px 2px; min-height: 44px; border-bottom: 0; }
  .sub .sub-all { border-top: 0; }
  .nav-quote { margin: 18px 0 0; min-height: 50px; font-size: 15px; }
  body.menu-open { overflow: hidden; }

  .hero { min-height: 480px; background-position: 65% center; }
  .hero::before { background: linear-gradient(90deg, #0b0e13f2 0%, #0b0e13cc 55%, #0b0e1366 100%); }
  .hero-stripes i:first-child { left: 72%; }
  .hero-stripes i:last-child { left: 77%; }

  .industry-row { grid-template-columns: repeat(5, 1fr); row-gap: 14px; padding: 20px 0; }
  .industry-heading { grid-column: 1 / -1; }
  .industry-heading br { display: none; }
  .industry:nth-child(2) { border-left: 0; }

  .cap-layout { grid-template-columns: 1fr; gap: 22px; }
  .section-intro { max-width: 560px; }
  .cap-grid { margin-right: 0; }

  .products { padding: 0 0 26px; }
  .products::before { display: none; }
  .product-layout { grid-template-columns: 1fr; gap: 22px; isolation: isolate; }
  .product-intro { position: relative; padding: 32px 0; }
  .product-intro::before { content: ""; position: absolute; z-index: -1; inset: 0 -50vw; background: var(--ink); }
  .product-intro > p:not(.eyebrow) { max-width: 420px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }

  .trust { background: linear-gradient(180deg, #ffffffee, #fffffff2), url('img/facility.jpg') center / cover; }
  .trust-layout { grid-template-columns: 1fr; gap: 24px; }
  .trust-copy { max-width: 560px; }

  .quality { grid-template-columns: 1fr; }
  .quality-image { min-height: 260px; clip-path: none; }
  .quality-body { flex-direction: row; align-items: center; padding: 30px 4%; }

  .testimonial-layout { grid-template-columns: 1fr; }
  .testimonial-title { clip-path: none; padding: 26px 4%; }
  .quote { margin: 18px 4% 0; }
  .clients { padding: 22px 4% 26px; }
  .client-logos { grid-template-columns: repeat(4, 1fr); }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   ≤768px — large phones
   ========================================================= */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .hero { min-height: 0; background-position: 70% center; }
  .hero-content { padding: 56px 0 60px; }
  .hero h1 { margin: 14px 0 18px; }
  .hero-copy { font-size: 14.5px; }

  .industry-row { grid-template-columns: repeat(3, 1fr); }
  .industry:nth-child(5) { border-left: 0; }
  .industry { font-size: 12.5px; }

  .capabilities { padding: 40px 0; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cap-card, .cap-card:first-child { margin-left: 0; height: 200px; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
  .cap-card h3 { padding: 0 14% 0 10%; font-size: 15px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card h3 { font-size: 13.5px; }

  .trust { padding: 40px 0; }
  .trust-points { grid-template-columns: repeat(3, 1fr); }
  .trust-points b { font-size: 12.5px; }

  .stats { padding: 8px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div { justify-content: flex-start; padding: 16px 4%; border-right: 0; }
  .stats-grid > div:nth-child(odd) { border-right: 1px solid #ffffff22; }
  .stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid #ffffff22; }

  .quality-body { flex-direction: column; align-items: flex-start; }
  .quality-image { min-height: 220px; }

  .client-logos { grid-template-columns: repeat(2, 1fr); }

  .cta { padding: 30px 0; }
  .cta-actions .btn { flex: 1; min-width: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .contact-list { grid-column: 1 / -1; }
  .footer-social { flex-direction: column; align-items: flex-start; gap: 14px; }
  footer { padding-bottom: 100px; } /* keeps copyright clear of the floating buttons */

  .float-contact { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); gap: 10px; }
  .float-btn { width: 52px; height: 52px; }
  .float-tip { display: none; }
}

/* =========================================================
   ≤480px — phones
   ========================================================= */
@media (max-width: 480px) {
  .wrap { width: 90%; }
  .brand-name { font-size: 22px; }
  .h1-top { font-size: 32px; }
  .eyebrow.light { font-size: 10px; letter-spacing: 2.2px; }
  .eyebrow i { margin: 0 4px; }
  .hero h1 em, .hero h1 strong { font-size: clamp(44px, 14vw, 58px); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .video-link { justify-content: center; }

  .industry-row { grid-template-columns: repeat(2, 1fr); }
  .industry, .industry:nth-child(5) { border-left: 0; border-top: 1px solid #eceef0; padding-top: 14px; }
  .industry:last-child { grid-column: 1 / -1; }

  .cap-grid { grid-template-columns: 1fr; }
  .cap-card, .cap-card:first-child { height: 210px; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
  .cap-card h3 { padding: 0 10% 0 9%; font-size: 17px; }
  .cap-card h3 br { display: none; }

  .product-grid { gap: 10px; }
  .product-card { padding: 8px 8px 12px; }
  .product-card h3 { font-size: 12.5px; }

  .trust-points { grid-template-columns: repeat(2, 1fr); }
  .trust-points div:last-child { grid-column: 1 / -1; }

  .stats-grid .ico { font-size: 28px; }
  .stats-grid > div { gap: 10px; padding: 14px 3%; }
  .stats-grid p { font-size: 11.5px; }
  .stats-grid strong { font-size: 26px; }

  .quote { padding: 18px 20px; }
  .cta-text { gap: 14px; }
  .paper { font-size: 34px; }
  .cta-actions { flex-direction: column; gap: 12px; }

  .footer-grid { gap: 24px 16px; }
}

/* =========================================================
   Inner pages (about, products, investor desk, blog, contact)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 56px 0 50px;
  background: linear-gradient(90deg, #0b0e13 0%, #0b0e13e6 45%, #0b0e1399 100%), var(--hero-img, none) center / cover no-repeat, #15191e;
}
.page-hero::after { content: ""; position: absolute; top: -20%; bottom: -20%; right: 18%; width: 12px; background: linear-gradient(180deg, var(--orange), #f15b1200); transform: skewX(-24deg); opacity: .8; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 56px); line-height: .95; margin: 6px 0 10px; }
.page-hero p { max-width: 620px; color: #d9dbde; margin: 0; font-size: 14.5px; line-height: 1.6; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #b9bcc2; margin-bottom: 8px; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--orange); }
.crumbs span[aria-hidden] { color: var(--orange); }

.section { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.section-head p { margin: 6px 0 0; color: var(--text); max-width: 560px; font-size: 14px; }

.prose { font-size: 15px; line-height: 1.75; color: #33373d; max-width: 860px; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--head); color: var(--ink); line-height: 1.1; margin: 1.4em 0 .5em; text-transform: none; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 24px; } .prose h4 { font-size: 20px; }
.prose p { margin: 0 0 1em; }
.prose img { height: auto; border-radius: 4px; margin: 1em 0; }
.prose a { color: var(--orange); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose *[style*="font-size"] { font-size: inherit !important; }
.prose *[style*="font-family"] { font-family: inherit !important; }
.prose > :first-child { margin-top: 0; }

.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.side-card { background: var(--ink); color: #fff; border-radius: 4px; padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card h3 { font-family: var(--head); font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.side-card p { color: #c9ccd1; font-size: 13.5px; margin: 0 0 18px; }
.side-card .btn { width: 100%; margin-bottom: 10px; }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px; }
.feature .ico { font-size: 30px; color: var(--orange); stroke-width: 1.5; margin-bottom: 10px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--text); line-height: 1.6; }

/* Product overview & product pages */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.catalog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px #00000014; }
.catalog-card .thumb { aspect-ratio: 1 / 1; background: linear-gradient(180deg, #fff, #f0f1f3); display: grid; place-items: center; padding: 14px; }
.catalog-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.catalog-card .body { padding: 14px 16px 18px; border-top: 3px solid var(--orange); flex: 1; display: flex; flex-direction: column; }
.catalog-card h3 { font-size: 15px; margin-bottom: 6px; }
.catalog-card p { font-size: 12.5px; color: var(--text); margin: 0 0 10px; line-height: 1.5; flex: 1; }
.catalog-card .more { font-size: 12.5px; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--bg-soft); font-weight: 600; width: 50%; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button { padding: 0; border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(180deg, #fff, #f0f1f3); aspect-ratio: 1 / 1; cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: #0b0e13ee; padding: 60px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 4px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #ffffff55; background: #00000055; color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 22px; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; background: #fff; }
.related a:hover, .related a.current { border-color: var(--orange); color: var(--orange); }

/* Investor desk */
.inv-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.inv-nav { background: #fff; border: 1px solid var(--line); border-radius: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.inv-nav h2 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--orange); }
.inv-nav a { display: block; padding: 11px 18px; font-size: 13.5px; border-left: 3px solid transparent; }
.inv-nav a:hover { background: var(--bg-soft); }
.inv-nav a.current { border-left-color: var(--orange); background: #fff3ec; color: var(--orange); font-weight: 600; }
.inv-nav-mobile { display: none; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 18px; }
.filters .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #6b7079; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; font-size: 13px; font-weight: 500; background: #fff; }
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.doc-count { font-size: 13px; color: var(--text); margin: 0 0 12px; }
.doc-list { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: #f15b1266; box-shadow: 0 6px 16px #0000000d; }
.doc-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 4px; display: grid; place-items: center; background: #fff3ec; color: var(--orange); font-size: 22px; }
.doc-main { flex: 1; min-width: 0; }
.doc-main h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; overflow-wrap: anywhere; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #6b7079; }
.doc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.doc .btn { min-height: 40px; padding: 9px 14px; font-size: 12.5px; }
.empty { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed #cfd3d8; border-radius: 4px; color: var(--text); }
.empty .ico { font-size: 40px; color: #c2c6cc; margin-bottom: 10px; }
.empty h3 { color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.empty p { margin: 0 0 14px; font-size: 14px; }
.inv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inv-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 4px; transition: .2s; }
.inv-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 10px 22px #0000000f; }
.inv-card .ico { font-size: 26px; color: var(--orange); margin-top: 2px; }
.inv-card h3 { font-size: 15px; margin-bottom: 4px; }
.inv-card p { margin: 0; font-size: 12.5px; color: var(--text); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px #00000014; }
.post-card .thumb { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card .date { font-size: 12px; color: var(--orange); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.post-card h2 { font-size: 17px; line-height: 1.35; margin-bottom: 8px; }
.post-card p { font-size: 13.5px; color: var(--text); margin: 0 0 14px; flex: 1; line-height: 1.6; }
.post-card .more { font-weight: 700; font-size: 13px; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.post-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 4px; margin-bottom: 26px; }
.post-lead { font-size: 17px; line-height: 1.65; color: var(--ink); font-weight: 500; margin: 0 0 20px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.contact-card .ico { font-size: 22px; flex-shrink: 0; width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: #fff3ec; color: var(--orange); }
.contact-card.wa .ico { background: #e7f9ee; color: #1faa53; }
.contact-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #6b7079; margin-bottom: 4px; }
.contact-card a, .contact-card p { font-size: 15px; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--orange); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 28px; box-shadow: 0 10px 30px #0000000a; }
.form-card h2 { font-family: var(--head); font-size: 30px; text-transform: uppercase; margin-bottom: 4px; }
.form-card > p { color: var(--text); margin: 0 0 18px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field label span { color: var(--orange); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; min-height: 48px; border: 1px solid #cfd3d8; border-radius: 4px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid #f15b1255; border-color: var(--orange); }
.field .err { color: #c0392b; font-size: 12.5px; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn[type=submit] { margin-top: 18px; min-width: 200px; }
.form-card .btn[disabled] { opacity: .7; cursor: progress; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 4px; margin-bottom: 18px; font-size: 14px; }
.alert .ico { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.alert.ok { background: #e8f7ee; color: #17663a; border: 1px solid #b7e4c7; }
.alert.bad { background: #fdecea; color: #8a1f17; border: 1px solid #f5c2bd; }
.map-wrap { margin-top: 14px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Homepage extras */
.about-band { padding: 56px 0; }
.about-band .two-col { grid-template-columns: 1.2fr 1fr; align-items: center; }
.about-band .prose { max-width: none; }
.about-img { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 20px 40px #00000018; background: #fff; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* 404 */
.notfound { text-align: center; padding: 90px 0; }
.notfound strong { display: block; font-family: var(--head); font-size: 120px; line-height: 1; color: var(--orange); }

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .inv-layout { grid-template-columns: 230px 1fr; gap: 24px; }
  .inv-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .two-col, .about-band .two-col, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .side-card { position: static; }
  .inv-layout { grid-template-columns: 1fr; }
  .inv-nav { display: none; }
  .inv-nav-mobile { display: block; margin-bottom: 14px; }
  .inv-nav-mobile label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #6b7079; margin-bottom: 6px; }
  .inv-nav-mobile select { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 15px; border: 1px solid #cfd3d8; border-radius: 4px; background: #fff; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section, .about-band { padding: 40px 0; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero::after { right: 6%; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catalog-card .body { padding: 12px 12px 14px; }
  .catalog-card h3 { font-size: 14px; }
  .inv-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox { padding: 70px 10px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 60px); }
  .lightbox .lb-next { right: calc(50% - 60px); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .form-card .btn[type=submit] { width: 100%; }
  .doc { flex-wrap: wrap; gap: 12px; }
  .doc-main { flex-basis: calc(100% - 60px); }
  .doc .btn { width: 100%; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .catalog-card p { display: none; }
  .filters { padding: 14px; }
  .chip { padding: 7px 12px; }
}

/* Homepage: linked cards and the "News & Updates" band */
a.cap-card, a.product-card { display: block; color: inherit; }
.muted { color: var(--text); font-size: 13.5px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--orange); }
.testimonial-title .btn.small { margin-top: 14px; }
.updates-posts { display: block; }
.mini-posts { display: grid; gap: 10px; }
.mini-post { display: flex; gap: 14px; align-items: center; }
.mini-post img { width: 92px; height: 66px; object-fit: cover; border-radius: 3px; flex-shrink: 0; background: var(--bg-soft); }
.mini-post small { display: block; font-size: 11.5px; color: var(--orange); font-weight: 600; margin-bottom: 3px; }
.mini-post b { font-size: 13.5px; line-height: 1.35; }
.mini-post:hover b { color: var(--orange); }
.mini-docs { display: grid; gap: 8px; }
.mini-docs a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; background: #fff; border-radius: 4px; box-shadow: 0 2px 8px #0000000a; }
.mini-docs .ico { font-size: 18px; color: var(--orange); margin-top: 2px; }
.mini-docs b { display: block; font-size: 13px; line-height: 1.3; }
.mini-docs small { font-size: 11.5px; color: #6b7079; }
.mini-docs a:hover b { color: var(--orange); }

.section-title-sm { font-family: var(--head); font-size: 26px; font-weight: 800; text-transform: uppercase; margin: 0 0 14px; }
.spec-table + .section-title-sm { margin-top: 30px; }

.recent-posts { margin-top: 28px; }
.notfound p { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.side-card .btn .ico { font-size: 17px; }

.doc.unavailable { opacity: .7; }
.doc.unavailable .doc-icon { background: #eceef0; color: #8a8f97; }
.doc .btn.light-btn[aria-disabled] { cursor: not-allowed; box-shadow: none; }

/* =========================================================
   Homepage — matched to the ui.jpeg reference
   ========================================================= */
/* Header floats over the hero; white fades out behind "Request a Quote". */
.is-home .site-header {
  position: fixed; left: 0; right: 0; top: 0; box-shadow: none;
  --fade: calc(100% - (100% - min(1180px, 92%)) / 2 - 215px);
  background: linear-gradient(90deg, #fff 0, #fff var(--fade), #ffffffb3 calc(var(--fade) + 45px), #ffffff00 calc(var(--fade) + 110px));
  transition: background-color .3s, box-shadow .3s;
}
.is-home .site-header.is-solid { background: #fff; box-shadow: 0 2px 14px #00000012; }
.is-home .nav-quote { box-shadow: 0 6px 18px #00000040; }

.hero-home {
  min-height: clamp(470px, 38.3vw, 640px); padding-top: var(--header-h); align-items: center;
  background: #0b0e13;
}
.hero-home::before { display: none; }
.hero-home .hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: max(64%, 1000px);
  background: url('img/ref-hero.jpg') right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}
.hero-home .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0e13 0%, #0b0e13cc 22%, #0b0e1300 50%); }
.hero-home .hero-content { padding: 34px 0 40px; }
.hero-home .h1-top { font-size: clamp(36px, 4.15vw, 60px); font-weight: 500; }
.hero-home h1 em, .hero-home h1 strong { font-size: clamp(50px, 6.2vw, 90px); }
.hero-home h1 { margin: 12px 0 18px; }
.hero-home .hero-copy { font-size: clamp(13px, 1.12vw, 16px); max-width: 470px; }
.hero-home .hero-actions { margin-top: 22px; }

.is-home .industry-row { min-height: 96px; }
.is-home .capabilities { padding: 26px 0 18px; }
.is-home .cap-card { height: 165px; }
.is-home .cap-card img { height: 70%; }
.is-home .cap-card h3 { height: 30%; }

.trust-home {
  background: linear-gradient(90deg, #fff 0%, #fff 32%, #ffffffe6 48%, #ffffff00 72%),
              url('img/ref-building.jpg') right bottom / auto 100% no-repeat, linear-gradient(180deg, #e9eef4, #f6f7f9);
  padding: 34px 0;
}
.trust-home .trust-points div { background: #ffffffd9; backdrop-filter: blur(2px); }

.quality-home .quality-image { min-height: 205px; }
.quality-home .quality-image img { object-position: center; }
.quality-home .cert.iso b { font-size: 9px; }
.ce { color: #222; }

/* Testimonial row */
.testimonial-title { display: flex; flex-direction: column; justify-content: center; }
.t-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; padding: 0;
  display: grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; font-size: 18px;
}
.t-arrow:hover { color: var(--orange); }
.t-prev { left: 4px; }
.t-next { right: 10%; }
.quote { position: relative; }
.quote-dots { position: absolute; right: 20px; bottom: 12px; display: flex; gap: 5px; }
.quote-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d3d6da; }
.quote-dots i.on { background: var(--orange); }
.c-plain { color: var(--ink); }
.c-tata { font-size: 15px !important; }

@media (max-width: 960px) {
  .is-home .site-header { background: #fff; box-shadow: 0 2px 14px #00000012; }
  .hero-home { min-height: 0; }
  .hero-home .hero-media { width: 100%; -webkit-mask-image: none; mask-image: none; background-position: 72% center; }
  .hero-home .hero-media::after { background: linear-gradient(90deg, #0b0e13f0 0%, #0b0e13c7 55%, #0b0e1355 100%); }
  .hero-home .hero-content { padding: 56px 0 60px; }
  .trust-home { background: linear-gradient(180deg, #ffffffeb, #fffffff2), url('img/ref-building.jpg') center / cover; }
  .t-next { right: 4%; }
  .testimonial-title { padding-left: 4%; padding-right: 4%; }
  .testimonial-title:has(.t-arrow) { padding-left: calc(4% + 30px); }
}
@media (max-width: 768px) {
  .is-home .cap-card, .is-home .cap-card:first-child { height: 190px; }
}

/* Homepage reference fine-tuning (desktop) */
@media (min-width: 961px) {
  .hero-home { min-height: clamp(420px, 38.3vw, 640px); }
  .hero-home .hero-content { padding: 26px 0 34px; }
  .trust-home { padding: 40px 0; }
  .trust-home .trust-layout { grid-template-columns: 290px auto; justify-content: start; gap: 38px; }
  .trust-home .trust-points { grid-template-columns: repeat(5, 80px); gap: 7px; }
  .trust-home .trust-points div { min-height: 104px; padding: 10px 4px; }
  .trust-home .trust-points b { font-size: 11.5px; }
  .trust-home .trust-points .ico { font-size: 30px; }
  .quality-home { grid-template-columns: 48% 1fr; }
  .quality-home .quality-image { min-height: 0; }
  .quality-home .quality-image img { object-position: 78% center; }
  .quality-home .quality-body { padding: 22px 4% 22px 2%; }
  .is-home .client-logos { grid-template-columns: repeat(4, 1fr); }
  .is-home .client-logos b { min-height: 56px; font-size: 12px; }
}
@media (min-width: 961px) {
  .trust-home { background: linear-gradient(180deg, #ffffff 0%, #f3f6f9 100%); overflow: hidden; }
  .trust-home::after {
    content: ""; position: absolute; top: 0; bottom: 0; right: 0;
    left: calc((100% - min(1180px, 92%)) / 2 + 610px);
    background: url('img/ref-building.jpg') left center / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 140px); mask-image: linear-gradient(90deg, transparent 0, #000 140px);
  }
  .trust-home .trust-layout { position: relative; z-index: 1; grid-template-columns: 320px auto; gap: 24px; }
}

/* Homepage — Our Products band (matched to reference) */
.products-home .product-card { padding: 0; overflow: hidden; background: linear-gradient(180deg, #f6f7f8, #e9ebee); border-color: #e1e3e6; }
.products-home .product-img { aspect-ratio: 154 / 110; border-radius: 0; }
.products-home .product-img img { mix-blend-mode: multiply; }
.products-home .product-card h3 { margin: 0; padding: 8px 6px 12px; font-size: 12px; font-weight: 600; }
@media (min-width: 961px) {
  .products-home { padding: 14px 0; }
  .products-home::before {
    z-index: 1; width: calc(4% + 294px + max(0px, (100% - 1180px) / 2));
    clip-path: polygon(0 0, 73% 0, 100% 100%, 0 100%);
  }
  .products-home::after {
    content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: 0;
    width: calc(4% + 355px + max(0px, (100% - 1180px) / 2));
    background: linear-gradient(180deg, #d9dde2 0%, #e9ecef 70%, #f2f3f5 100%);
    clip-path: polygon(0 0, 77% 0, 100% 100%, 0 100%);
  }
  .products-home .product-layout { z-index: 2; grid-template-columns: 255px 1fr; gap: 22px; }
  .products-home .product-intro { padding: 10px 0; }
  .products-home .product-intro h2 { font-size: clamp(26px, 2.75vw, 38px); margin-bottom: 8px; }
  .products-home .product-intro > p:not(.eyebrow) { max-width: 240px; font-size: 12.5px; line-height: 1.45; margin-bottom: 4px; }
  .products-home .product-grid { gap: 8px; }
}
@media (min-width: 961px) {
  .products-home::before { width: calc(max(4%, (100% - 1180px) / 2) + 335px); clip-path: polygon(0 0, calc(100% - 90px) 0, 100% 100%, 0 100%); }
  .products-home::after { width: calc(max(4%, (100% - 1180px) / 2) + 400px); clip-path: polygon(0 0, calc(100% - 90px) 0, 100% 100%, 0 100%); }
  .products-home .product-intro h2 { font-size: clamp(26px, 2.75vw, 34px); }
}
/* Product cards always sit on top of the dark/grey diagonal panels */
.products-home .product-layout { position: relative; z-index: 2; isolation: isolate; }
.products-home .product-card { position: relative; z-index: 3; }
.products-home .product-img img { mix-blend-mode: normal; }
/* Diagonal panels sit IN FRONT of the first card, as in the reference */
@media (min-width: 961px) {
  .products-home .product-layout { z-index: auto; isolation: auto; }
  .products-home .product-card { z-index: 1; }
  .products-home::after { z-index: 2; }
  .products-home::before { z-index: 3; }
  .products-home .product-intro { position: relative; z-index: 4; }
}
@media (min-width: 961px) {
  .products-home::before { width: calc(max(4%, (100% - 1180px) / 2) + 295px); clip-path: polygon(0 0, calc(100% - 95px) 0, 100% 100%, 0 100%); }
  .products-home::after { width: calc(max(4%, (100% - 1180px) / 2) + 325px); clip-path: polygon(0 0, calc(100% - 70px) 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, #d6dbe1 0%, #e4e8ec 60%, #eef0f3 100%); }
}

/* CTA band — flat orange with a darker diagonal panel on the right (reference) */
.cta { position: relative; overflow: hidden; background: #f65e0b; }
.cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 47.5%;
  background: linear-gradient(90deg, #bf4507 0%, #a83b04 45%, #9e3703 100%);
  clip-path: polygon(14.5% 0, 100% 0, 100% 100%, 0 100%);
}
.cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50.5%; width: 10%;
  background: linear-gradient(90deg, transparent, #ffffff40);
  clip-path: polygon(88% 0, 90% 0, 3% 100%, 0 100%, 0 96%);
}
.cta-inner { position: relative; z-index: 1; }
.cta .paper { fill: #ffffffe6; stroke: #fff; }
.cta .outline-btn { border-color: #ffffffcc; }
@media (max-width: 960px) {
  .cta::before { width: 100%; top: auto; height: 46%; clip-path: none; background: linear-gradient(90deg, #bf4507, #a33a04); }
  .cta::after { display: none; }
}

/* Header — links centred between logo and button (reference spacing) */
@media (min-width: 961px) {
  .header-inner { gap: 24px; }
  .nav { flex: 1; gap: clamp(11px, 1.45vw, 24px); }
  .nav > :first-child { margin-left: auto; }
  .nav-quote { margin-left: auto; }
  .sub-toggle { width: 18px; margin-left: 0; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .nav { font-size: 12px; gap: 10px; }
  .header-inner { gap: 14px; }
  .brand-name { font-size: 24px; }
  .brand-mark { width: 33px; height: 30px; }
  .nav-quote { padding: 10px 14px; }
}
.gallery-group + .gallery-group { margin-top: 40px; }
.gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
/* Hero photo framed like the reference: right ~60%, full height */
@media (min-width: 961px) {
  .hero-home .hero-media { width: 60.5%; min-width: 620px; background-position: right top; background-size: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
  .hero-home .hero-media::after { background: linear-gradient(90deg, #0b0e13 0%, #0b0e1399 14%, #0b0e1300 34%); }
}
/* Hero: factory continues faintly behind the headline; headline sized like the reference */
@media (min-width: 961px) {
  .hero-home::before {
    display: block; content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 52%;
    background: url('img/ref-hero.jpg') left center / cover no-repeat; transform: scaleX(-1);
    opacity: .38; filter: blur(1.5px) saturate(.8);
  }
  .hero-home::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%; pointer-events: none;
    background: linear-gradient(90deg, #0b0e13e6 0%, #0b0e13b3 45%, #0b0e1300 100%);
  }
  .hero-home .hero-content { z-index: 2; }
  .hero-home .hero-media { z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
  .hero-home .hero-media::after { background: linear-gradient(90deg, #0b0e1399 0%, #0b0e1340 14%, #0b0e1300 30%); }
  .hero-home .h1-top { font-size: clamp(38px, 4.7vw, 68px); letter-spacing: .055em; font-weight: 500; }
  .hero-home h1 em, .hero-home h1 strong { font-size: clamp(58px, 7.9vw, 112px); }
  .hero-home .hero-copy { max-width: min(36vw, 520px); }
}

/* Phones & tablets: keep the desktop card rows, swipe sideways (no stretched photos) */
@media (max-width: 960px) {
  .is-home .cap-grid, .is-home .products-home .product-grid {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; margin-right: 0;
  }
  .is-home .cap-grid::-webkit-scrollbar, .is-home .products-home .product-grid::-webkit-scrollbar { display: none; }
  .is-home .cap-card, .is-home .cap-card:first-child {
    flex: 0 0 210px; height: 170px; margin-left: -16px; scroll-snap-align: start;
    clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  }
  .is-home .cap-card:first-child { margin-left: 0; }
  .is-home .cap-card img { height: 70%; }
  .is-home .cap-card h3 { height: 30%; padding: 0 18% 0 14%; font-size: 14px; }
  .is-home .cap-card h3 br { display: inline; }
  .is-home .products-home .product-grid { gap: 10px; }
  .is-home .products-home .product-card { flex: 0 0 165px; scroll-snap-align: start; }
  .is-home .products-home .product-card h3 { font-size: 12px; }
  .swipe-hint { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: #8a8f97; }
  .swipe-hint .ico { font-size: 14px; color: var(--orange); }
}
@media (min-width: 961px) { .swipe-hint { display: none; } }

/* Touch devices: bigger tap areas for small text links (look unchanged) */
@media (max-width: 960px), (pointer: coarse) {
  .crumbs a, .text-link, .catalog-card .more, a.more, .contact-card a { display: inline-flex; align-items: center; min-height: 40px; }
  .doc h3 a { display: inline-block; padding: 9px 0; margin: -9px 0; }
  .contact-card a { min-width: 40px; }
}

/* =========================================================
   Animations (disabled automatically for "reduce motion")
   ========================================================= */
/* Hero: slow zoom on the photo, headline slides in on load */
@keyframes heroZoom { from { scale: 1; } to { scale: 1.08; } }
@keyframes fadeUp { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
.hero-home .hero-media { transform-origin: 70% 55%; animation: heroZoom 20s ease-in-out infinite alternate; }
.hero-content > * { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .26s; }
.hero-content > :nth-child(4) { animation-delay: .4s; }
.page-hero .wrap > * { animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .wrap > :nth-child(2) { animation-delay: .1s; }
.page-hero .wrap > :nth-child(3) { animation-delay: .2s; }

/* Scroll reveal — only when JS is running (content never stays hidden without it).
   Uses the separate `translate`/`scale` properties so hover effects keep working. */
.js-anim .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js-anim .reveal.in { opacity: 1; translate: 0 0; }
.js-anim .reveal-img img { scale: 1.14; transition: scale 1.2s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .5s; }
.js-anim .reveal-img.in img { scale: 1; }

/* Small touches */
.product-card .product-img img { transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.06) rotate(-1deg); }
.trust-points div { transition: transform .25s, box-shadow .25s; }
.trust-points div:hover { transform: translateY(-4px); box-shadow: 0 10px 22px #0000001a; }
.trust-points div:hover .ico { animation: iconPop .5s ease; }
@keyframes iconPop { 50% { transform: scale(1.18); } }
.stats-grid strong { font-variant-numeric: tabular-nums; }
/* Keep the zoom-in photo effect inside its box (no sideways scroll) */
.js-anim .reveal-img, .quality-image { overflow: hidden; }

/* Taksonz Group logo (header + footer) */
.brand-logo { height: 54px; width: auto; display: block; }
.brand { gap: 12px; }
.brand-name { border-left: 1px solid #d5d8dc; padding-left: 12px; }
.footer-brand .brand-logo-badge { display: inline-grid; place-items: center; background: #fff; border-radius: 6px; padding: 6px 8px; }
.footer-brand .brand-logo { height: 58px; }
.footer-brand .brand-name { border-left-color: #ffffff33; }
@media (max-width: 1180px) and (min-width: 961px) { .brand-logo { height: 46px; } .brand { gap: 9px; } .brand-name { padding-left: 9px; } }
@media (max-width: 960px) { .brand-logo { height: 46px; } }
@media (max-width: 480px) { .brand-logo { height: 40px; } .brand { gap: 8px; } .brand-name { padding-left: 8px; } }
.nav a, .nav .has-sub > a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) {
  .brand-logo { height: 42px; }
  .brand-name { font-size: 21px; }
  .brand-name small { font-size: 7px; letter-spacing: 3.2px; }
  .nav { font-size: 11.5px; gap: 8px; }
  .header-inner { gap: 10px; }
  .nav-quote { padding: 9px 12px; font-size: 12px; gap: 6px; }
}

/* =========================================================
   Auto-scrolling rows (all screen sizes) + livelier hero
   ========================================================= */
.is-home .cap-grid, .is-home .products-home .product-grid {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  scroll-snap-type: none; margin-right: 0; padding-bottom: 2px; -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.is-home .cap-grid::-webkit-scrollbar, .is-home .products-home .product-grid::-webkit-scrollbar { display: none; }
.is-home .cap-grid.dragging, .is-home .product-grid.dragging { cursor: grabbing; }
.is-home .cap-grid { min-width: 0; }
.is-home .cap-card, .is-home .cap-card:first-child {
  flex: 0 0 clamp(190px, 17.5vw, 250px); height: clamp(165px, 13.5vw, 200px); margin-left: -16px;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}
.is-home .cap-card:first-child { margin-left: 0; }
.is-home .cap-card h3 { padding: 0 18% 0 14%; font-size: clamp(13px, 1.05vw, 15px); }
.is-home .cap-card h3 br { display: inline; }
.is-home .products-home .product-grid { gap: 10px; min-width: 0; }
.is-home .products-home .product-card { flex: 0 0 clamp(150px, 13.5vw, 200px); }
.is-home .product-layout { min-width: 0; }
.is-home .product-layout > *, .is-home .cap-layout > * { min-width: 0; }
/* soft fade at the right edge so cards glide out */
@media (min-width: 961px) {
  .is-home .cap-grid { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .is-home .products-home .product-grid { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
}

/* Hero: clearly visible zoom + drift, plus a light sweep */
@keyframes heroMove {
  0%   { scale: 1;    translate: 0 0; }
  50%  { scale: 1.13; translate: -2.5% 1%; }
  100% { scale: 1.04; translate: 1.5% -1%; }
}
.hero-home .hero-media { animation: heroMove 12s ease-in-out infinite alternate; }
@keyframes heroSweep { 0% { translate: -120% 0; } 60%, 100% { translate: 220% 0; } }
.hero-home .hero-content::before {
  content: ""; position: absolute; z-index: -1; top: -40%; bottom: -40%; left: 40%; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, #ff7a1a22 45%, #ffffff18 50%, transparent 60%);
  animation: heroSweep 7s ease-in-out infinite; animation-delay: 1.2s;
}
.hero-home { isolation: isolate; }
@media (min-width: 961px) {
  .is-home .cap-grid { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 88%, transparent); }
}
.is-home .cap-card img, .is-home .product-card img { -webkit-user-drag: none; user-select: none; }


/* PACT-only branding (Taksonz logo removed 2026-11-28) */
.brand-name, .footer-brand .brand-name { border-left: 0; padding-left: 0; }
.brand-mark { flex-shrink: 0; }
