/* Structr General Contracting — brand: Space Grotesk, Graphite #2B2F33, Ink #16181C, Off-white #F4F2ED */
:root {
  --graphite: #2B2F33;
  --ink: #16181C;
  --offwhite: #F4F2ED;
  --white: #FFFFFF;
  --line: rgba(43, 47, 51, 0.15);
  --line-dark: rgba(244, 242, 237, 0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  color: var(--graphite);
  background: var(--offwhite);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--offwhite);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; border-bottom: 2px solid var(--offwhite); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--offwhite); margin: 5px 0; }

/* Hero */
.hero {
  background: var(--ink);
  color: var(--offwhite);
  padding: 96px 0 88px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.12;
  max-width: 720px;
  letter-spacing: -0.01em;
}
.hero p.lead {
  margin-top: 24px;
  font-size: 1.15rem;
  max-width: 560px;
  opacity: 0.8;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badge {
  border: 1px solid var(--line-dark);
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
}
.btn-light { background: var(--offwhite); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-outline-light { background: transparent; color: var(--offwhite); border-color: var(--offwhite); }
.btn-outline-light:hover { background: var(--offwhite); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--offwhite); }
.btn-dark:hover { background: var(--graphite); }

/* Sections */
section { padding: 80px 0; }
.section-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
}
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 500; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 500; }

/* Service cards */
.grid { display: grid; gap: 24px; margin-top: 48px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
}
.card .bars { margin-bottom: 20px; }
.card .bars img { height: 26px; width: auto; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; opacity: 0.8; }
.card a.more { display: inline-block; margin-top: 16px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; border-bottom: 2px solid var(--graphite); }

/* Dark band */
.band {
  background: var(--ink);
  color: var(--offwhite);
}
.band .card { background: transparent; border-color: var(--line-dark); }
.band .card p { opacity: 0.75; }

/* Stats / trust */
.trust { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 40px; }
.trust div strong { display: block; font-size: 1.6rem; font-weight: 500; }
.trust div span { font-size: 0.9rem; opacity: 0.7; }

/* Service detail */
.service-detail { border-top: 1px solid var(--line); padding: 56px 0; }
.service-detail:first-of-type { border-top: none; }
.service-detail .inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.service-detail ul { margin-top: 16px; padding-left: 20px; }
.service-detail li { margin-bottom: 8px; opacity: 0.85; }

/* Projects */
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.project-card .ph {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, var(--offwhite), var(--offwhite) 14px, #ECE9E2 14px, #ECE9E2 28px);
}
.project-card > * { position: relative; }
.project-card span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; margin-top: 48px; }
.contact-info p { margin-bottom: 20px; }
.contact-info .big { font-size: 1.4rem; font-weight: 500; }
form label { display: block; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; margin-top: 20px; }
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--graphite);
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--graphite); }
form button { margin-top: 28px; }

/* Footer */
footer {
  background: var(--ink);
  color: var(--offwhite);
  padding: 56px 0 40px;
  font-size: 0.9rem;
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 16px; }
footer p { opacity: 0.7; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; opacity: 0.6; font-size: 0.82rem; }

/* Responsive */
@media (max-width: 860px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-detail .inner, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 540px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0; }
}
