:root {
  --bg: #f8f5ee;
  --paper: #fffdf8;
  --ink: #1f2b24;
  --muted: #667267;
  --green: #173c2d;
  --green-soft: #dce7dc;
  --wood: #a86f3c;
  --wood-dark: #6e4323;
  --line: #dfd8ca;
  --shadow: 0 24px 70px rgba(41, 31, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: "Heebo", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 60, 45, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 56%, #efe8da 100%);
  background-size: 72px 72px, auto;
}

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: 16px clamp(18px, 5vw, 70px);
  background: rgba(248, 245, 238, 0.88);
  border-bottom: 1px solid rgba(223, 216, 202, 0.72);
  backdrop-filter: blur(14px);
}

.brand,
nav,
.hero-actions,
.profile-card,
.work-steps,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
  box-shadow: 0 8px 20px rgba(41, 31, 20, 0.16);
}

nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

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

.hero {
  min-height: calc(100vh - 75px);
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(36px, 7vw, 92px) clamp(18px, 5vw, 70px) 42px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.65;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(23, 60, 45, 0.22);
}

.secondary {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--green);
}

.hero-media {
  position: relative;
  min-height: 590px;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e7ded0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: none;
}

.hero-photo.is-loaded {
  display: block;
}

.hero-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 60, 45, 0) 48%, rgba(23, 60, 45, 0.36) 100%);
  pointer-events: none;
}

.wood-panel {
  display: none;
}

.panel-a {
  inset: 36px 42px auto auto;
  width: 46%;
  height: 34%;
}

.panel-b {
  left: 44px;
  bottom: 48px;
  width: 54%;
  height: 28%;
}

.profile-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 3;
  gap: 14px;
  max-width: 360px;
  padding: 14px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 40px rgba(31, 43, 36, 0.2);
}

.profile-card img {
  width: 68px;
  height: 68px;
  border-radius: 7px;
  object-fit: cover;
}

.profile-card strong,
.profile-card span {
  display: block;
}

.profile-card span {
  color: var(--muted);
  margin-top: 2px;
}

.intro {
  padding: 34px clamp(18px, 5vw, 70px);
  background: var(--green);
  color: #fff;
}

.intro p {
  max-width: 1060px;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.7;
  font-weight: 700;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 70px);
}

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

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
}

.section-heading p,
.work-copy p,
.contact p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

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

.service-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(41, 31, 20, 0.07);
}

.icon {
  display: inline-flex;
  color: var(--wood-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

h3 {
  margin: 38px 0 10px;
  font-size: 1.45rem;
}

article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.work-band {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(23, 60, 45, 0.92), rgba(23, 60, 45, 0.78)),
    repeating-linear-gradient(0deg, #7c4c2a 0 18px, #a76f3c 18px 36px);
  color: #fff;
}

.work-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.work-steps {
  gap: 12px;
}

.work-steps div {
  flex: 1;
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

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

.work-steps strong {
  font-size: 1.35rem;
}

.work-steps span {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-list div {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 20px;
  border-top: 3px solid var(--wood);
  background: var(--green-soft);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.contact {
  margin: 0 clamp(18px, 5vw, 70px) clamp(42px, 6vw, 76px);
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 70px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero,
  .work-band,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .service-grid,
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-steps,
  .contact {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.05rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    font-size: 1.05rem;
    line-height: 1.72;
  }

  .button {
    width: 100%;
  }

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

  .hero-media {
    aspect-ratio: 3 / 4;
  }

  .profile-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
