/* ===== DBN conversion layer: floating LINE, cost estimator, "time to see a specialist?" quiz ===== */

/* 1 · Floating LINE button */
.fline { position:fixed; right:24px; bottom:24px; z-index:55; display:flex; align-items:center; gap:10px; padding:12px 18px 12px 14px; border-radius:40px;
  background:#06c755; color:#fff; font-size:14px; font-weight:500; box-shadow:0 10px 28px rgba(6,199,85,.35);
  opacity:0; transform:translateY(18px); pointer-events:none; transition:opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.fline.show { opacity:1; transform:none; pointer-events:auto; }
.fline:hover { box-shadow:0 14px 34px rgba(6,199,85,.45); transform:translateY(-2px); }
.fline svg { width:22px; height:22px; flex:none; }
.fline small { display:block; font-size:11px; font-weight:400; opacity:.9; }
.fline b { font-weight:500; display:block; line-height:1.2; }
.fline::before { content:""; position:absolute; inset:0; border-radius:40px; box-shadow:0 0 0 0 rgba(6,199,85,.45); animation:flPulse 2.8s ease-out 1.5s 3; }
@keyframes flPulse { to { box-shadow:0 0 0 14px rgba(6,199,85,0); } }
.totop { bottom:96px !important; }
@media (max-width:600px) { .fline { right:14px; bottom:14px; padding:11px 14px 11px 12px; } .fline small { display:none; } .totop { bottom:78px !important; right:16px !important; } }
@media (prefers-reduced-motion: reduce) { .fline::before { animation:none; } }

/* shared section shell for estimator & quiz */
.cv-sec { padding:110px 64px 110px 246px; border-top:1px solid #ececf0; position:relative; }
.cv-sec .eyebrow { margin-top:0; }
.cv-h { font-weight:500; font-size:clamp(32px,3vw,46px); line-height:1.12; letter-spacing:-.02em; margin-top:22px; }
.cv-sub { font-size:17px; line-height:1.7; color:#555; margin-top:18px; max-width:620px; }
.cv-card { margin-top:40px; border:1px solid #ececf0; border-radius:28px; background:#fff; overflow:hidden; display:grid; grid-template-columns:1.15fr .85fr; }
.cv-left { padding:36px 40px; } .cv-right { padding:36px 40px; background:linear-gradient(150deg,#f6f1ff,#fdf7fb); display:flex; flex-direction:column; justify-content:center; gap:10px; }
.cv-label { font-size:12px; font-weight:600; letter-spacing:.1em; color:#888; text-transform:uppercase; margin:22px 0 12px; } .cv-label:first-child { margin-top:0; }
.chipset { display:flex; flex-wrap:wrap; gap:8px; }
.chipset button { padding:11px 18px; min-height:42px; border-radius:40px; border:1.5px solid #e2e2ea; font-size:14px; color:#333; background:#fff; transition:.2s; }
.chipset button:hover { border-color:#111; } .chipset button.on { background:#111; color:#fff; border-color:#111; }
.cv-row { display:flex; align-items:center; gap:14px; margin-top:6px; } .cv-row input[type=range] { flex:1; accent-color:#7c3aed; } .cv-row output { min-width:74px; font-weight:500; }
.cv-check { display:flex; align-items:center; gap:10px; font-size:15px; margin-top:8px; cursor:pointer; } .cv-check input { width:18px; height:18px; accent-color:#7c3aed; }
.cv-total small { font-size:12px; font-weight:600; letter-spacing:.1em; color:#888; }
.cv-total b { display:block; font-size:clamp(30px,2.6vw,40px); font-weight:500; letter-spacing:-.02em; margin-top:6px; }
.cv-total i { display:block; font-style:normal; color:#7c3aed; font-size:15px; margin-top:4px; }
.cv-lines { font-size:13.5px; color:#666; line-height:1.7; margin-top:10px; border-top:1px dashed #e2dcef; padding-top:12px; }
.cv-note { font-size:12.5px; color:#888; line-height:1.6; }
.cv-cta { display:inline-flex; align-items:center; gap:10px; align-self:flex-start; margin-top:14px; padding:14px 24px; border-radius:40px; background:#06c755; color:#fff; font-size:14.5px; font-weight:500; transition:transform .25s, box-shadow .25s; }
.cv-cta:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(6,199,85,.3); } .cv-cta svg { width:18px; height:18px; }
.cv-cta.ghost { background:#fff; color:#111; border:1.5px solid #111; } .cv-cta.ghost:hover { box-shadow:none; background:#111; color:#fff; }

/* quiz */
.qz-step { display:none; animation:qzIn .4s ease; } .qz-step.on { display:block; }
@keyframes qzIn { from { opacity:0; transform:translateY(8px); } }
.qz-q { font-size:clamp(20px,1.8vw,26px); font-weight:500; letter-spacing:-.01em; line-height:1.25; }
.qz-prog { display:flex; gap:6px; margin-bottom:22px; } .qz-prog i { height:4px; flex:1; border-radius:4px; background:#ece8f6; transition:background .3s; } .qz-prog i.on { background:#7c3aed; }
.qz-nav { display:flex; gap:10px; margin-top:26px; }
.qz-nav button { padding:12px 22px; min-height:44px; border-radius:40px; border:1.5px solid #111; font-size:14px; font-weight:500; }
.qz-nav .next { background:#111; color:#fff; } .qz-nav button:disabled { opacity:.3; pointer-events:none; }
.qz-res h3 { font-size:clamp(22px,2vw,30px); font-weight:500; letter-spacing:-.01em; line-height:1.2; }
.qz-res p { color:#555; line-height:1.7; margin-top:10px; font-size:15.5px; }
.qz-badge { display:inline-block; padding:6px 12px; border-radius:30px; font-size:12px; font-weight:600; letter-spacing:.06em; margin-bottom:14px; }
.qz-badge.now { background:#f3e8ff; color:#7c3aed; } .qz-badge.soon { background:#e8f5ee; color:#059669; } .qz-badge.later { background:#eef2ff; color:#4f46e5; }
.qz-disc { font-size:12px; color:#999; margin-top:18px; line-height:1.5; }

/* booking fields in the contact form */
.ct-row2 { display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
.fl input[type=date] { min-height:44px; }

@media (max-width:1200px) { .cv-sec { padding-left:40px; padding-right:40px; } }
@media (max-width:900px) { .cv-card { grid-template-columns:1fr; } .cv-sec { padding:80px 40px; } }
@media (max-width:600px) { .cv-sec { padding:64px 16px; } .cv-left, .cv-right { padding:24px 20px; } .cv-card { border-radius:22px; } .ct-row2 { grid-template-columns:1fr; } }
