/* Art direction: header, hero and quiz only. */
.site-header, .hero, .quiz {
  --ad-ink: #262521;
  --ad-muted: #65615b;
  --ad-paper: #faf8f5;
  --ad-accent: #896547;
  --ad-hover: #705039;
  --ad-line: #ddd6cc;
  --ad-ease: cubic-bezier(.23, 1, .32, 1);
  color: var(--ad-ink);
}
.site-header { background: var(--ad-paper); border-bottom-color: var(--line); }
.brand { font-weight: 600; letter-spacing: -.045em; }
.nav a { padding-block: 14px; color: var(--ad-muted); text-underline-offset: 5px; }
.manager-mini__text small { color: var(--ad-muted); }
.max-button {
  border: 1px solid #c5b09b;
  border-radius: 8px;
  color: #705039;
  background: transparent;
  font-weight: 500;
}
.max-button:hover { color: #705039; background: #eee6dc; transform: none; }

.hero__inner { min-height: clamp(680px, calc(80svh - var(--header-h)), 860px); padding-block: 56px 40px; row-gap: 32px; }
.hero__content { width: min(620px, 62%); }
.hero h1 {
  font-size: clamp(42px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 600;
}
.hero h1 > .hero__terms {
  display: inline-block;
  margin-top: 12px;
  color: #51483e;
  font-size: .68em;
  line-height: 1.3;
  letter-spacing: -.025em;
  font-weight: 400;
}
.hero__terms span { color: inherit; }
.hero__terms span:last-of-type { color: #896547; font-weight: 600; }
@media (min-width: 1021px) {
  .hero__wash {
    background: linear-gradient(90deg,
      #faf8f5 0%, #faf8f5 calc(50% - 300px),
      rgba(250,248,245,.96) calc(50% - 100px),
      rgba(250,248,245,.68) calc(50% + 80px),
      rgba(250,248,245,.08) calc(50% + 260px),
      rgba(250,248,245,0) calc(50% + 340px));
  }
}
.hero__copy { max-width: 510px; margin-top: 28px; color: var(--ad-muted); font-size: 18px; line-height: 1.6; }
.primary-cta {
  width: min(350px, 100%);
  min-height: 64px;
  padding: 10px 16px 10px 24px;
  margin-top: 28px;
  background: var(--ad-accent);
  font-size: 17px;
  font-weight: 500;
  border-radius: 8px;
}
.primary-cta__arrow { width: 38px; height: 38px; border-left: 1px solid rgba(255,255,255,.3); padding-left: 12px; }
.hero__proof { width: min(600px, 60%); color: #514c45; }
.proof-item { gap: 12px; font-size: 13px; line-height: 1.5; }
.proof-item img { width: 28px; height: 28px; flex-basis: 28px; opacity: .8; }
.proof-item + .proof-item { border-left-color: var(--line); }
.photo-caption { font-size: 12px; line-height: 1.5; max-width: 340px; text-align: right; }

.quiz { padding: 64px 0; background: #faf8f5; border-top: 1px solid var(--line); }
.quiz__inner {
  width: min(1280px, calc(100% - 64px));
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 0;
  align-items: stretch;
  background: #fffdfa;
  border: 1px solid #ded6cb;
  border-radius: 12px;
  overflow: hidden;
}
.quiz__intro { align-self: stretch; padding: 36px 32px; background: #302c27; display: flex; flex-direction: column; }
.quiz__intro h2 { max-width: 400px; color: #fffaf2; font-size: 32px; line-height: 1.16; letter-spacing: -.03em; font-weight: 500; }
.quiz__intro h2 span { color: #d9b590; }
.quiz__lead { margin-top: 24px; color: #e2d9cf; font-size: 16px; line-height: 1.6; }
.quiz__note { max-width: 360px; margin-top: 16px; font-size: 13px; color: #c1b7ab; line-height: 1.6; }
.quiz__benefits { margin-top: auto; padding-top: 28px; grid-template-columns: 1fr; }
.quiz-benefit { color: #eee5db; font-size: 14px; min-height: 52px; }
.quiz-benefit br { display: block; }
.quiz-benefit + .quiz-benefit { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
.quiz-benefit__icon { color: #d9b590; width: 24px; height: 24px; flex-basis: 24px; }
.quiz-card { position: relative; min-height: 580px; padding: 36px; border: 0; border-radius: 0; background: #fffdfa; }
.quiz-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -18px;
  width: 80%;
  max-width: 620px;
  height: 190px;
  /* The supplied PNG has very low intrinsic alpha; identical layers keep its original lines intact. */
  background-image:
    url("./assets/quiz-nn-panorama.png"), url("./assets/quiz-nn-panorama.png"),
    url("./assets/quiz-nn-panorama.png"), url("./assets/quiz-nn-panorama.png"),
    url("./assets/quiz-nn-panorama.png"), url("./assets/quiz-nn-panorama.png"),
    url("./assets/quiz-nn-panorama.png"), url("./assets/quiz-nn-panorama.png"),
    url("./assets/quiz-nn-panorama.png"), url("./assets/quiz-nn-panorama.png"),
    url("./assets/quiz-nn-panorama.png"), url("./assets/quiz-nn-panorama.png");
  background-position: right top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  opacity: .23;
  filter: grayscale(1) sepia(.4) saturate(.6);
  pointer-events: none;
}
.quiz-card > * { position: relative; z-index: 1; }
.quiz-card__top { grid-template-columns: auto minmax(0, 1fr); gap: 16px; color: #6b6258; font-size: 13px; }
.quiz-card__step b { color: #262521; font-weight: 600; }
.quiz-progress { height: 3px; border-radius: 0; background: #e7dfd5; }
.quiz-progress span { background: var(--ad-accent); border-radius: 0; transition: none; }
.quiz-panel { margin-top: 32px; }
.quiz-panel h3 { font-size: 29px; font-weight: 500; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 24px; }
.quiz-panel h3:focus { outline: none; }
.quiz-panel__hint { color: var(--ad-muted); }
.quiz-options { gap: 12px; }
.quiz-option {
  position: relative;
  padding: 16px 36px 16px 14px;
  min-height: 84px;
  gap: 10px;
  border: 1px solid #d7cec2;
  border-radius: 6px;
  background: #fffdfa;
  color: #423d36;
  font-size: 15px;
  line-height: 1.4;
}
.quiz-option::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #a49889;
  background: #fffdfa;
}
.quiz-option__icon { width: 28px; height: 28px; flex-basis: 28px; color: var(--ad-accent); }
.quiz-option__icon svg, .quiz-option__icon--round svg { width: 28px; height: 28px; }
.quiz-option.is-selected { border-color: var(--ad-accent); color: #3e3024; background: #f1e8dc; box-shadow: inset 0 0 0 1px var(--ad-accent); }
.quiz-option.is-selected::after { background: var(--ad-accent); border-color: var(--ad-accent); box-shadow: inset 0 0 0 3px #fffdfa; }
.quiz-option--text { min-height: 74px; justify-content: flex-start; text-align: left; }
.quiz-preview { margin-top: 24px; padding-top: 20px; border-color: var(--ad-line); color: var(--ad-muted); }
.quiz-preview > span { font-size: 13px; margin-bottom: 14px; }
.quiz-preview__groups { gap: 14px; }
.quiz-preview__groups small { color: var(--ad-muted); }
.quiz-preview__groups i { background: #f3efe9; border-radius: 4px; color: #62594f; }
.quiz-card__actions { margin-top: 28px; padding-top: 0; }
.quiz-next, .quiz-submit { background: var(--ad-accent); min-height: 56px; font-weight: 500; }
.quiz-next:disabled { opacity: 1; background: #e8e2da; color: #746b60; }
.quiz-back { color: var(--ad-muted); }
.quiz-card__footer { margin-top: auto; padding-top: 20px; color: var(--ad-muted); border-color: var(--ad-line); }
.quiz-card__footer span { color: var(--ad-accent); }
.quiz-phone input { border-radius: 8px; border-color: #b8ac9c; background: #fff; }
.quiz-phone input::placeholder { color: #777067; opacity: 1; }
.quiz-phone input:focus { border-color: var(--ad-accent); box-shadow: none; }
.quiz-contact { margin: 0; padding: 0; border: 0; }
.quiz-contact legend { margin-bottom: 10px; color: #77746f; font-size: 13px; }
.quiz-contact__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quiz-contact__option {
  min-height: 56px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d7cec2;
  border-radius: 6px;
  color: #423d36;
  background: #fffdfa;
  cursor: pointer;
}
.quiz-contact__option:has(input:checked) { border-color: var(--ad-accent); background: #f1e8dc; }
.quiz-contact__option:focus-within { outline: 2px solid #705039; outline-offset: 3px; }
.quiz-contact__option input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--ad-accent); }
.quiz-phone { margin-top: 24px; }

.site-header a, .hero a, .quiz button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.max-button, .primary-cta, .quiz-option, .quiz-next, .quiz-submit, .quiz-back { transition: background-color 160ms ease, border-color 160ms ease, transform 140ms var(--ad-ease); }
.primary-cta:hover { background: var(--ad-accent); transform: none; }
.quiz-option:hover { transform: none; }
.quiz-next:hover:not(:disabled), .quiz-submit:hover { background: var(--ad-accent); transform: none; }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ad-ink); text-decoration: underline; }
  .primary-cta:hover, .quiz-next:hover:not(:disabled), .quiz-submit:hover { background: var(--ad-hover); }
  .quiz-option:hover { border-color: var(--ad-accent); }
}
.primary-cta:active:not(:focus-visible), .max-button:active:not(:focus-visible),
.quiz button:active:not(:disabled):not(:focus-visible) { transform: scale(.98); }
.site-header a:focus-visible, .hero a:focus-visible, .quiz button:focus-visible, .quiz input:focus-visible { outline: 2px solid #705039; outline-offset: 4px; transition: none; }

@media (max-width: 1000px) {
  .quiz-card::after { display: none; }
  .quiz__inner { width: calc(100% - 48px); gap: 0; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .quiz__intro { padding: 28px 24px; }
  .quiz__intro h2 { font-size: 29px; }
  .quiz-card { padding: 24px; }
  .quiz-options--objects { grid-template-columns: 1fr; }
  .quiz-options--objects .quiz-option { min-height: 72px; }
}
@media (max-width: 800px) {
  .quiz { padding: 56px 0; }
  .quiz__inner { grid-template-columns: 1fr; }
  .quiz__intro { padding: 32px; }
  .quiz__benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .quiz-benefit { padding: 0; align-items: flex-start; }
  .quiz-benefit + .quiz-benefit { border: 0; padding-left: 0; }
  .quiz__intro h2 { max-width: 620px; }
  .quiz__note { max-width: 540px; }
  .quiz-options--objects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-card { min-height: 540px; padding: 32px; }
}
@media (max-width: 760px) {
  .hero__inner { min-height: 0; padding-block: 0; row-gap: 0; }
  .hero__content { width: 100%; padding-top: 36px; }
  .hero h1 { font-size: clamp(26px, 7.3vw, 46px); line-height: 1.14; }
  .hero__copy { font-size: 16px; margin-top: 24px; }
  .primary-cta { min-height: 60px; font-size: 16px; margin-top: 24px; }
  .hero__proof { width: 100%; margin-top: 180px; padding: 12px 16px; background: rgba(250,248,245,.96); backdrop-filter: none; }
  .proof-item + .proof-item { border-left: 0; }
}
@media (max-width: 620px) {
  .quiz__inner { width: calc(100% - 32px); }
  .quiz__intro { padding: 28px 22px; }
  .quiz__intro h2 { font-size: 30px; }
  .quiz__benefits { grid-template-columns: 1fr; gap: 0; }
  .quiz-benefit { padding: 10px 0; align-items: center; }
  .quiz-benefit + .quiz-benefit { border-top: 1px solid var(--line-dark); }
  .quiz-card { padding: 24px 18px; min-height: 0; }
  .quiz-panel h3 { font-size: 24px; }
  .quiz-options--objects, .quiz-options--simple { grid-template-columns: 1fr; }
  .quiz-option, .quiz-options--objects .quiz-option { min-height: 76px; font-size: 16px; }
  .quiz-option--text { min-height: 60px; }
  .quiz-card__actions { padding-top: 0; }
  .quiz-card__footer { margin-top: 24px; }
}
@media (max-height: 780px) and (min-width: 761px) {
  .hero__inner { min-height: 660px; padding-block: 36px; row-gap: 32px; }
  .hero h1 { font-size: 44px; }
  .hero__copy { margin-top: 24px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header *, .hero *, .quiz * { transition: none !important; }
  .site-header a:active, .hero a:active, .quiz button:active { transform: none !important; }
}

/* Scope: a dark interval around the illustrated services. */
.scope-section {
  padding: 88px 0;
  color: #f7f2eb;
  background: #2d2924;
}

.scope-section h2 { color: #fffaf3; }

@media (max-width: 800px) {
  .scope-section { padding: 64px 0; }
}
