:root {
  --paper: #F3EDE3;
  --paper-2: #ECE2D2;
  --ink: #211E1A;
  --muted: #5C5448;
  --terra: #A04A2B;
  --terra-deep: #7B3520;
  --line: #D6C8B4;
  --line-strong: #B9A78E;
  --display: "Literata", "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

::selection {
  background: var(--terra);
  color: var(--paper);
}

img, svg { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, dl, dd, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-wrap: balance;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}

/* ---------- header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand__sub {
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--terra);
}

.hdr__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.tel {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.tel:hover { color: var(--terra-deep); }

.tel--big { font-size: clamp(24px, 3vw, 32px); }

.hdr__addr {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- shared ---------- */

.sec {
  padding-block: clamp(60px, 8vw, 112px);
  scroll-margin-top: 90px;
}

.sec + .sec { border-top: 1px solid var(--line); }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 18px;
}

.sec h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 40ch;
}

.sec__hd {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(34px, 4.5vw, 60px);
}

.sec__lead {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 46ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: 108px;
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:active {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--paper);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--block {
  width: 100%;
}

.link {
  color: var(--terra-deep);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 160ms ease, color 160ms ease;
}

.link:hover {
  color: var(--terra);
  text-decoration-color: var(--terra);
}

.link--arrow { font-size: 15px; display: inline-block; margin-top: 22px; }

.link--arrow::after {
  content: "→";
  margin-left: 10px;
}

.link--btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(44px, 7vw, 86px);
  scroll-margin-top: 96px;
}

.kicker {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.hero h1 {
  font-size: clamp(1.95rem, 8.6vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero h1 em {
  font-style: italic;
  color: var(--terra-deep);
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 28px clamp(32px, 6vw, 80px);
  align-items: end;
  padding-block: clamp(30px, 4vw, 48px) clamp(34px, 4.5vw, 56px);
}

.hero__lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  max-width: 48ch;
}

.hero__act {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  justify-self: end;
}

.hero__act .link { font-size: 14px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.facts__cell {
  padding: 20px 24px 30px;
  border-left: 1px solid var(--line);
}

.facts__cell:first-child {
  padding-left: 0;
  border-left: 0;
}

.facts dt {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.facts dd span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- criteria ---------- */

.crit {
  list-style: none;
  margin: 0;
  padding: 0;
}

.crit li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.crit li:last-child { border-bottom: 1px solid var(--line); }

.crit__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--terra-deep);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}

.crit h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 6px;
}

.crit p {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 54ch;
}

/* ---------- honest (dark) ---------- */

.sec--dark {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}

.sec--dark .eyebrow { color: #D8A181; }

.sec--dark .sec__lead { color: rgba(243, 237, 227, 0.72); }

.no {
  list-style: none;
  margin: clamp(30px, 4.5vw, 52px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 6vw, 80px);
}

.no li {
  padding: 20px 0 24px;
  border-top: 1px solid rgba(243, 237, 227, 0.24);
}

.no h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
}

.no h3::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: #C87F5E;
}

.no p {
  font-size: 15.5px;
  color: rgba(243, 237, 227, 0.68);
  max-width: 46ch;
}

/* ---------- timeline (signature) ---------- */

.tl {
  list-style: none;
  margin: clamp(38px, 5vw, 68px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  position: relative;
}

.tl::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 1px;
  background: var(--ink);
}

.tl__item {
  position: relative;
  padding: 66px 26px 0 0;
}

.tl__month {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  color: var(--terra-deep);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.tl__month small {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 4px;
}

.tl__dot {
  position: absolute;
  top: 39px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.tl h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 10px;
  padding-right: 8px;
}

.tl p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.tl__note {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  max-width: 76ch;
}

/* ---------- prices ---------- */

.sec--tint { background: var(--paper-2); }

.price {
  border-bottom: 1px solid var(--line-strong);
}

.price__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  padding: 17px 0;
  border-top: 1px solid var(--line-strong);
}

.price__row--head {
  padding: 0 0 10px;
  border-top: 0;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.price__row span:last-child {
  font-family: var(--display);
  font-size: 19px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price__row--head span:last-child {
  font-family: var(--sans);
  font-size: 10.5px;
}

.included { margin-top: 46px; }

.included h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 18px;
}

.included ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}

.included li {
  position: relative;
  padding: 9px 0 9px 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 15px;
}

.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 12px;
  height: 1px;
  background: var(--terra-deep);
}

/* ---------- reviews ---------- */

.review {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.review__num {
  font-family: var(--display);
  font-size: clamp(88px, 15vw, 180px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--terra);
  font-variant-numeric: tabular-nums;
}

.review__body p {
  color: var(--muted);
  max-width: 52ch;
}

.review__body h2 { margin-bottom: 14px; }

.review__body .eyebrow { margin-bottom: 14px; }

/* ---------- form ---------- */

.sec--form { background: var(--paper-2); }

.form__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.form__aside .note { margin-top: 20px; }

.form__phone { margin-top: 28px; }

.form__addr {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.form { max-width: 560px; }

.field { margin-bottom: 26px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  padding: 9px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  transition: border-color 160ms ease;
}

.field input::placeholder { color: #8B8071; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C5448' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  cursor: pointer;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--terra);
  box-shadow: 0 1px 0 0 var(--terra);
}

.field.is-invalid input,
.field.is-invalid select { border-bottom-color: #9A2F1D; }

.err {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #8E2A18;
}

.err:empty { display: none; }

.form__foot { margin-top: 34px; }

.form__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.ok {
  max-width: 560px;
  border-top: 1px solid var(--ink);
  padding-top: 26px;
}

.ok h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  margin-bottom: 12px;
}

.ok > p { color: var(--muted); font-size: 15.5px; }

.ok__text {
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 2px solid var(--terra);
  background: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  color: var(--ink);
}

.ok__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 26px;
}

.ok__status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq details { border-top: 1px solid var(--line); }

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 19px 44px 19px 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--terra-deep);
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin: 0 0 22px;
  padding-right: 40px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- contacts ---------- */

.sec--contacts { padding-bottom: clamp(60px, 7vw, 96px); }

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 5vw, 64px);
  margin: clamp(28px, 4vw, 44px) 0 40px;
}

.contacts > div {
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
}

.contacts dt {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contacts dd {
  margin-top: 7px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.35;
}

.contacts dd a { text-decoration: none; }

.contacts dd a:hover { color: var(--terra-deep); }

/* ---------- footer ---------- */

.ftr {
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
}

.ftr__in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .split,
  .form__grid,
  .review {
    grid-template-columns: 1fr;
  }

  .split__aside {
    position: static;
    max-width: 62ch;
  }

  .review__num {
    font-size: clamp(74px, 18vw, 120px);
  }

  .sec__hd {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .no {
    grid-template-columns: 1fr;
  }

  .tl {
    grid-template-columns: 1fr;
    padding-left: 2px;
  }

  .tl::before {
    top: 4px;
    bottom: 6px;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .tl__item {
    padding: 0 0 34px 30px;
  }

  .tl__item:last-child { padding-bottom: 0; }

  .tl__month {
    position: static;
    display: block;
    margin-bottom: 8px;
  }

  .tl__dot {
    top: 3px;
    left: 0;
  }

  .tl h3 { padding-right: 0; }
}

@media (max-width: 860px) {
  .hdr__in { flex-wrap: wrap; row-gap: 4px; padding: 10px 0 8px; }
  .nav {
    display: flex; order: 3; width: 100%; margin-left: 0;
    gap: 18px; overflow-x: auto; padding: 8px 0 2px;
    border-top: 1px solid var(--line); scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }

  .hero__foot {
    grid-template-columns: 1fr;
  }

  .hero__act {
    justify-self: start;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts__cell {
    padding: 16px 16px 22px;
    border-left: 1px solid var(--line);
  }

  .facts__cell:first-child {
    padding-left: 16px;
    border-left: 0;
  }

  .facts__cell:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .facts__cell:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 18px;
  }

  .included ul { grid-template-columns: 1fr; }

  .price__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    font-size: 15px;
  }

  .price__row span:last-child { font-size: 16px; }

  .contacts { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .hdr__in { min-height: 66px; gap: 16px; }

  .brand__name { font-size: 18px; }

  .brand__sub { font-size: 9px; letter-spacing: 0.12em; }

  .hdr__addr { display: none; }

  .hdr__tel .tel { font-size: 16px; }

  .crit li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .crit h3 { font-size: 19px; }

  .faq summary { font-size: 17.5px; }

  .ok__act .btn { width: 100%; }

  .ftr__in { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
