:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --paper: #ffffff;
  --ink: #17202a;
  --muted: #68727f;
  --line: #ded8cf;
  --green: #315d57;
  --green-dark: #193d39;
  --clay: #b36a4c;
  --sand: #d8c8ad;
  --blue: #dce9ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(247, 245, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--green) 0 58%, transparent 58%),
    linear-gradient(135deg, transparent 0 42%, var(--sand) 42%);
  box-shadow: inset 0 0 0 1px rgba(23, 32, 42, 0.14);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.hero,
.section,
footer {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--green-dark);
  border-radius: 6px;
  font-weight: 750;
}

.button.primary {
  background: var(--green-dark);
  color: #fff;
}

.room-visual {
  position: relative;
  min-height: 410px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(220, 233, 236, 0.82), rgba(255, 255, 255, 0.42)),
    var(--paper);
}

.panel {
  position: absolute;
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(23, 32, 42, 0.12);
}

.panel.wall {
  inset: 48px 44px 112px 44px;
  background: repeating-linear-gradient(90deg, #c8bfaf 0 38px, #b7ac9b 38px 76px);
}

.panel.floor {
  left: 74px;
  right: 118px;
  bottom: 150px;
  height: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.panel.fabric {
  left: 86px;
  right: 82px;
  bottom: 74px;
  height: 58px;
  background: #f7f7f5;
}

.panel.stone {
  top: 82px;
  right: 64px;
  width: 160px;
  height: 4px;
  background: var(--green);
}

.card-note {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  text-align: right;
}

.card-note span {
  color: var(--green-dark);
  font-weight: 750;
}

.card-note strong {
  color: var(--clay);
  font-size: 38px;
  line-height: 1;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.intro,
.services,
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.intro > p,
.services p,
.contacts p,
.project-grid p,
.steps p {
  color: var(--muted);
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-grid article,
.service-list article,
.steps li,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.project-grid article {
  padding: 12px 12px 18px;
}

.project-grid span {
  display: inline-block;
  margin: 14px 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
}

.project-image {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background-size: cover;
}

.image-one {
  background:
    linear-gradient(135deg, rgba(49, 93, 87, 0.18), rgba(179, 106, 76, 0.12)),
    repeating-linear-gradient(90deg, #d8c8ad 0 44px, #c5b79f 44px 88px);
}

.image-two {
  background:
    linear-gradient(135deg, rgba(220, 233, 236, 0.7), rgba(255, 255, 255, 0.22)),
    linear-gradient(90deg, #315d57 0 8px, transparent 8px),
    #d7d2ca;
}

.image-three {
  background:
    radial-gradient(circle at 72% 24%, rgba(179, 106, 76, 0.42), transparent 24%),
    linear-gradient(135deg, #e8dfd0, #c7d9d7);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li,
.service-list article,
.contact-card {
  padding: 20px;
}

.steps span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--clay);
  font-weight: 800;
}

.service-list {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card a {
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 800;
}

.contact-card span {
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .intro,
  .services,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .project-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  footer {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .actions,
  footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .room-visual {
    min-height: 320px;
    padding: 18px;
  }

  .panel.wall {
    inset: 36px 28px 92px 28px;
  }

  .panel.floor {
    left: 54px;
    right: 76px;
    bottom: 122px;
  }

  .panel.fabric {
    left: 52px;
    right: 52px;
    bottom: 58px;
  }

  .panel.stone {
    right: 44px;
    width: 110px;
  }

  .project-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}
