:root {
  --ink: #17212b;
  --muted: #5e6873;
  --paper: #ffffff;
  --soft: #f4f1eb;
  --line: #d9dedf;
  --navy: #10202b;
  --teal: #006b68;
  --amber: #d58a21;
  --clay: #8d4f34;
  --green: #416d55;
  --shadow: 0 18px 45px rgba(18, 32, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.top-bar {
  color: #eef6f4;
  background: var(--navy);
  font-size: 0.92rem;
}

.top-bar__inner,
.top-bar__contacts,
.nav-shell,
.primary-nav,
.hero__actions,
.footer-bottom,
.cta-actions {
  display: flex;
  align-items: center;
}

.top-bar__inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 16px;
}

.top-bar__contacts {
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar a {
  text-decoration: none;
}

.top-bar a,
.footer-list a,
.contact-panel a,
.quote-box dd {
  overflow-wrap: anywhere;
}

.top-bar a:hover,
.primary-nav a:hover,
.footer-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  min-height: 78px;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
}

.brand__mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  background: var(--teal);
}

.brand__mark svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.brand__text {
  max-width: 245px;
  line-height: 1.1;
}

.primary-nav {
  gap: 20px;
  font-weight: 700;
  color: var(--ink);
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(10, 21, 30, 0.94) 0%, rgba(10, 21, 30, 0.76) 39%, rgba(10, 21, 30, 0.24) 70%),
    var(--hero-image) center / cover no-repeat;
}

.hero__content {
  display: grid;
  align-content: center;
  min-height: 690px;
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0;
}

.hero__lead {
  max-width: 680px;
  margin-top: 24px;
  color: #f3f6f4;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero__actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  color: #201200;
  background: var(--amber);
}

.button--secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.button--dark {
  color: var(--paper);
  background: var(--teal);
}

.button--light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.button[disabled] {
  opacity: 0.68;
  cursor: wait;
}

.button:hover {
  transform: translateY(-1px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin: 40px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-facts div {
  padding: 16px;
  background: rgba(16, 32, 43, 0.72);
}

.hero-facts dt {
  font-weight: 900;
  color: var(--amber);
}

.hero-facts dd {
  margin: 3px 0 0;
  color: #eef2f0;
}

.section {
  padding: 86px 0;
}

.section--tint {
  background: var(--soft);
}

.section--dark {
  color: var(--paper);
  background: var(--navy);
}

.instant-home {
  padding: 34px 0;
  color: var(--paper);
  background: linear-gradient(90deg, var(--teal), var(--navy));
}

.instant-home__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.instant-home h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.instant-home p {
  max-width: 780px;
  margin-top: 10px;
  color: #e7eeee;
}

.instant-home .button {
  min-width: 210px;
}

.section--center {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.narrow {
  max-width: 720px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading h2 + p,
.section-heading p + h2 {
  margin-top: 12px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-group,
.info-card,
.service-card,
.quote-box,
.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-group {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  gap: 18px;
  padding: 24px;
}

.service-group p {
  margin-top: 10px;
  color: var(--muted);
}

.service-group ul,
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-group li + li {
  margin-top: 8px;
}

.service-group a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.service-group a span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-group a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 24px;
}

.info-card p {
  margin-top: 12px;
  color: var(--muted);
}

.feature-split,
.page-hero__grid,
.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 42px;
  align-items: center;
}

.feature-split img,
.page-hero img,
.service-card img {
  border-radius: 8px;
  object-fit: cover;
}

.feature-split img,
.page-hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.feature-split h2,
.content-main h2 {
  margin-bottom: 16px;
}

.feature-split p,
.content-main p {
  color: var(--muted);
  font-size: 1.04rem;
}

.content-main p + p,
.feature-split--text p + p {
  margin-top: 16px;
}

.content-main h3,
.feature-split--text h3 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.feature-split--text {
  align-items: start;
}

.material-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.material-links a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.material-links a:hover,
.material-links a:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 110, 105, 0.12);
}

.material-stack {
  display: grid;
  gap: 24px;
}

.material-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(18, 32, 43, 0.08);
  scroll-margin-top: 110px;
}

.material-panel--reverse img {
  order: 2;
}

.material-panel img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.material-panel__copy {
  align-self: center;
  padding: clamp(28px, 4vw, 52px);
}

.material-panel__copy h3,
.alloy-card h3 {
  margin: 8px 0 14px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.material-panel__copy p,
.alloy-card p {
  color: var(--muted);
}

.material-panel__copy p + p,
.alloy-card p + p {
  margin-top: 14px;
}

.material-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.material-facts li {
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(18, 110, 105, 0.1);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.alloy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.alloy-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--clay);
  border-radius: 8px;
  background: var(--paper);
  scroll-margin-top: 110px;
}

.alloy-card .alloy-card__b2b {
  color: var(--ink);
  font-weight: 750;
}

.section--dark .feature-split--text p {
  color: #dce5e3;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding-left: 24px;
}

.process-list li {
  padding-left: 6px;
}

.application-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  background: var(--green);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-panel p {
  max-width: 690px;
  margin-top: 12px;
  color: #dce5e3;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--teal);
  text-decoration: none;
}

.page-hero {
  padding: 62px 0;
  background: var(--soft);
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.15rem;
}

.content-grid {
  align-items: start;
}

.content-main h2:not(:first-child) {
  margin-top: 36px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(18, 32, 43, 0.08);
}

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table thead th {
  color: var(--paper);
  background: var(--navy);
}

.spec-table tbody th {
  color: var(--teal);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--soft);
}

.technical-note {
  margin-top: 24px;
  padding: 24px;
  border-left: 5px solid var(--amber);
  background: var(--paper);
}

.technical-note h3 {
  margin-bottom: 10px;
}

.technical-note p {
  color: var(--muted);
}

.technical-note p + p {
  margin-top: 12px;
}

.quote-box {
  position: sticky;
  top: 122px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.quote-box p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.quote-box .button {
  width: 100%;
  margin-top: 10px;
}

.quote-box dl {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.quote-box dt {
  font-weight: 900;
}

.quote-box dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

summary {
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(18, 32, 43, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(18, 32, 43, 0.14);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.service-card__category,
.service-card h3,
.service-card p {
  display: block;
  margin-left: 18px;
  margin-right: 18px;
}

.service-card__category {
  margin-top: 18px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3 {
  margin-top: 8px;
}

.service-card p {
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-panel a {
  display: grid;
  gap: 5px;
  padding: 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none;
  background: #fff;
}

.contact-panel span {
  color: var(--muted);
  font-weight: 800;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

.contact-form h2,
.span-all,
.contact-form .button,
.form-note {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

.form-note {
  color: var(--muted);
}

.quote-hero {
  padding: 54px 0 68px;
  background:
    linear-gradient(90deg, rgba(244, 241, 235, 0.98) 0%, rgba(244, 241, 235, 0.92) 54%, rgba(244, 241, 235, 0.78) 100%),
    url('/assets/img/machining-forging-manufacturing.webp') center / cover no-repeat;
}

.quote-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.quote-hero__intro {
  padding-top: 32px;
}

.quote-hero__intro h1 {
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 4.65rem);
}

.quote-hero__intro > p {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
}

.quote-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.quote-highlights div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.quote-highlights dt {
  color: var(--teal);
  font-weight: 900;
}

.quote-highlights dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.instant-quote-form,
.quote-result__card,
.quote-result__empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.instant-quote-form {
  display: grid;
  gap: 20px;
  padding: 28px;
}

.instant-quote-form h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quote-form__grid--essentials {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.quote-submit {
  width: 100%;
}

.quote-addons {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote-addons legend {
  padding: 0 8px;
  font-weight: 900;
}

.quote-addons p {
  color: var(--muted);
}

.quote-addons__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.quote-addons__grid label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.welding-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.welding-note {
  grid-column: 1 / -1;
  padding: 14px;
  color: var(--ink);
  border-left: 5px solid var(--amber);
  background: var(--soft);
  font-weight: 800;
}

.welding-note[hidden] {
  display: none;
}

.quote-result-section {
  padding-top: 46px;
  padding-bottom: 46px;
}

.quote-result__empty {
  padding: 28px;
}

.quote-result__empty--error {
  border-color: #d58a21;
}

.quote-result__empty p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
}

.quote-result__card {
  padding: 28px;
}

.quote-result__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.quote-result__top h2 {
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.quote-result__top p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.08rem;
}

.quote-stamp {
  display: grid;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  font-weight: 900;
}

.quote-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.quote-breakdown div {
  min-height: 92px;
  padding: 15px;
  background: var(--paper);
}

.quote-breakdown dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-breakdown dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.quote-warnings {
  margin-top: 22px;
  padding: 18px;
  border-left: 5px solid var(--amber);
  background: var(--soft);
}

.quote-warnings ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.quote-status {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  color: #e7eeee;
  background: #121b23;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.6fr) minmax(260px, 1fr);
  gap: 36px;
  padding: 56px 0;
}

.brand--footer {
  color: #fff;
}

.site-footer p {
  max-width: 500px;
  margin-top: 16px;
  color: #bac6c7;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-list {
  display: grid;
  gap: 8px;
}

.footer-list a {
  color: #e7eeee;
  text-decoration: none;
}

.footer-list--columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-bottom {
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #e7eeee;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% - 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 12px;
  }

  .hero,
  .hero__content {
    min-height: 620px;
  }

  .service-groups,
  .card-grid--three,
  .service-grid,
  .feature-split,
  .material-panel,
  .alloy-grid,
  .page-hero__grid,
  .content-grid,
  .contact-layout,
  .quote-hero__grid,
  .instant-home__inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-group {
    grid-template-columns: 1fr;
  }

  .material-panel--reverse img {
    order: 0;
  }

  .material-panel img {
    min-height: 300px;
    aspect-ratio: 16 / 10;
  }

  .quote-box {
    position: static;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .instant-home .button {
    width: 100%;
  }

  .quote-highlights,
  .quote-breakdown {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  .top-bar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .brand__text {
    max-width: 205px;
    font-size: 0.95rem;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(10, 21, 30, 0.92) 0%, rgba(10, 21, 30, 0.78) 62%, rgba(10, 21, 30, 0.58) 100%),
      var(--hero-image) center / cover no-repeat;
  }

  .hero__content {
    min-height: 590px;
    padding: 42px 0;
  }

  .hero-facts,
  .contact-form,
  .quote-form__grid,
  .quote-addons__grid,
  .welding-options {
    grid-template-columns: 1fr;
  }

  .application-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .footer-list--columns {
    grid-template-columns: 1fr;
  }
}

/* Simplified instant quote */
.simple-quote-page {
  padding: 58px 0 72px;
  background: #f4f1eb;
}

.simple-quote-heading {
  max-width: 920px;
  text-align: center;
}

.simple-quote-heading h1 {
  color: var(--navy);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

.simple-quote-heading > p:last-child {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.simple-quote-form,
.simple-quote-result,
.simple-quote-steps {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.simple-quote-form {
  margin-top: 36px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.simple-quote-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 22px;
}

.dxf-upload {
  position: relative;
  display: grid;
  min-height: 285px;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 30px;
  cursor: pointer;
  text-align: center;
  border: 2px dashed #9fa9ad;
  border-radius: 9px;
  background: #f8faf9;
}

.dxf-upload:hover,
.dxf-upload:focus-within {
  border-color: var(--teal);
  background: #f0f7f5;
}

.dxf-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dxf-upload__icon,
.simple-file-summary__icon {
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--navy);
  font-weight: 900;
  letter-spacing: .08em;
}

.dxf-upload__icon {
  width: 74px;
  height: 74px;
  margin-bottom: 6px;
  border-radius: 8px;
}

.dxf-upload__title {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 900;
}

.dxf-upload__help,
.dxf-upload__filename {
  color: var(--muted);
}

.dxf-upload__filename {
  max-width: 100%;
  margin-top: 5px;
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simple-quote-fields {
  display: grid;
  gap: 16px;
  align-content: start;
}

.simple-quote-fields label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

.simple-quote-fields select,
.simple-quote-fields input {
  min-height: 54px;
  width: 100%;
}

.simple-quote-form .quote-submit {
  min-height: 58px;
  margin-top: 22px;
  font-size: 1.05rem;
}

.simple-quote-note {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
}

.simple-quote-result {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.simple-quote-result__empty,
.simple-quote-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 330px;
}

.simple-quote-result__empty > div:last-child,
.simple-price-summary {
  display: grid;
  align-content: center;
  padding: 38px;
}

.simple-file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.simple-quote-result__empty h2,
.simple-file-summary h2 {
  color: var(--navy);
}

.simple-quote-result__empty p:last-child,
.simple-file-summary p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.simple-file-summary {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 38px;
  text-align: center;
  background: #edf1ef;
}

.simple-file-summary__icon {
  width: 116px;
  height: 116px;
  border-radius: 12px;
  font-size: 1.35rem;
}

.simple-price-summary {
  border-left: 1px solid var(--line);
}

.simple-price {
  margin-top: 4px;
  color: var(--teal);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1;
}

.simple-price small {
  color: var(--muted);
  font-size: .95rem;
}

.simple-price-vat {
  margin-top: 10px;
  color: var(--muted);
}

.simple-price-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.simple-price-summary dl div {
  padding: 13px;
  background: var(--paper);
}

.simple-price-summary dt {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 900;
}

.simple-price-summary dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 900;
}

.simple-price-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .92rem;
}

.simple-quote-error {
  padding: 38px;
  border-left: 6px solid #d58a21;
}

.simple-quote-error h2 {
  color: var(--navy);
}

.simple-quote-error p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

.simple-quote-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.simple-quote-steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
}

.simple-quote-steps strong {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper);
  background: var(--teal);
}

.simple-quote-steps span {
  color: var(--navy);
  font-weight: 900;
}

@media (max-width: 820px) {
  .simple-quote-inputs,
  .simple-quote-result__empty,
  .simple-quote-output {
    grid-template-columns: 1fr;
  }

  .simple-price-summary {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .simple-quote-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .simple-quote-form,
  .simple-quote-result,
  .simple-quote-steps {
    width: min(100% - 24px, 1120px);
  }

  .simple-quote-form,
  .simple-price-summary,
  .simple-file-summary,
  .simple-quote-result__empty > div:last-child {
    padding: 20px;
  }

  .dxf-upload {
    min-height: 220px;
  }

  .simple-price-summary dl,
  .simple-quote-steps {
    grid-template-columns: 1fr;
  }
}

/* RFQ contact and sending status */
.quote-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.quote-contact-fields label {
  font-size: .92rem;
}

.quote-contact-fields .optional {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.quote-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.quote-sent-confirmation {
  margin-top: 18px !important;
  padding: 12px 14px;
  color: var(--navy) !important;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: 6px;
}

@media (max-width: 520px) {
  .quote-contact-fields { grid-template-columns: 1fr; }
}

/* Engineering Company Sheffield editorial page */
.blog-page {
  background: #fbfcfc;
}

.blog-page .breadcrumbs {
  background: #fbfcfc;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 14% 14%, rgba(0, 107, 104, 0.42), transparent 30%),
    linear-gradient(135deg, #0d1c27 0%, #102a35 58%, #163944 100%);
}

.blog-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.blog-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 64px;
  align-items: center;
}

.blog-hero h1 {
  max-width: 800px;
  font-size: clamp(3.3rem, 7.4vw, 6.6rem);
}

.blog-hero__lead {
  max-width: 760px;
  margin-top: 22px;
  color: #dce7e6;
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
}

.blog-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.blog-meta li {
  padding: 6px 10px;
  color: #eaf2f1;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
}

.blog-hero__media {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.3);
  transform: rotate(1.5deg);
}

.blog-hero__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
}

.blog-hero__media figcaption,
.blog-feature-image figcaption {
  padding: 11px 5px 2px;
  color: #cbd8d7;
  font-size: 0.8rem;
  line-height: 1.45;
}

.blog-intro {
  background: var(--paper);
}

.blog-reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 68px;
  align-items: start;
}

.blog-copy {
  min-width: 0;
  max-width: 790px;
}

.blog-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.blog-copy p + p {
  margin-top: 18px;
}

.blog-copy h2 {
  margin-top: 48px;
  margin-bottom: 18px;
}

.blog-copy h3 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.blog-copy .eyebrow + h2 {
  margin-top: 0;
}

.blog-standfirst {
  padding-left: 22px;
  border-left: 4px solid var(--amber);
  color: var(--ink) !important;
  font-size: 1.23rem !important;
  line-height: 1.62;
}

.blog-callout {
  margin: 38px 0 0;
  padding: 28px;
  border: 1px solid #c9d8d6;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(0, 107, 104, 0.08), rgba(213, 138, 33, 0.06)),
    var(--paper);
}

.blog-callout h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.blog-callout p:last-child {
  color: var(--muted);
}

.blog-toc {
  position: sticky;
  top: 122px;
  padding: 26px;
  border-top: 5px solid var(--teal);
  border-radius: 6px;
  background: var(--soft);
}

.blog-toc h2 {
  font-size: 1.45rem;
}

.blog-toc ol {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.blog-toc a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.blog-toc a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-toc__contact {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.blog-toc__contact strong {
  color: var(--navy);
}

.blog-toc__contact a {
  font-size: 0.86rem;
}

.blog-media-split {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.blog-feature-image {
  position: sticky;
  top: 122px;
  margin: 0;
  padding: 10px;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.blog-feature-image img {
  width: 100%;
  max-height: 740px;
  aspect-ratio: 4 / 5;
  border-radius: 9px;
  object-fit: cover;
  object-position: 50% 50%;
}

.blog-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-process-card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(18, 32, 43, 0.08);
}

.blog-process-card--accent {
  color: var(--paper);
  border-color: var(--teal);
  background: var(--teal);
}

.blog-process-card__number {
  display: block;
  margin-bottom: 28px;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 900;
}

.blog-process-card h3 {
  font-size: 1.55rem;
}

.blog-process-card p {
  margin-top: 14px;
  color: var(--muted);
}

.blog-process-card--accent p {
  color: #e4f0ef;
}

.blog-section-heading--light > p:last-child {
  color: #dce5e3;
}

.blog-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.blog-method-grid > div {
  min-height: 190px;
  padding: 28px;
  background: #122733;
}

.blog-method-grid h3 {
  color: var(--paper);
}

.blog-method-grid p {
  margin-top: 12px;
  color: #cdd9d8;
}

.blog-spec-table {
  min-width: 820px;
}

.blog-copy .table-scroll {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 28px 0 8px;
}

.blog-note {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.blog-note h2 {
  font-size: 1.75rem;
}

.blog-note p {
  margin-top: 14px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.blog-enquiry {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  align-items: start;
}

.blog-enquiry > div > p:last-child {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.06rem;
}

.blog-enquiry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-enquiry-list li {
  display: grid;
  gap: 5px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.blog-enquiry-list strong {
  color: var(--teal);
}

.blog-enquiry-list span {
  color: var(--muted);
}

.blog-final-cta .cta-panel {
  align-items: flex-end;
}

.blog-final-cta .cta-actions {
  flex: 0 0 auto;
}

@media (max-width: 1040px) {
  .blog-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
    gap: 38px;
  }

  .blog-reading-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 38px;
  }

  .blog-media-split {
    gap: 42px;
  }

  .blog-process-grid {
    grid-template-columns: 1fr;
  }

  .blog-process-card {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .blog-hero {
    padding: 56px 0;
  }

  .blog-hero__grid,
  .blog-reading-grid,
  .blog-media-split,
  .blog-enquiry {
    grid-template-columns: 1fr;
  }

  .blog-hero__media {
    max-width: 620px;
    transform: none;
  }

  .blog-reading-grid,
  .blog-media-split,
  .blog-enquiry {
    gap: 38px;
  }

  .blog-toc,
  .blog-feature-image {
    position: static;
  }

  .blog-toc {
    order: -1;
  }

  .blog-feature-image {
    max-width: 620px;
  }

  .blog-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-enquiry-list {
    grid-template-columns: 1fr;
  }

  .blog-final-cta .cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .blog-hero {
    padding: 44px 0;
  }

  .blog-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.3rem);
  }

  .blog-hero__lead {
    font-size: 1.05rem;
  }

  .blog-meta {
    display: grid;
  }

  .blog-meta li {
    width: fit-content;
  }

  .blog-callout,
  .blog-process-card,
  .blog-note {
    padding: 22px;
  }

  .blog-method-grid {
    grid-template-columns: 1fr;
  }

  .blog-method-grid > div {
    min-height: 0;
  }

  .blog-final-cta .cta-actions,
  .blog-final-cta .button {
    width: 100%;
  }
}
