/* Formularze */
.sp-form .screen-reader-text, .sp-consent-dialog .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.sp-form { margin-top: 30px; }
.sp-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sp-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.sp-form label { display: block; }
.sp-form label > span:first-child { display: block; margin-bottom: 7px; color: #102331; font-size: 12px; font-weight: 750; }
.sp-form label > span small { color: #5e6e77; font-weight: 500; }
.sp-form input[type="text"], .sp-form input[type="email"], .sp-form select, .sp-form textarea {
	width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(16,35,49,.2); border-radius: 10px; background: #fff; color: #102331; outline: 0; transition: border-color .25s, box-shadow .25s;
}
.sp-form textarea { min-height: 150px; resize: vertical; }
.sp-form input:focus, .sp-form select:focus, .sp-form textarea:focus { border-color: #276f91; box-shadow: 0 0 0 4px rgba(39,111,145,.12); }
.sp-form__full { grid-column: 1 / -1; }
.sp-field-help { display: block; margin-top: 6px; color: #5e6e77; font-size: 11px; }
.sp-checkbox { display: grid !important; grid-template-columns: 19px 1fr; gap: 10px; margin-top: 20px; align-items: start; cursor: pointer; }
.sp-checkbox input { width: 17px; height: 17px; margin-top: 3px; accent-color: #061b2d; }
.sp-checkbox > span { margin: 0 !important; color: #5e6e77 !important; font-size: 11px !important; font-weight: 500 !important; line-height: 1.55; }
.sp-checkbox a { color: #276f91; }
.sp-form__submit { display: flex; align-items: center; gap: 16px; margin-top: 25px; }
.sp-form__submit > span { color: #5e6e77; font-size: 11px; }
.sp-form-notice { margin: 20px 0; padding: 13px 16px; border-radius: 10px; font-size: 13px; font-weight: 650; }
.sp-form-notice--success { background: #e5f5ed; color: #155b3a; }
.sp-form-notice--error { background: #ffebe7; color: #8b2c1c; }
.sp-launch-form { margin-top: 0; }
.sp-launch-form__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.sp-launch-form__row input[type="email"] { min-height: 54px; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.sp-launch-form__row input[type="email"]::placeholder { color: rgba(255,255,255,.48); }
.sp-launch-form__row input[type="email"]:focus { border-color: #f4aa24; box-shadow: 0 0 0 4px rgba(244,170,36,.12); }
.sp-checkbox--light > span { color: rgba(255,255,255,.53) !important; }
.sp-checkbox--light a { color: #f4aa24; }
.sp-checkbox--light input { accent-color: #f4aa24; }

/* Panel zgód */
.sp-consent { position: fixed; z-index: 99990; right: 20px; bottom: 20px; width: min(calc(100% - 40px), 700px); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(4,20,33,.97); color: #fff; box-shadow: 0 26px 70px rgba(3,14,24,.35); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity .28s, transform .4s cubic-bezier(.22,1,.36,1); }
.sp-consent[hidden] { display: none; }
.sp-consent.is-visible { opacity: 1; transform: translateY(0); }
.sp-consent.is-visible { pointer-events: auto; }
.sp-consent__eyebrow { margin: 0 0 8px; color: #f4aa24; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.sp-consent h2, .sp-consent-dialog h2 { margin: 0 0 9px; color: inherit; font-family: "Avenir Next",Avenir,Inter,sans-serif; font-size: 24px; line-height: 1.08; letter-spacing: -.035em; }
.sp-consent__copy > p:last-child { margin: 0; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.55; }
.sp-consent__copy a { color: #f4aa24; }
.sp-consent__actions { display: flex; min-width: 210px; flex-direction: column; align-items: stretch; gap: 7px; }
.sp-consent-button { min-height: 44px; padding: 10px 15px; border: 1px solid rgba(16,35,49,.24); border-radius: 999px; background: transparent; color: #102331; font-size: 12px; font-weight: 750; cursor: pointer; transition: transform .25s, background .25s, border-color .25s; }
.sp-consent-button:hover { transform: translateY(-1px); border-color: #102331; }
.sp-consent-button--accept { border-color: #f4aa24; background: #f4aa24; color: #041421; }
.sp-consent-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 4px; border: 0; background: transparent; color: rgba(255,255,255,.7); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sp-consent__actions .sp-consent-button:not(.sp-consent-button--accept) { border-color: rgba(255,255,255,.25); color: #fff; }
.sp-consent-dialog { width: min(calc(100% - 30px), 670px); max-height: 90vh; padding: 0; border: 0; border-radius: 20px; background: #fff; color: #102331; box-shadow: 0 35px 100px rgba(3,14,24,.38); }
.sp-consent-dialog .sp-consent__eyebrow { color: #276f91; }
.sp-consent-dialog::backdrop { background: rgba(3,14,24,.78); backdrop-filter: blur(6px); }
.sp-consent-dialog form { padding: 30px; overflow: auto; }
.sp-consent-dialog__header { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.sp-consent-dialog__close { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(16,35,49,.15); border-radius: 50%; background: #f2eee5; color: #102331; font-size: 23px; line-height: 1; cursor: pointer; }
.sp-consent-dialog__lead { margin: 12px 0 25px; color: #5e6e77; font-size: 13px; }
.sp-consent-category { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(16,35,49,.14); }
.sp-consent-category strong { display: block; margin-bottom: 4px; }
.sp-consent-category p { margin: 0; color: #5e6e77; font-size: 12px; }
.sp-consent-category__required { padding: 5px 8px; border-radius: 999px; background: #e9f2f5; color: #276f91; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.sp-switch { position: relative; width: 52px; height: 44px; display: block; }
.sp-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sp-switch i { position: absolute; inset: 9px 3px; border-radius: 999px; background: #cad1d4; cursor: pointer; transition: background .25s; }
.sp-switch i::after { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(3,20,33,.25); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.sp-switch input:checked + i { background: #276f91; }
.sp-switch input:checked + i::after { transform: translateX(20px); }
.sp-switch input:focus-visible + i { outline: 3px solid #f4aa24; outline-offset: 3px; }
.sp-consent-dialog__links { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(16,35,49,.14); }
.sp-consent-dialog__links a { min-height: 44px; display: inline-flex; align-items: center; color: #276f91; font-size: 11px; }
.sp-consent-dialog__actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 26px; }

@media (max-width: 640px) {
	.sp-form__grid { grid-template-columns: 1fr; }
	.sp-form__full { grid-column: auto; }
	.sp-form__submit { align-items: stretch; flex-direction: column; }
	.sp-launch-form__row { grid-template-columns: 1fr; }
	.sp-consent { right: 10px; bottom: 10px; width: calc(100% - 20px); grid-template-columns: 1fr; gap: 14px; padding: 18px; }
	.sp-consent h2 { font-size: 21px; }
	.sp-consent__actions { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.sp-consent__actions .sp-consent-link { grid-column: 1 / -1; }
	.sp-consent-dialog form { padding: 23px 20px; }
	.sp-consent-category { grid-template-columns: 1fr auto; }
	.sp-consent-dialog__actions { align-items: stretch; flex-direction: column-reverse; }
}

@media (prefers-reduced-motion: reduce) {
	.sp-consent, .sp-consent-button, .sp-switch i, .sp-switch i::after { transition-duration: .01ms !important; }
}
