/* ==========================================================
   ALL METAL WELDING SERVICES — site styles
   Original red / black / white identity.
   ========================================================== */
:root {
  --red: #ed1c24;
  --red-dk: #c8141b;
  --black: #121314;
  --black-2: #242526;
  --bg: #f3f2ee;
  --panel: #f1f0ec;
  --text: #141515;
  --muted: #6a6b6b;
  --line: #dcdad4;
  --f: "Ubuntu", "Segoe UI", system-ui, sans-serif;
  --f-cond: "Ubuntu Condensed", "Ubuntu", "Arial Narrow", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
[id] { scroll-margin-top: 110px; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 .4em; }
.cond { font-family: var(--f-cond); font-weight: 400; text-transform: uppercase; }
h1.cond { font-size: clamp(2.8rem, 6.4vw, 4.6rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
.kicker { font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 64ch; }
.on-dark { background: var(--black); color: #fff; }
.on-dark .lead { color: rgba(255,255,255,.72); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 13px 16px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); }
.btn-white { background: #fff; color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-min { min-width: min(100%, 240px); }
.redlink { color: var(--red); font-weight: 700; text-decoration: none; }
.redlink:hover { text-decoration: underline; }

/* Top strip + header */
.strip { background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; padding-top: env(safe-area-inset-top, 0px); }
.strip .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; }
@media (max-width: 600px) { .strip .wrap span:last-child { display: none; } }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--black); }
.nav-bar { display: flex; align-items: center; gap: 36px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand b { display: block; font-size: 1.12rem; line-height: 1.05; letter-spacing: .01em; }
.brand small { display: block; font-size: .56rem; font-weight: 700; letter-spacing: .03em; }
.nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #fff; text-decoration: none; font-size: .92rem; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.nav-links .m-only { display: none; }
@media (max-width: 920px) {
  .nav-bar > .btn { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; gap: 0; background: var(--black); padding: 90px 26px 26px; transform: translateX(100%); transition: transform .3s; box-shadow: -20px 0 40px rgba(0,0,0,.4); }
  .nav-open .nav-links { transform: none; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.05rem; }
  .nav-links .m-only { display: block; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--black); color: #fff; }
.hero-copy { padding: 34px var(--gutter) 40px; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-copy h1 { margin: 28px 0 22px; }
.hero-copy h1 .big { font-size: 1.24em; }
.hero-copy p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 38ch; margin: 0 0 24px; }
.hero-copy small { display: block; margin-top: 16px; color: rgba(255,255,255,.7); font-size: .85rem; }
.hero-media { position: relative; min-height: 420px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; right: 28px; bottom: 16px; background: var(--red); color: #fff; padding: 12px 16px 10px; min-width: 210px; }
.badge b { display: block; font-size: 1.3rem; line-height: 1.1; }
.badge small { font-size: .52rem; font-weight: 700; text-transform: uppercase; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-media { min-height: 280px; } }
.facts { background: var(--black-2); color: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-block: 18px; }
.facts b { display: block; font-size: .7rem; text-transform: uppercase; }
.facts span { color: rgba(255,255,255,.7); font-size: .9rem; }
@media (max-width: 700px) { .facts .wrap { grid-template-columns: 1fr; gap: 10px; } }

/* Sections */
.section { padding-block: clamp(50px, 7vw, 80px); }
.section.tight { padding-block: clamp(34px, 5vw, 52px); }
.bg-white { background: #fff; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 30px; }
.head-row a { color: #fff; font-weight: 700; text-decoration: none; font-size: .92rem; }
.head-row a:hover { color: var(--red); }
.bg-white .head-row a { color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.card { text-decoration: none; display: block; }
.card .ph { aspect-ratio: 2.1 / 1; overflow: hidden; background: #000; }
.card.tall .ph { aspect-ratio: 1.48 / 1; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card h3 { margin: 16px 0 4px; font-size: 1.25rem; }
.card p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.72); }
.bg-white .card p, .card.light p { color: var(--muted); }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }
.also { background: var(--panel); padding: 14px 16px; margin-top: 30px; }
.also .kicker { color: var(--muted); font-size: .62rem; margin-bottom: 2px; }
.also p { margin: 0; font-size: .95rem; }

/* Project feature */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--black); color: #fff; margin-top: 38px; }
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.feature .copy { padding: 26px 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.feature h2 { font-size: clamp(1.7rem, 3vw, 2rem); }
.feature p { color: rgba(255,255,255,.72); margin: 0 0 30px; }
.feature .btn { align-self: flex-start; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } }

.ba { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 10px 10px; margin-top: 30px; align-items: start; }
.ba figure { position: relative; margin: 0; }
.ba figure img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.ba .tag { position: absolute; top: 10px; left: 10px; font-size: .6rem; font-weight: 700; color: #fff; padding: 4px 10px; background: var(--black); }
.ba .tag.red { background: var(--red); }
.ba .copy { padding: 0 0 0 24px; }
.ba .copy h2 { font-size: 1.6rem; }
.ba .copy p { color: var(--muted); }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr 1fr; } .ba .copy { grid-column: 1 / -1; padding: 10px 0 0; } }

/* Deon */
.deon { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.deon img { width: 100%; aspect-ratio: .84 / 1; object-fit: cover; object-position: top; }
.deon .sub { font-family: var(--f-cond); font-size: 1.35rem; margin: -6px 0 14px; }
.deon .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); max-width: 600px; }
.deon .stats b { display: block; color: var(--red); font-size: 2rem; line-height: 1; font-weight: 700; }
.deon .stats span { font-size: .85rem; }
@media (max-width: 760px) { .deon { grid-template-columns: 1fr; } .deon img { max-width: 320px; } }

.training { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; background: var(--black); color: #fff; padding: 22px 24px; margin-top: 36px; align-items: center; }
.training img { max-width: 280px; margin-bottom: 20px; }
.training .kicker { color: rgba(255,255,255,.6); }
.training h2 { font-family: var(--f-cond); font-weight: 400; font-size: 2.1rem; margin: 0; }
.training h3 { font-size: 1.35rem; }
.training p { color: rgba(255,255,255,.72); margin: 0 0 22px; }
@media (max-width: 760px) { .training { grid-template-columns: 1fr; } }

.quote-big { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-top: 36px; }
.quote-big blockquote { margin: 0 0 18px; font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 300; line-height: 1.35; max-width: 26ch; }
.quote-big b { display: block; }
.quote-big small { color: var(--muted); font-size: .78rem; }

.cta-red { background: var(--red); color: #fff; padding: 28px 26px; display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; margin-top: 40px; }
.cta-red h2 { font-family: var(--f-cond); font-weight: 400; font-size: clamp(2rem, 4vw, 2.4rem); text-transform: uppercase; margin: 0; }
.cta-red a.tel { display: block; font-weight: 700; margin-top: 14px; text-decoration: none; }
@media (max-width: 760px) { .cta-red { grid-template-columns: 1fr; } }

.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 28px; font-size: .9rem; }
.contact-row .kicker { color: var(--text); font-size: .62rem; }
.contact-row p { margin: 0 0 6px; color: var(--muted); }
.contact-row a { text-decoration: none; }
.contact-row a:hover { color: var(--red); }
.contact-row .mail { color: var(--text); font-weight: 700; font-size: 1rem; }
@media (max-width: 700px) { .contact-row { grid-template-columns: 1fr; } }

/* Page head */
.page-head { background: var(--black); color: #fff; padding-block: clamp(40px, 6vw, 62px); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.page-head p { color: rgba(255,255,255,.75); max-width: 62ch; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.crumbs a { color: var(--red); text-decoration: none; }

/* Service detail */
.svc { display: grid; grid-template-columns: 1fr 1.5fr; gap: 34px; padding-block: 36px; border-top: 1px solid var(--line); }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc .glabel { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--red); margin: 0 0 6px; }
.svc h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.svc p { margin: 0 0 12px; }
.svc ul { margin: 0 0 16px; padding-left: 20px; }
.svc .case { background: var(--panel); border-left: 4px solid var(--red); padding: 12px 16px; margin: 6px 0 16px; font-size: .96rem; }
.svc .case b { display: block; margin-bottom: 2px; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; gap: 16px; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { background: #fff; border: 1px solid var(--line); padding: 7px 12px; text-decoration: none; font-size: .9rem; font-weight: 500; }
.jump a:hover { border-color: var(--red); color: var(--red); }
.risk { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 22px 24px; margin-top: 20px; }
.risk h2 { font-size: 1.35rem; }
.risk p { font-size: .93rem; color: var(--muted); margin: 0 0 10px; }

/* Work gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab { border: 2px solid var(--black); background: transparent; padding: 8px 15px; font-weight: 700; cursor: pointer; }
.tab[aria-selected="true"], .tab:hover { background: var(--black); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-grid figure { margin: 0; background: #fff; }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.work-grid figcaption { padding: 12px 14px 14px; font-weight: 700; font-size: .97rem; }
.work-grid figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,6,6,.94); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-width: 94vw; max-height: 82vh; object-fit: contain; }
.lightbox button { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }

/* Training */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course { background: #fff; border-top: 4px solid var(--red); padding: 22px 20px; }
.course p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 800px) { .course-grid { grid-template-columns: 1fr; } }
.method { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.method div { padding: 16px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.pull { font-family: var(--f-cond); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; border-left: 4px solid var(--red); padding-left: 20px; margin: 26px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
.ticks li { position: relative; padding: 5px 0 5px 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 12px; height: 3px; background: var(--red); }

/* Qualifications */
.quals { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.qual { background: #fff; border: 1px solid var(--line); padding: 18px; }
.qual b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.qual p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Contact form */
.form-card { background: #fff; padding: 24px; border-top: 4px solid var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfcdc6; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(237,28,36,.3); border-color: var(--black); }
.f-status { margin: 12px 0 0; font-size: .92rem; font-weight: 500; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.c-card { background: var(--black); color: #fff; padding: 24px; }
.c-card h3 { color: var(--red); font-size: .75rem; text-transform: uppercase; margin: 18px 0 4px; }
.c-card h3:first-child { margin-top: 0; }
.c-card p { margin: 0; }
.c-card a { text-decoration: none; font-weight: 700; }
.c-card a:hover { color: var(--red); }

/* Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.8); padding: 30px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .88rem; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px 34px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot h4 { color: #fff; font-size: .68rem; text-transform: uppercase; margin: 0 0 8px; }
.foot p { margin: 0 0 4px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--red); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 14px; font-size: .78rem; color: rgba(255,255,255,.55); }
.foot-bottom a { text-decoration: none; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* Mobile bar */
.m-bar { display: none; }
@media (max-width: 700px) {
  .m-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--red); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .m-bar a { padding: 15px 16px; color: #fff; font-weight: 700; text-decoration: none; }
  .m-bar a:first-child { background: var(--black); }
  body { padding-bottom: 54px; }
}

.legal { max-width: 800px; }
.legal h2 { font-size: 1.35rem; margin: 28px 0 10px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
