/* CSMFG nav + footer chrome, extracted from assets/style-footer-20260820.css
   Only navigation / footer rules, no global element resets. */

:root {--ink: #292929;
  --ink-2: #4b5259;
  --muted: #75797e;
  --paper: #f7f8f9;
  --paper-2: #f0f1f2;
  --card: #ffffff;
  --line: rgba(41, 41, 41, 0.09);
  --line-strong: rgba(41, 41, 41, 0.16);
  --brand: #c51b1f;          
  --brand-deep: #9e1114;
  --brand-ink: #1e1e20;      
  --accent: #d10000;
  --ok: #1e9e6a;
  --bad: #c51b1f;
  --radius-xl: 1.6rem;
  --radius-lg: 1.2rem;
  --radius-md: 0.9rem;
  --shadow-soft: 0 24px 60px -24px rgba(30, 30, 32, 0.16), 0 6px 18px -8px rgba(30, 30, 32, 0.07);
  --shadow-hover: 0 32px 80px -28px rgba(30, 30, 32, 0.25), 0 8px 24px -10px rgba(30, 30, 32, 0.1);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font-display: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;}
.container {width: min(1180px, calc(100% - 3rem)); margin-inline: auto;}
.nav-wrap {position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -22px rgba(30, 30, 32, 0.35);}
.nav {display: flex;
  align-items: center;
  gap: 0.35rem;
  width: min(1220px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 72px;
  padding: 0.4rem 0;}
.nav .brand {display: flex; align-items: center; gap: 0.6rem;
  margin-right: auto;}
.nav .brand img {height: 42px; width: auto;}
.nav .brand small {font-family: var(--font-body); font-weight: 700;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line-strong);
  padding-left: 0.6rem;
  line-height: 1.4;}
.nav-links {display: flex; align-items: center; gap: 0.1rem; margin-right: 0.6rem;}
.nav-links > .nav-item {position: relative;}
.nav-links a.top-link {display: inline-block;
  padding: 0.55rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 14px; font-weight: 700;
  color: var(--ink-2);
  transition: background 0.5s var(--ease), color 0.5s var(--ease);}
.nav-links a.top-link:hover,
.nav-links .nav-item:hover > a.top-link {background: rgba(197, 27, 31, 0.06); color: var(--brand);}
.nav-links a.top-link[aria-current="page"] {color: var(--brand);}
.dropdown {position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 330px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {opacity: 1; visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;}
.dropdown a {display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 0.7rem;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);}
.dropdown a span {display: block; font-size: 12px; font-weight: 500; color: var(--muted);}
.dropdown a:hover {background: rgba(197, 27, 31, 0.05); color: var(--brand); transform: translateX(3px);}
.dropdown-components,
.dropdown-capabilities {width: min(660px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.75rem;}
.dropdown-group {min-width: 0;
  padding: 0.15rem;}
.dropdown-group + .dropdown-group {border-left: 1px solid var(--line);
  padding-left: 0.8rem;}
.dropdown-title {display: block;
  min-height: 2.9rem;
  margin: 0 0.45rem 0.4rem;
  padding: 0.35rem 0 0.65rem;
  border-bottom: 2px solid var(--brand);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;}
.dropdown-footer {grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
  padding: 0.45rem 0.35rem 0;
  border-top: 1px solid var(--line);}
.dropdown-footer a {flex: 1;
  color: var(--brand);}
.dropdown-company {min-width: 230px;}
.burger {display: none;
  width: 42px; height: 42px;
  border-radius: 0.6rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  position: relative;}
.burger i {position: absolute; left: 12px; right: 12px; height: 1.8px;
  background: var(--ink);
  transition: transform 0.55s var(--ease), top 0.55s var(--ease), opacity 0.3s;}
.burger i:nth-child(1) {top: 15px;}
.burger i:nth-child(2) {top: 20px;}
.burger i:nth-child(3) {top: 25px;}
body.menu-open .burger i:nth-child(1) {top: 20px; transform: rotate(45deg);}
body.menu-open .burger i:nth-child(2) {opacity: 0;}
body.menu-open .burger i:nth-child(3) {top: 20px; transform: rotate(-45deg);}
.mobile-menu {position: fixed; inset: 0; z-index: 55;
  background: rgba(247, 248, 249, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5.5rem 2rem 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
  overflow-y: auto;}
body.menu-open .mobile-menu {opacity: 1; visibility: visible; transition-delay: 0s;}
.mobile-menu a {font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 800; color: var(--ink);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);}
.mobile-menu a.small {font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; color: var(--ink-2);}
.mobile-group {width: 100%;
  border-bottom: 1px solid var(--line);}
.mobile-group summary {position: relative;
  padding: 0.45rem 2rem 0.45rem 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 800;
  list-style: none;}
.mobile-group summary::-webkit-details-marker {display: none;}
.mobile-group summary::after {content: "+";
  position: absolute;
  right: 0.2rem;
  color: var(--brand);
  font-weight: 400;
  transition: transform 0.45s var(--ease);}
.mobile-group[open] summary::after {transform: rotate(45deg);}
.mobile-group a {padding: 0.4rem 0.25rem 0.4rem 1rem;
  border-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;}
.mobile-subtitle {display: block;
  margin: 0.7rem 0 0.2rem 1rem;
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;}
body.menu-open .mobile-menu a {opacity: 1; transform: translateY(0);}
body.menu-open .mobile-menu a:nth-child(1) {transition-delay: 0.06s;}
body.menu-open .mobile-menu a:nth-child(2) {transition-delay: 0.1s;}
body.menu-open .mobile-menu a:nth-child(3) {transition-delay: 0.14s;}
body.menu-open .mobile-menu a:nth-child(4) {transition-delay: 0.18s;}
body.menu-open .mobile-menu a:nth-child(5) {transition-delay: 0.22s;}
body.menu-open .mobile-menu a:nth-child(6) {transition-delay: 0.26s;}
body.menu-open .mobile-menu a:nth-child(7) {transition-delay: 0.3s;}
body.menu-open .mobile-menu a:nth-child(8) {transition-delay: 0.34s;}
body.menu-open .mobile-menu a:nth-child(9) {transition-delay: 0.38s;}
body.menu-open .mobile-menu a:nth-child(10) {transition-delay: 0.42s;}
body.menu-open .mobile-menu a:nth-child(11) {transition-delay: 0.46s;}
body.menu-open .mobile-menu a:nth-child(12) {transition-delay: 0.5s;}
body.menu-open .mobile-menu a:nth-child(13) {transition-delay: 0.54s;}
.btn {display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.35rem;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
  white-space: nowrap;}
.btn:active {transform: scale(0.98);}
.btn .disc {width: 34px; height: 34px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease);
  flex: none;}
.btn:hover .disc {transform: translate(3px, -1px) scale(1.06);}
.btn-primary {background: var(--brand); color: #fff; box-shadow: 0 14px 34px -14px rgba(197, 27, 31, 0.6);}
.btn-primary:hover {background: var(--brand-deep); color: #fff; box-shadow: 0 20px 44px -16px rgba(158, 17, 20, 0.65);}
.btn-primary .disc {background: rgba(255, 255, 255, 0.18); color: #fff;}
.btn-dark {background: var(--ink); color: #fff;}
.btn-dark:hover {background: #000; color: #fff;}
.btn-dark .disc {background: rgba(255, 255, 255, 0.14); color: #fff;}
.btn-ghost {background: rgba(255, 255, 255, 0.75); border-color: var(--line-strong); color: var(--ink);}
.btn-ghost:hover {border-color: var(--brand); color: var(--brand); background: #fff;}
.btn-ghost .disc {background: rgba(197, 27, 31, 0.08); color: var(--brand);}
.btn-amber {background: #fff; color: var(--brand); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.5);}
.btn-amber:hover {background: #f3f3f3; color: var(--brand-deep);}
.btn-amber .disc {background: rgba(197, 27, 31, 0.1); color: var(--brand);}
.quote-flow .container {max-width: 900px;}
.welding-video-copy .btn {align-self: flex-start;}
footer {position: relative; z-index: 1;
  background: var(--brand-ink);
  color: #c3c3c3;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: 14.5px;
  border-top: 4px solid var(--brand);}
footer h4 {color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem;}
footer a {color: #b9b9b9; display: block; padding: 0.22rem 0;}
footer a:hover {color: #fff;}
.foot-grid {display: grid; grid-template-columns: 1.25fr 1.1fr 0.9fr 1fr; gap: 2rem;}
.foot-brand img {height: 40px; width: auto; background: #fff; padding: 6px 10px; border-radius: 0.5rem;}
.foot-bottom {margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 13px; color: #8f8f8f;}
@media (max-width: 1020px){
  .foot-grid {grid-template-columns: 1fr 1fr;}
  .nav .brand small {display: none;}
}
@media (max-width: 768px){
  .container {width: calc(100% - 2rem);}
  .nav-links {display: none;}
  .nav .btn {display: none;}
  .burger {display: block;}
  .foot-grid {grid-template-columns: 1fr; gap: 1.6rem;}
}

/* --- overrides for QC pages' own `footer{}` rules (centered/small) --- */
body footer{
  text-align:left;
  color:#c3c3c3;
  font-size:14.5px;
  padding:clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top:4px solid var(--brand);
}
body footer a{text-decoration:none;}
body .nav a{text-decoration:none;}
body .mobile-menu a{text-decoration:none;}

/* --- language switch button (top-right inside the blue header) --- */
header{position:relative;}
.lang-switch{position:absolute;top:16px;right:18px;display:inline-flex;align-items:center;gap:6px;
  padding:6px 15px;border:1px solid rgba(255,255,255,.55);border-radius:999px;color:#fff;
  font-size:13px;font-weight:700;letter-spacing:.6px;text-decoration:none;background:rgba(255,255,255,.12);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background .15s,border-color .15s;}
.lang-switch:hover{background:rgba(255,255,255,.26);border-color:#fff;}
@media (max-width:600px){.lang-switch{top:10px;right:12px;padding:5px 12px;font-size:12px;}}
