/* ================= Widget motion (enter / exit) ================= */
.lc-in-summon { animation: lc-summon .75s cubic-bezier(.2, .9, .2, 1.1) both; }
.lc-in-fade { animation: lc-fade .6s ease both; }
.lc-in-slide-left { animation: lc-from-left .7s cubic-bezier(.2, .8, .2, 1) both; }
.lc-in-slide-right { animation: lc-from-right .7s cubic-bezier(.2, .8, .2, 1) both; }
.lc-in-slide-up { animation: lc-from-below .7s cubic-bezier(.2, .8, .2, 1) both; }
.lc-in-slide-down { animation: lc-from-above .7s cubic-bezier(.2, .8, .2, 1) both; }
.lc-in-zoom { animation: lc-zoom-in .6s cubic-bezier(.2, .9, .3, 1.2) both; }
.lc-in-flip { animation: lc-flip-in .8s ease both; transform-origin: center top; }
.lc-in-none { animation: none; }
.lc-leaving { pointer-events: none !important; animation-delay: 0ms !important; }
.lc-out-fade { animation: lc-fade-out .5s ease forwards; }
.lc-out-slide-left { animation: lc-to-left .55s ease-in forwards; }
.lc-out-slide-right { animation: lc-to-right .55s ease-in forwards; }
.lc-out-slide-up { animation: lc-to-above .55s ease-in forwards; }
.lc-out-slide-down { animation: lc-to-below .55s ease-in forwards; }
.lc-out-zoom { animation: lc-zoom-out .5s ease-in forwards; }
@keyframes lc-from-left { from { opacity: 0; transform: translateX(-700px); } to { opacity: 1; transform: none; } }
@keyframes lc-from-right { from { opacity: 0; transform: translateX(700px); } to { opacity: 1; transform: none; } }
@keyframes lc-from-below { from { opacity: 0; transform: translateY(500px); } to { opacity: 1; transform: none; } }
@keyframes lc-from-above { from { opacity: 0; transform: translateY(-500px); } to { opacity: 1; transform: none; } }
@keyframes lc-zoom-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes lc-flip-in { from { opacity: 0; transform: perspective(1200px) rotateX(-80deg); } to { opacity: 1; transform: none; } }
@keyframes lc-fade-out { to { opacity: 0; transform: translateY(20px); } }
@keyframes lc-to-left { to { opacity: 0; transform: translateX(-800px); } }
@keyframes lc-to-right { to { opacity: 0; transform: translateX(800px); } }
@keyframes lc-to-above { to { opacity: 0; transform: translateY(-600px); } }
@keyframes lc-to-below { to { opacity: 0; transform: translateY(600px); } }
@keyframes lc-zoom-out { to { opacity: 0; transform: scale(.5); filter: blur(6px); } }

/* Big panels dim the character video behind them */
#overlay-root::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,12,.55), rgba(10,10,12,.85)); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
#overlay-root.lc-backdrop::before { opacity: 1; }

/* ================= Tones & big sizes ================= */
.lc-tone-gold { background: linear-gradient(145deg, rgba(245,224,163,.30), rgba(184,147,50,.28)); border-color: var(--gold-light); }
.lc-tone-red { background: linear-gradient(145deg, rgba(163,29,29,.72), rgba(104,14,14,.62)); }
.lc-tone-dark { background: rgba(18,19,21,.82); border-color: rgba(232,200,114,.35); }
.lc-size-xl, .lc-size-full, .lc-size-wide { padding: 40px 48px 32px; border-radius: 36px; }
.lc-size-xl .lc-w-title, .lc-size-full .lc-w-title { font-size: 44px; }
.lc-size-full { overflow: hidden; display: flex; flex-direction: column; }
.lc-size-full .lc-w-table { font-size: 32px; }
.lc-size-full .lc-w-table td { padding: 16px 6px; }

/* ================= Bar chart ================= */
.lc-w-bars { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.lc-w-bar { display: grid; grid-template-columns: minmax(110px, 32%) 1fr auto; gap: 14px; align-items: center; font-size: 22px; }
.lc-w-bar-label { color: rgba(253,251,247,.85); font-weight: 600; }
.lc-w-bar-track { height: 22px; background: rgba(253,251,247,.08); border-radius: 11px; overflow: hidden; }
.lc-w-bar-fill { height: 100%; border-radius: 11px; background: linear-gradient(90deg, var(--brand), var(--gold)); transform-origin: left; animation: lc-grow 1s cubic-bezier(.2,.8,.2,1) both; }
.lc-w-bar b { color: var(--gold-light); font-size: 22px; min-width: 80px; text-align: right; }
.lc-size-xl .lc-w-bar, .lc-size-full .lc-w-bar { font-size: 30px; } .lc-size-xl .lc-w-bar-track { height: 30px; } .lc-size-xl .lc-w-bars { gap: 26px; margin-top: 20px; }
@keyframes lc-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ================= List ================= */
.lc-w-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lc-w-list li { display: flex; gap: 16px; align-items: flex-start; animation: lc-from-right .6s ease both; }
.lc-w-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: var(--charcoal);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); }
.lc-w-list b { display: block; font-size: 25px; }
.lc-w-list small { display: block; font-size: 19px; color: rgba(253,251,247,.72); margin-top: 3px; }

/* ================= Metrics grid ================= */
.lc-w-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lc-w-metrics.n1 { grid-template-columns: 1fr; }
.lc-w-metrics.n3 { grid-template-columns: repeat(3, 1fr); }
.lc-w-metric { background: rgba(253,251,247,.06); border: 1px solid rgba(232,200,114,.2); border-radius: 18px; padding: 14px 16px; }
.lc-w-metric small { display: block; font-size: 18px; color: rgba(253,251,247,.75); }
.lc-w-metric b { display: block; font-size: 36px; font-weight: 800; color: var(--gold-light); margin-top: 4px; }
.lc-w-delta { font-size: 18px; font-weight: 700; }
.lc-w-delta.up { color: #7ee2a8; } .lc-w-delta.down { color: #ff9c8f; }

/* ================= Gauge ================= */
.lc-w-gauge-wrap { position: relative; width: 220px; height: 220px; margin: 4px auto; }
.lc-w-gauge { width: 100%; height: 100%; }
.lc-w-gauge-bg { fill: none; stroke: rgba(253,251,247,.1); stroke-width: 16; }
.lc-w-gauge-arc { fill: none; stroke: var(--gold); stroke-width: 16; stroke-linecap: round; animation: lc-arc 1.4s ease both; }
@keyframes lc-arc { from { stroke-dasharray: 0 440; } }
.lc-w-gauge-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lc-w-gauge-num b { font-size: 46px; color: var(--gold-light); }
.lc-w-gauge-num span { font-size: 18px; color: rgba(253,251,247,.75); }
.lc-gauge .lc-w-label { text-align: center; }

/* ================= Countdown ================= */
.lc-w-count { display: flex; gap: 12px; justify-content: space-between; }
.lc-w-count div { flex: 1; text-align: center; background: rgba(253,251,247,.06); border-radius: 16px; padding: 10px 4px; }
.lc-w-count b { display: block; font-size: 52px; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.lc-w-count small { font-size: 16px; color: rgba(253,251,247,.7); text-transform: uppercase; letter-spacing: .08em; }
.lc-countdown.lc-done .lc-w-count b { color: #7ee2a8; }

/* ================= Product card ================= */
.lc-w-product-media { position: relative; height: 200px; border-radius: 20px; overflow: hidden; margin: -6px -8px 14px;
  background: radial-gradient(circle at 50% 40%, rgba(245,224,163,.35), rgba(104,14,14,.4)); display: grid; place-items: center; }
.lc-w-product-img { width: 100%; height: 100%; object-fit: cover; }
.lc-w-product-glyph { font-size: 110px; color: var(--gold-light); text-shadow: 0 0 40px rgba(232,200,114,.6); }
.lc-size-l .lc-w-product-media, .lc-size-xl .lc-w-product-media { height: 300px; }
.lc-w-badge { display: inline-block; background: var(--brand); color: var(--warm-white); border: 1px solid var(--gold); border-radius: 999px; padding: 6px 16px; font-size: 18px; font-weight: 700; }
.lc-w-product-media .lc-w-badge { position: absolute; top: 14px; left: 14px; }
.lc-w-price { margin-top: 10px; display: flex; gap: 14px; align-items: baseline; }
.lc-w-price b { font-size: 40px; color: var(--gold-light); font-weight: 800; }
.lc-w-price s { font-size: 22px; color: rgba(253,251,247,.55); }

/* ================= Hero banner ================= */
.lc-hero { padding: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.lc-w-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.lc-w-hero-body { position: relative; padding: 48px 52px; background: linear-gradient(0deg, rgba(18,19,21,.85), rgba(18,19,21,0)); }
.lc-hero:not(:has(img)) .lc-w-hero-body { background: none; }
.lc-w-kicker { font-size: 22px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.lc-w-hero-title { font-family: 'Playfair Display', serif; font-size: 72px; line-height: 1.08; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lc-size-m .lc-w-hero-title, .lc-size-s .lc-w-hero-title { font-size: 44px; }
.lc-w-hero-text { font-size: 28px; line-height: 1.45; margin: 18px 0; color: rgba(253,251,247,.9); }
.lc-size-full.lc-hero { justify-content: center; text-align: center; }

/* ================= Lead form (touch keypad) ================= */
.lead-overlay { position: absolute; inset: 0; z-index: 40; background: rgba(10,10,12,.72); display: flex; align-items: center; justify-content: center; }
.lead-card { width: 760px; background: linear-gradient(160deg, rgba(40,20,20,.96), rgba(20,20,24,.96)); border: 1.5px solid var(--gold); border-radius: 36px; padding: 44px 48px; color: var(--warm-white); font-family: 'Montserrat', sans-serif; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: lc-zoom-in .4s ease both; }
.lead-title { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 800; color: var(--gold-light); text-align: center; }
.lead-note { font-size: 24px; text-align: center; color: rgba(253,251,247,.8); margin: 12px 0 24px; }
.lead-salutes { display: flex; gap: 16px; justify-content: center; margin-bottom: 18px; }
.lead-salute { font-size: 26px; padding: 12px 40px; border-radius: 999px; border: 1px solid var(--gold-dark); background: transparent; color: var(--warm-white); }
.lead-salute.on { background: var(--gold); color: var(--charcoal); }
.lead-phone { font-size: 56px; font-weight: 800; letter-spacing: 4px; text-align: center; padding: 18px; border-radius: 20px; background: rgba(253,251,247,.08); color: var(--gold-light); font-variant-numeric: tabular-nums; }
.lead-phone.empty { color: rgba(253,251,247,.35); font-size: 36px; letter-spacing: 0; }
.lead-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.lead-key { font-size: 44px; font-weight: 700; height: 96px; border-radius: 22px; border: 1px solid rgba(232,200,114,.35); background: rgba(253,251,247,.06); color: var(--warm-white); }
.lead-key:active { background: rgba(232,200,114,.3); }
.lead-consent { display: flex; gap: 14px; align-items: flex-start; font-size: 21px; line-height: 1.4; color: rgba(253,251,247,.85); }
.lead-consent input { width: 36px; height: 36px; flex: none; accent-color: #E8C872; }
.lead-msg { min-height: 30px; margin-top: 12px; text-align: center; font-size: 22px; color: #ffb4a2; }
.lead-actions { display: flex; gap: 16px; margin-top: 10px; }
.lead-actions button { flex: 1; font-size: 30px; font-weight: 700; height: 84px; border-radius: 42px; border: none; }
.lead-cancel { background: rgba(253,251,247,.1); color: var(--warm-white); }
.lead-send { background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark)); color: var(--charcoal); }
.lead-send:disabled { opacity: .4; }
