:root {
  --rk-ink: #18221e;
  --rk-forest: #19372d;
  --rk-forest-2: #234b3d;
  --rk-lime: #c9f563;
  --rk-lime-hover: #d8ff7e;
  --rk-paper: #f2f0e8;
  --rk-white: #fff;
  --rk-muted: #69726d;
  --rk-line: rgba(24, 34, 30, .15);
  --rk-display: 'Unbounded', sans-serif;
  --rk-body: 'Manrope', sans-serif;
}

body {
  background: var(--rk-paper);
  color: var(--rk-ink);
  font-family: var(--rk-body);
}

.rk-wrap {
  width: min(1280px, calc(100% - 80px));
}

.rk-section {
  padding: 96px 0;
}

.rk-section + .rk-section::before {
  display: none;
}

.rk-headline,
.rk-start-price h3,
.rk-floor-options h3,
.rk-case-title,
.rk-evidence-body h3,
.rk-cta-band h3,
.rk-modal-box h3 {
  font-family: var(--rk-display) !important;
  font-weight: 500 !important;
  letter-spacing: -.055em !important;
}

.rk-headline {
  max-width: 1050px;
  margin: 0 0 22px;
  font-size: clamp(36px, 4.3vw, 64px) !important;
  line-height: 1.06 !important;
}

.rk-subtitle {
  max-width: 780px;
  color: var(--rk-muted);
  font-size: 17px;
  line-height: 1.75;
}

.rk-eyebrow {
  margin-bottom: 26px;
  color: var(--rk-muted);
  letter-spacing: .16em;
}

.rk-eyebrow::before {
  width: 28px;
  background: currentColor;
}

.rk-btn {
  min-height: 58px;
  padding: 0 28px !important;
  border-radius: 0 !important;
  font-size: 13px;
  box-shadow: none !important;
}

.rk-btn.primary {
  border-color: var(--rk-lime) !important;
  background: var(--rk-lime) !important;
  color: #142018 !important;
}

.rk-btn.primary:hover {
  background: var(--rk-lime-hover) !important;
}

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

/* Первый экран в том же визуальном языке, что главная. */
.rk-hero {
  min-height: 760px;
  padding: 94px 0 82px !important;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(760px 460px at 14% 8%, rgba(201, 245, 99, .10), transparent 64%),
    var(--rk-forest) !important;
}

.rk-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr) !important;
  gap: 56px !important;
}

.rk-hero .rk-headline {
  max-width: 720px;
  color: #fff !important;
  font-size: clamp(42px, 4.2vw, 62px) !important;
}

.rk-hero .rk-subtitle {
  max-width: 660px;
  color: rgba(255, 255, 255, .72) !important;
}

.rk-hero .rk-eyebrow {
  color: var(--rk-lime) !important;
}

.rk-hero .rk-triggers li {
  color: rgba(255, 255, 255, .68) !important;
}

.rk-hero .rk-triggers li::before {
  color: var(--rk-lime) !important;
}

.rk-hero .rk-btn.ghost {
  border-color: rgba(255, 255, 255, .30) !important;
  color: #fff !important;
}

.rk-hero-media {
  min-height: 590px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.rk-hero-collage {
  gap: 2px;
  padding: 0;
}

.rk-hero-collage figure {
  border-radius: 0;
}

.rk-hero-glass,
.rk-hero-stat {
  border-radius: 0 !important;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(10, 24, 18, .72);
}

.rk-hero-stat b {
  color: var(--rk-lime);
  font-family: var(--rk-display);
}

/* Коротко объясняем смысл реконструкции до разговора о цене. */
.rk-purpose {
  background: #fff !important;
}

.rk-purpose-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: 9%;
  align-items: start;
}

.rk-purpose-heading {
  position: sticky;
  top: 164px;
}

.rk-purpose-heading .rk-btn {
  margin-top: 34px;
}

.rk-purpose-list {
  border-top: 1px solid var(--rk-line);
}

.rk-purpose-list article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rk-line);
}

.rk-purpose-list article > span {
  color: #7c896f;
  font-family: var(--rk-display);
  font-size: 12px;
}

.rk-purpose-list h3 {
  margin: 0 0 10px;
  font-family: var(--rk-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.rk-purpose-list p {
  max-width: 620px;
  margin: 0;
  color: var(--rk-muted);
  font-size: 14px;
}

/* Компактная навигация страницы. */
.rk-map {
  top: 82px;
  padding: 0;
  background: rgba(242, 240, 232, .96) !important;
  border-color: var(--rk-line);
}

.rk-map-nav {
  gap: 0;
  padding: 0;
}

.rk-map-nav a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 0 !important;
  border-right: 1px solid var(--rk-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.rk-map-nav a.active {
  background: var(--rk-forest) !important;
  color: #fff !important;
}

#why-reconstruct,
#prices,
#cases,
#second-floor,
#estimate,
#process,
#faq,
#quiz,
#trust {
  scroll-margin-top: 142px;
}

/* Цена: аналог тёмного блока услуг на главной. */
#prices.rk-section {
  background: var(--rk-forest) !important;
  color: #fff;
}

#prices .rk-headline {
  color: #fff;
}

#prices .rk-eyebrow {
  color: var(--rk-lime);
}

#prices .rk-subtitle,
#prices .rk-price-note {
  color: rgba(255, 255, 255, .62);
}

.rk-start-prices {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .18);
}

.rk-start-price {
  grid-column: auto !important;
  min-height: 310px;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: var(--rk-forest-2);
  color: #fff;
  box-shadow: none;
}

.rk-start-price:hover {
  z-index: 1;
  border: 0;
  box-shadow: none;
  transform: translateY(-4px);
}

.rk-start-price:nth-child(5) {
  grid-column: 1 / -1 !important;
}

.rk-start-price small,
.rk-start-price p {
  color: rgba(255, 255, 255, .64);
}

.rk-start-price h3 {
  margin-top: 38px;
  color: #fff;
  font-size: 24px;
}

.rk-start-price strong,
.rk-start-price span {
  color: var(--rk-lime);
}

.rk-start-price--accent {
  background: var(--rk-lime);
  color: var(--rk-ink);
}

.rk-start-price--accent small,
.rk-start-price--accent p {
  color: rgba(24, 34, 30, .66);
}

.rk-start-price--accent h3,
.rk-start-price--accent strong,
.rk-start-price--accent span {
  color: var(--rk-ink);
}

.rk-price-note {
  margin-top: 28px;
  border-left-color: var(--rk-lime);
}

/* Кейсы: чистая белая секция и фотографии без декоративных скруглений. */
#cases.rk-section {
  background: #fff !important;
}

.rk-chip {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 0;
  background: transparent;
}

.rk-chip.active {
  border-color: var(--rk-forest);
  background: var(--rk-forest);
}

.rk-cases-grid,
.rk-evidence-grid {
  gap: 20px;
}

.rk-case,
.rk-evidence-card {
  border-color: var(--rk-line);
  border-radius: 0;
  background: var(--rk-paper);
  box-shadow: none;
}

.rk-case-media,
.rk-evidence-photos {
  padding: 0;
  gap: 2px;
}

.rk-ba,
.rk-evidence-photos figure {
  border-radius: 0;
}

.rk-case-body,
.rk-evidence-body {
  padding: 28px;
}

.rk-case-title,
.rk-evidence-body h3 {
  font-size: 22px;
}

.rk-case-tags span,
.rk-case-facts div {
  border-radius: 0;
}

/* Надстройка: спокойный editorial-блок как реконструкция на главной. */
#second-floor.rk-section {
  background: var(--rk-paper) !important;
}

.rk-floor-grid {
  gap: 9%;
}

.rk-floor-checklist {
  margin: 36px 0;
}

.rk-floor-checklist li {
  padding: 15px 0;
  border-top: 1px solid var(--rk-line);
  font-weight: 600;
}

.rk-floor-checklist li:last-child {
  border-bottom: 1px solid var(--rk-line);
}

.rk-floor-options {
  gap: 1px;
  background: var(--rk-line);
}

.rk-floor-options article {
  min-height: 190px;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.rk-floor-options h3 {
  margin-top: 38px;
  font-size: 21px;
}

.rk-floor-options small {
  color: #7c896f;
}

/* Смета и доказательства. */
#estimate.rk-section {
  background: #fff !important;
}

.rk-price-factors {
  gap: 1px;
  background: var(--rk-line);
}

.rk-price-factors article {
  min-height: 220px;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: var(--rk-paper);
}

.rk-price-factors strong {
  color: #7c896f;
}

.rk-price-factors h3 {
  margin-top: 42px;
  font-family: var(--rk-display);
  font-size: 16px;
  letter-spacing: -.04em;
}

.rk-inspection-cta {
  margin-top: 0;
  padding: 34px;
  border-radius: 0;
  background: var(--rk-forest);
}

#benefits.rk-section {
  background: var(--rk-paper) !important;
}

.rk-benefits,
.rk-trust-grid {
  gap: 1px;
  background: var(--rk-line);
}

.rk-benefit,
.rk-trust {
  min-height: 210px;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.rk-benefit:hover,
.rk-trust:hover {
  border: 0;
  box-shadow: none;
  transform: none;
}

.rk-benefit h3,
.rk-trust h3 {
  margin: 34px 0 12px;
  font-family: var(--rk-display);
  font-size: 16px;
  letter-spacing: -.04em;
}

/* FAQ в стиле спокойных линий главной. */
#faq.rk-section {
  background: #fff !important;
}

#faq .rk-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  background: transparent;
  border-top: 1px solid var(--rk-line);
}

#faq .rk-benefit {
  min-height: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--rk-line);
  background: transparent;
}

#faq .rk-benefit h3 {
  margin: 0 0 12px;
}

/* Этапы — тёмная секция, как процесс на главной. */
#process.rk-section {
  background: var(--rk-forest) !important;
  color: #fff;
}

#process .rk-headline {
  color: #fff;
}

#process .rk-eyebrow {
  color: var(--rk-lime);
}

#process .rk-subtitle {
  color: rgba(255, 255, 255, .58);
}

.rk-process {
  gap: 1px;
  background: rgba(255, 255, 255, .17);
}

.rk-step {
  padding: 0 0 26px;
  border: 0;
  border-radius: 0;
  background: var(--rk-forest);
  color: #fff;
}

.rk-step img {
  height: 180px;
  margin: 0 0 24px;
  border-radius: 0;
}

.rk-step-num,
.rk-step h3,
.rk-step p {
  margin-left: 24px;
  margin-right: 24px;
}

.rk-step-num {
  width: auto;
  height: auto;
  justify-content: flex-start;
  border-radius: 0;
  background: transparent;
  color: var(--rk-lime);
  font-family: var(--rk-display);
}

.rk-step h3 {
  font-family: var(--rk-display);
  font-size: 17px;
}

.rk-step p {
  color: rgba(255, 255, 255, .58);
}

/* Форма — аналог блока расчёта на главной. */
#quiz.rk-section {
  background: #fff !important;
}

.rk-quiz {
  padding: 64px;
  border: 0;
  border-radius: 0;
  background: var(--rk-forest);
}

.rk-quiz h3 {
  font-family: var(--rk-display);
  font-size: clamp(25px, 3vw, 42px);
  letter-spacing: -.05em;
}

.rk-field input,
.rk-field select,
.rk-field textarea {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  background: transparent;
}

.rk-field input:focus,
.rk-field select:focus,
.rk-field textarea:focus {
  border-color: var(--rk-lime);
}

#trust.rk-section {
  background: var(--rk-paper) !important;
}

#trust > .rk-wrap > .rk-section {
  padding: 88px 0 0;
}

.rk-cta-band {
  margin-top: 52px;
  padding: 48px;
  border: 0;
  border-radius: 0;
  background: var(--rk-forest);
  color: #fff;
}

.rk-cta-band h3 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(25px, 3vw, 42px);
}

.rk-cta-band p {
  color: rgba(255, 255, 255, .58);
}

.rk-cta-band .rk-btn.ghost {
  border-color: rgba(255, 255, 255, .28) !important;
  color: #fff !important;
}

/* Дополнительный технический контент тоже выглядит частью нового сайта. */
.quality {
  padding: 96px 0 !important;
  background: #fff !important;
}

.quality__container {
  width: min(1280px, calc(100% - 80px));
}

.quality h2 {
  max-width: 1050px;
  font-family: var(--rk-display) !important;
  font-size: clamp(34px, 4vw, 58px) !important;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.06;
}

.quality__facts,
.quality__columns {
  gap: 1px !important;
  background: var(--rk-line);
}

.quality__fact,
.quality__panel,
.quality__note {
  border-radius: 0 !important;
  background: var(--rk-paper) !important;
  box-shadow: none !important;
}

.quality__links a {
  border-radius: 0 !important;
}

.rk-sticky button {
  border-radius: 0;
  background: var(--rk-lime);
  color: var(--rk-ink);
}

.rk-modal-box {
  border-radius: 0;
  background: var(--rk-forest);
}

@media (max-width: 1050px) {
  .rk-wrap,
  .quality__container {
    width: min(100% - 48px, 1280px);
  }

  .rk-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .rk-hero-copy {
    max-width: 820px;
  }

  .rk-purpose-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .rk-purpose-heading {
    position: static;
  }

  .rk-start-prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rk-hero-media {
    min-height: 520px !important;
  }
}

@media (max-width: 760px) {
  .rk-wrap,
  .quality__container {
    width: calc(100% - 36px);
  }

  .rk-section,
  .quality {
    padding: 62px 0 !important;
  }

  .rk-headline,
  .rk-hero .rk-headline,
  .quality h2 {
    font-size: clamp(30px, 9vw, 40px) !important;
    overflow-wrap: anywhere;
  }

  .rk-subtitle {
    font-size: 15px;
  }

  .rk-hero {
    min-height: auto;
    padding: 70px 0 62px !important;
  }

  .rk-hero-grid {
    gap: 38px !important;
  }

  .rk-hero-media {
    min-height: 430px !important;
  }

  .rk-map {
    top: 66px;
  }

  #why-reconstruct,
  #prices,
  #cases,
  #second-floor,
  #estimate,
  #process,
  #faq,
  #quiz,
  #trust {
    scroll-margin-top: 118px;
  }

  .rk-map-nav a {
    min-height: 44px;
    padding: 0 13px;
  }

  .rk-start-prices,
  .rk-price-factors,
  .rk-benefits,
  .rk-trust-grid,
  .rk-process {
    grid-template-columns: 1fr;
  }

  .rk-start-price,
  .rk-start-price:nth-child(5),
  .rk-price-factors article,
  .rk-benefit,
  .rk-trust {
    grid-column: auto;
    min-height: 0;
  }

  .rk-start-price:nth-child(5) {
    grid-column: auto !important;
  }

  .rk-purpose-list article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .rk-start-price,
  .rk-price-factors article,
  .rk-benefit,
  .rk-trust,
  .rk-floor-options article {
    padding: 24px;
  }

  .rk-start-price h3,
  .rk-price-factors h3,
  .rk-benefit h3,
  .rk-trust h3,
  .rk-floor-options h3 {
    margin-top: 24px;
  }

  #faq .rk-benefits {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rk-quiz {
    padding: 42px 20px;
  }

  .rk-cta-band {
    padding: 36px 22px;
  }
}
