/* SOLAREN /demo landing page (paid-ads traffic). Loaded only by demo.html, on
   top of site.css. Logo-only header, a step-by-step quiz in the hero that ends
   in the booking calendar, and a short trust area below. */

/* header: logo + one button, no site navigation */
.lp-header .header-actions { margin-left: auto; }
.lp-header .brand { cursor: default; }

/* hero: the quiz lives here, above the fold */
.lp-hero { min-height: min(100svh, 860px); align-items: flex-start; padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px)); padding-bottom: clamp(120px, 16vh, 170px); }
.qz-stage { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.qz-intro .hero-title { max-width: 16ch; margin-top: 0; }
.qz-intro .lead { max-width: 540px; color: #dbe3ec; }
.qz-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 34px; }
.qz-start { min-height: 62px; padding: 0 34px; font-size: 17.5px; }
.qz-trust { font-size: 13.5px; color: var(--muted); }
.qz-trust .ico { display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; color: var(--gold-2); }
/* the header button is redundant while the quiz is open */
.qz-open .lp-header .header-actions { visibility: hidden; }
.btn .ico-up { transform: rotate(-90deg); }
.btn-gold:hover .ico-up { transform: rotate(-90deg) translateX(3px); }

/* the quiz card */
.qz {
  width: 100%; max-width: 600px;
  padding: clamp(20px, 3vw, 34px); border-radius: 30px; border: 1px solid var(--line-gold);
  background: radial-gradient(120% 80% at 100% 0%, rgba(232, 188, 106, .14), transparent 55%), linear-gradient(180deg, rgba(23, 50, 79, .97) 0%, rgba(14, 34, 55, .97) 100%);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.js .qz:not(.is-live) { display: none; }
.qz.is-wide { max-width: 1000px; }
.qz-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; margin-bottom: 22px; }
.qz-back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px 0 6px; margin-left: -6px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.qz-back:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.qz-back .ico { width: 18px; height: 18px; color: var(--gold-2); }
.qz-count { justify-self: end; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-3); }
.qz-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(176, 204, 230, .14); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 20%; border-radius: 6px; background: var(--gold-grad); transition: width .35s var(--ease); }

.qz-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.qz-step.is-in { animation: qzIn .28s var(--ease) both; }
@keyframes qzIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.qz-q { display: block; width: 100%; padding: 0; margin: 0 0 18px; font: 400 clamp(26px, 3vw, 34px)/1.15 var(--serif); color: #fbf8f1; text-wrap: balance; }
.qz-q:focus { outline: none; }
.qz-q:focus-visible { outline: 2px solid var(--gold-3); outline-offset: 4px; }
.qz-opts { display: grid; gap: 10px; }
.qz-opt { position: relative; display: block; cursor: pointer; }
.qz-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.qz-opt span {
  display: flex; align-items: center; min-height: 60px; padding: 12px 20px; border-radius: 18px;
  font-size: 17px; font-weight: 500; color: var(--text); line-height: 1.3;
  border: 1px solid var(--line-2); background: rgba(7, 16, 28, .45);
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.qz-opt span::after { content: ""; margin-left: auto; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line-gold); transition: background .15s, border-color .15s; }
.qz-opt:hover span { border-color: var(--line-gold); background: rgba(232, 188, 106, .08); }
.qz-opt input:checked + span { color: #1b1206; font-weight: 600; border-color: transparent; background: var(--gold-grad); box-shadow: 0 10px 26px -12px rgba(232, 176, 90, .8); }
.qz-opt input:checked + span::after { border-color: #1b1206; background: radial-gradient(circle, #1b1206 0 5px, transparent 5.5px); }
.qz-opt input:focus-visible + span { outline: 2px solid var(--gold-3); outline-offset: 3px; }
.qz-next { margin-top: 16px; min-width: 140px; }
.qz-hint { display: block; margin-top: 6px; font: 500 14.5px/1.4 var(--sans); color: var(--dim); }
.qz-multi .qz-opt span::after { border-radius: 7px; }
.qz-multi .qz-opt input:checked + span::after { background: #1b1206 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23f7dca2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.qz-all span { border-style: dashed; }
.qz-continue { margin-top: 16px; }
.qz-continue:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.no-js .qz-all { display: none; }

.qz-fields { display: grid; gap: 14px; }
.qz-field { display: flex; flex-direction: column; gap: 6px; }
.qz-field label { font-size: 15px; font-weight: 600; color: var(--text); }
.qz-field input {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 14px;
  font: 400 17px/1.3 var(--sans); color: var(--text);
  border: 1px solid var(--line-2); background: rgba(7, 16, 28, .55);
  transition: border-color .15s, box-shadow .15s;
}
.qz-field input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(232, 188, 106, .25); }
.qz-submit { margin-top: 20px; white-space: normal; text-align: center; }
.qz-small { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--dim); }

/* booking step */
.cal-frame { border-radius: 18px; overflow: hidden; background: #fff; }
.cal-frame iframe { display: block; width: 100%; height: 700px; border: 0; background: #fff; }
.cal-alt { margin-top: 12px; font-size: 14px; color: var(--dim); text-align: center; }
.cal-alt a, .qz-call a { color: var(--gold-3); border-bottom: 1px solid rgba(247, 220, 162, .35); }
.qz-call { margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-gold); font-size: 15px; color: var(--muted); text-align: center; }

/* thank-you step */
.qz-done-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; color: #1b1206; background: var(--gold-grad); box-shadow: 0 0 0 8px rgba(247, 220, 162, .12), 0 0 40px rgba(240, 180, 100, .45); }
.qz-done-ico .ico { width: 30px; height: 30px; }
.qz-done-lead { color: var(--muted); font-size: 16.5px; }
.qz-done .ticks { margin-top: 16px; }

/* without JavaScript: the whole quiz is one plain form */
.no-js .qz-step + .qz-step { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.no-js .qz-intro { margin-bottom: 30px; }

/* sections below the fold: short and tight */
.lp-section { padding: clamp(56px, 6vw, 88px) 0; }
.lp-section .section-head { margin-bottom: clamp(28px, 3.4vw, 44px); }

/* what you get */
.lp-gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.lp-get {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 32px); border-radius: 26px;
  border: 1px solid var(--line-2); background: var(--surface);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.lp-get:nth-child(1) { border-color: var(--line-gold); background: radial-gradient(120% 70% at 100% 0%, rgba(232, 188, 106, .16), transparent 55%), var(--surface); }
.lp-get-ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #1b1206; background: var(--gold-grad); }
.lp-get-ico .ico { width: 24px; height: 24px; }
.lp-get h3 { font: 400 clamp(23px, 2.1vw, 27px)/1.18 var(--serif); color: #fbf8f1; }
.lp-get p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

/* founder / local trust */
.lp-founder-section { padding: clamp(48px, 6vw, 80px) 0; }
.lp-founder {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); max-width: 860px; margin: 0 auto;
  padding: clamp(24px, 3.4vw, 40px); border-radius: 30px; border: 1px solid var(--line-gold);
  background: radial-gradient(120% 90% at 0% 0%, rgba(232, 188, 106, .16), transparent 55%), var(--surface);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.lp-founder-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line-gold), 0 0 0 6px rgba(232, 188, 106, .1); }
.lp-founder-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lp-founder-title { font: 400 clamp(28px, 3.2vw, 40px)/1.12 var(--serif); color: #fbf8f1; text-wrap: balance; }
.lp-founder-copy p { color: var(--muted); font-size: 17px; }
.lp-founder-copy .eyebrow { font-size: 12px; color: var(--gold-2); }
.lp-founder-mail { font-size: 15px !important; color: var(--dim) !important; }
.lp-founder-mail a { color: var(--gold-3); border-bottom: 1px solid rgba(247, 220, 162, .35); }

/* mini FAQ */
.lp-faq-wrap { max-width: 820px; }

/* closing CTA */
.lp-again { padding: clamp(56px, 7vw, 88px) 0; background: var(--night); }
.lp-again-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.lp-again p { font: 400 clamp(24px, 2.6vw, 32px)/1.2 var(--serif); color: #fbf8f1; }

/* footer: logo, tagline, legal links */
.lp-footer { padding-top: 48px; }
.lp-footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.lp-footer .footer-tag { margin-top: 14px; }
.lp-measure { margin-top: 14px; max-width: 560px; font-size: 13.5px; color: var(--dim); line-height: 1.55; }
.lp-measure a { color: var(--gold-3); border-bottom: 1px solid rgba(247, 220, 162, .35); }
.lp-footer .footer-base { margin-top: 32px; }

/* clip, not hidden: an overflow:hidden box can still be scrolled by the browser
   (anchor jumps, focus, scroll restore), which slides content out of place. */
@supports (overflow: clip) { .lp-hero { overflow: clip; } }

@media (max-width: 980px) {
  .lp-hero { min-height: min(100svh, 900px); }
  .qz-stage { align-items: center; }
  .qz-intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .qz-intro .lead { margin: 0 auto; }
  .qz-cta { align-items: center; }
  .lp-gets { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .lp-get { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; }
  .lp-get-ico { grid-row: span 2; }
}
@media (max-width: 760px) {
  .lp-hero { --sun: 400px; --hz: 52px; padding-top: calc(var(--header-h) + 30px); padding-bottom: 150px; }
  .qz-intro .hero-title { font-size: clamp(40px, 11vw, 54px); }
  .qz-cta { width: 100%; max-width: 380px; margin-top: 28px; }
  .qz-start { width: 100%; padding: 0 20px; font-size: 17px; }
  .qz-trust { font-size: 12.5px; text-align: center; }
  .qz { padding: 18px 16px 20px; border-radius: 24px; }
  .qz-q { font-size: 26px; margin-bottom: 16px; }
  .qz-opt span { min-height: 58px; font-size: 16.5px; padding: 12px 16px; }
  .cal-frame { margin: 0 -8px; border-radius: 14px; }
  .cal-frame iframe { height: 1000px; }
  .lp-get { padding: 18px 16px; border-radius: 22px; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .lp-get-ico { width: 44px; height: 44px; border-radius: 14px; }
  .lp-get-ico .ico { width: 21px; height: 21px; }
  .lp-get h3 { font-size: 21px; }
  .lp-get p { font-size: 14.5px; }
  .lp-founder { flex-direction: column; align-items: flex-start; border-radius: 24px; padding: 22px 18px; }
  .lp-founder-photo { width: 96px; height: 96px; }
  .lp-founder-copy p { font-size: 16px; }
  .lp-again .btn { width: 100%; max-width: 380px; padding: 0 18px; }
  /* compact dashboard preview on phones: figures and latest leads only */
  .page-demo .dash-grid .dpanel + .dpanel { display: none; }
}
.no-js .qz-continue { display: none; }
