:root {
  --bg: #f7f4ee;
  --paper: #fff;
  --ink: #20201e;
  --muted: #77736c;
  --line: #e4dfd5;
  --gold: #b18a4a;
  --dark: #24231f;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: auto;
}
.mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--gold);
  color: white;
  border-radius: 3px;
  font-family: Georgia, serif;
  font-size: 20px;
}
.nav nav {
  display: flex;
  gap: 28px;
}
.nav nav a,
.phone {
  font-size: 14px;
}
.phone {
  font-weight: 700;
}
.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
}
.hero {
  min-height: 78vh;
  background: #3b3934 center/cover no-repeat;
  position: relative;
  display: grid;
  align-items: center;
  color: white;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.18));
}
.hero-content {
  position: relative;
  max-width: 1000px;
  padding: 100px 0;
}
.hero h1 {
  font: clamp(46px, 7vw, 88px) / 1.03 Georgia, serif;
  margin: 10px 0 25px;
}
.hero p:not(.eyebrow) {
  font-size: 19px;
  max-width: 650px;
  color: #eee;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 12px;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-block;
  border: 0;
  background: var(--gold);
  color: #fff;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.section {
  padding: 50px 0;
}
.alt {
  background: #eeeae2;
}
.intro,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.section h2,
.page-head h1 {
  font: clamp(34px, 5vw, 56px) / 1.1 Georgia, serif;
  margin: 0 0 22px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 35px;
}
.grid {
  display: grid;
  gap: 22px;
}
.services {
  grid-template-columns: repeat(3, 1fr);
}
.projects {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(40, 35, 25, 0.05);
}
.service img,
.project img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.pad {
  padding: 25px;
}
.service h3,
.project h3 {
  font: 24px Georgia, serif;
  margin: 0 0 8px;
}
.project {
  position: relative;
  overflow: hidden;
  background: #222;
  min-height: 320px;
}
.project img {
  height: 100%;
  min-height: 320px;
  transition: transform 0.5s;
}
.project:hover img {
  transform: scale(1.05);
}
.project-label {
  position: absolute;
  inset: auto 0 0;
  padding: 25px;
  color: white;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.project-label span {
  font-size: 12px;
  color: #e8c98f;
  letter-spacing: 0.15em;
}
.dark {
  background: var(--dark);
  color: #fff;
}
.process {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 45px;
}
.process-item {
  border-top: 1px solid #555;
  padding-top: 22px;
}
.process-item b {
  color: #d4b36f;
}
.testimonials {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 35px;
}
.stars {
  color: var(--gold);
  letter-spacing: 3px;
}
.testimonials small {
  display: block;
  color: var(--muted);
}
.contact {
  background: #eae4d8;
}
.form {
  padding: 28px;
  display: grid;
  gap: 13px;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  border: 1px solid var(--line);
  padding: 13px;
  background: white;
  width: 100%;
}
.footer {
  background: #20201d;
  color: #ddd;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  color: #fff;
}
.copyright {
  border-top: 1px solid #444;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #aaa;
}
.page-head {
  padding: 90px 0 50px;
  background: #eeeae2;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.gallery img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.text-link {
  font-weight: 700;
  color: var(--gold);
}
@media (max-width: 800px) {
  .nav nav,
  .phone {
    display: none;
  }
  .menu {
    display: block;
  }
  .nav-open .nav nav {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    box-shadow: 0 10px 30px #0002;
  }
  .intro,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .services,
  .projects,
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    min-height: 72vh;
  }
  .section {
    padding: 65px 0;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery img {
    height: 320px;
  }
}
@media (max-width: 520px) {
  .services,
  .projects,
  .testimonials,
  .process {
    grid-template-columns: 1fr;
  }
  .container {
    width: min(var(--max), calc(100% - 28px));
  }
  .hero h1 {
    font-size: 48px;
  }
}
.service-cover {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
}
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-gallery a {
  display: block;
  overflow: hidden;
  background: #ddd;
}
.work-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.work-gallery a:hover img {
  transform: scale(1.05);
}
@media (max-width: 800px) {
  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .work-gallery {
    grid-template-columns: 1fr;
  }
  .work-gallery img {
    height: 280px;
  }
}

