:root {
  --ink: #17201b;
  --muted: #5f6d65;
  --paper: #f7f3ec;
  --surface: #ffffff;
  --line: #e0d8cc;
  --forest: #24483a;
  --terracotta: #b9653b;
  --sand: #e6d7bd;
  --shadow: 0 24px 70px rgba(23, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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(20px, 5vw, 72px);
  background: rgba(247, 243, 236, 0.88);
  border-bottom: 1px solid rgba(224, 216, 204, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-family: Georgia, serif;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.language-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 8px 11px;
}

.lang-btn.active {
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  font-weight: 850;
}

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

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  padding: 8px 13px;
  font-size: 0.92rem;
}

.hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(36, 72, 58, 0.92), rgba(23, 32, 27, 0.75)),
    radial-gradient(circle at 35% 25%, rgba(230, 215, 189, 0.9), transparent 28%),
    linear-gradient(45deg, #8d8d82, #ded3bd);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 48px 48px 130px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-bottom: 0;
  clip-path: polygon(50% 0, 100% 32%, 100% 100%, 0 100%, 0 32%);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.86;
}

.roofline {
  position: absolute;
  inset: 118px 86px auto;
  height: 120px;
  border-top: 22px solid var(--sand);
  transform: skewY(-20deg);
  transform-origin: left;
}

.project-stats {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
}

.project-stats strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.project-stats span {
  color: var(--muted);
}

.section,
.quote-section,
.footer {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 80px);
  border-block: 1px solid var(--line);
  background: #fffaf2;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.24rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.card,
.project-tile {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  padding: 26px;
  box-shadow: 0 12px 35px rgba(23, 32, 27, 0.05);
}

.card p,
.project-tile p,
.quote-section p,
.footer p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #f3eadc;
}

.projects {
  background: #fffaf2;
}

.project-image {
  min-height: 210px;
  margin: -10px -10px 22px;
  border-radius: 22px;
  background-size: cover;
}

.project-image.house {
  background-image: url("assets/projects/family-home.webp");
}

.project-image.renovation {
  background-image: url("assets/projects/apartment-renovation.jpeg");
}

.project-image.developer {
  background-image: url("assets/projects/residential-build.jpeg");
}

.project-image.interior {
  background-image: url("assets/projects/interior-renovation.jpeg");
}

.project-image.apartment-block {
  background-image: url("assets/projects/developer-project.jpeg");
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 220px;
  padding: 26px;
  border-radius: 26px;
  background: var(--forest);
  color: #fff;
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.quote-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.quote-section .eyebrow {
  color: #f0b690;
}

.quote-section p {
  color: rgba(255, 255, 255, 0.75);
}

.quote-form {
  display: grid;
  gap: 14px;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  padding: 24px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbf8f2;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.thank-you-card {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 64px);
}

.thank-you-card .brand {
  margin-bottom: 42px;
}

.thank-you-card h1 {
  font-size: clamp(2.7rem, 8vw, 5.6rem);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: #fffaf2;
}

address {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

@media (max-width: 900px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

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

  .hero-card {
    min-height: 420px;
  }

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

  address {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.75rem, 17vw, 4.4rem);
  }
}
