/* ==========================================================================
   MERAH ENGINEERING PTE LTD — Corporate Website
   Design system: industrial "Trust & Authority" · brand red / ink / steel
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --red: #E10600;          /* brand signal red (logo rules) */
  --red-deep: #C00E10;     /* buttons — white text ≥ 4.5:1 */
  --red-darker: #A50C0E;
  --ink: #14171C;          /* near-black */
  --ink-2: #1B1F26;        /* dark section alt */
  --ink-3: #232833;        /* dark card */
  --steel: #9CA3AF;

  /* Neutrals */
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --bg-softer: #EEF0F3;
  --line: #E3E6EB;
  --line-dark: #2E3440;

  /* Text */
  --text: #22262E;
  --text-body: #434A56;
  --text-muted: #66707F;
  --text-inverse: #F5F6F8;
  --text-inverse-muted: #A8AFBB;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 28, .06), 0 1px 3px rgba(20, 23, 28, .08);
  --shadow-md: 0 6px 20px rgba(20, 23, 28, .10);
  --shadow-lg: 0 16px 44px rgba(20, 23, 28, .16);

  /* Z-scale */
  --z-header: 100;
  --z-mobilebar: 90;
  --z-overlay: 200;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-deep); text-decoration: none; }
a:hover { color: var(--red); }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.08;
  margin: 0 0 .5em;
  text-transform: uppercase;
  letter-spacing: .015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--text-inverse-muted); }

/* Kicker label — echoes the red rules in the logo */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--red); }
.section--dark .kicker { color: #FF6B65; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head p { font-size: 1.06rem; color: var(--text-muted); }
.section--dark .section-head p { color: var(--text-inverse-muted); }

/* Hazard stripe divider — industrial identity accent */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(135deg,
    var(--red) 0 14px, var(--ink) 14px 28px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer; transition: all .2s ease;
  min-height: 52px;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--red-deep); color: #fff; }
.btn--red:hover { background: var(--red-darker); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink); color: var(--text-inverse-muted);
  font-size: .84rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; padding: 4px 0;
}
.topbar a { color: var(--text-inverse-muted); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--red); flex: none; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-right { display: flex; gap: 22px; }
@media (max-width: 720px) {
  .topbar-right .topbar-email { display: none; }
  .topbar { font-size: .78rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 190px; }
.brand img { width: 100%; max-width: 320px; height: auto; }

.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a {
  display: block; padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text); border-radius: var(--radius-sm);
  position: relative; white-space: nowrap;
}
.site-nav a:hover { color: var(--red-deep); background: var(--bg-soft); }
.site-nav a[aria-current="page"] { color: var(--red-deep); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 3px; background: var(--red);
}

.header-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--text); }
.header-phone:hover { color: var(--red-deep); }
.header-phone svg { width: 30px; height: 30px; color: var(--red); flex: none; }
.header-phone .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); display: block; line-height: 1.2; }
.header-phone .num { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; letter-spacing: .02em; }
.header-cta .btn { padding: 12px 22px; min-height: 46px; font-size: 1rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 48px; height: 48px; padding: 10px; border-radius: var(--radius-sm);
  color: var(--ink);
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1250px) {
  .header-phone { display: none; }
  .site-nav a { padding: 10px 12px; }
}
@media (max-width: 1080px) {
  .header-cta .btn { display: none; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .brand img { max-width: 250px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none; padding: 10px 16px 18px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 14px 12px; font-size: 1.2rem; border-bottom: 1px solid var(--bg-softer); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { background: var(--bg-soft); border-left: 3px solid var(--red); }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 78% 42%, rgba(225, 6, 0, .13), transparent 60%),
    linear-gradient(160deg, #1B1F26 0%, #14171C 55%, #101318 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(closest-side at 60% 50%, black, transparent 130%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 40px; align-items: center;
  padding-top: 72px; padding-bottom: 72px;
  position: relative;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); text-shadow: 0 2px 24px rgba(225,6,0,.35); }
.hero .kicker { color: #FF6B65; }
.hero .lead { font-size: 1.15rem; color: var(--text-inverse-muted); max-width: 34rem; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; max-width: 560px; margin: 0 auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .92rem; color: var(--text-inverse-muted);
}
.hero-trust svg { width: 17px; height: 17px; color: var(--red); flex: none; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 56px; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 330px; }
}

/* ---------- Stats band ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.stat { background: #fff; padding: 30px 24px; text-align: center; }
.stat .value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.3rem; color: var(--ink); line-height: 1.05;
  text-transform: uppercase;
}
.stat .value span { color: var(--red); }
.stat .label { font-size: .88rem; color: var(--text-muted); margin-top: 6px; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .22s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .96rem; margin-bottom: 0; }
.card .icon {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card:hover .icon { background: var(--red-deep); }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--red-deep);
}
.card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .card-link svg, .card-link:hover svg { transform: translateX(4px); }

/* Product category cards (home) */
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .22s ease; display: flex; flex-direction: column;
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pcard-media {
  background: var(--bg-soft); padding: 26px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 3px solid var(--red);
  min-height: 220px;
}
.pcard-media img { max-height: 185px; width: auto; object-fit: contain; }
.pcard-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.pcard-body h3 { margin-bottom: 8px; }
.pcard-body ul { list-style: none; margin-bottom: 14px; }
.pcard-body li {
  position: relative; padding-left: 22px; margin-bottom: 6px;
  color: var(--text-muted); font-size: .95rem;
}
.pcard-body li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 10px; height: 3px; background: var(--red);
}
.pcard-body .card-link { margin-top: auto; }

/* Product photo tiles (products page) */
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .22s ease; margin: 0;
}
.tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tile img { width: 100%; aspect-ratio: 300 / 192; object-fit: cover; }
.tile figcaption {
  padding: 14px 18px; font-family: var(--font-display);
  font-size: 1.06rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text);
  border-top: 2px solid var(--red);
}
.tile figcaption small {
  display: block; font-family: var(--font-body);
  font-size: .8rem; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: var(--text-muted); margin-top: 2px;
}

/* ---------- Checklist rows ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-body); }
.checklist svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }
.section--dark .checklist li { color: var(--text-inverse-muted); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--red); border-radius: var(--radius);
  z-index: -1;
}

/* ---------- Brands band ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.brands-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; padding: 34px 0; }
.brands-label {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
  margin-right: 12px;
}
.brand-chip {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .1em; text-transform: uppercase; color: #7A828F;
  padding: 8px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: all .2s ease;
}
.brand-chip:hover { color: var(--ink); border-color: var(--steel); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 3.2rem;
  color: transparent; -webkit-text-stroke: 1.5px rgba(225, 6, 0, .55);
  display: block; line-height: 1; margin-bottom: 14px;
}
.section--dark .step { background: var(--ink-3); border-radius: var(--radius); border: 1px solid var(--line-dark); }
.section--dark .step h3 { color: #fff; }
.section--dark .step p { color: var(--text-inverse-muted); font-size: .95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--steel); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.22rem;
  letter-spacing: .02em; text-transform: none; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red-deep); }
.faq summary .chev { flex: none; width: 22px; height: 22px; color: var(--red); transition: transform .25s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-a { padding: 0 24px 22px; color: var(--text-muted); }
.faq .faq-a p { margin-bottom: .6em; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 15% 50%, rgba(225, 6, 0, .16), transparent 60%),
    var(--ink);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px; padding: 64px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: var(--text-inverse-muted); margin: 0; max-width: 34rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 300px at 85% 20%, rgba(225, 6, 0, .12), transparent 60%),
    linear-gradient(160deg, #1B1F26 0%, #14171C 70%);
  color: #fff; padding: 64px 0 56px; position: relative;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(2.3rem, 4.5vw, 3.4rem); }
.page-hero .lead { color: var(--text-inverse-muted); max-width: 46rem; margin: 0; font-size: 1.08rem; }
.breadcrumbs { margin-bottom: 22px; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--text-inverse-muted); }
.breadcrumbs li + li::before { content: "/"; color: #4A5160; }
.breadcrumbs a { color: var(--text-inverse-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #FF6B65; }

/* ---------- Service detail blocks ---------- */
.svc {
  display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 34px 30px; margin-bottom: 22px;
  scroll-margin-top: 120px;
  transition: box-shadow .22s ease;
}
.svc:hover { box-shadow: var(--shadow-md); }
.svc .icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.svc .icon svg { width: 27px; height: 27px; }
.svc h3 { margin-bottom: 6px; }
.svc .svc-tag {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--red-deep);
  margin-bottom: 10px;
}
.svc ul { margin-top: 12px; }
@media (max-width: 640px) {
  .svc { grid-template-columns: 1fr; padding: 26px 22px; }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 46px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 38px 36px; position: relative; overflow: hidden;
}
.info-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(135deg, var(--red) 0 14px, transparent 14px 28px);
}
.info-card h2 { color: #fff; font-size: 1.9rem; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.info-row:last-of-type { border-bottom: 0; }
.info-row svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 3px; }
.info-row .label {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-inverse-muted); display: block; margin-bottom: 3px;
}
.info-row a, .info-row .val { color: #fff; font-weight: 500; }
.info-row a:hover { color: #FF6B65; }

/* Forms */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 36px; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } }
.field label {
  display: block; font-weight: 600; font-size: .88rem; color: var(--text);
  margin-bottom: 7px;
}
.field label .req { color: var(--red-deep); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s ease, background .2s ease;
  min-height: 50px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, .12);
}
.field .hint { font-size: .8rem; color: var(--text-muted); margin-top: 5px; }
.form-note { font-size: .84rem; color: var(--text-muted); margin: 14px 0 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); margin-top: 46px;
}
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- bizSAFE badge ----------
   Text-based badge component. When the client supplies the official
   bizSAFE Level 3 logo (WSH Council enterprise pack), replace the inner
   markup with <img src="images/bizsafe-level-3.png" alt="bizSAFE Level 3">. */
.bizsafe {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 18px;
}
.bizsafe svg { width: 34px; height: 34px; color: #1B8A3A; flex: none; }
.bizsafe .bz-brand {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 1.05rem; line-height: 1.15; color: var(--text);
}
.bizsafe .bz-brand em { font-style: italic; color: var(--red-deep); }
.bizsafe .bz-level {
  display: block; font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
}
.bizsafe--dark { background: var(--ink-3); border-color: var(--line-dark); }
.bizsafe--dark .bz-brand { color: #fff; }
.bizsafe--dark .bz-brand em { color: #FF6B65; }
.bizsafe--dark .bz-level { color: var(--text-inverse-muted); }

/* ---------- Footer ---------- */
.site-footer { background: #101318; color: var(--text-inverse-muted); font-size: .93rem; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);
  gap: 40px; padding: 64px 0 46px;
}
@media (max-width: 1000px) { .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { max-width: 280px; background: #fff; padding: 8px 12px; border-radius: 4px; }
.footer-brand p { margin-top: 18px; max-width: 30rem; }
.site-footer h4 {
  color: #fff; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 18px;
  position: relative; padding-bottom: 10px;
}
.site-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 3px; background: var(--red);
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--text-inverse-muted); }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: .82rem; color: #6A7382;
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
  background: var(--ink); border-top: 1px solid var(--line-dark);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 10px;
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.mobile-cta svg { width: 18px; height: 18px; }
.mobile-cta .call { background: var(--red-deep); color: #fff; }
.mobile-cta .enquire { background: #fff; color: var(--ink); }
@media (max-width: 720px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 72px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }
