:root {
  --ink: #111827;
  --charcoal: #151a21;
  --graphite: #1f2933;
  --graphite-2: #2f3a46;
  --steel: #607080;
  --steel-light: #d8dee5;
  --concrete: #f4f5f6;
  --concrete-2: #ebeef1;
  --white: #ffffff;
  --gold: #c59a35;
  --safety: #d9a23a;
  --highway: #0f4c81;
  --whatsapp: #25d366;
  --success: #0f766e;
  --danger: #a43d12;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, .08);
  --shadow-md: 0 18px 48px rgba(17, 24, 39, .14);
  --radius: 8px;
  --max: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(96, 112, 128, .38);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

label {
  color: var(--graphite);
  font-weight: 750;
  font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--highway);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, .12);
}

.container {
  width: calc(100% - 32px);
  max-width: var(--max);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(96, 112, 128, .22);
  backdrop-filter: blur(14px);
  transition: box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .985);
  border-color: rgba(96, 112, 128, .14);
  box-shadow: 0 14px 38px rgba(17, 24, 39, .09);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 62px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  width: clamp(178px, 20vw, 250px);
  max-height: 64px;
  height: auto;
  object-fit: contain;
}

.primary-nav {
  justify-self: end;
}

.nav-close {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 10px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: #edf1f5;
  color: var(--charcoal);
  outline: none;
}

.nav-list a[aria-current="page"] {
  background: #e5edf4;
  color: #0d344f;
  box-shadow: inset 0 -3px 0 var(--safety);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel-light);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle img {
  width: 24px;
  height: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--safety);
  color: #151008;
}

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

.btn-outline {
  border-color: rgba(96, 112, 128, .45);
  background: rgba(255, 255, 255, .78);
}

.btn img,
.icon-inline {
  width: 20px;
  height: 20px;
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-muted {
  background: var(--concrete);
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-dark .section-kicker,
.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-lead,
.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, .78);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, .48fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-title {
  margin: 0;
  color: var(--charcoal);
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-lead {
  margin: 0;
  color: var(--steel);
  font-size: 16px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at center, rgba(15, 76, 129, .22), rgba(21, 26, 33, 0) 42%),
    linear-gradient(90deg, rgba(21, 26, 33, .74), rgba(21, 26, 33, .62)),
    linear-gradient(0deg, rgba(21, 26, 33, .82) 0%, rgba(21, 26, 33, .08) 56%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 84px 0 86px;
  text-align: center;
}

.hero h1 {
  max-width: 1080px;
  margin: 0 auto;
  font-size: 68px;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero p {
  max-width: 840px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.trust-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -46px;
  position: relative;
  z-index: 5;
}

.trust-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 126px;
  padding: 22px;
  border: 1px solid rgba(96, 112, 128, .2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.trust-card strong {
  display: block;
  color: var(--charcoal);
  font-size: clamp(32px, 3vw, 54px);
  line-height: 1;
  white-space: nowrap;
}

.trust-card strong span {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  text-transform: none;
}

.trust-card > span {
  display: block;
  margin-top: 9px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  border: 1px solid rgba(96, 112, 128, .2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(17, 24, 39, .06);
  overflow: hidden;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--concrete-2);
}

.card-media img,
.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.card:hover .card-media img,
.card:hover .card-media video {
  transform: scale(1.035);
}

.card-body {
  padding: 22px;
}

.card-body.has-card-icon,
.equipment-card.has-card-icon {
  text-align: center;
}

.card-body.has-card-icon p,
.card-body.has-card-icon li {
  text-align: center;
}

.equipment-card.has-card-icon ul {
  text-align: left;
}

.card-icon-wrap {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(197, 154, 53, .38);
  border-radius: 50%;
  color: #9a741f;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .94), rgba(255, 255, 255, .52) 42%, rgba(197, 154, 53, .14) 100%),
    linear-gradient(135deg, #fffaf0, #edf2f6);
  box-shadow: inset 0 0 0 6px rgba(197, 154, 53, .08), 0 10px 24px rgba(17, 24, 39, .08);
}

.card-icon-wrap svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.9;
}

.card h3 {
  margin: 0 0 9px;
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--steel);
  font-size: 15px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--concrete);
  color: var(--graphite);
  font-size: 12px;
  font-weight: 800;
}

.feature-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--steel);
}

.feature-list li {
  margin: 7px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .62fr);
  gap: 38px;
  align-items: center;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.image-stack img:nth-child(2) {
  margin-top: 34px;
}

.feature-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--charcoal);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.03);
  animation: subtleZoom 12s ease-in-out infinite alternate;
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 26, 33, 0), rgba(21, 26, 33, .2));
  pointer-events: none;
}

@keyframes subtleZoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.08);
  }
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 26, 33, .98), rgba(21, 26, 33, .8)),
    url("../images/work/corelux-work-04-cover-16x10.webp") center / cover no-repeat;
}

.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.cta-band h2 {
  margin: 0;
  color: var(--white);
  font-size: 42px;
  line-height: 1.1;
}

.cta-band p {
  max-width: 780px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .8);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #0f141b;
  color: rgba(255, 255, 255, .78);
  padding: 56px 0 26px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(15, 20, 27, .97), rgba(15, 20, 27, .91));
}

.footer-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  filter: saturate(.9) contrast(1.05);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.footer-logo {
  width: 190px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
}

.footer-title {
  margin: 0 0 13px;
  color: var(--white);
  font-size: 16px;
}

.footer-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--white);
}

.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  transition: transform .18s ease, background .18s ease;
}

.social-row a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
}

.social-row img {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  display: grid;
  gap: 12px;
}

.floating-contact a {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, .24);
  transition: transform .18s ease;
}

.floating-contact a:hover {
  transform: translateY(-2px);
}

.floating-contact img {
  width: 58px;
  height: 58px;
}

.floating-contact a::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  opacity: .65;
  animation: pulseGlow 1.8s ease-in-out infinite;
}

.floating-call::before {
  background: rgba(15, 76, 129, .26);
}

.floating-whatsapp::before {
  background: rgba(37, 211, 102, .26);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--charcoal);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(21, 26, 33, .94), rgba(21, 26, 33, .72), rgba(21, 26, 33, .36));
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media video,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transform: scale(1.02);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 84px;
  padding-bottom: 58px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--white);
  font-size: 62px;
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.placeholder-note {
  padding: 18px;
  border: 1px solid rgba(197, 154, 53, .4);
  border-radius: var(--radius);
  background: #fff7e2;
  color: #4f3b0a;
}

.form-status {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, .28);
  border-radius: 6px;
  background: #e7f7f4;
  color: #064e45;
  font-weight: 800;
}

.quick-enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(9, 13, 18, .66);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}

.quick-enquiry-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quick-enquiry-card {
  width: min(100%, 480px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  overflow: hidden;
  transform: translateY(12px) scale(.98);
  transition: transform .24s ease;
}

.quick-enquiry-modal.is-open .quick-enquiry-card {
  transform: translateY(0) scale(1);
}

.quick-enquiry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 22px 14px;
  background:
    linear-gradient(135deg, rgba(21, 26, 33, .98), rgba(31, 41, 51, .92)),
    url("../images/service/page-blueprint-planning-poster.jpg") center / cover no-repeat;
  color: var(--white);
}

.quick-enquiry-head h2 {
  margin: 0;
  color: var(--white);
  font-size: 26px;
  line-height: 1.15;
}

.quick-enquiry-head p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.quick-enquiry-close {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.quick-enquiry-body {
  padding: 22px;
}

.quick-enquiry-body label + label {
  display: block;
  margin-top: 16px;
}

.quick-enquiry-error {
  display: none;
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
}

.quick-enquiry-error.is-visible {
  display: block;
}

.quick-enquiry-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 18px;
}

.quick-enquiry-actions .btn {
  width: 100%;
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .45fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(96, 112, 128, .2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.intro-panel p {
  margin: 0;
  color: var(--steel);
}

.highlight-box {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.highlight-box strong {
  display: block;
  color: var(--safety);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  margin-bottom: 10px;
}

.highlight-box span,
.highlight-box p {
  color: rgba(255, 255, 255, .78);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(96, 112, 128, .2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.service-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(197, 154, 53, .32);
  background: var(--concrete);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail + .service-detail {
  margin-top: 18px;
}

.service-detail h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 24px;
}

.service-detail p {
  margin: 0;
  color: var(--steel);
}

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

.scope-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--graphite);
  font-size: 14px;
}

.scope-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--safety);
}

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

.process-step {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(96, 112, 128, .22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.process-step span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--safety);
  font-weight: 900;
}

.process-step h3 {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: 18px;
}

.process-step p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(220px, .35fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(96, 112, 128, .2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.project-row + .project-row {
  margin-top: 14px;
}

.project-row h3 {
  margin: 0 0 6px;
  color: var(--charcoal);
  font-size: 20px;
}

.project-row p {
  margin: 0;
  color: var(--steel);
}

.value-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff3cf;
  color: #513707;
  font-weight: 900;
  text-align: center;
}

.media-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--charcoal);
  box-shadow: var(--shadow-md);
}

.media-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, .86), rgba(17, 24, 39, .14));
}

.media-banner-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 30px;
}

.media-banner h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 36px;
  line-height: 1.12;
}

.media-banner p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
}

.equipment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.equipment-card {
  padding: 22px;
  border: 1px solid rgba(96, 112, 128, .2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.equipment-card h3 {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-size: 19px;
}

.equipment-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--steel);
}

.equipment-card li {
  margin: 6px 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(96, 112, 128, .2);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-item img {
  width: 38px;
  height: 38px;
}

.contact-item h3 {
  margin: 0 0 4px;
  color: var(--charcoal);
  font-size: 18px;
}

.contact-item p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: var(--charcoal);
  font-size: 30px;
}

.legal-content h3 {
  margin: 28px 0 8px;
  color: var(--charcoal);
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: var(--steel);
}

.legal-content ul {
  padding-left: 20px;
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(96, 112, 128, .32);
  border-radius: 999px;
  background: var(--white);
  color: var(--graphite);
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible,
.filter-btn.is-active {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
}

.filter-btn:focus-visible {
  outline: 3px solid rgba(15, 76, 129, .22);
  outline-offset: 2px;
}

.gallery-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 35%, rgba(96, 112, 128, .28), rgba(17, 24, 39, .96));
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  outline: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: contain;
  transition: transform .45s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.04);
}

.gallery-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(15, 76, 129, .22), var(--shadow-md);
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(17, 24, 39, .9), rgba(17, 24, 39, 0));
  font-weight: 800;
}

.gallery-card[hidden] {
  display: none;
}

.media-note {
  margin-top: 14px;
  color: var(--steel);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 18, .88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-panel {
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--charcoal);
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--white);
  font-weight: 800;
}

.lightbox-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.service-marquee {
  overflow: hidden;
  margin: 8px 0 24px;
  border-radius: var(--radius);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.service-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: serviceMarquee 38s linear infinite;
}

.service-marquee:hover .service-marquee-track {
  animation-play-state: paused;
}

.service-visual-card {
  position: relative;
  flex: 0 0 clamp(260px, 24vw, 330px);
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

.service-visual-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-visual-card:hover img {
  transform: scale(1.035);
}

.service-visual-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 54%;
  background: linear-gradient(0deg, rgba(17, 24, 39, .92), rgba(17, 24, 39, 0));
}

.service-visual-card h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
}

.service-summary-grid {
  margin-top: 18px;
}

@keyframes serviceMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(.92);
    opacity: .45;
  }
  50% {
    transform: scale(1.12);
    opacity: .85;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .service-marquee-track {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 0 auto;
    width: min(390px, 100%);
    background: var(--white);
    border-left: 1px solid var(--steel-light);
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 32px);
    min-height: 48px;
    margin: 16px 16px 0;
    padding: 0 14px;
    border: 1px solid rgba(96, 112, 128, .2);
    border-radius: 6px;
    background: var(--charcoal);
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
  }

  .nav-close::after {
    content: "x";
    font-size: 18px;
    line-height: 1;
  }

  body.nav-open .primary-nav {
    transform: translateX(0);
  }

  .nav-list {
    display: grid;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
  }

  .nav-list a {
    min-height: 48px;
    justify-content: flex-start;
    border-radius: 6px;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-mark {
    width: 43px;
    height: 52px;
  }

  .brand-name {
    width: min(230px, 52vw);
  }

  .header-actions .btn {
    display: none;
  }

  .section,
  .section-tight {
    padding: 58px 0;
  }

  .section-title {
    font-size: 36px;
  }

  .hero h1 {
    font-size: 44px;
    max-width: 100%;
  }

  .hero p {
    font-size: 17px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .cta-band h2 {
    font-size: 34px;
  }

  .section-head,
  .trust-rail,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .intro-panel,
  .service-detail,
  .process-grid,
  .project-row,
  .equipment-list,
  .contact-panel,
  .gallery-grid,
  .cta-band .container,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-rail {
    margin-top: 18px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 70px 0 64px;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:nth-child(2) {
    margin-top: 0;
  }

  .cta-band .container {
    align-items: start;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .project-row {
    align-items: start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 24px);
    max-width: var(--max);
  }

  .brand-name {
    display: none;
  }

  .hero h1,
  .page-hero h1,
  .section-title {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .hero p,
  .page-hero p,
  .section-lead {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .quick-enquiry-modal {
    align-items: end;
    padding: 10px;
  }

  .quick-enquiry-card {
    width: 100%;
  }

  .quick-enquiry-head h2 {
    font-size: 22px;
  }

  .quick-enquiry-actions {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
  }

  .floating-contact a,
  .floating-contact img {
    width: 52px;
    height: 52px;
  }
}
