/* "Tell us your idea": the multi-step contact form and free-call booking. Pairs with site-cine.css. */

.lead .lead-top { margin-bottom: 1.4rem; }
.lead h2:focus { outline: none; }
.lead .form-intro { margin-bottom: 1.3rem; }

.lead-progress { list-style: none; display: flex; gap: 0.5rem; margin: 0 0 0.7rem; padding: 0; }
.lead-progress li { flex: 1; display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--cn-muted); transition: color 0.3s ease; }
.lead-progress li span { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.8rem; transition: all 0.3s ease; }
.lead-progress li.is-current { color: #fff; }
.lead-progress li.is-current span { border-color: var(--cn-gold); color: var(--cn-gold); box-shadow: 0 0 0 4px rgba(245, 196, 94, 0.15); }
.lead-progress li.is-done { color: var(--cn-gold-soft); }
.lead-progress li.is-done span { background: var(--cn-gold); border-color: var(--cn-gold); color: #1a1204; }
.lead-bar { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.lead-bar i { display: block; height: 100%; width: 33.4%; border-radius: inherit; background: linear-gradient(90deg, var(--cn-gold-soft), var(--cn-gold), var(--cn-gold-deep)); box-shadow: 0 0 18px rgba(245, 196, 94, 0.7); transition: width 0.6s cubic-bezier(.2, .8, .2, 1); }

.lead-step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.lead-step.is-active { display: block; animation: lead-in 0.45s cubic-bezier(.2, .8, .2, 1); }
.lead-step.is-back { animation-name: lead-in-back; }
@keyframes lead-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes lead-in-back { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }

.lead-q { display: block; padding: 0; margin: 0 0 0.3rem; font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.lead .lead-q--sm, .cine .contact-form label.lead-q--sm { font-size: 0.98rem; margin: 1.4rem 0 0.6rem; color: #fff; }
.lead-help { margin: 0 0 1rem; color: var(--cn-muted); font-size: 0.93rem; }
.cine .contact-form label small { font-weight: 400; color: var(--cn-muted); }

.lead-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cine .contact-form .lead-chip { margin: 0; position: relative; cursor: pointer; }
.lead-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lead-chip span { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.62rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #dfe6f3; font-size: 0.92rem; font-weight: 600; transition: all 0.2s ease; user-select: none; }
.lead-chip span b { font-weight: 400; font-size: 1.05rem; line-height: 1; }
.lead-chip:hover span { border-color: rgba(245, 196, 94, 0.5); transform: translateY(-1px); }
.lead-chip input:checked + span { border-color: var(--cn-gold); background: linear-gradient(120deg, rgba(255, 227, 163, 0.2), rgba(245, 196, 94, 0.14)); color: #fff; box-shadow: 0 8px 26px -12px rgba(245, 196, 94, 0.8); }
.lead-chip input:focus-visible + span { outline: 2px solid var(--cn-gold); outline-offset: 2px; }
.lead-chips--sm .lead-chip span { padding: 0.5rem 0.9rem; font-size: 0.86rem; }

.lead-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; min-height: 1.2em; }
.lead-count { font-size: 0.78rem; color: var(--cn-muted); font-variant-numeric: tabular-nums; }
.lead-err { color: #fca5a5; font-size: 0.88rem; margin: 0; }
p.lead-err:empty { display: none; }
p.lead-err { margin: 0.2rem 0 0.6rem; }
.cine .contact-form .is-invalid { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.14); }
.lead-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.cine .contact-form .lead-nav .cbtn { width: auto; margin: 0; }
.lead-back { background: none; border: 0; color: var(--cn-muted); font: inherit; font-weight: 600; cursor: pointer; padding: 0.6rem 0.2rem; }
.lead-back:hover { color: #fff; }
.cbtn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.lead-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 1.1rem; }
.cine .contact-form .lead-mode label, .cine .contact-form .lead-via label { margin: 0; cursor: pointer; position: relative; }
.lead-mode input, .lead-via input { position: absolute; opacity: 0; pointer-events: none; }
.lead-mode span { display: block; padding: 0.9rem 1rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03); transition: all 0.2s ease; }
.lead-mode strong { display: block; color: #fff; font-size: 0.98rem; }
.lead-mode small { color: var(--cn-muted); font-weight: 400; font-size: 0.82rem; }
.lead-mode input:checked + span { border-color: var(--cn-gold); background: rgba(245, 196, 94, 0.08); box-shadow: inset 0 0 0 1px var(--cn-gold); }
.lead-mode input:focus-visible + span, .lead-via input:focus-visible + span { outline: 2px solid var(--cn-gold); outline-offset: 2px; }

.lead-cal[hidden] { display: none; }
.lead-cal { animation: lead-in 0.4s ease; }
.lead-days { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.2rem 0.1rem 0.6rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lead-day { flex: none; scroll-snap-align: start; width: 64px; padding: 0.55rem 0 0.6rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); color: #dfe6f3; font: inherit; text-align: center; cursor: pointer; transition: all 0.2s ease; }
.lead-day small { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cn-muted); }
.lead-day strong { display: block; font-size: 1.3rem; line-height: 1.2; color: #fff; }
.lead-day em { display: block; font-style: normal; font-size: 0.72rem; color: var(--cn-muted); }
.lead-day:hover { border-color: rgba(245, 196, 94, 0.5); }
.lead-day[aria-selected="true"] { border-color: var(--cn-gold); background: linear-gradient(180deg, rgba(255, 227, 163, 0.22), rgba(245, 196, 94, 0.08)); box-shadow: 0 10px 28px -14px rgba(245, 196, 94, 0.9); }
.lead-day[aria-selected="true"] small, .lead-day[aria-selected="true"] em { color: var(--cn-gold-soft); }
.lead-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.45rem; margin-top: 0.4rem; }
.lead-time { padding: 0.6rem 0.3rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); color: #e8edf7; font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.18s ease; animation: lead-pop 0.35s ease both; animation-delay: calc(var(--k, 0) * 18ms); }
@keyframes lead-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lead-time:hover { border-color: rgba(245, 196, 94, 0.6); color: #fff; }
.lead-time[aria-selected="true"] { background: linear-gradient(120deg, var(--cn-gold-soft), var(--cn-gold) 45%, var(--cn-gold-deep)); color: #1a1204; border-color: transparent; box-shadow: 0 10px 26px -10px rgba(245, 196, 94, 0.9); }
.lead-tz { margin: 0.7rem 0 0; font-size: 0.8rem; color: var(--cn-muted); }
.lead-note { padding: 1rem; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.18); color: var(--cn-muted); font-size: 0.9rem; grid-column: 1 / -1; }
.lead-skel { height: 40px; border-radius: 10px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: lead-shim 1.2s linear infinite; }
@keyframes lead-shim { to { background-position: -200% 0; } }
.lead-via { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.lead-via span { display: inline-block; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); color: #dfe6f3; font-size: 0.88rem; font-weight: 600; transition: all 0.2s ease; }
.lead-via input:checked + span { border-color: var(--cn-gold); color: #fff; background: rgba(245, 196, 94, 0.1); }
.lead-phone2 { margin-top: 1rem; }
.lead-phone2[hidden] { display: none; }

/* Success */
.lead-done { position: relative; text-align: center; padding: 0.5rem 0 0.5rem; outline: none; }
.lead-done[hidden] { display: none; }
.lead-done:not([hidden]) { animation: lead-in 0.5s ease; }
.lead-check { width: 76px; height: 76px; margin: 0.4rem auto 1rem; border-radius: 50%; box-shadow: 0 0 34px -6px rgba(245, 196, 94, 0.6); }
.lead-check svg { overflow: visible; width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lead-check circle { stroke: var(--cn-gold); stroke-dasharray: 151; stroke-dashoffset: 151; animation: lead-draw 0.7s ease forwards; }
.lead-check path { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; animation: lead-draw 0.45s 0.55s ease forwards; }
@keyframes lead-draw { to { stroke-dashoffset: 0; } }
.lead-done h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.lead-done > p { color: var(--cn-muted); max-width: 30rem; margin: 0 auto 1.3rem; }
.lead-burst { position: absolute; left: 50%; top: 40px; width: 0; height: 0; pointer-events: none; }
.lead-burst i { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--cn-gold); opacity: 0; animation: lead-confetti 1.3s cubic-bezier(.15, .7, .3, 1) forwards; animation-delay: calc(var(--i) * 12ms); }
.lead-burst i:nth-child(3n) { background: #fff; width: 6px; height: 6px; border-radius: 50%; }
.lead-burst i:nth-child(4n) { background: var(--cn-gold-deep); }
@keyframes lead-confetti {
    0% { opacity: 1; transform: translate(0, 0) rotate(0); }
    100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}
.lead-ticket { position: relative; margin: 0 auto 1.4rem; max-width: 26rem; padding: 1.2rem 1.3rem; border-radius: 18px; border: 1px solid rgba(245, 196, 94, 0.45); background: linear-gradient(135deg, rgba(255, 227, 163, 0.14), rgba(245, 196, 94, 0.04)); }
.lead-ticket[hidden] { display: none; }
.lead-ticket small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cn-gold); font-weight: 700; }
.lead-ticket strong { display: block; color: #fff; font-size: 1.25rem; margin: 0.3rem 0 0.2rem; }
.lead-ticket > span { color: var(--cn-muted); font-size: 0.9rem; }
.lead-ticket-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.9rem; }
.lead-ticket-actions .cbtn { padding: 0.6rem 1rem; font-size: 0.86rem; }
.lead-next { list-style: none; padding: 0; margin: 0 auto 1.2rem; max-width: 26rem; text-align: left; display: grid; gap: 0.2rem; }
.lead-next li { display: flex; gap: 0.8rem; padding: 0.55rem 0; color: var(--cn-muted); font-size: 0.9rem; }
.lead-next li > span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 700; font-size: 0.82rem; color: #fff; }
.lead-next li.is-done > span { background: var(--cn-gold); border-color: var(--cn-gold); color: #1a1204; }
.lead-next strong { display: block; color: #fff; }
.lead-next em { font-style: normal; }
.lead-more { color: var(--cn-gold); font-weight: 600; text-decoration: none; }
.lead-more:hover { text-decoration: underline; }
.lead.is-done .lead-top, .lead.is-done .form-note { display: none; }

@media (max-width: 560px) {
    .lead-progress li { font-size: 0; gap: 0; justify-content: center; }
    .lead-progress li.is-current { font-size: 0.8rem; gap: 0.4rem; }
    .lead-mode { grid-template-columns: 1fr; }
    .lead-nav { flex-direction: row-reverse; }
    .cine .contact-form .lead-nav .cbtn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .lead-step.is-active, .lead-done:not([hidden]), .lead-time, .lead-cal { animation: none; }
    .lead-burst { display: none; }
    .lead-check circle, .lead-check path { animation: none; stroke-dashoffset: 0; }
}

/* Fit on phones: let the day strip scroll instead of widening the page. */
.contact-stage > * { min-width: 0; }
.lead { scroll-margin-top: 90px; }
.cine .lead .lead-next em { font-style: normal; background: none; -webkit-text-fill-color: currentColor; color: var(--cn-muted); text-shadow: none; filter: none; }

