/* CLEVERHUB — Construction Site Engineering theme
   Palette: site-hut #15140F / crane-mustard #C99A2E / blueprint-panel #1D1D26
   dusk-brick #2A2119 / plaster-cream #EFE9D6 / pencil-lead #A9A695
   safety-orange #D4622A / hairline #332F26 */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #15140F;
  color: #F0EDE2;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

a {
  color: #C99A2E;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  color: #EFE9D6;
  line-height: 1.15;
}

/* ===== HOARDING-RIB NAV ===== */
.hoarding-nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

.hoarding-strip {
  height: 14px;
  background: repeating-linear-gradient(90deg, #2A2119 0 18px, #241C15 18px 36px);
  border-bottom: 2px solid #C99A2E;
}

.nav-row {
  background-color: #1D1D26;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  border-bottom: 1px solid #332F26;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  letter-spacing: 4px;
  font-weight: 700;
  color: #EFE9D6;
  text-transform: uppercase;
}

.hardhat {
  width: 18px;
  height: 14px;
  position: relative;
}

.hardhat::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 8px;
  left: 1px;
  top: 0;
  border-radius: 8px 8px 0 0;
  background-color: #C99A2E;
}

.hardhat::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 3px;
  left: 0;
  top: 8px;
  border-radius: 2px;
  background-color: #C99A2E;
}

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

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #A9A695;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 10px;
  position: relative;
}

.nav-links a:hover {
  color: #EFE9D6;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background-color: #C99A2E;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.flag-tick {
  width: 2px;
  height: 10px;
  background-color: #D4622A;
  margin: 0 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #332F26;
  color: #EFE9D6;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 12px;
}

/* ===== CRANEYARD HERO ===== */
.craneyard-hero {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 20px;
  padding: 70px 40px 60px;
  background-color: #15140F;
}

.hero-text {
  padding-right: 20px;
}

.eyebrow {
  display: inline-block;
  background-color: #C99A2E;
  color: #15140F;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: #EFE9D6;
  margin: 0 0 20px;
  line-height: 1.1;
}

.hero-title .foundation {
  color: #C99A2E;
}

.hero-sub {
  font-size: 18px;
  color: #A9A695;
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background-color: #C99A2E;
  color: #15140F;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #E0A93A;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #EFE9D6;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 13px 28px;
  border: 1px solid #EFE9D6;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: #EFE9D6;
  color: #15140F;
}

.hero-scene {
  position: relative;
  min-height: 420px;
}

/* tower crane mast */
.crane-mast {
  position: absolute;
  right: 90px;
  bottom: 20px;
  top: 10px;
  width: 34px;
  background:
    linear-gradient(#1D1D26, #1D1D26) 0 0/100% 100% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 14px, #2A2119 14px 16px);
}

.crane-mast::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background:
    linear-gradient(to top right, transparent 46%, #C99A2E 46% 54%, transparent 54%),
    linear-gradient(to top left, transparent 46%, #C99A2E 46% 54%, transparent 54%);
  background-size: 100% 28px;
  background-repeat: repeat-y;
  opacity: 1;
}

/* jib */
.crane-jib {
  position: absolute;
  right: 124px;
  top: 10px;
  width: 240px;
  height: 8px;
  background-color: #C99A2E;
}

.crane-jib::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: -6px;
  width: 6px;
  background: repeating-linear-gradient(0deg, #C99A2E 0 14px, #15140F 14px 22px);
  /* trolley lines */
}

.crane-jib::after {
  content: "";
  position: absolute;
  left: 160px;
  top: 8px;
  width: 3px;
  height: 90px;
  background-color: #C99A2E;
}

/* counter-jib */
.crane-counter {
  position: absolute;
  right: -10px;
  top: 14px;
  width: 90px;
  height: 8px;
  background-color: #C99A2E;
}

.counter-block {
  position: absolute;
  right: -12px;
  top: 8px;
  width: 40px;
  height: 30px;
  background-color: #2A2119;
  border-top: 2px solid #C99A2E;
}

/* rebar bundle hanging on hook line */
.rebar-bundle {
  position: absolute;
  left: 158px;
  top: 104px;
  width: 26px;
  height: 60px;
  background:
    repeating-linear-gradient(0deg, #A9A695 0 30px, transparent 30px 34px),
    repeating-linear-gradient(90deg, #C99A2E 0 2px, transparent 2px 5px);
  border: 1px solid #C99A2E;
}

/* floor slab */
.slab {
  position: absolute;
  left: 10px;
  bottom: 66px;
  width: 260px;
  height: 90px;
  background-color: #2A2119;
  border: 1px solid #332F26;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
}

.formwork-panel {
  background-color: #1D1D26;
  border: 1px solid #432F26;
}

.formwork-panel::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: 0 auto;
  background-color: #C99A2E;
  border-radius: 50%;
  transform: translateY(10px);
}

/* rebar cage block on slab */
.rebar-cage {
  position: absolute;
  left: 40px;
  bottom: 156px;
  width: 64px;
  height: 54px;
  background:
    repeating-linear-gradient(0deg, #C99A2E 0 3px, transparent 3px 9px);
  border: 2px solid #A9A695;
}

.rebar-cage::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -6px;
  height: 3px;
  background-color: #A9A695;
}

.rebar-cage::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background-color: #A9A695;
}

/* site hoist on mast */
.site-hoist {
  position: absolute;
  right: 108px;
  top: 120px;
  width: 50px;
  height: 40px;
  background-color: #2A2119;
  border: 1px solid #332F26;
}

.site-hoist::before {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 40px;
  height: 30px;
  background-color: #1D1D26;
  border: 1px solid #C99A2E;
}

/* site noticeboard */
.noticeboard {
  position: absolute;
  left: 200px;
  bottom: 160px;
  width: 54px;
  height: auto;
}

.noticeboard-stand {
  position: absolute;
  left: 200px;
  bottom: 120px;
  width: 54px;
  height: 40px;
  border-bottom: 2px solid #A9A695;
  border-radius: 0 0 50% 50%;
}

.notice-board {
  position: absolute;
  left: 200px;
  bottom: 160px;
  width: 54px;
  height: 36px;
  background-color: #EFE9D6;
  border: 1px solid #A9A695;
}

.notice-board::after {
  content: "";
  position: absolute;
  left: 6px; top: 6px;
  width: 18px;
  height: 22px;
  background-color: #A9A695;
}

.site-triangle {
  position: absolute;
  left: 234px;
  bottom: 158px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #D4622A;
}

/* theodolite on tripod */
.theodolite {
  position: absolute;
  left: 18px;
  bottom: 150px;
  width: 30px;
  height: 34px;
}

.theodolite::before {
  content: "";
  position: absolute;
  left: 8px; top: 0;
  width: 14px;
  height: 8px;
  background-color: #C99A2E;
}

.theodolite::after {
  content: "";
  position: absolute;
  left: 0; top: 8px; right: 0;
  height: 26px;
  border: 2px solid #A9A695;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

/* hard hat on rolled drawing */
.rolled-drawing {
  position: absolute;
  left: 120px;
  bottom: 50px;
  width: 70px;
  height: 12px;
  background-color: #EFE9D6;
  border-radius: 6px;
}

.hat-on-roll {
  position: absolute;
  left: 136px;
  bottom: 62px;
  width: 34px;
  height: 14px;
  border-radius: 14px 14px 0 0;
  background-color: #C99A2E;
}

.hat-on-roll::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 12px;
  height: 3px;
  background-color: #C99A2E;
  border-radius: 2px;
}

/* safety cones */
.cone-left {
  position: absolute;
  left: 0;
  bottom: 66px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 16px solid #D4622A;
}

.cone-right {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 16px solid #D4622A;
}

/* ===== SLAB-GRID ROWS ===== */
.slabgrid-rows {
  padding: 70px 40px;
  background-color: #15140F;
}

.section-title {
  font-size: 34px;
  color: #C99A2E;
  margin: 0 0 8px;
}

.section-lede {
  color: #A9A695;
  font-size: 17px;
  margin: 0 0 40px;
  max-width: 760px;
}

.slab-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slab-row {
  display: grid;
  grid-template-columns: 140px 1fr 90px;
  align-items: center;
  gap: 24px;
  background-color: #1D1D26;
  border: 1px solid #332F26;
  padding: 28px 28px;
}

.column-grid {
  width: 120px;
  height: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}

.col-square {
  background-color: #1D1D26;
  border: 1px solid #332F26;
}

.col-square.highlight {
  background-color: #C99A2E;
}

.col-square.h200 { grid-column: 1; grid-row: 1; }
.col-square.h320 { grid-column: 2; grid-row: 1; }
.col-square.h431 { grid-column: 1; grid-row: 2; }

.slab-row h3 {
  color: #EFE9D6;
  font-size: 24px;
  margin: 0 0 12px;
}

.slab-row p {
  color: #A9A695;
  margin: 0;
  font-size: 16px;
}

.test-cube {
  width: 56px;
  height: 56px;
  border: 2px solid #A9A695;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C99A2E;
  font-weight: 700;
  font-size: 15px;
  margin-left: auto;
  background-color: #2A2119;
}

/* ===== CONCRETE-CUBE METRIC BAND ===== */
.metric-band {
  background-color: #2A2119;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  text-align: center;
}

.cube-numeral {
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  border: 2px solid #C99A2E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: #C99A2E;
}

.metric-label {
  color: #EFE9D6;
  font-size: 15px;
  letter-spacing: 1px;
}

/* ===== STATEMENT BAND ===== */
.statement-band {
  background-color: #1D1D26;
  padding: 70px 40px;
  border-top: 1px solid #332F26;
  border-bottom: 1px solid #332F26;
}

.statement-inner {
  max-width: 820px;
  margin: 0 auto;
  border-left: 4px solid #C99A2E;
  padding-left: 28px;
}

.statement-inner p {
  font-size: 24px;
  color: #EFE9D6;
  line-height: 1.5;
  margin: 0 0 16px;
}

.statement-sign {
  color: #A9A695;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== CTA BAND ===== */
.cta-band {
  padding: 80px 40px;
  background-color: #15140F;
  text-align: center;
}

.cta-band h2 {
  color: #C99A2E;
  font-size: 38px;
  margin: 0 0 16px;
}

.cta-band p {
  color: #A9A695;
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 32px;
}

/* ===== SAFETY-NET FOOTER ===== */
.safetynet-footer {
  background-color: #100F0A;
  padding: 0 0 30px;
  position: relative;
  z-index: 1;
}

.safety-net {
  height: 14px;
  background:
    linear-gradient(to top right, transparent 46%, #A9A695 46% 54%, transparent 54%),
    linear-gradient(to top left, transparent 46%, #A9A695 46% 54%, transparent 54%);
  background-size: 18px 18px;
  background-repeat: repeat-x;
}

.safety-net::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 6px;
  height: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 50px 40px 0;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 22px;
  letter-spacing: 6px;
  font-weight: 700;
  color: #EFE9D6;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-links a {
  color: #A9A695;
  font-size: 14px;
}

.footer-links a:hover {
  color: #EFE9D6;
}

.separator-dot {
  color: #332F26;
}

.level-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
}

.rebar-rod {
  width: 60px;
  height: 2px;
  background-color: #A9A695;
}

.spirit-level {
  width: 60px;
  height: 14px;
  background-color: #C99A2E;
  border-radius: 7px;
  position: relative;
}

.spirit-level::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 8px;
  height: 8px;
  background-color: #EFE9D6;
  border-radius: 50%;
  transform: translateX(-50%);
}

.legal-line {
  color: #A9A695;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ===== SCROLL REVEAL ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #332F26;
  background-color: #1D1D26;
  margin-bottom: 12px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-size: 17px;
  color: #EFE9D6;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: #C99A2E;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #A9A695;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background-color: #1D1D26;
  border: 1px solid #332F26;
  padding: 34px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #EFE9D6;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background-color: #15140F;
  border: 1px solid #332F26;
  color: #F0EDE2;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #C99A2E;
}

.callout-box {
  background-color: #1D1D26;
  border-left: 4px solid #C99A2E;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.callout-box h3 {
  margin: 0 0 10px;
  color: #EFE9D6;
}

.callout-box p {
  margin: 0;
  color: #A9A695;
}

/* page banner for secondary pages */
.page-banner {
  background-color: #1D1D26;
  border-bottom: 1px solid #332F26;
  padding: 60px 40px;
}

.page-banner h1 {
  font-size: 44px;
  color: #EFE9D6;
  margin: 0 0 14px;
}

.page-banner .eyebrow {
  margin-bottom: 18px;
}

.page-banner p {
  color: #A9A695;
  font-size: 17px;
  max-width: 720px;
  margin: 0;
}

/* service sections */
.service-section {
  background-color: #15140F;
  padding: 50px 40px;
}

.service-section:nth-child(even) {
  background-color: #1D1D26;
}

.service-section h2 {
  color: #C99A2E;
  font-size: 30px;
  margin: 0 0 16px;
}

.service-section p {
  color: #A9A695;
  font-size: 17px;
  max-width: 820px;
  line-height: 1.7;
}

.service-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}

.service-meta span {
  background-color: #2A2119;
  color: #EFE9D6;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-left: 2px solid #C99A2E;
}

/* process overview */
.process-block {
  background-color: #2A2119;
  padding: 60px 40px;
  border-top: 1px solid #332F26;
  border-bottom: 1px solid #332F26;
}

.process-block h2 {
  color: #C99A2E;
  text-align: center;
  margin: 0 0 40px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-step {
  text-align: center;
}

.process-num {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border: 2px solid #C99A2E;
  color: #C99A2E;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1D1D26;
}

.process-step h4 {
  color: #EFE9D6;
  margin: 0 0 8px;
  font-size: 16px;
}

.process-step p {
  color: #A9A695;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 40px;
}

.contact-details {
  background-color: #1D1D26;
  border: 1px solid #332F26;
  padding: 30px;
}

.contact-details h2 {
  color: #C99A2E;
  margin: 0 0 20px;
  font-size: 24px;
}

.contact-detail-item {
  margin-bottom: 22px;
  border-bottom: 1px solid #332F26;
  padding-bottom: 18px;
}

.contact-detail-item label {
  color: #A9A695;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.contact-detail-item .value {
  color: #EFE9D6;
  font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .craneyard-hero {
    grid-template-columns: 1fr;
  }
  .hero-scene {
    min-height: 360px;
  }
  .slab-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .column-grid {
    margin: 0 auto;
  }
  .test-cube {
    margin: 0 auto;
  }
  .metric-band {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-title {
    font-size: 36px;
  }
  .nav-row {
    padding: 12px 20px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1D1D26;
    border-bottom: 1px solid #332F26;
    padding: 10px 20px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 12px 4px;
  }
  .nav-links .flag-tick {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .craneyard-hero {
    padding: 50px 20px;
  }
  .metric-band {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .slabgrid-rows,
  .cta-band,
  .statement-band {
    padding: 50px 20px;
  }
  .footer-inner {
    padding: 40px 20px 0;
  }
}
