:root {
  --milk: #f4f0ea;
  --warm: #e4ddd3;
  --line: #c8bfb4;
  --coffee: #6f5543;
  --coffee-dark: #4c382d;
  --graphite: #181512;
  --muted: #6d665f;
  --footer: #0f0e0d;
  --footer-soft: #3a3631;
  --white: #fffaf3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--graphite);
  background: var(--milk);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 234, 0.94);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.header-button,
.main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--graphite);
  color: var(--white);
  font-weight: 650;
}

.header-button {
  min-height: 38px;
  padding: 0 18px;
}

.hero {
  padding: 88px 0 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-visual {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.42), rgba(111,85,67,0.08)),
    var(--warm);
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.visual-line {
  position: absolute;
  width: 420px;
  height: 180px;
  border: 2px solid rgba(111, 85, 67, 0.24);
  border-radius: 50%;
  transform: rotate(-24deg);
  top: 80px;
  left: -80px;
}

.visual-mark {
  position: absolute;
  right: 34px;
  bottom: 34px;
  font-size: 68px;
  font-weight: 850;
  letter-spacing: -0.08em;
  color: rgba(24, 21, 18, 0.16);
}

.visual-card p {
  position: relative;
  max-width: 220px;
  color: var(--coffee-dark);
  line-height: 1.45;
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.requisites h2 {
  margin-bottom: 44px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 36px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.work-item span {
  color: var(--coffee);
  font-weight: 800;
}

.work-item h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.work-item p,
.steps p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.process {
  background: #e9e2d8;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.steps {
  display: grid;
  gap: 18px;
}

.steps article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.requisites {
  padding: 96px 0;
  background: var(--milk);
}

.requisites-card {
  max-width: 900px;
  border-radius: 20px;
  background: #e8e1d7;
  padding: 20px 34px;
}

.row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.row:last-child {
  border-bottom: 0;
}

.row span {
  color: var(--muted);
}

.row strong {
  font-weight: 650;
}

.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 54px 0 64px;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  border-top: 1px solid rgba(244, 240, 234, 0.22);
  padding-top: 34px;
}

.footer-brand {
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.site-footer p {
  color: rgba(244, 240, 234, 0.68);
}

.footer-meta {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(244, 240, 234, 0.74);
}

.footer-signature {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  margin-top: 4px;
  color: var(--footer-soft);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 72px;
  }

  .brand-subtitle,
  .header-nav a:first-child {
    display: none;
  }

  .hero {
    padding: 56px 0 74px;
  }

  .hero-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .visual-card {
    min-height: 300px;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-signature {
    position: static;
    order: 3;
    margin-top: 20px;
  }
}