/* Rychlý poptávkový formulář (11/2026): section.lf-wrap#poptavka > .lf-card > .lf-intro + form.lf-form.
   Mobil je výchozí (jeden sloupec), od 640 px pole vedle sebe, od 960 px úvod vlevo a formulář vpravo.
   Barvy: navy #152b70 / #101e52, levandulová #8691fa, sklo jako karty .h3-card. Nezávisí na home-360.css ani Tailwindu. */

.lf-wrap {
  --lf-ink: #1e1b2e; --lf-muted: #4f5b6e; --lf-navy: #152b70; --lf-navy-2: #101e52; --lf-lav: #8691fa;
  --lf-line: rgba(21, 43, 112, .16); --lf-err: #b42318;
  padding: 52px 16px; scroll-margin-top: 76px; color: var(--lf-ink);
}
.lf-wrap *, .lf-wrap *::before, .lf-wrap *::after { box-sizing: border-box; }

.lf-card {
  position: relative; max-width: 1100px; margin: 0 auto; display: grid; gap: 26px;
  padding: 26px 18px; border-radius: 30px; overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, .78) 0%, rgba(244, 245, 255, .66) 55%, rgba(232, 235, 255, .6) 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -34px rgba(21, 43, 112, .45), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* ---------- úvod ---------- */
.lf-intro { padding: 4px 4px 0; }
.lf-eyebrow {
  display: inline-block; margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #3d47b0;
}
.lf-h2 {
  margin: 0; font-size: clamp(28px, 6vw, 42px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; text-wrap: balance;
  color: var(--lf-ink);
}
.lf-lead { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--lf-muted); text-wrap: pretty; }
.lf-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.lf-points li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--lf-ink); }
.lf-points li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, #8691fa, #152b70);
}
.lf-points a { color: var(--lf-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.lf-points li::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- formulář ---------- */
.lf-form { display: grid; gap: 14px; margin: 0; }
.lf-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lf-field { display: flex; flex-direction: column; gap: 7px; margin: 0; min-width: 0; }
.lf-field > span:first-child { font-size: 14px; font-weight: 700; color: var(--lf-navy); }
.lf-field em { font-style: normal; font-weight: 500; color: var(--lf-muted); }
.lf-field input, .lf-field select, .lf-field textarea {
  width: 100%; min-height: 52px; margin: 0; padding: 13px 16px;
  font: inherit; font-size: 16px; line-height: 1.4; color: var(--lf-ink);
  background: rgba(255, 255, 255, .9); border: 1.5px solid var(--lf-line); border-radius: 16px;
  box-shadow: inset 0 1px 2px rgba(21, 43, 112, .05);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  -webkit-appearance: none; appearance: none;
}
.lf-field textarea { min-height: 104px; resize: vertical; }
.lf-field select {
  padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152b70' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.lf-field input:hover, .lf-field select:hover, .lf-field textarea:hover { border-color: rgba(21, 43, 112, .3); }
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus {
  outline: none; border-color: var(--lf-lav); background-color: #fff; box-shadow: 0 0 0 4px rgba(134, 145, 250, .25);
}
.lf-field [aria-invalid="true"] { border-color: var(--lf-err); background-color: #fff8f7; }
.lf-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .16); }
.lf-err { display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--lf-err); }
.lf-err::before { content: "!"; flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--lf-err); }

.lf-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 56px; margin-top: 4px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: #fff;
  background: linear-gradient(135deg, #8691fa 0%, #152b70 100%);
  box-shadow: 0 16px 34px -14px rgba(21, 43, 112, .6);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.lf-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(21, 43, 112, .7); }
.lf-btn:focus-visible { outline: 3px solid var(--lf-lav); outline-offset: 3px; }
.lf-btn[disabled] { cursor: progress; opacity: .75; transform: none; }
.lf-form.is-sending .lf-btn::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: lf-spin .8s linear infinite;
}
.lf-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--lf-muted); text-align: center; }
.lf-status { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--lf-navy); }
.lf-status:empty { display: none; }
.lf-form.is-error .lf-status {
  padding: 12px 16px; border-radius: 14px; color: var(--lf-err); background: #fff1f0; border: 1px solid rgba(180, 35, 24, .2);
}

/* ---------- odesláno ---------- */
.lf-form.is-sent > :not(.lf-done):not(.lf-status) { display: none; }
.lf-form.is-sent .lf-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lf-done {
  display: grid; justify-items: center; gap: 6px; padding: 36px 18px; border-radius: 22px; text-align: center;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(134, 145, 250, .35); outline: none;
}
.lf-done::before {
  content: ""; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 50%;
  background: linear-gradient(135deg, #8691fa, #152b70) center / cover;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 7-7 1.8 1.8-8.8 8.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17.2-5-5 1.8-1.8 3.2 3.2 7-7 1.8 1.8-8.8 8.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lf-done__title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--lf-navy-2); }
.lf-done__text { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--lf-muted); }

/* ---------- tablet a desktop ---------- */
@media (min-width: 640px) {
  .lf-wrap { padding: 72px 24px; }
  .lf-card { padding: 36px; }
  .lf-form { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .lf-field--full, .lf-btn, .lf-note, .lf-status, .lf-done { grid-column: 1 / -1; }
  .lf-btn { width: auto; justify-self: start; }
  .lf-note { text-align: left; }
}
@media (min-width: 960px) {
  .lf-wrap { padding: 96px 40px; scroll-margin-top: 88px; }
  .lf-card { grid-template-columns: 5fr 7fr; gap: 56px; padding: 52px; align-items: start; }
  .lf-intro { position: sticky; top: 100px; padding-top: 8px; }
}

@keyframes lf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .lf-btn, .lf-field input, .lf-field select, .lf-field textarea { transition: none; }
  .lf-form.is-sending .lf-btn::after { animation-duration: 2s; }
}
