/* Arcfab website — single stylesheet.
   Brand colours (DR-051): charcoal #1b1b1b + amber #a36a00. Change them here only. */
:root {
  --charcoal: #1b1b1b;
  --charcoal-2: #2a2a2a;
  --amber: #a36a00;
  --amber-bright: #e8a020; /* amber on dark backgrounds */
  --paper: #ffffff;
  --mist: #f4f2ee;
  --line: #e2ded6;
  --text: #222222;
  --muted: #5c5c5c;
  --radius: 6px;
  --max: 1180px;
  --head: "Barlow Semi Condensed", Arial, sans-serif;
  --body: "Barlow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.6; font-size: 17px; }
img, video { max-width: 100%; display: block; }
a { color: var(--amber); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--charcoal); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--mist); }
.section.dark { background: var(--charcoal); color: #ddd; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { font-family: var(--head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); font-size: .9rem; margin-bottom: .4em; }
.dark .eyebrow { color: var(--amber-bright); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; font-family: var(--head); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 12px 26px; border-radius: var(--radius); border: 2px solid var(--amber); background: var(--amber); color: #fff; cursor: pointer; font-size: 1rem; transition: background .2s, color .2s; }
.btn:hover { background: #8a5a00; border-color: #8a5a00; }
.btn.ghost { background: transparent; color: var(--amber); }
.btn.ghost:hover { background: var(--amber); color: #fff; }
.btn.light { background: transparent; border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--charcoal); }

/* Top bar + header */
.topbar { background: var(--charcoal); color: #ccc; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: var(--amber-bright); text-decoration: none; }
header.site { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; }
.brand .word { font-family: var(--head); line-height: 1; color: var(--charcoal); }
.brand .word b { display: block; font-size: 1.55rem; letter-spacing: .06em; font-weight: 700; }
.brand .word small { display: block; font-size: .72rem; letter-spacing: .32em; font-weight: 600; color: var(--amber); }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; align-items: center; }
nav.main li { position: relative; }
nav.main a { display: block; padding: 10px 9px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem; color: var(--charcoal); text-decoration: none; white-space: nowrap; }
nav.main a:hover, nav.main a.active { color: var(--amber); }
nav.main .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--amber); min-width: 240px; padding: 6px 0; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
nav.main .sub a { text-transform: none; letter-spacing: 0; font-weight: 500; padding: 8px 16px; }
nav.main li:hover > .sub, nav.main li:focus-within > .sub { display: block; }
nav.main .cta a { background: var(--amber); color: #fff; border-radius: var(--radius); margin-left: 8px; padding: 10px 18px; }
nav.main .cta a:hover { background: #8a5a00; color: #fff; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--charcoal); }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; background: var(--charcoal); overflow: hidden; }
.hero .media, .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,27,27,.88) 0%, rgba(27,27,27,.55) 55%, rgba(27,27,27,.25) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero h1 { color: #fff; max-width: 720px; }
.hero p { font-size: 1.25rem; max-width: 620px; color: #e6e6e6; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.page-hero { background: var(--charcoal); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d6d6d6; max-width: 720px; font-size: 1.15rem; }
.page-hero::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; background: url("../images/logo-mark-dark.svg") no-repeat center/contain; opacity: .12; }

/* Media placeholders — drop a file with the shown name into /images or /videos */
.media { position: relative; background: #3a3a3a; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media.wide { aspect-ratio: 16/9; }
.media.tall { aspect-ratio: 3/4; }
.media .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #bbb; font-size: .85rem; text-align: center; padding: 12px; background: repeating-linear-gradient(135deg, #333 0 14px, #383838 14px 28px); }
.media .ph svg { width: 38px; height: 38px; opacity: .6; }
.hero .media { border-radius: 0; aspect-ratio: auto; }

/* Grids + cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.card .media { border-radius: 0; }
.card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card .body p { color: var(--muted); }
.card .more { margin-top: auto; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); margin-bottom: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Pillars */
.pillar { border-top: 3px solid var(--amber); padding-top: 18px; }
.pillar .num { font-family: var(--head); font-size: 2.4rem; font-weight: 700; color: var(--amber); line-height: 1; }
.dark .pillar .num { color: var(--amber-bright); }
.dark .pillar p { color: #bdbdbd; }

/* Lists / tables */
ul.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg); }
table.spec { width: 100%; border-collapse: collapse; background: #fff; }
table.spec th, table.spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { background: var(--charcoal); color: #fff; font-family: var(--head); font-weight: 600; letter-spacing: .03em; }
.table-wrap { overflow-x: auto; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.steps li { list-style: none; counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--head); font-size: 1.8rem; font-weight: 700; color: var(--amber); margin-bottom: 6px; }
.steps { padding: 0; margin: 0; }

/* CTA band */
.cta-band { background: var(--amber); color: #fff; padding: 48px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btn { background: var(--charcoal); border-color: var(--charcoal); }
.cta-band .btn:hover { background: #000; }

/* Forms */
form.enquiry { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
form.enquiry .full { grid-column: 1 / -1; }
form.enquiry label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 4px; }
form.enquiry input, form.enquiry select, form.enquiry textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfcac0; border-radius: var(--radius); font: inherit; background: #fff; }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
.note { font-size: .88rem; color: var(--muted); }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-box h3 { margin-bottom: .3em; }

/* Downloads */
.dl { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.dl .ico { width: 42px; height: 42px; flex: none; border-radius: var(--radius); background: var(--charcoal); color: var(--amber-bright); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: .8rem; }
.dl .meta { flex: 1; }
.dl .meta b { display: block; }
.dl .meta span { color: var(--muted); font-size: .9rem; }

/* Footer */
footer.site { background: #111; color: #aaa; padding: 56px 0 0; font-size: .95rem; }
footer.site h4 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
footer.site a { color: #ccc; text-decoration: none; }
footer.site a:hover { color: var(--amber-bright); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
footer.site .brand .word b { color: #fff; }
footer.site .legal { border-top: 1px solid #2a2a2a; margin-top: 40px; padding: 18px 0; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1240px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; padding: 8px 20px 20px; }
  nav.main .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  nav.main .cta a { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .g2, .g3, .g4, .split, .steps { grid-template-columns: 1fr; }
  .split { gap: 28px; }
  form.enquiry { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .topbar .hide-sm { display: none; }
  .wrap { padding: 0 16px; }
}
