/* ============================================================
   WSENGINEER - W.S. Engineering Limited
   Light engineering theme: safety-orange on warm paper white
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2A2118;
  background-color: #FBF7F1;
  overflow-x: hidden;
}

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

a {
  color: #E8762D;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #C85E1E;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: #E8762D;
  color: #FFFFFF;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   LEFT SIDEBAR NAVIGATION
   Fixed 240px rail on the left edge of the viewport
   ============================================================ */

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background-color: #FBF7F1;
  border-right: 1px solid #E8DCC8;
  display: flex;
  flex-direction: column;
  padding: 34px 22px 28px;
  z-index: 100;
}

.side-nav-brand {
  margin-bottom: 6px;
}

.side-nav-brand a {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #E8762D;
  line-height: 1.2;
}

.side-nav-tagline {
  font-size: 12px;
  color: #7A6B58;
  line-height: 1.5;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8DCC8;
}

.side-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.side-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #2A2118;
  padding: 9px 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.side-nav-links a::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background-color: #E8DCC8;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.side-nav-links a:hover {
  background-color: #F3E8DA;
}

.side-nav-links a:hover::before {
  background-color: #E8762D;
}

.side-nav-links a.active {
  color: #E8762D;
}

.side-nav-links a.active::before {
  background-color: #E8762D;
}

.side-nav-cta {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #E8DCC8;
}

.side-nav-cta a {
  display: block;
  text-align: center;
  background-color: #E8762D;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 12px;
  border-radius: 6px;
  transition: background-color 0.25s ease;
}

.side-nav-cta a:hover {
  background-color: #C85E1E;
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
}

/* Main content wrapper sits to the right of the fixed sidebar */
.page-wrap {
  margin-left: 240px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   BANNER STRIP HERO
   Full-width safety-orange band with skyline graphic
   ============================================================ */

.banner-hero {
  background-color: #E8762D;
  color: #FFFFFF;
  overflow: hidden;
}

.banner-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 84px 0 88px;
}

.banner-hero-text {
  flex: 1;
  max-width: 640px;
}

.banner-hero .eyebrow {
  display: inline-block;
  background-color: #FFFFFF;
  color: #E8762D;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.banner-hero h1 {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.banner-hero p.subcopy {
  font-size: 18px;
  line-height: 1.75;
  color: #FBE3D0;
  margin-bottom: 34px;
  max-width: 560px;
}

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

.btn-primary {
  display: inline-block;
  background-color: #2A2118;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  background-color: #FFFFFF;
  color: #E8762D;
}

.btn-ink {
  display: inline-block;
  background-color: #2A2118;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 6px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-ink:hover {
  background-color: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* CSS city skyline graphic - all solid colors */
.skyline {
  flex: 0 0 300px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 180px;
  position: relative;
}

.skyline-buildings {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 164px;
}

.skyline-building {
  width: 26px;
  position: relative;
}

.skyline-building b1 {
  display: block;
  width: 100%;
  position: relative;
}

.skyline-building b2 {
  display: block;
  width: 100%;
  position: relative;
}

.skyline-building b3 {
  display: block;
  width: 100%;
  position: relative;
}

.skyline-building b4 {
  display: block;
  width: 100%;
  position: relative;
}

.skyline-building b5 {
  display: block;
  width: 100%;
  position: relative;
}

.skyline-building b6 {
  display: block;
  width: 100%;
  position: relative;
}

.skyline-base {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 4px;
  background-color: #2A2118;
}

.building-tall {
  background-color: #2A2118;
  height: 64px;
}

.building-short {
  background-color: #2A2118;
  height: 46px;
}

.building-tall2 {
  background-color: #2A2118;
  height: 50px;
}

.building-white {
  background-color: #FFFFFF;
  height: 58px;
}

.building-white2 {
  background-color: #FFFFFF;
  height: 34px;
}

.building-orange {
  background-color: #C85E1E;
  height: 40px;
}

.window {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #FFFFFF;
}

.window-dark {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #2A2118;
}

/* ============================================================
   CARD GRID
   2x3 grid of six service cards
   ============================================================ */

.section {
  padding: 84px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  color: #2A2118;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-head p {
  font-size: 17px;
  color: #7A6B58;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #E8762D;
  margin-bottom: 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 10px;
  padding: 32px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px #E3D4BF;
  border-color: #E8762D;
}

.card-icon {
  width: 24px;
  height: 24px;
  background-color: #E8762D;
  border-radius: 4px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: #2A2118;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #7A6B58;
  line-height: 1.7;
}

/* ============================================================
   METRIC BAND
   Solid safety-orange band with four numerals
   ============================================================ */

.metric-band {
  background-color: #E8762D;
  color: #FFFFFF;
  padding: 64px 0;
}

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

.metric-item {
  text-align: center;
  padding: 8px 24px;
  border-right: 1px solid #FBF7F1;
}

.metric-item:last-child {
  border-right: none;
}

.metric-num {
  font-size: 46px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.metric-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-top: 8px;
}

/* ============================================================
   STATEMENT BAND
   Paper-warm band with one large statement
   ============================================================ */

.statement-band {
  background-color: #F3E8DA;
  padding: 72px 0;
}

.statement-inner {
  max-width: 820px;
}

.statement-inner h2 {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 800;
  color: #2A2118;
  margin-bottom: 18px;
}

.statement-inner p {
  font-size: 16px;
  color: #7A6B58;
  max-width: 700px;
}

.statement-mark {
  display: inline-block;
  width: 40px;
  height: 6px;
  background-color: #E8762D;
  border-radius: 3px;
  margin-bottom: 22px;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background-color: #E8762D;
  color: #FFFFFF;
  padding: 78px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 17px;
  color: #FBE3D0;
  max-width: 640px;
  margin: 0 auto 34px;
}

/* ============================================================
   DUO-BAND FOOTER
   ============================================================ */

.duo-band-footer {
  margin-top: auto;
}

.footer-upper {
  background-color: #F3E8DA;
  padding: 60px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 44px;
}

.footer-brand h4 {
  font-size: 22px;
  font-weight: 800;
  color: #E8762D;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.footer-brand p {
  font-size: 14px;
  color: #7A6B58;
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-copy {
  font-size: 13px;
  color: #7A6B58;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #2A2118;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #7A6B58;
}

.footer-col ul li a:hover {
  color: #E8762D;
}

.footer-contact li {
  font-size: 14px;
  color: #7A6B58;
  margin-bottom: 11px;
}

.footer-legal {
  background-color: #2A2118;
  color: #FFFFFF;
  padding: 22px 0;
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-legal p {
  font-size: 13px;
  color: #FFFFFF;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-legal-links a {
  font-size: 13px;
  color: #FFFFFF;
}

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

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.page-hero {
  background-color: #E8762D;
  color: #FFFFFF;
}

.page-hero-inner {
  padding: 70px 0 76px;
  max-width: 820px;
}

.page-hero .eyebrow {
  display: inline-block;
  background-color: #FFFFFF;
  color: #E8762D;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.page-hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 18px;
  color: #FBE3D0;
  max-width: 640px;
}

.service-block {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 10px;
  padding: 38px 36px;
  margin-bottom: 26px;
}

.service-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-block-head .card-icon {
  margin-bottom: 0;
}

.service-block h3 {
  font-size: 23px;
  font-weight: 700;
  color: #2A2118;
}

.service-block p {
  font-size: 16px;
  color: #7A6B58;
  margin-bottom: 14px;
}

.service-block ul.deliverables {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 26px;
}

.service-block ul.deliverables li {
  font-size: 14px;
  color: #2A2118;
  padding-left: 20px;
  position: relative;
}

.service-block ul.deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #E8762D;
  border-radius: 2px;
}

.process-strip {
  background-color: #F3E8DA;
  padding: 70px 0;
}

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

.process-step {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 10px;
  padding: 28px 24px;
}

.process-step .step-num {
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  color: #E8762D;
  margin-bottom: 12px;
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: #2A2118;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: #7A6B58;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 10px;
  padding: 38px 36px;
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2A2118;
  margin-bottom: 8px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: #2A2118;
  background-color: #FBF7F1;
  border: 1px solid #E8DCC8;
  border-radius: 6px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: #E8762D;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 13px;
  color: #7A6B58;
  margin-top: 12px;
}

.form-status {
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #F3E8DA;
  color: #2A2118;
  border: 1px solid #E8DCC8;
}

.form-status.error {
  display: block;
  background-color: #FBE3D0;
  color: #C85E1E;
  border: 1px solid #E8762D;
}

.contact-info-card {
  background-color: #F3E8DA;
  border-radius: 10px;
  padding: 34px 30px;
  margin-bottom: 26px;
}

.contact-info-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #2A2118;
  margin-bottom: 18px;
}

.contact-info-card ul li {
  font-size: 15px;
  color: #2A2118;
  margin-bottom: 14px;
  padding-left: 26px;
  position: relative;
}

.contact-info-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #E8762D;
  border-radius: 2px;
}

.contact-info-card ul li a {
  color: #2A2118;
  font-weight: 600;
}

.contact-info-card ul li a:hover {
  color: #E8762D;
}

.hours-card {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 10px;
  padding: 30px 30px;
}

.hours-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #2A2118;
  margin-bottom: 16px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #7A6B58;
  padding: 8px 0;
  border-bottom: 1px solid #E8DCC8;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:first-child {
  font-weight: 600;
  color: #2A2118;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E8DCC8;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #2A2118;
  background-color: transparent;
  border: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: #E8762D;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  font-size: 15px;
  color: #7A6B58;
  padding: 0 24px 20px;
}

/* ============================================================
   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);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .side-nav {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #E8DCC8;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    flex-wrap: wrap;
    z-index: 100;
  }

  .side-nav-brand {
    margin-bottom: 0;
  }

  .side-nav-tagline {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    width: 42px;
    height: 42px;
    background-color: #E8762D;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
  }

  .side-nav-links {
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    padding-top: 14px;
  }

  .side-nav-links.open {
    display: flex;
  }

  .side-nav-cta {
    display: none;
  }

  .page-wrap {
    margin-left: 0;
  }

  .banner-hero-inner {
    flex-direction: column;
    padding: 56px 0 64px;
    gap: 40px;
  }

  .banner-hero h1 {
    font-size: 36px;
  }

  .skyline {
    flex: 0 0 auto;
  }

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

  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 0;
  }

  .metric-item:nth-child(2) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .service-block ul.deliverables {
    grid-template-columns: 1fr;
  }

  .footer-legal-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .banner-hero h1 {
    font-size: 30px;
  }

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

  .metric-item {
    border-right: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    text-align: center;
  }

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