/* ==========================================================================
   SMT Group – main stylesheet
   Change the colour scheme and fonts here, in one place.
   ========================================================================== */
:root {
  /* Brand colours */
  --orange: #F26522;          /* primary – true orange */
  --orange-rgb: 242, 101, 34; /* same orange as R, G, B (for see-through tints) */
  --orange-hover: #D9531A;    /* buttons on hover (darker orange) */
  --orange-tint: #FDE8DD;     /* light orange tint (icon backgrounds) */
  --orange-text: #B8460F;     /* small orange text on white – darker so it stays readable */
  --charcoal: #1E2124;        /* header, footer, dark sections */
  --charcoal-card: #2C3034;   /* cards on dark backgrounds */
  --muted: #6B7178;           /* muted text on light backgrounds */
  --muted-on-dark: #A9AEB4;   /* muted text on dark backgrounds */
  --light-bg: #F4F5F6;        /* light section background */
  --white: #FFFFFF;
  --text: #1E2124;
  --border: #DDE0E3;
  --success: #1E7B3C;
  --error: #B3261E;

  /* Fonts */
  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 6px;
  --header-h: 76px;
  --shadow: 0 6px 24px rgba(30, 33, 36, 0.10);
  --shadow-hover: 0 12px 32px rgba(30, 33, 36, 0.18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
a:hover { color: var(--charcoal); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: inherit;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--orange);
  color: var(--charcoal);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4.5rem 0; }
.section--light { background: var(--light-bg); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--dark p { color: var(--muted-on-dark); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
  margin-bottom: 0.75rem;
}
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--orange); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.accent-bar {
  width: 56px; height: 4px;
  background: var(--orange);
  border: 0;
  margin: 0 0 1.25rem;
}
.section-head--center .accent-bar { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--orange); color: var(--charcoal); }
.btn--primary:hover { background: var(--orange-hover); color: var(--charcoal); }

.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); }

/* Outline button – used for every "Download Brochure" */
.btn--outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.on-dark .btn--outline, .btn--outline.on-dark { color: var(--white); border-color: var(--white); }
.on-dark .btn--outline:hover, .btn--outline.on-dark:hover { background: var(--white); color: var(--charcoal); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange-text);
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.link-arrow:hover { color: var(--charcoal); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 33, 36, 0.92);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}
/* The logo has a transparent inside, so it sits on a white disc */
.logo-badge {
  display: block;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand-name span { color: var(--orange); }
.brand:hover { color: var(--white); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.main-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s ease, visibility 0.3s;
}
.main-nav.is-open { max-height: 420px; visibility: visible; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35); }
.main-nav ul { list-style: none; margin: 0; padding: 0.5rem 1.25rem 1.25rem; }
.main-nav a {
  display: block;
  padding: 0.85rem 0;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.main-nav a:hover { color: var(--orange); }
.main-nav a[aria-current="page"] { color: var(--orange); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    visibility: visible;
    background: transparent;
    border: 0;
  }
  .main-nav ul { display: flex; gap: 2rem; padding: 0; }
  .main-nav a {
    padding: 0.5rem 0;
    border: 0;
    font-size: 0.95rem;
    position: relative;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.2s;
  }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(160deg, #24282C 0%, #1E2124 50%, #141618 100%);
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero .container { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 4rem; }
.hero-content { max-width: 760px; }

/* Hero visual: photos (js/hero-photos.js) or, until then, glow + sparks.
   Mobile: behind the text, very faint. Desktop: right ~45%, fading into the dark. */
.hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
}
.hero-visual.has-photos { opacity: 0.22; }
@media (min-width: 960px) {
  .hero-visual, .hero-visual.has-photos {
    width: 45%;
    opacity: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%);
            mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%);
  }
  .hero-content { max-width: 620px; }
}
/* Narrower desktops: keep the glow well clear of the text */
@media (min-width: 960px) and (max-width: 1199px) {
  .hero-content { max-width: 540px; }
  .hero-visual { width: 40%; }
  .hero-glow { left: 66%; }
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-slides img.is-active { opacity: 1; }
.hero-glow {
  position: absolute;
  left: 60%; top: 50%;
  width: 135%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 140, 58, 0.85) 0%, rgba(255, 140, 58, 0) 17%),
    radial-gradient(circle, rgba(var(--orange-rgb), 0.75) 0%, rgba(var(--orange-rgb), 0.3) 32%, rgba(var(--orange-rgb), 0) 64%);
  animation: hero-glow 8s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  from { opacity: 0.8; transform: translate(-50%, -50%) scale(0.96); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}
.hero-sparks { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-visual.has-photos .hero-glow,
.hero-visual.has-photos .hero-sparks { display: none; }
.hero h1 { color: var(--white); }
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #D9DCDF;
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero .btn--outline { color: var(--white); border-color: var(--white); }
.hero .btn--outline:hover { background: var(--white); color: var(--charcoal); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--orange-rgb), 0.14) 0%, rgba(var(--orange-rgb), 0) 40%),
    linear-gradient(160deg, #2C3034 0%, #1E2124 70%);
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.page-hero .hero-bg { z-index: 0; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 24, 0.7);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero p { color: #D9DCDF; max-width: 680px; font-size: 1.1rem; margin: 0; }
.page-hero--plain::after { display: none; }

/* ---------- Intro ---------- */
.intro {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  border-top: 4px solid var(--orange);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--light-bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .link-arrow { margin-top: auto; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--orange-tint);
  color: var(--orange);
  margin-bottom: 1rem;
}
.icon-box svg { width: 28px; height: 28px; }

/* Facts (solar key facts) */
.fact {
  background: var(--charcoal-card);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border-left: 4px solid var(--orange);
}
.fact .icon-box { background: rgba(var(--orange-rgb), 0.16); color: var(--orange); }
.fact h3 { color: var(--muted-on-dark); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
.fact p { color: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; line-height: 1.35; margin: 0; }

/* Steps (How a PPA works) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem 1.5rem;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Content sections (Steel / Mining) ---------- */
.content-section + .content-section { border-top: 1px solid var(--border); }
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.split-text p { font-size: 1.05rem; }
.highlight-box {
  background: var(--light-bg);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.section--light .highlight-box { background: var(--white); }
.highlight-box h3 { margin-bottom: 0.75rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tag-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
}
.section--light .tag-list li { background: var(--white); }
.stat-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-heading);
  margin: 1.25rem 0;
}
.stat-line strong { font-size: 1.6rem; color: var(--orange); font-weight: 800; }
.stat-line span { color: var(--muted); font-weight: 600; }

/* ---------- Gallery + lightbox ---------- */
.gallery-block { margin-top: 2.5rem; }
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--light-bg);
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s, opacity 0.35s; }
.gallery button:hover img { transform: scale(1.05); opacity: 0.9; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 11, 12, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
}
.lightbox button:hover { background: var(--orange); color: var(--charcoal); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: var(--muted-on-dark); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  color: var(--charcoal);
  padding: 3.5rem 0;
}
.cta-band .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { margin: 0; color: var(--charcoal); }
@media (min-width: 960px) {
  .cta-band .container { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .cta-band .btn-row { flex-shrink: 0; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-list .icon-box { margin: 0; width: 46px; height: 46px; flex-shrink: 0; }
.contact-list .icon-box svg { width: 22px; height: 22px; }
.contact-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--orange-text); text-decoration: underline; }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  border-top: 4px solid var(--orange);
}
@media (min-width: 640px) { .form-card { padding: 2.5rem; } }
.form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #B9BEC3;
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(var(--orange-rgb), 0.3);
}
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0; }
.form-message {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.form-message[hidden] { display: none; }
.form-message--success { background: #E6F4EA; color: var(--success); border-left: 4px solid var(--success); }
.form-message--error { background: #FCE8E6; color: var(--error); border-left: 4px solid var(--error); }
.btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: 0.4rem; }
.legal .updated { color: var(--muted); font-size: 0.95rem; }
.legal li { margin-bottom: 0.4rem; }
.legal .callout {
  background: var(--light-bg);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ---------- Invoice portal ---------- */
.embed-area {
  width: 100%;
  min-height: 800px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.embed-area iframe { display: block; width: 100%; min-height: 800px; border: 0; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 6rem 0; }
.not-found .code {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 1;
  color: var(--orange);
  margin-bottom: 1rem;
}
.not-found p { color: var(--muted); max-width: 520px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--muted-on-dark); font-size: 0.95rem; }
.footer-top { display: grid; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1.4fr 0.8fr 1.3fr; gap: 3rem; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { max-width: 340px; }
.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.25em; color: var(--orange); }
.footer-brochure { margin-top: 1.25rem; }
.footer-brochure .btn { padding: 0.65rem 1.2rem; font-size: 0.88rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--charcoal-card);
  color: var(--white);
  transition: background-color 0.2s, color 0.2s;
}
.social a:hover { background: var(--orange); color: var(--charcoal); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.88rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.footer-legal span[aria-hidden] { color: #5B6168; }

/* ---------- Fade-in on scroll ---------- */
.js .fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in { opacity: 1; transform: none; transition: none; }
  .hero-glow { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
