* {
  box-sizing: border-box;
}

:root {
  --dark: #151719;
  --dark-soft: #20242a;
  --text: #1e1e1e;
  --muted: #5f646b;
  --paper: #f7f4ef;
  --white: #ffffff;
  --accent: #c5752c;
  --accent-dark: #9d561c;
  --border: #ded8cf;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.call-btn,
.primary-btn,
.secondary-btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 14px 20px;
  font-weight: 800;
  text-decoration: none;
}

.call-btn,
.primary-btn,
button {
  background: var(--accent);
  color: var(--white);
  border: 0;
}

.call-btn:hover,
.primary-btn:hover,
button:hover {
  background: var(--accent-dark);
}

.secondary-btn {
  color: var(--white);
  border: 2px solid rgba(255,255,255,.8);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  background-image: url("assets/images/hero-project.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.54) 48%, rgba(0,0,0,.20) 100%),
    linear-gradient(0deg, rgba(0,0,0,.30), rgba(0,0,0,.10));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
  max-width: 860px;
  justify-self: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: .86rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: .92;
  letter-spacing: -2px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -1px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.lead {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

.service-area {
  margin-bottom: 34px;
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(255,255,255,.94);
}

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

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 56px;
  align-items: start;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.center {
  text-align: center;
}

.services {
  padding-top: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.service-grid article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.projects {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
  background: var(--dark-soft);
  color: var(--white);
}

.gallery {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  min-height: 245px;
  background: #30353d;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-item img:hover {
  transform: scale(1.04);
}

.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
}

.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

.contact-card {
  margin-top: 28px;
  padding: 24px;
  background: var(--dark);
  color: var(--white);
  border-radius: 18px;
  display: grid;
  gap: 9px;
}

.contact-card a {
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
}

label {
  display: block;
  margin-bottom: 16px;
  font-weight: 800;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 13px;
  border: 1px solid #cfc8be;
  border-radius: 9px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

button {
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}

.footer {
  padding: 42px 20px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.footer img {
  height: 70px;
  width: auto;
  max-width: min(320px, 90vw);
  background: white;
  border-radius: 8px;
  padding: 6px 10px;
  object-fit: contain;
}

.footer p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.82);
}

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

@media (max-width: 980px) {
  .nav {
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 620px;
  }
}

@media (max-width: 620px) {
  .brand img {
    height: 48px;
  }

  .nav-links a:not(.call-btn) {
    display: none;
  }

  .call-btn {
    width: 100%;
  }

  h1 {
    letter-spacing: -1px;
  }

  .hero-actions a {
    width: 100%;
  }

  .service-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item img {
    height: 260px;
  }

  .contact-form {
    padding: 22px;
  }
}
