/* S05 — výkup domu. Barvy a rozvržení pouze pro tuto stránku. */
.s05 {
  --house-ink: #173f32;
  --house-line: #d4e1d8;
  --house-border: #829e8e;
  --house-surface: #f5f8f6;
  --house-highlight: #e2eee6;
}
.s05 .pd-h1 {
  font-size: clamp(36px, 4.1vw, 62px);
  text-wrap: balance;
}
.s05 .pd-facts > div {
  padding: 14px 16px;
  border-color: var(--house-line);
  background: var(--house-surface);
}
.s05 .pd-facts dt {
  margin-bottom: 3px;
}
.s05 .pd-facts dd strong {
  margin: 0;
}
.s05 #posouzeni .sl-types article,
.s05 .s05-prep-cards > li,
.s05 .sl-options .s05-option-card {
  border-color: var(--house-line);
  background: var(--house-surface);
}
.s05 #posouzeni .sl-type-icon {
  background: var(--house-highlight);
  color: var(--house-ink);
}
.s05 #posouzeni .sl-type-icon svg {
  width: 26px;
  height: 26px;
}
.s05 .sl-offer-panel {
  background: #f1f5f2;
}
.s05 .sl-offer-grid :is(.sl-offer-terms, .sl-settlement) {
  border-color: var(--house-line);
}
.s05 .sl-offer-grid h3 {
  background: var(--house-ink);
  color: #fff;
  font-weight: 600;
}
.s05 .sl-settlement .sl-settlement-total {
  background: var(--house-highlight);
}
.s05 .sl-settlement-total dt {
  color: var(--house-ink);
  font-weight: 650;
}
.s05 .sl-offer-foot {
  align-items: center;
}
.s05 .sl-sheet-links {
  align-items: stretch;
  gap: 10px;
}
.s05 :is(.sl-sheet-links, .s05-section-foot) .pd-arrow-link {
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--house-border);
  border-radius: 10px;
  background: #fff;
  color: var(--house-ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.s05 .sl-sheet-links .pd-arrow-link {
  min-height: 54px;
  padding: 8px 10px 8px 16px;
  font-size: 16px;
}
.s05 .sl-sheet-links .pd-arrow-link + .pd-arrow-link {
  background: var(--house-highlight);
}
.s05 .sl-sheet-links .pd-arrow-link svg,
.s05 .s05-option-action > span:last-child {
  border-radius: 8px;
  background: var(--house-ink);
  color: #fff;
}
.s05 .sl-sheet-links .pd-arrow-link svg {
  box-sizing: content-box;
  padding: 8px;
}
.s05 :is(.sl-sheet-links, .s05-section-foot) .pd-arrow-link:is(:hover, :focus-visible),
.s05 a.s05-option-card:is(:hover, :focus-visible) {
  border-color: var(--house-ink);
  background: #dbeadf;
}
.s05 :is(.sl-sheet-links, .s05-section-foot) .pd-arrow-link:hover span {
  color: inherit;
}
.s05 .sl-sheet-links .pd-arrow-link:hover svg {
  transform: none;
}
.s05 :is(.sl-sheet-links .pd-arrow-link, .s05-section-foot .pd-arrow-link, a.s05-option-card):focus-visible {
  outline: 2px solid var(--house-ink);
  outline-offset: 3px;
}
.s05 .s05-section-foot,
.s05 .s05-resource-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.s05 .s05-section-foot {
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
}
.s05 #postup .s05-section-foot {
  justify-content: flex-start;
}
.s05 .s05-section-foot p {
  flex: 1 1 24em;
  margin: 0;
  color: var(--pd-muted);
  font-size: 15px;
  line-height: 1.7;
}
.s05 .s05-prep-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.s05 .s05-prep-cards > li {
  min-width: 0;
  padding: clamp(16px, 2vw, 26px);
  border-width: 1px;
  border-style: solid;
  border-radius: 16px;
}
.s05 .s05-prep-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.s05 .s05-prep-card-head .pd-mark {
  flex: 0 0 28px;
  background: var(--house-ink);
  color: #fff;
}
.s05 .s05-prep-card-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}
.s05 .s05-prep-cards p {
  margin: 12px 0 0;
  color: var(--pd-muted);
  font-size: 15px;
  line-height: 1.7;
}
.s05 .sl-options .s05-option-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px clamp(18px, 2.2vw, 30px);
  border-width: 1px;
  border-style: solid;
  border-radius: 16px;
  color: var(--pd-text);
  text-decoration: none;
}
.s05 .s05-option-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--house-line);
  color: var(--house-ink);
  font-size: 15px;
  font-weight: 650;
}
.s05 .s05-option-action > span:last-child {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
}
.s05 a.s05-option-card:is(:hover, :focus-visible) .s05-option-action > span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .s05 .s05-option-action svg {
    transition: transform 160ms ease;
  }
  .s05 a.s05-option-card:hover .s05-option-action svg {
    transform: translateX(3px);
  }
}
.s05 .pv-contact-copy .s05-contact-note {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .s05 .s05-prep-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}
@media (max-width: 767px) {
  .s05 .pd-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .s05 .pd-facts > div {
    padding: 10px 12px;
  }
  .s05 .pd-facts dd strong {
    font-size: 15px;
    line-height: 1.4;
  }
  .s05 #posouzeni .sl-types article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 16px 18px;
  }
  .s05 #posouzeni .sl-type-icon {
    width: 36px;
    height: 36px;
  }
  .s05 #posouzeni .sl-types article > div {
    display: contents;
  }
  .s05 #posouzeni .sl-types h3 {
    align-self: center;
  }
  .s05 #posouzeni .sl-types p {
    grid-column: 1 / -1;
    margin: 0;
  }
  .s05 .sl-offer-grid h3 {
    padding: 15px 16px;
  }
  .s05 .sl-offer-grid dl > div {
    padding: 12px 16px;
  }
}
