#smartbooks-quote-quiz, #smartbooks-quote-quiz * { box-sizing: border-box; }
#smartbooks-quote-quiz { width: min(100%, 1760px); margin: clamp(32px, 5vw, 74px) auto 0; padding: 0 clamp(18px, 4vw, 56px); color: #f7f9ff; font-family: Manrope, Inter, system-ui, sans-serif; scroll-margin-top: clamp(88px, 10vw, 128px); }
#smartbooks-quote-quiz .sbq-box { position: relative; overflow: hidden; border: 1px solid rgba(132,160,226,.48); background: linear-gradient(145deg, rgba(15,27,55,.97), rgba(7,14,30,.99)); box-shadow: 0 28px 80px rgba(0,0,0,.28); padding: clamp(22px, 3.8vw, 52px); }
#smartbooks-quote-quiz .sbq-box.is-result { width: min(100%, 980px); margin: 0 auto; padding: clamp(20px, 2.6vw, 34px); }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-top { margin-bottom: 18px; }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-tabs { display: none; }
#smartbooks-quote-quiz .sbq-box::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 18%, rgba(107,140,255,.18), transparent 34%), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: auto, 14.285% 100%; }
#smartbooks-quote-quiz .sbq-box > * { position: relative; z-index: 1; }
#smartbooks-quote-quiz .sbq-top { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: clamp(22px, 3vw, 34px); }
#smartbooks-quote-quiz .sbq-brand { display: flex; align-items: center; gap: 14px; color: #8eabff; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 900; }
#smartbooks-quote-quiz .sbq-brand i, #smartbooks-quote-quiz .sbq-sale i { display: grid; place-items: center; width: 52px; height: 52px; background: #6d8cff; color: #071225; font-style: normal; font-weight: 950; }
#smartbooks-quote-quiz .sbq-tabs { display: grid; grid-template-columns: repeat(4, minmax(112px, 1fr)); gap: 10px; min-width: min(650px, 58vw); }
#smartbooks-quote-quiz .sbq-tabs span { border: 1px solid rgba(139,162,219,.42); min-height: 56px; padding: 10px 12px; color: #b9c7ec; font-size: 12px; font-weight: 850; display: flex; flex-direction: column; justify-content: center; }
#smartbooks-quote-quiz .sbq-tabs b { color: #8eabff; margin-bottom: 4px; }
#smartbooks-quote-quiz .sbq-tabs .on { background: #6d8cff; color: #071225; border-color: #6d8cff; }
#smartbooks-quote-quiz .sbq-tabs .on b { color: #071225; }
#smartbooks-quote-quiz .sbq-sale { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(32px, 4vw, 54px); padding: clamp(16px, 2vw, 26px); border: 1px solid rgba(132,160,226,.52); background: rgba(109,140,255,.13); animation: sbq-in .5s ease both; }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-sale { display: none; }
#smartbooks-quote-quiz .sbq-sale i { font-size: 18px; }
#smartbooks-quote-quiz .sbq-sale b, #smartbooks-quote-quiz .sbq-text span, #smartbooks-quote-quiz .sbq-one > span, #smartbooks-quote-quiz .sbq-result > span, #smartbooks-quote-quiz .sbq-mini { color: #95aeff; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 900; }
#smartbooks-quote-quiz .sbq-sale p { margin: 7px 0 0; color: #fff; font-size: clamp(20px, 2vw, 34px); line-height: 1.15; font-weight: 850; }
#smartbooks-quote-quiz .sbq-grid { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.15fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
#smartbooks-quote-quiz h3 { margin: 14px 0 18px; color: #fff; font-family: Manrope, Inter, system-ui, sans-serif; font-size: clamp(42px, 5.2vw, 84px); line-height: 1.02; letter-spacing: 0; font-weight: 850; max-width: 830px; }
#smartbooks-quote-quiz .sbq-box.is-result h3 { font-size: clamp(34px, 3.8vw, 56px); }
#smartbooks-quote-quiz p { color: #d7def2; font-size: clamp(17px, 1.25vw, 22px); line-height: 1.65; margin: 0; max-width: 830px; }
#smartbooks-quote-quiz .sbq-form { display: grid; gap: 16px; }
#smartbooks-quote-quiz .sbq-hp { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
#smartbooks-quote-quiz label { display: grid; gap: 9px; color: #aebde2; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 900; }
#smartbooks-quote-quiz label span { display: grid; grid-template-columns: 46px 1fr; align-items: center; min-height: 70px; border: 1px solid rgba(132,160,226,.55); background: rgba(7,15,33,.74); }
#smartbooks-quote-quiz label span:focus-within { border-color: #8eabff; box-shadow: 0 0 0 3px rgba(109,140,255,.16); }
#smartbooks-quote-quiz label i { color: #6d8cff; font-style: normal; text-align: center; }
#smartbooks-quote-quiz input { width: 100%; height: 68px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 18px; font-weight: 850; padding-right: 18px; }
#smartbooks-quote-quiz input::placeholder { color: #7383ab; }
#smartbooks-quote-quiz .sbq-choice { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 14px; margin-top: 24px; }
#smartbooks-quote-quiz .sbq-choice.small { grid-template-columns: repeat(4, 1fr); margin-top: 0; gap: 10px; }
#smartbooks-quote-quiz .sbq-choice button { min-height: 96px; border: 1px solid rgba(132,160,226,.55); background: rgba(13,25,52,.78); color: #dbe5ff; padding: 16px 18px; font: inherit; font-size: clamp(16px, 1.25vw, 22px); font-weight: 900; text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
#smartbooks-quote-quiz .sbq-choice.small button { min-height: 58px; text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
#smartbooks-quote-quiz .sbq-choice button:hover { transform: translateY(-2px); border-color: #8eabff; box-shadow: 0 16px 32px rgba(0,0,0,.18); }
#smartbooks-quote-quiz .sbq-choice .on { background: #6d8cff; color: #071225; border-color: #6d8cff; }
#smartbooks-quote-quiz .sbq-choice b { display: block; color: #8eabff; font-size: 18px; margin-bottom: 10px; }
#smartbooks-quote-quiz .sbq-choice .on b { color: #071225; }
#smartbooks-quote-quiz .volume { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
#smartbooks-quote-quiz .sbq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 72px; width: min(100%, 390px); margin-top: 10px; border: 0; background: #eef3ff; color: #071225; padding: 0 30px; font-size: 16px; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
#smartbooks-quote-quiz .sbq-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(109,140,255,.26); }
#smartbooks-quote-quiz .sbq-btn:disabled { opacity: .78; cursor: default; }
#smartbooks-quote-quiz .done { background: #6d8cff; width: min(100%, 430px); }
#smartbooks-quote-quiz .sbq-error { color: #ffb7b7; font-size: 15px; font-weight: 850; }
#smartbooks-quote-quiz .sbq-ok { color: #9db6ff; font-size: 15px; font-weight: 850; margin-top: 12px; }
#smartbooks-quote-quiz .sbq-one { min-height: 520px; display: flex; flex-direction: column; justify-content: center; }
#smartbooks-quote-quiz .sbq-result { display: grid; gap: 28px; }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-result { gap: 20px; }
#smartbooks-quote-quiz .sbq-price { border: 1px solid rgba(132,160,226,.55); background: rgba(4,10,23,.58); padding: clamp(22px, 3vw, 42px); max-width: 1000px; animation: sbq-glow .8s ease both; }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-price { max-width: 660px; padding: clamp(16px, 1.8vw, 24px); }
#smartbooks-quote-quiz .sbq-price small { color: #95aeff; text-transform: uppercase; letter-spacing: .14em; font-size: 14px; font-weight: 900; }
#smartbooks-quote-quiz .sbq-price p { margin-top: 22px; color: #aebde2; font-weight: 800; }
#smartbooks-quote-quiz s { color: #c4d0f1; font-size: clamp(26px, 2.4vw, 44px); text-decoration-color: #6d8cff; text-decoration-thickness: 3px; }
#smartbooks-quote-quiz strong { display: inline-block; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(64px, 7vw, 112px); font-weight: 500; letter-spacing: 0; margin-top: 10px; }
#smartbooks-quote-quiz .sbq-box.is-result strong { font-size: clamp(42px, 4.3vw, 64px); }
#smartbooks-quote-quiz em { color: #afc1f1; font-style: normal; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; font-weight: 900; margin-left: 16px; }
#smartbooks-quote-quiz .sbq-price > b { display: block; color: #fff; font-size: clamp(18px, 1.35vw, 24px); margin-top: 12px; }
#smartbooks-quote-quiz .dual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#smartbooks-quote-quiz .dual small { grid-column: 1 / -1; }
#smartbooks-quote-quiz .dual div { border: 1px solid rgba(132,160,226,.38); padding: 22px; }
#smartbooks-quote-quiz .dual strong { font-size: clamp(42px, 4.4vw, 72px); display: block; }
#smartbooks-quote-quiz .sbq-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1200px; }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-next { max-width: 760px; }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-next span { min-height: 70px; padding: 14px 16px; font-size: 11px; }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-next b { font-size: 20px; margin-bottom: 5px; }
#smartbooks-quote-quiz .sbq-box.is-result .sbq-btn { min-height: 62px; width: min(100%, 360px); }
#smartbooks-quote-quiz .sbq-next span { border: 1px solid rgba(132,160,226,.42); padding: 22px; color: #cbd7f4; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; min-height: 94px; }
#smartbooks-quote-quiz .sbq-next b { display: block; color: #8eabff; font-size: 26px; margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; }
#smartbooks-quote-quiz .sbq-anim { animation: sbq-in .46s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sbq-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sbq-glow { from { box-shadow: none; } to { box-shadow: 0 30px 80px rgba(0,0,0,.24), 0 0 0 1px rgba(109,140,255,.08) inset; } }

/* Keep the quote form focused and balanced on wide screens. */
#smartbooks-quote-quiz { width: 100%; max-width: none; margin: 0 auto; padding: 64px clamp(18px, 3vw, 42px) 100px; background: radial-gradient(ellipse at 50% 55%, #182c55, #0b1224 70%); }
#smartbooks-quote-quiz .sbq-box { max-width: 1280px; margin-inline: auto; padding: clamp(24px, 2.7vw, 40px); border-radius: 24px; }
#smartbooks-quote-quiz .sbq-top { margin-bottom: 24px; }
#smartbooks-quote-quiz .sbq-tabs { min-width: min(590px, 54vw); }
#smartbooks-quote-quiz .sbq-sale { margin-bottom: 32px; padding: 18px 22px; border-radius: 16px; }
#smartbooks-quote-quiz .sbq-sale p { font-size: clamp(20px, 1.65vw, 28px); max-width: 760px; }
#smartbooks-quote-quiz .sbq-grid { grid-template-columns: minmax(280px, .78fr) minmax(430px, 1.22fr); gap: clamp(36px, 4vw, 62px); }
#smartbooks-quote-quiz h3 { font-size: clamp(42px, 4vw, 60px); }
#smartbooks-quote-quiz .sbq-text { padding-top: 8px; }
#smartbooks-quote-quiz .sbq-form { gap: 13px; }
#smartbooks-quote-quiz label span { min-height: 58px; }
#smartbooks-quote-quiz .sbq-choice.small button { min-height: 52px; }
#smartbooks-quote-quiz .sbq-btn { min-height: 58px; }
@media (max-width: 980px) {
  #smartbooks-quote-quiz .sbq-top { align-items: stretch; flex-direction: column; }
  #smartbooks-quote-quiz .sbq-tabs { min-width: 0; grid-template-columns: repeat(2, 1fr); }
  #smartbooks-quote-quiz .sbq-grid, #smartbooks-quote-quiz .sbq-choice, #smartbooks-quote-quiz .volume, #smartbooks-quote-quiz .dual, #smartbooks-quote-quiz .sbq-next { grid-template-columns: 1fr; }
  #smartbooks-quote-quiz .sbq-one { min-height: auto; }
}
@media (max-width: 620px) {
  #smartbooks-quote-quiz { padding: 0 14px; }
  #smartbooks-quote-quiz .sbq-box { padding: 20px; }
  #smartbooks-quote-quiz .sbq-sale { align-items: flex-start; flex-direction: column; }
  #smartbooks-quote-quiz .sbq-sale p { font-size: 21px; }
  #smartbooks-quote-quiz .sbq-choice.small { grid-template-columns: 1fr 1fr; }
  #smartbooks-quote-quiz .sbq-tabs { grid-template-columns: 1fr; }
  #smartbooks-quote-quiz h3 { font-size: clamp(38px, 10vw, 58px); }
  #smartbooks-quote-quiz strong { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  #smartbooks-quote-quiz *, #smartbooks-quote-quiz *::before { animation: none !important; transition: none !important; }
}
#smartbooks-quote-quiz .sbq-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#smartbooks-quote-quiz .sbq-form > label:has([name="name"]),
#smartbooks-quote-quiz .sbq-form > label:has([name="messenger"]),
#smartbooks-quote-quiz .sbq-form > div,
#smartbooks-quote-quiz .sbq-form > p,
#smartbooks-quote-quiz .sbq-form > button { grid-column: 1 / -1; }
#smartbooks-quote-quiz .sbq-form input { min-width: 0; width: 100%; letter-spacing: .01em; }
@media (max-width: 620px) {
  #smartbooks-quote-quiz .sbq-form { grid-template-columns: 1fr; }
  #smartbooks-quote-quiz .sbq-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  #smartbooks-quote-quiz .sbq-tabs span { min-width: 0; font-size: 10px; }
  #smartbooks-quote-quiz .sbq-sale { padding: 18px; }
}
