/* Independent quiz component: suitable for page content and a future dialog.
   Lumen design: a white card with the logo-gradient ring, answers as calm light
   cards with own radio marks, a green-to-turquoise progress line and the green
   gradient buttons of the site. Colours are local tokens, so the component also
   works outside the theme. */
.efhq {
  --efhq-green: #86bc35;
  --efhq-turq: #44b8be;
  --efhq-turq-deep: #227277;
  --efhq-ink: #143a40;
  --efhq-text: #4b5658;
  --efhq-meta: #706f6f;
  --efhq-mist: #f3f8f8;
  --efhq-mist-2: #e2f2f3;
  --efhq-line: rgba(20, 58, 64, .11);
  --efhq-line-strong: rgba(20, 58, 64, .2);
  --efhq-button: linear-gradient(110deg, #66a428 0%, #5c9f2c 42%, #2a9ba1 100%);
  --efhq-ease: cubic-bezier(.23, 1, .32, 1);
  max-width: 880px;
  margin: 32px auto 64px;
  color: var(--efhq-text);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
}
.efhq *, .efhq *::before, .efhq *::after { box-sizing: border-box; }
.efhq [hidden] { display: none !important; }
.efhq .efhq-panel {
  position: relative;
  padding: clamp(26px, 5vw, 56px);
  border: 1.5px solid transparent;
  border-radius: 32px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(110deg, #95c23d, #4dbdc6) border-box;
  box-shadow: 0 1px 2px rgba(20, 58, 64, .05), 0 28px 60px -30px rgba(20, 58, 64, .34);
}
.efhq .efhq-heading {
  margin: 0 0 24px;
  padding: 0;
  color: var(--efhq-ink);
  font-family: inherit;
  font-size: clamp(26px, 3.1vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
  text-wrap: balance;
  scroll-margin-top: 120px;
}
.efhq .efhq-heading-notice { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 14px; margin-bottom: 18px; color: var(--efhq-ink); font-size: clamp(21px, 2.3vw, 26px); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
/* Warning mark of the notice question: an amber circle with an exclamation mark. */
.efhq .efhq-heading-notice::before { content: ""; width: 40px; height: 40px; margin-top: -2px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a86a00' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v6'/%3E%3Ccircle cx='12' cy='17' r='.6' fill='%23a86a00'/%3E%3C/svg%3E") center / 24px no-repeat, #fff3cf; box-shadow: inset 0 0 0 1px rgba(251, 185, 0, .45); }
.efhq .efhq-notice { display: grid; gap: 16px; margin: 0 0 26px 54px; max-width: 62ch; }
.efhq .efhq-notice-text { margin: 0; font-size: 16.5px; line-height: 1.65; }
.efhq .efhq-notice-text a { color: var(--efhq-turq-deep); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(34, 114, 119, .4); text-underline-offset: 3px; }
.efhq .efhq-notice-card { padding: 16px 20px 18px; border-radius: 18px; background: var(--efhq-mist); box-shadow: inset 0 0 0 1px var(--efhq-line); }
.efhq .efhq-notice-label { margin: 0 0 6px; color: var(--efhq-meta); font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
.efhq .efhq-notice-items { margin: 0; color: var(--efhq-ink); font-size: 16px; line-height: 1.65; }
.efhq .efhq-heading:focus { outline: none; }
.efhq .efhq-heading a, .efhq .efhq-description a, .efhq .efhq-privacy a { color: var(--efhq-turq-deep); text-decoration: underline; text-decoration-color: rgba(34, 114, 119, .4); text-underline-offset: 3px; }
.efhq .efhq-intro { margin: 0 0 30px; max-width: 62ch; font-size: 18px; line-height: 1.7; }
.efhq .efhq-description { margin: 0 0 26px; max-width: 67ch; }
.efhq .efhq-description p { margin: 0 0 16px; }
.efhq .efhq-privacy { padding: 22px 24px; border-radius: 22px; background: var(--efhq-mist); box-shadow: inset 0 0 0 1px var(--efhq-line); }
.efhq .efhq-privacy p { margin: 0 0 16px; }
.efhq .efhq-consent { display: flex; align-items: flex-start; gap: 12px; color: var(--efhq-ink); cursor: pointer; line-height: 1.6; }
.efhq .efhq-small { font-size: 13.5px; line-height: 1.65; color: var(--efhq-meta); }
.efhq .efhq-privacy .efhq-small { margin: 14px 0 0 34px; }
.efhq .efhq-preview { margin: 0 0 24px; padding: 12px 16px; border-radius: 14px; background: var(--efhq-mist); box-shadow: inset 3px 0 0 var(--efhq-turq); color: var(--efhq-turq-deep); font-size: 13.5px; }

/* Own check and radio marks in the site's form style. */
.efhq .efhq-consent input,
.efhq .efhq-choice input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--efhq-line-strong); cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease; }
.efhq .efhq-consent input { border-radius: 7px; }
.efhq .efhq-consent input:checked { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat, var(--efhq-button); background-size: 14px 14px, 220% 100%; box-shadow: none; }
.efhq .efhq-choice input { margin: 0; border-radius: 50%; }
.efhq .efhq-choice input:checked { background: radial-gradient(circle, var(--efhq-green) 0 5px, #fff 5.5px); box-shadow: inset 0 0 0 2px var(--efhq-turq); }

.efhq .efhq-progress { display: flex; align-items: center; gap: 18px; margin: 0 0 30px; }
.efhq .efhq-step { flex: 0 0 auto; color: var(--efhq-turq-deep); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.efhq .efhq-progress-bar { appearance: none; display: block; flex: 1 1 auto; width: 100%; min-width: 30px; height: 8px; border: 0; border-radius: 8px; overflow: hidden; background: var(--efhq-mist-2); color: var(--efhq-turq); }
.efhq .efhq-progress-bar::-webkit-progress-bar { background: var(--efhq-mist-2); border-radius: 8px; }
.efhq .efhq-progress-bar::-webkit-progress-value { background: linear-gradient(90deg, var(--efhq-green), var(--efhq-turq)); border-radius: 8px; transition: width .4s var(--efhq-ease); }
.efhq .efhq-progress-bar::-moz-progress-bar { background: linear-gradient(90deg, var(--efhq-green), var(--efhq-turq)); border-radius: 8px; }
.efhq .efhq-form { margin: 0; }

/* Answers: light cards; short answers sit two by two on wide screens. */
.efhq .efhq-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.efhq .efhq-choice { display: flex; align-items: center; gap: 14px; min-height: 64px; margin: 0; padding: 16px 20px; border: 0; border-radius: 18px; background: var(--efhq-mist); box-shadow: inset 0 0 0 1px var(--efhq-line); color: var(--efhq-ink); font-weight: 600; cursor: pointer; line-height: 1.5; transition: background-color .2s ease, box-shadow .2s ease, transform .16s var(--efhq-ease); }
.efhq .efhq-choice:active { transform: scale(.99); }
.efhq .efhq-choice:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--efhq-turq), 0 14px 28px -18px rgba(34, 114, 119, .55); }
.efhq .efhq-choice span { min-width: 0; overflow-wrap: break-word; }
.efhq .efhq-select { display: block; width: 100%; min-height: 56px; padding: 14px 18px; border: 0; border-radius: 16px; background-color: var(--efhq-mist); box-shadow: inset 0 0 0 1px var(--efhq-line-strong); color: var(--efhq-ink); font: inherit; line-height: 1.5; transition: background-color .2s ease, box-shadow .2s ease; }
.efhq .efhq-select:focus { outline: 0; background-color: #fff; box-shadow: inset 0 0 0 2px var(--efhq-turq); }

.efhq .efhq-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.efhq .efhq-nav-space { flex: 1; }
.efhq .efhq-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; max-width: 100%; padding: 13px 30px; border: 0; border-radius: 999px; font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background-position .5s var(--efhq-ease), background-color .2s ease, box-shadow .25s ease, color .2s ease, transform .16s var(--efhq-ease); }
.efhq .efhq-button:not(:disabled):active { transform: scale(.97); }
.efhq .efhq-primary { background: var(--efhq-button); background-size: 220% 100%; background-position: 0 0; color: #fff; text-shadow: 0 1px 1px rgba(30, 70, 10, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .08), 0 14px 28px -14px rgba(92, 159, 44, .95); }
.efhq .efhq-secondary { background: #fff; box-shadow: inset 0 0 0 1.5px var(--efhq-turq); color: var(--efhq-turq-deep); }
.efhq button:disabled { opacity: .45; cursor: default; }
.efhq :is(button, a, input, select):focus-visible { outline: 2px solid var(--efhq-turq-deep); outline-offset: 3px; }
.efhq .efhq-text-button { display: inline; padding: 3px 0; border: 0; border-radius: 0; background: transparent; color: var(--efhq-turq-deep); font-family: inherit; font-size: 13.5px; line-height: 1.6; text-decoration: underline; text-decoration-color: rgba(34, 114, 119, .4); text-underline-offset: 3px; cursor: pointer; }
.efhq .efhq-data-control { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--efhq-line); }
.efhq .efhq-error { margin: 22px 0 0; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px #e84f14; color: var(--efhq-ink); }

/* The recommendation: the box in a white lens beside name, price and button. */
.efhq .efhq-product { display: grid; grid-template-columns: minmax(170px, .9fr) minmax(200px, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 48px); margin-top: 32px; padding: 28px; border-radius: 26px; background: var(--efhq-mist); }
.efhq .efhq-product-image { display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 12%; border-radius: 50%; object-fit: contain; background: radial-gradient(circle at 50% 42%, #fff 62%, #f2f8f8 100%); box-shadow: 0 0 0 8px rgba(255, 255, 255, .7), 0 0 0 9px rgba(68, 184, 190, .35), 0 30px 50px -28px rgba(20, 58, 64, .45); }
.efhq .efhq-product-name { margin: 0 0 14px; padding: 0; color: var(--efhq-ink); font-family: inherit; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: break-word; }
.efhq .efhq-price { margin: 0 0 22px; color: var(--efhq-ink); font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.efhq .efhq-price del { color: var(--efhq-meta); font-size: 17px; font-weight: 400; }
.efhq .efhq-price ins { background: transparent; text-decoration: none; }
.efhq .efhq-empty { padding: 20px 0; }
.efhq .efhq-result-nav { justify-content: flex-start; }
/* Start screen above the fold: one column (question, introduction, privacy,
   button); the start button stays at the bottom of the screen while the privacy
   box is read, until it reaches its own place. */
.efhq .efhq-start .efhq-intro { margin-bottom: 24px; }
.efhq .efhq-start .efhq-privacy { font-size: 14.5px; line-height: 1.6; }
.efhq .efhq-start .efhq-privacy p { margin-bottom: 12px; }
.efhq .efhq-start .efhq-consent { line-height: 1.55; }
.efhq .efhq-start .efhq-privacy .efhq-small { margin-top: 10px; font-size: 13px; line-height: 1.55; }
.efhq .efhq-start > .efhq-nav { position: sticky; bottom: 0; z-index: 3; margin: 0 -8px; padding: 22px 8px 16px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 34%); }
@media (hover: hover) and (pointer: fine) {
  .efhq .efhq-choice:hover { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(68, 184, 190, .6); }
  .efhq .efhq-choice:has(input:checked):hover { box-shadow: inset 0 0 0 2px var(--efhq-turq), 0 14px 28px -18px rgba(34, 114, 119, .55); }
  .efhq .efhq-primary:not(:disabled):hover { background-position: 100% 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .08), 0 18px 34px -14px rgba(42, 155, 161, .9); }
  .efhq .efhq-secondary:not(:disabled):hover { background: var(--efhq-mist); }
  .efhq .efhq-text-button:hover { text-decoration-color: currentColor; }
}
@media (max-width: 540px) {
  .efhq { margin: 20px auto 38px; font-size: 15.5px; }
  .efhq .efhq-panel { padding: 24px 18px; border-radius: 26px; }
  .efhq .efhq-heading { margin-bottom: 20px; font-size: 25px; }
  .efhq .efhq-heading-notice { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; font-size: 20px; }
  .efhq .efhq-heading-notice::before { width: 34px; height: 34px; background-size: 20px; }
  .efhq .efhq-notice { margin-left: 0; gap: 14px; }
  .efhq .efhq-notice-text { font-size: 15.5px; }
  .efhq .efhq-notice-items { font-size: 15.5px; }
  .efhq .efhq-intro { font-size: 16px; }
  .efhq .efhq-privacy { padding: 18px 16px; }
  .efhq .efhq-privacy .efhq-small { margin-left: 0; }
  .efhq .efhq-choice { min-height: 58px; padding: 14px 16px; gap: 12px; }
  .efhq .efhq-progress { gap: 14px; margin-bottom: 24px; }
  .efhq .efhq-nav { gap: 10px; margin-top: 26px; }
  .efhq .efhq-nav .efhq-button { flex: 1 1 auto; }
  .efhq .efhq-button { padding: 12px 20px; font-size: 16px; }
  .efhq .efhq-product { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 18px; }
  .efhq .efhq-product-image { max-width: 240px; margin: 0 auto; }
  .efhq .efhq-product-copy { text-align: center; }
  .efhq .efhq-product-name { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .efhq *, .efhq *::before, .efhq *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
/* Keep the standalone quiz clear of overlapping EFH theme shortcuts; on its own
   page the card rises into the hero band. */
.efh-product-quiz-page .efh-blog-tab,
.efh-product-quiz-page .efh-fixed-cta { display: none; }
.efh-product-quiz-page .efhq { position: relative; z-index: 2; margin-top: clamp(-88px, -7vw, -56px); }
