/* Europe Expert — motion layer and quiz redesign. Pairs with ee-motion.v2.js and content v111. */

/* ---------- Typography fixes across the site ---------- */
main h2, main h3, footer h2, footer h3 { text-wrap: balance; }
main p, main li, main dd, footer p { text-wrap: pretty; }

/* ---------- Section reveal ---------- */
.ee-motion .ee-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.ee-motion .ee-reveal.is-in { opacity: 1; transform: none; }
.ee-motion [data-ee-words].ee-reveal { opacity: 1; transform: none; }
.ee-motion [data-ee-words].ee-reveal .ee-word { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.35em); transition: opacity .6s ease, filter .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--w) * 60ms); }
.ee-motion [data-ee-words].is-in .ee-word { opacity: 1; filter: none; transform: none; }

/* Process timeline */
.ee-motion .ee-process-desktop.ee-reveal, .ee-motion .ee-process-mobile.ee-reveal, .ee-motion .ee-video-reviews-grid.ee-reveal { opacity: 1; transform: none; }
.ee-motion .ee-process-desktop.ee-reveal .ee-process-line { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s cubic-bezier(.6,.1,.2,1) .15s; }
.ee-motion .ee-process-desktop.is-in .ee-process-line { transform: scaleX(1); }
.ee-motion .ee-process-desktop.ee-reveal .ee-process-step { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.ee-motion .ee-process-desktop.is-in .ee-process-step { opacity: 1; transform: none; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(1) { transition-delay: .2s; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(2) { transition-delay: .45s; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(3) { transition-delay: .7s; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(4) { transition-delay: .95s; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(5) { transition-delay: 1.2s; }
.ee-motion .ee-process-desktop.is-in .ee-process-node { animation: ee-node-pulse .9s ease both; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(2) .ee-process-node { animation-delay: .25s; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(3) .ee-process-node { animation-delay: .5s; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(4) .ee-process-node { animation-delay: .75s; }
.ee-motion .ee-process-desktop.is-in .ee-process-step:nth-child(5) .ee-process-node { animation-delay: 1s; }
@keyframes ee-node-pulse { 0% { box-shadow: 0 0 0 0 rgba(53,59,180,.35); } 100% { box-shadow: 0 0 0 14px rgba(53,59,180,0); } }
.ee-motion .ee-process-mobile.ee-reveal .ee-process-card { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.ee-motion .ee-process-mobile.is-in .ee-process-card { opacity: 1; transform: none; }
.ee-motion .ee-process-mobile.is-in .ee-process-card:nth-child(2) { transition-delay: .12s; }
.ee-motion .ee-process-mobile.is-in .ee-process-card:nth-child(3) { transition-delay: .24s; }
.ee-motion .ee-process-mobile.is-in .ee-process-card:nth-child(4) { transition-delay: .36s; }
.ee-motion .ee-process-mobile.is-in .ee-process-card:nth-child(5) { transition-delay: .48s; }

/* Video reviews */
.ee-motion .ee-video-reviews-grid.ee-reveal .ee-video-review-card { opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.ee-motion .ee-video-reviews-grid.is-in .ee-video-review-card { opacity: 1; transform: none; }
.ee-motion .ee-video-reviews-grid.is-in .ee-video-review-card:nth-child(2) { transition-delay: .08s; }
.ee-motion .ee-video-reviews-grid.is-in .ee-video-review-card:nth-child(3) { transition-delay: .16s; }
.ee-motion .ee-video-reviews-grid.is-in .ee-video-review-card:nth-child(4) { transition-delay: .24s; }
.ee-motion .ee-video-reviews-grid.is-in .ee-video-review-card:nth-child(5) { transition-delay: .32s; }
.ee-motion .ee-video-reviews-grid.is-in .ee-video-review-card:nth-child(n+6) { transition-delay: .4s; }
@media (hover: hover) and (pointer: fine) {
  .ee-motion .ee-video-reviews-grid.is-in .ee-video-review-card { transition: opacity .6s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
  .ee-motion .ee-video-reviews-grid.is-in .ee-video-review-card:hover { transform: translateY(-6px); transition-delay: 0s; }
}

/* ---------- Client flags marquee ---------- */
.ee-flag-loop { margin: 8px auto 32px; max-width: 1160px; text-align: center; }
.ee-flag-loop-label { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ee-muted, #626980); }
.ee-flag-loop-viewport { display: flex; overflow: hidden; padding: 6px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ee-flag-loop-track { display: flex; flex: none; gap: 12px; margin: 0; padding: 0 12px 0 0; list-style: none; animation: ee-flag-loop 38s linear infinite; will-change: transform; }
.ee-flag-loop-track li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #1d2045; white-space: nowrap;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, #fff), color-mix(in srgb, var(--c) 6%, #fff) 70%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent), 0 6px 16px -10px color-mix(in srgb, var(--c) 70%, transparent); }
.ee-flag-loop-track img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.18); }
@keyframes ee-flag-loop { to { transform: translateX(-100%); } }

/* ---------- Quiz ---------- */
.ee-quiz-modal .ee-quiz-dialog { border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(16,24,64,.45); }
/* Header */
.ee-quiz-modal .ee-quiz-header { min-height: 4.4rem; padding: .8rem 3.6rem; background: linear-gradient(180deg, #f5f7ff, #fff); border-bottom: 1px solid #e8ebf5; }
.ee-quiz-header-copy { display: flex; flex-direction: column; align-items: center; gap: .28rem; text-align: center; }
.ee-quiz-header-copy strong { font-family: var(--ee-font-display, Georgia, serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -.02em; line-height: 1; color: #1d2045; }
.ee-quiz-header-note { font-size: .72rem; font-weight: 500; color: #6a7290; letter-spacing: .01em; }
.ee-quiz-modal .ee-quiz-close { width: 2.2rem; height: 2.2rem; border-radius: 50%; }
/* Body */
.ee-quiz-modal .ee-quiz-body { padding: 1.2rem 1.4rem 1.3rem; background: #fff; }
/* Segmented progress */
.ee-quiz-modal .ee-quiz-progress-meta { font-size: .66rem; margin-bottom: .55rem; }
.ee-quiz-steps { display: flex; gap: 5px; }
.ee-quiz-steps i { position: relative; flex: 1; height: 5px; border-radius: 5px; overflow: hidden; background: #e7eaf4; }
.ee-quiz-steps i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ee-accent, #353bb4); transform-origin: left; transform: scaleX(0); }
.ee-quiz-steps i.is-done::after, .ee-quiz-steps i.is-current::after { transform: scaleX(1); }
.ee-quiz-steps i.ee-grow::after { animation: ee-step-fill .45s cubic-bezier(.4,0,.2,1) both; }
.ee-quiz-steps i.ee-shrink::after { animation: ee-step-empty .35s cubic-bezier(.4,0,.2,1) both; }
@keyframes ee-step-empty { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes ee-step-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ee-quiz-modal .ee-quiz-progress { margin-bottom: 1.1rem; }
.ee-quiz-modal .ee-quiz-context { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .9rem; padding: .35rem .8rem .35rem .4rem; border-radius: 999px; background: #f3f5ff; color: #4c5476; font-size: .8rem; }
/* Question */
.ee-quiz-modal .ee-quiz-question { margin-bottom: 1rem; }
.ee-quiz-modal .ee-quiz-question h2, .ee-quiz-modal .ee-quiz-success h2 { font-family: var(--ee-font-display, Georgia, serif); font-size: clamp(1.6rem, 4.2vw, 2.1rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; color: #161a3d; text-wrap: balance; }
.ee-quiz-modal .ee-quiz-question > p { margin: .45rem 0 0; color: #69718c; font-size: .86rem; line-height: 1.45; text-wrap: pretty; }
/* Options */
.ee-quiz-modal .ee-quiz-options { gap: .6rem; }
.ee-quiz-modal .ee-quiz-option, .ee-quiz-modal .ee-quiz-options--compact .ee-quiz-option { min-height: 4rem; padding: .7rem .8rem; gap: .75rem; border: 1.5px solid #e3e6f0; border-radius: 16px; background: #fff; color: #1d2045; box-shadow: 0 1px 2px rgba(20,30,70,.04); }
.ee-quiz-modal .ee-quiz-option:hover, .ee-quiz-modal .ee-quiz-option:focus-visible { border-color: #b9bff0; background: #fafbff; box-shadow: 0 10px 24px -14px rgba(53,59,180,.45); transform: translateY(-1px); }
.ee-quiz-modal .ee-quiz-option.is-selected { border-color: var(--ee-accent, #353bb4); background: #f4f5ff; box-shadow: 0 0 0 3px rgba(53,59,180,.12); color: #1d2045; }
.ee-quiz-modal .ee-quiz-option-copy strong { font-size: .92rem; font-weight: 600; white-space: normal; }
.ee-quiz-modal .ee-quiz-option-copy small { font-size: .74rem !important; color: #6d7591 !important; }
.ee-quiz-modal .ee-quiz-option.is-selected .ee-quiz-option-copy strong { color: var(--ee-accent, #353bb4); }
.ee-quiz-modal .ee-quiz-option-check { width: 1.4rem; height: 1.4rem; border: 1.5px solid #d7dbea; }
/* Icon tiles in colour */
.ee-quiz-modal .ee-quiz-option-icon { width: 2.75rem !important; height: 2.75rem !important; border: 0; border-radius: 13px !important; box-shadow: none !important; background: var(--tone-bg, #eef0ff) !important; color: var(--tone, #353bb4); transition: background .2s, color .2s, transform .2s; }
.ee-quiz-modal .ee-quiz-option-icon svg { width: 1.4rem; height: 1.4rem; stroke-width: 1.8; }
.ee-quiz-modal .ee-quiz-option.is-selected .ee-quiz-option-icon { background: var(--tone, #353bb4) !important; color: #fff; }
.ee-quiz-modal .ee-quiz-option-icon--flag { background: #fff !important; border-radius: 50% !important; box-shadow: 0 0 0 1px #e3e6f0, 0 3px 8px rgba(20,30,70,.12) !important; }
.ee-quiz-modal .ee-quiz-option.is-selected .ee-quiz-option-icon--flag { background: #fff !important; box-shadow: 0 0 0 2.5px var(--ee-accent, #353bb4) !important; }
[data-tone="indigo"] { --tone: #353bb4; --tone-bg: #eceeff; }
[data-tone="sky"] { --tone: #1f6fd1; --tone-bg: #e5f1ff; }
[data-tone="teal"] { --tone: #0f8a7e; --tone-bg: #e1f6f2; }
[data-tone="amber"] { --tone: #c26a00; --tone-bg: #fff1dc; }
[data-tone="orange"] { --tone: #d9541a; --tone-bg: #ffece2; }
[data-tone="rose"] { --tone: #cf2f58; --tone-bg: #ffe8ee; }
[data-tone="yellow"] { --tone: #a87c00; --tone-bg: #fff6cf; }
[data-tone="slate"] { --tone: #4a5470; --tone-bg: #eef0f5; }
[data-tone="violet"] { --tone: #7440cc; --tone-bg: #f1eaff; }
[data-tone="green"] { --tone: #2c8a3c; --tone-bg: #e4f6e7; }
/* Experience level bars */
.ee-quiz-option-icon--level { display: flex !important; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: .72rem; }
.ee-quiz-option-icon--level i { width: 5px; border-radius: 3px; background: color-mix(in srgb, var(--tone) 22%, transparent); }
.ee-quiz-option-icon--level i:nth-child(1) { height: 8px; }
.ee-quiz-option-icon--level i:nth-child(2) { height: 13px; }
.ee-quiz-option-icon--level i:nth-child(3) { height: 18px; }
.ee-quiz-option-icon--level i.is-on { background: var(--tone); }
.ee-quiz-option.is-selected .ee-quiz-option-icon--level i { background: rgba(255,255,255,.35); }
.ee-quiz-option.is-selected .ee-quiz-option-icon--level i.is-on { background: #fff; }
/* Trust row */
.ee-quiz-trust { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 1rem 0 0; color: #59617f; font-size: .8rem; font-weight: 500; }
.ee-quiz-trust-faces { display: inline-flex; }
.ee-quiz-trust-faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.ee-quiz-trust-faces img + img { margin-left: -9px; }
/* Actions */
.ee-quiz-modal .ee-quiz-actions { margin-top: 1rem; align-items: center; }
.ee-quiz-modal .ee-quiz-back { min-height: 3rem; padding: 0 1.1rem; border-radius: 12px; }
.ee-quiz-modal .ee-quiz-choice-hint { font-size: .78rem; color: #8a91aa; }
/* Name field */
.ee-quiz-modal .ee-quiz-input { min-height: 3.4rem; border: 1.5px solid #dfe3ef; border-radius: 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.ee-quiz-modal .ee-quiz-input:focus { border-color: var(--ee-accent, #353bb4); box-shadow: 0 0 0 4px rgba(53,59,180,.12); outline: none; }
.ee-quiz-modal .ee-quiz-summary { border-radius: 14px; }
/* WhatsApp button */
.ee-quiz-modal .ee-quiz-whatsapp { min-height: 3.4rem; gap: .55rem; border: 0; border-radius: 14px; background: linear-gradient(180deg, #25c062, #1aa450); color: #fff; font-size: .98rem; font-weight: 650; box-shadow: 0 14px 28px -14px rgba(26,164,80,.8); }
.ee-quiz-modal .ee-quiz-whatsapp:hover, .ee-quiz-modal .ee-quiz-whatsapp:focus-visible { background: linear-gradient(180deg, #22b15a, #168f46); }
.ee-wa-icon { width: 1.3rem; height: 1.3rem; flex: none; }
.ee-quiz-modal .ee-quiz-privacy { text-align: center; }
/* Success */
.ee-quiz-modal .ee-quiz-success { text-align: center; }
.ee-quiz-success-check { display: inline-block; width: 64px; height: 64px; margin-bottom: .6rem; }
.ee-quiz-success-check svg { width: 100%; height: 100%; fill: none; stroke: #1aa450; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ee-quiz-success-check circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: ee-draw .6s ease forwards; }
.ee-quiz-success-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ee-draw .35s ease .5s forwards; }
@keyframes ee-draw { to { stroke-dashoffset: 0; } }
.ee-quiz-modal .ee-quiz-success .ee-quiz-whatsapp { width: 100%; max-width: 22rem; }

/* Entrance animation for each new step */
.ee-quiz-enter .ee-quiz-question, .ee-quiz-enter .ee-quiz-context, .ee-quiz-enter .ee-quiz-form, .ee-quiz-enter .ee-quiz-success, .ee-quiz-enter .ee-quiz-trust { animation: ee-quiz-in .4s cubic-bezier(.2,.7,.2,1) both; }
.ee-quiz-enter .ee-quiz-option { animation: ee-quiz-in .42s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(min(var(--i, 0), 10) * 35ms + 60ms); }
@keyframes ee-quiz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ee-quiz-modal .ee-quiz-option:active { transform: scale(.985); }

/* Light travelling around the final button */
@property --ee-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.ee-star-border { position: relative; }
.ee-star-border::before { content: ""; position: absolute; inset: -2px; border-radius: 16px; padding: 2px; pointer-events: none; background: conic-gradient(from var(--ee-angle), transparent 0 70%, rgba(255,255,255,.95) 82%, #b8ffd2 88%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: ee-star-spin 3.2s linear infinite; }
@keyframes ee-star-spin { to { --ee-angle: 360deg; } }

/* Phones: the quiz becomes a tall bottom sheet with one column of large cards */
@media (max-width: 640px) {
  .ee-quiz-modal .ee-quiz-dialog { width: 100%; max-height: calc(100svh - .5rem); border-radius: 22px 22px 0 0; }
  .ee-quiz-modal .ee-quiz-header { min-height: 4rem; padding: .7rem 3.2rem; }
  .ee-quiz-header-copy strong { font-size: 1.3rem; }
  .ee-quiz-modal .ee-quiz-body { padding: 1rem 1rem calc(1.1rem + env(safe-area-inset-bottom)); }
  .ee-quiz-modal .ee-quiz-question h2 { font-size: 1.55rem; }
  .ee-quiz-modal .ee-quiz-options:not(:has(> .ee-quiz-option:nth-child(8))) { grid-template-columns: minmax(0, 1fr); }
  .ee-quiz-modal .ee-quiz-option, .ee-quiz-modal .ee-quiz-options--compact .ee-quiz-option { min-height: 3.75rem; padding: .6rem .7rem; }
  .ee-quiz-modal .ee-quiz-options:has(> .ee-quiz-option:nth-child(8)) .ee-quiz-option { min-height: 3.1rem; padding: .45rem .55rem; gap: .5rem; }
  .ee-quiz-modal .ee-quiz-options:has(> .ee-quiz-option:nth-child(8)) .ee-quiz-option-icon { width: 2rem !important; height: 2rem !important; }
  .ee-quiz-modal .ee-quiz-options:has(> .ee-quiz-option:nth-child(8)) .ee-quiz-option-copy strong { font-size: .82rem; }
  .ee-quiz-modal .ee-quiz-option-icon { width: 2.5rem !important; height: 2.5rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ee-flag-loop-track, .ee-star-border::before, .ee-quiz-steps i.is-current::after, .ee-quiz-success-check circle, .ee-quiz-success-check path { animation: none; stroke-dashoffset: 0; }
  .ee-quiz-enter .ee-quiz-question, .ee-quiz-enter .ee-quiz-context, .ee-quiz-enter .ee-quiz-form, .ee-quiz-enter .ee-quiz-success, .ee-quiz-enter .ee-quiz-option, .ee-quiz-enter .ee-quiz-trust { animation: none; }
}

/* Personal result card before the name field */
.ee-quiz-match { margin: 0 0 1rem; padding: .9rem 1rem 1rem; border-radius: 16px; background: linear-gradient(160deg, #f1f3ff, #fff 70%); box-shadow: inset 0 0 0 1.5px #dfe2fb; animation: ee-quiz-in .45s cubic-bezier(.2,.7,.2,1) both; }
.ee-quiz-match-kicker { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1aa450; }
.ee-quiz-match-kicker::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #1aa450; box-shadow: 0 0 0 3px rgba(26,164,80,.18); }
.ee-quiz-match--open .ee-quiz-match-kicker { color: var(--ee-accent, #353bb4); }
.ee-quiz-match--open .ee-quiz-match-kicker::before { background: var(--ee-accent, #353bb4); box-shadow: 0 0 0 3px rgba(53,59,180,.15); }
.ee-quiz-match--open strong { display: block; margin-top: .4rem; font-size: .95rem; color: #1d2045; }
.ee-quiz-match-head { display: flex; align-items: center; gap: .7rem; margin-top: .6rem; }
.ee-quiz-match-flag { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(20,30,70,.15); }
.ee-quiz-match-head > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ee-quiz-match-head strong { font-size: 1.02rem; color: #161a3d; line-height: 1.2; }
.ee-quiz-match-head span { font-size: .8rem; color: #69718c; }
.ee-quiz-match-head b { display: flex; flex-direction: column; align-items: flex-end; font-size: 1.15rem; color: var(--ee-accent, #353bb4); white-space: nowrap; }
.ee-quiz-match-head b small { font-size: .66rem; font-weight: 500; color: #69718c; }
.ee-quiz-match ul { display: grid; gap: .3rem; margin: .8rem 0 0; padding: .75rem 0 0; list-style: none; border-top: 1px dashed #d6daf3; }
.ee-quiz-match li { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; font-weight: 600; color: #1d2045; text-align: right; }
.ee-quiz-match li span { font-weight: 500; color: #69718c; text-align: left; }
.ee-quiz-match .ee-quiz-match-flag { width: 2.4rem !important; height: 2.4rem !important; max-width: none; flex: none; }
@media (max-width: 640px) {
  .ee-quiz-modal { align-items: flex-end !important; padding: 0 !important; }
  .ee-quiz-modal .ee-quiz-dialog { border-radius: 22px 22px 0 0; }
}


/* Result card: job icon instead of a flag, no kicker */
.ee-quiz-match-head { margin-top: 0; }
.ee-quiz-match .ee-quiz-option-icon { width: 3rem !important; height: 3rem !important; border-radius: 14px !important; background: var(--tone-bg) !important; color: var(--tone); flex: none; display: grid; place-items: center; }
.ee-quiz-match .ee-quiz-option-icon svg { width: 1.5rem; height: 1.5rem; }
.ee-quiz-match--open strong { margin-top: 0; }

/* Result card with a real photo of the destination */
.ee-quiz-match--photo { position: relative; padding: 0; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1.5px #e3e6f3, 0 14px 30px -18px rgba(20,30,70,.35); }
.ee-quiz-match--photo .ee-quiz-match-photo { position: absolute; inset: 0 0 auto 0; width: 100%; height: 7.4rem; object-fit: cover; object-position: center 45%; }
.ee-quiz-match--photo .ee-quiz-match-head { position: relative; min-height: 7.4rem; margin: 0; padding: .9rem 1rem; align-items: flex-end; color: #fff; background: linear-gradient(180deg, rgba(10,14,40,0) 20%, rgba(10,14,40,.78)); }
.ee-quiz-match--photo .ee-quiz-match-head > div { gap: .15rem; }
.ee-quiz-match--photo .ee-quiz-match-head span { order: -1; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.ee-quiz-match--photo .ee-quiz-match-head strong { font-size: 1.15rem; color: #fff; }
.ee-quiz-match--photo .ee-quiz-match-head b { padding: .35rem .65rem; border-radius: 12px; background: rgba(255,255,255,.95); color: var(--ee-accent, #353bb4); font-size: 1.05rem; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.ee-quiz-match--photo ul { margin: 0; padding: .8rem 1rem .9rem; border-top: 0; }

/* Choosing an option: calm, deliberate feedback */
.ee-quiz-modal .ee-quiz-option { transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .15s ease; -webkit-tap-highlight-color: transparent; }
.ee-quiz-modal .ee-quiz-option:active { transform: scale(.98); }
.ee-quiz-modal .ee-quiz-option.is-selected { border-color: var(--ee-accent, #353bb4); background: linear-gradient(180deg, #f6f7ff, #eef0ff); box-shadow: 0 0 0 4px rgba(53,59,180,.1), 0 10px 22px -16px rgba(53,59,180,.6); }
.ee-quiz-modal .ee-quiz-option-check { transition: background-color .2s ease, border-color .2s ease; }
.ee-quiz-modal .ee-quiz-option.is-selected .ee-quiz-option-check svg { animation: ee-check-pop .32s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes ee-check-pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.ee-quiz-modal .ee-quiz-option-icon { transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.ee-quiz-modal .ee-quiz-option:hover .ee-quiz-option-icon { transform: none; }
/* Touch screens: no hover lift, so taps do not jump */
@media (hover: none) {
  .ee-quiz-modal .ee-quiz-option:hover, .ee-quiz-modal .ee-quiz-option:focus-visible { transform: none; box-shadow: 0 1px 2px rgba(20,30,70,.04); background: #fff; border-color: #e3e6f0; }
  .ee-quiz-modal .ee-quiz-option.is-selected:hover { border-color: var(--ee-accent, #353bb4); background: linear-gradient(180deg, #f6f7ff, #eef0ff); box-shadow: 0 0 0 4px rgba(53,59,180,.1); }
}
@media (hover: hover) {
  .ee-quiz-modal .ee-quiz-option:hover { transform: none; border-color: #c3c8f2; background: #fafbff; box-shadow: 0 8px 20px -16px rgba(53,59,180,.5); }
}
@media (prefers-reduced-motion: reduce) {
  .ee-quiz-steps i.ee-grow::after, .ee-quiz-steps i.ee-shrink::after, .ee-quiz-modal .ee-quiz-option.is-selected .ee-quiz-option-check svg { animation: none; }
}

/* Final call to action: the title had a 28rem column, so it broke into four cramped lines */
#free-assessment .max-w-md:has(> .ee-final-cta-title) { max-width: min(46rem, 100%); }
#free-assessment .ee-final-cta-title { font-size: clamp(2.5rem, 5.4vw, 4.4rem) !important; line-height: 1.02 !important; letter-spacing: -.022em !important; word-spacing: .03em; }
#free-assessment .ee-final-cta-title em { padding-right: .06em; }
#free-assessment .ee-final-cta-copy { max-width: 32rem; margin-inline: auto; }
#free-assessment .ee-final-cta-button { width: 100%; max-width: 24rem; margin-inline: auto; }
@media (max-width: 640px) {
  #free-assessment .ee-final-cta-title { font-size: 2.45rem !important; }
}

/* Final screen */
.ee-quiz-modal .ee-quiz-success { text-align: left; }
.ee-quiz-done-badge { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .7rem; padding: .3rem .75rem .3rem .3rem; border-radius: 999px; background: #e9f8ef; color: #168f46; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ee-quiz-done-badge .ee-quiz-success-check { width: 1.6rem; height: 1.6rem; margin: 0; padding: .2rem; border-radius: 50%; background: #fff; }
.ee-quiz-done-badge .ee-quiz-success-check svg { stroke-width: 4.5; }
.ee-quiz-modal .ee-quiz-success h2 { font-size: clamp(1.55rem, 4vw, 1.9rem); margin: 0; text-align: left; }
.ee-quiz-modal .ee-quiz-success > p { margin: .45rem 0 1rem; color: #69718c; font-size: .86rem; line-height: 1.45; max-width: none; text-align: left; }
.ee-quiz-modal .ee-quiz-success .ee-quiz-match { margin-bottom: 1rem; }
.ee-quiz-modal .ee-quiz-success .ee-quiz-summary { margin: 0 0 1rem; text-align: left; }
.ee-quiz-modal .ee-quiz-success .ee-quiz-whatsapp { display: flex; width: 100%; max-width: none; margin: 0; }
.ee-quiz-next { counter-reset: next; display: grid; gap: .55rem; margin: 1.1rem 0 0; padding: 1rem 0 0; list-style: none; border-top: 1px solid #eceef6; }
.ee-quiz-next li { counter-increment: next; display: flex; align-items: center; gap: .65rem; color: #3a4160; font-size: .84rem; font-weight: 500; }
.ee-quiz-next li::before { content: counter(next); display: grid; place-items: center; flex: none; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #eef0ff; color: var(--ee-accent, #353bb4); font-size: .72rem; font-weight: 700; }
.ee-quiz-textlink { display: block; margin: 1rem auto 0; padding: .4rem .6rem; border: 0; background: none; color: #69718c; font-size: .82rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ee-quiz-textlink:hover { color: #1d2045; }

.ee-quiz-modal .ee-quiz-success, .ee-quiz-modal .ee-quiz-success h2, .ee-quiz-modal .ee-quiz-success > p { text-align: left !important; }
.ee-quiz-modal .ee-quiz-success .ee-quiz-done-badge { display: flex; width: max-content; }
.ee-quiz-modal .ee-quiz-success { align-items: stretch !important; }
.ee-quiz-modal .ee-quiz-success .ee-quiz-done-badge { align-self: flex-start; }
.ee-quiz-modal .ee-quiz-success .ee-quiz-textlink { align-self: center; }
