:root {
  --ink: #2F3A32;
  --cream: #F6F1E8;
  --wood: #C4A574;
  --paper: #FAF7F2;
  --rule: #D7D1C7;
  --white: #ffffff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

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

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 3px;
}

.wrap {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 10px 0;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
  padding: 8px 0;
  line-height: 1.25;
}

.brand small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0;
  margin-top: 2px;
  color: var(--ink);
  opacity: 0.68;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  min-height: 44px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
}

nav a[aria-current="page"]:not(.btn) {
  box-shadow: inset 0 -2px 0 var(--wood);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--cream) !important;
  text-decoration: none;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
}

.hero {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0 44px;
}

.hero h1 {
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.125rem;
  max-width: 34em;
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

section { padding: 48px 0; }

h1, h2, h3 { line-height: 1.2; }

h2 {
  font-size: 1.35rem;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.band {
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 18px 18px 16px;
}

.band .card { background: var(--paper); }

.price {
  color: var(--wood);
  font-weight: 700;
  margin: 0 0 8px;
}

ol.steps {
  padding-left: 1.25em;
  margin: 0;
  max-width: 40em;
}

ol.steps li { margin: 0 0 12px; }

.muted { opacity: 0.78; }

.pass { max-width: 42em; }

.more { margin-top: 18px; }

footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 40px;
  font-size: 0.9rem;
  background: var(--white);
}

footer p { margin: 0 0 12px; }

footer a { color: var(--ink); }

form {
  display: grid;
  gap: 14px;
  max-width: 32rem;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hint {
  font-weight: 400;
  opacity: 0.72;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea { min-height: 8rem; resize: vertical; }

input[type="file"] {
  padding: 10px 0;
  border: 0;
  background: transparent;
  min-height: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cities li {
  border: 1px solid var(--rule);
  background: var(--white);
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.wood-rule {
  width: 48px;
  height: 3px;
  background: var(--wood);
  border: 0;
  margin: 0 0 18px;
}

@media (max-width: 640px) {
  .wrap { width: min(1040px, calc(100% - 32px)); }
  .hero { padding: 40px 0 32px; }
  section { padding: 36px 0; }
}
