html, body.elementor-page {
  font-family: Manrope, system-ui, sans-serif !important;
  color: #1a1a1a;
}
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-button-text,
.ys-quiz, .ys-objects, .ys-choice, .ys-card__label {
  font-family: Manrope, system-ui, sans-serif !important;
}
.ys-h1,
.elementor-heading-title,
h1, h2, h3,
.ys-case__title {
  font-family: Unbounded, Manrope, sans-serif !important;
  letter-spacing: 0 !important;
}
.elementor-button {
  font-family: Unbounded, Manrope, sans-serif !important;
  letter-spacing: 0.02em !important;
}
.ys-h1 {
  margin: 0 0 12px !important;
  padding-left: 0 !important;
  font-size: clamp(28px, 3.4vw, 40px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #111 !important;
  letter-spacing: 0 !important;
  font-family: Unbounded, Manrope, sans-serif !important;
}
.ys-lead {
  margin: 0 0 8px !important;
  padding-left: 0 !important;
  color: #555 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}
.ys-case-hero .elementor-heading-title {
  font-family: Manrope, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
  padding: 16px 20px 6px !important;
  margin: 0 !important;
}
.ys-case-hero .ys-pad {
  padding: 0 20px 8px !important;
}
.ys-lead:last-child { margin-bottom: 0 !important; }
.ys-list {
  margin: 0 0 14px !important;
  color: #444 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}
.ys-pad {
  margin: 0 !important;
  padding: 0 22px 8px !important;
  color: #555 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}
.ys-lead-card .elementor-heading-title {
  font-family: Manrope, system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
  padding: 16px 22px 6px !important;
  margin: 0 !important;
}
.ys-mark {
  background-image: linear-gradient(#FFE27A, #FFE27A);
  background-repeat: no-repeat;
  background-size: 100% 42%;
  background-position: 0 88%;
  padding: 0 1px;
}
.ys-hl {
  background: #F5C400;
  color: #111;
  font-weight: 800;
  padding: 0 .22em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}
.ys-gold {
  color: #D4A017;
  font-weight: 800;
}
.elementor-widget-heading .elementor-heading-title { margin: 0 !important; }
.elementor-widget-text-editor { margin-bottom: 0 !important; }
.elementor-widget { margin-bottom: 0 !important; }
.elementor-button {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

.ys-quiz {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  padding: 28px 28px 18px;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.ys-quiz__accent {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #f5c400 0 28%, #ffe9a3 28% 100%);
  border-radius: 0 0 4px 4px;
}
.ys-quiz__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1d4f7a;
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0 22px;
}
.ys-quiz__icon {
  width: 22px;
  height: 22px;
  border: 2px solid #f5c400;
  color: #f5c400;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.ys-step { display: none; }
.ys-step.is-active { display: block; }
.ys-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .ys-grid { grid-template-columns: repeat(2, 1fr); }
}
.ys-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ys-card input { position: absolute; opacity: 0; pointer-events: none; }
.ys-card__img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #e8e8e8 center/cover no-repeat;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .15s, transform .15s;
}
.ys-card input:checked + .ys-card__img {
  outline-color: #f5c400;
  transform: translateY(-2px);
}
.ys-card__label {
  font-size: 13px;
  color: #222;
  line-height: 1.3;
}
.ys-hint {
  color: #7aa0c4;
  font-size: 12px;
  margin: 14px 0 0;
}
.ys-q {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #1a1a1a;
}
.ys-choices {
  display: grid;
  gap: 10px;
}
.ys-choice {
  border: 1px solid #ead9a8;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
}
.ys-choice:has(input:checked) {
  border-color: #f5c400;
  background: #fff8e1;
}
.ys-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
}
.ys-field input {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
}
.ys-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}
.ys-nav__step { color: #b0b0b0; font-size: 14px; }
.ys-nav__btns { display: flex; gap: 10px; }
.ys-quiz [hidden] {
  display: none !important;
}
.ys-btn {
  border: 0 !important;
  cursor: pointer;
  border-radius: 8px !important;
  padding: 12px 22px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
.ys-btn--ghost {
  background: #fff !important;
  border: 1px solid #eee !important;
  color: #888 !important;
  min-width: 48px;
}
.ys-btn--next {
  background: #f5a623 !important;
  color: #fff !important;
  border: 0 !important;
}
.ys-btn--next:hover { background: #e39412 !important; }
.ys-msg {
  margin-top: 12px;
  color: #1d7a3a;
  font-weight: 600;
}
.ys-msg.is-error { color: #c0392b; }

.ys-objects {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 10px 0 20px;
  max-width: 100%;
}
.ys-case {
  text-align: center;
  isolation: isolate;
}
.ys-case__title {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3a3a3a;
  line-height: 1.35;
}
.ys-case__mosaic {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  grid-template-rows: 250px 210px;
  gap: 16px;
  text-align: left;
  margin-bottom: 28px;
}
.ys-case__ph {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 0;
}
.ys-case__ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ys-case__ph--a { grid-column: 1; grid-row: 1; }
.ys-case__ph--b { grid-column: 2; grid-row: 1; }
.ys-case__ph--c { grid-column: 2; grid-row: 2; }
.ys-case__stat {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  color: #444;
  font-size: 16px;
  line-height: 1.45;
  border-top: 2px solid #cfcfcf;
  padding-top: 16px;
}
.ys-case__stat span {
  display: block;
  color: #222;
  font-weight: 600;
  margin-bottom: 6px;
}
.ys-case__cta {
  display: inline-block;
  background: #f5c400;
  color: #1a1a1a !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 28px;
  font-size: 14px;
}
.ys-case__cta:hover { background: #e6b400; }
@media (max-width: 800px) {
  .ys-case__mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 200px auto 200px;
  }
  .ys-case__ph--a { grid-row: 1; }
  .ys-case__ph--b { grid-row: 2; }
  .ys-case__stat { grid-row: 3; }
  .ys-case__ph--c { grid-row: 4; }
}
