/* Step-specific scenes and restrained, responsive motion. */
.estimate-content,.stage-product > img { animation: none; }
.stage-scene { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; align-items: center; width: 100%; min-height: 0; }
.stage-scene .stage-intro-copy { padding-top: clamp(22px,4svh,44px); }
.stage-scene .stage-collage { min-height: 230px; }
.estimator-stage::after { content: ''; position: absolute; inset: -15%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 22% 65%,#6e9fff26,transparent 55%),radial-gradient(ellipse at 85% 45%,#b599ff20,transparent 60%); }
[data-motion-ready=true] .estimator-stage::after { animation: estimate-background-drift 16s ease-in-out infinite alternate; }
[data-motion-ready=true] .stage-collage .collage-one { animation: estimate-soft-float 5.8s ease-in-out infinite alternate; }
[data-motion-ready=true] .stage-collage .collage-two { animation: estimate-soft-float 6.6s -2s ease-in-out infinite alternate-reverse; }
[data-motion-ready=true] .stage-product > img { animation: estimate-soft-float 5.4s ease-in-out infinite alternate; }
.motion-model-scene { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 400px; padding: 30px 0; }
.motion-model-scene > .estimate-eyebrow { margin-bottom: 24px; }
.motion-search-pill { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 18px 23px; background: var(--e-bg); border: 1px solid var(--e-line); border-radius: 40px; box-shadow: 0 16px 45px #163c6720; font-size: clamp(16px,1.6vw,22px); font-weight: 550; letter-spacing: -.025em; overflow: hidden; }
.motion-search-pill > .estimate-icon { color: var(--e-accent); }
.motion-search-pill > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.motion-search-pill > i { height: 23px; width: 2px; background: var(--e-accent); flex: none; margin-left: -9px; }
[data-motion-ready=true] .motion-search-pill > i { animation: estimate-caret 1.1s step-end infinite; }
.motion-model-preview { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
.motion-model-preview img { width: 170px; height: 170px; object-fit: contain; padding: 12px; border-radius: 25px; background: #f1f3f6; box-shadow: 0 20px 55px #16345e20; }
.motion-model-preview strong { font-size: 12px; font-weight: 600; }
.motion-model-scene > p { font-size: 11px; text-align: center; margin-top: 24px; max-width: 280px; }
.motion-storage-track { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; width: 100%; margin: 12px 0 22px; }
.motion-storage-track > span { padding: 8px 13px; border: 1px solid var(--e-line); background: var(--e-bg); color: var(--e-muted); border-radius: 24px; font-size: 11px; }
.motion-storage-track > span.is-chosen { background: #416bfa; border-color: #416bfa; color: white; }
.stage-cosmetic-visual { position: relative; }
.motion-glint { position: absolute; inset: -20%; background: linear-gradient(110deg,transparent 25%,#fff3 48%,transparent 65%); transform: translateX(-150%) rotate(15deg); pointer-events: none; }
[data-motion-ready=true] .is-active .motion-glint { animation: estimate-glint 4s ease-in-out infinite; }
.stage-scene[data-scene="4"] .stage-product,.stage-scene[data-scene="5"] .stage-product { flex: none; min-height: 165px; height: 165px; margin: 22px 0 10px; }
.stage-scene[data-scene="4"] .stage-product > img,.stage-scene[data-scene="5"] .stage-product > img { width: 150px; padding: 9px; border-radius: 22px; }
.stage-scene[data-scene="4"] .stage-product-orbit,.stage-scene[data-scene="5"] .stage-product-orbit { width: 190px; }
.motion-function-scene { width: min(100%,300px); padding: 12px 0; }
.motion-function-scene > p { font-size: 11px; margin-bottom: 14px; text-align: center; }
.motion-function-row { display: flex; align-items: center; gap: 10px; min-height: 45px; margin-bottom: 8px; padding: 9px 13px; border: 1px solid var(--e-line); border-radius: 12px; background: var(--e-bg); }
.motion-function-row > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: var(--e-accent); background: var(--e-soft); flex: none; }
.motion-function-row .estimate-icon { width: 14px; height: 14px; }
.motion-function-row > strong { font-size: 11px; font-weight: 500; }
.motion-function-row > i { width: 4px; height: 4px; border-radius: 50%; background: var(--e-muted); margin-left: auto; opacity: .4; }
.motion-function-row.is-confirmed > span { background: #416bfa; color: white; }
[data-motion-ready=true] .motion-function-row:not(.is-confirmed) > i { animation: estimate-point-pulse 2.8s calc(var(--motion-index) * .45s) ease-in-out infinite; }
.motion-offer-seal { width: 105px; height: 105px; margin: 20px 0; border-radius: 50%; background: var(--e-bg); box-shadow: 0 18px 50px #15346818; }
.motion-offer-seal > svg { width: 105px; height: 105px; overflow: visible; }
.seal-track,.seal-ring { fill: none; stroke: var(--e-line); stroke-width: 2; }
.seal-ring { stroke: var(--e-accent); transform: rotate(-90deg); transform-origin: center; }
.seal-check { fill: none; stroke: var(--e-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.motion-price-visual { display: inline-block; white-space: nowrap; font: inherit; letter-spacing: inherit; font-variant-numeric: tabular-nums; }
.estimate-choice,.estimate-model,.estimate-categories > button { transform-origin: center; }
.estimate-categories > button,.estimate-model { transition: transform .3s cubic-bezier(.2,1.25,.4,1),border-color .2s,background .2s,box-shadow .3s; }
.stage-navigation button,.estimate-progress > span { transition: background .3s,color .3s; }
.estimator[data-motion-paused=true] *, .estimator[data-motion-paused=true] *::after { animation-play-state: paused !important; }
@media (hover:hover) and (pointer:fine) { .estimate-model:hover,.estimate-categories > button:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #16386b16; } }
@keyframes estimate-soft-float { from { translate: 0 -5px; } to { translate: 0 6px; } }
@keyframes estimate-background-drift { from { translate: -5% -5%; scale: .9; } to { translate: 6% 8%; scale: 1.1; } }
@keyframes estimate-caret { 0%,45% { opacity: 1; } 46%,100% { opacity: 0; } }
@keyframes estimate-glint { 0%,20% { transform: translateX(-150%) rotate(15deg); } 65%,100% { transform: translateX(150%) rotate(15deg); } }
@keyframes estimate-point-pulse { 0%,65%,100% { opacity: .3; scale: 1; } 25% { opacity: 1; scale: 1.8; } }
@media (max-width:1100px) { .motion-search-pill { padding: 17px; } .motion-model-preview img { width: 145px; height: 145px; } .motion-storage-track { gap: 5px; } .motion-storage-track > span { padding: 6px 9px; font-size: 10px; } }
@media (max-width:850px) {
 .stage-scene { display: contents; }
 .motion-storage-track,.motion-function-scene,.motion-offer-seal { display: none; }
 .stage-scene[data-scene="4"] .stage-product,.stage-scene[data-scene="5"] .stage-product { min-height: 0; height: auto; margin: 0; }
 .stage-scene[data-scene="4"] .stage-product > img,.stage-scene[data-scene="5"] .stage-product > img { width: 70px; padding: 4px; border-radius: 12px; }
 [data-motion-ready=true] .stage-product > img { animation: none; }
 .stage-cosmetics { display: block; grid-column: 1/-1; grid-row: 2; padding: 4px 0 0; }
 .stage-cosmetics > p,.stage-cosmetics > small { display: none; }
 .stage-cosmetics > div > button { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 3px 9px; padding: 0; text-align: left; }
 .stage-cosmetic-visual { width: 44px; height: 44px; grid-row: 1/3; }
 .stage-cosmetics .cosmetic-picture { width: 38px; height: 47px; transform: rotate(-8deg) translateY(5px); }
 .stage-cosmetics button > strong { font-size: 11px; align-self: end; }
 .stage-cosmetics button > small { font-size: 9px; align-self: start; }
 .motion-glint { animation: none !important; }
}
@media (max-width:740px) { .stage-scene[data-scene="4"] .stage-product > img,.stage-scene[data-scene="5"] .stage-product > img { width: 56px; border-radius: 10px; } }
@media (prefers-reduced-motion:reduce) { .estimator *, .estimator *::after { animation: none !important; transition: none !important; } }
@media (min-width:851px) and (max-width:1100px) {
 .stage-cosmetics .cosmetic-picture.cosmetic-tablet { width: 95px; height: 108px; }
 .stage-cosmetics .cosmetic-picture.cosmetic-laptop { width: 115px; height: 99px; }
}
@media (max-width:850px) {
 .stage-cosmetics .cosmetic-picture.cosmetic-tablet { width: 37px; height: 40px; transform: rotate(-8deg); }
 .stage-cosmetics .cosmetic-picture.cosmetic-laptop { width: 42px; height: 36px; transform: rotate(-5deg); }
}
@media (max-width:740px) {
 .condition-thumb .cosmetic-picture.cosmetic-tablet { width: 46px; height: 58px; }
 .condition-thumb .cosmetic-picture.cosmetic-laptop { width: 43px; height: 46px; }
}
