html { scroll-behavior: smooth; scroll-padding-top: 32px; }
[hidden] { display: none !important; }
.form-panel {
  width: 100%;
  font-family: var(--e-global-typography-finbody-font-family), Archivo, sans-serif;
  font-size: var(--e-global-typography-finbody-font-size, 18px);
  font-weight: var(--e-global-typography-finbody-font-weight, 400);
  line-height: var(--e-global-typography-finbody-line-height, 1.6);
  color: var(--e-global-color-text);
}
.form-panel .form-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.form-panel label { display: block; font-size: 16px; }
.form-panel input:not([type=checkbox]) {
  box-sizing: border-box; width: 100%; height: 56px; margin-top: 8px;
  border: 1px solid var(--e-global-color-132c722); border-radius: 8px;
  padding: 0 16px; font: inherit; font-size: 16px; font-weight: 400;
  background: var(--e-global-color-072533f); color: var(--e-global-color-text);
}
.form-panel label.consent, .form-panel .form-privacy,
.form-panel .form-error, .form-panel .form-success,
.form-panel [data-error], .form-panel [data-success] { grid-column: 1 / -1; }
.form-panel label.consent { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0; line-height: 1.5; }
/* Registered exception: docs/odstepstwa.md. */
.elementor-field-type-acceptance input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--e-global-color-accent); flex-shrink: 0; margin: 4px 4px 0 0; }
.form-panel .consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; }
.form-panel .form-privacy { margin: -10px 0 22px; font-size: var(--e-global-typography-finsmal-font-size, 14px); line-height: 1.5; }
.form-panel .form-privacy a { color: var(--e-global-color-accent); text-decoration: underline; }
.form-panel input:focus-visible, .form-panel button:focus-visible, .form-panel .form-privacy a:focus-visible { outline: 2px solid var(--e-global-color-secondary); outline-offset: 3px; }
.form-panel button[type=submit] { width: auto; min-height: 56px; border: 0; cursor: pointer; }
.form-panel button:disabled { opacity: .65; cursor: wait; }
.form-panel .form-error { color: var(--e-global-color-text); font-weight: 700; }
.form-panel .form-honey { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-panel .selected-situation { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.form-panel [data-clear] {
  background: transparent; color: var(--e-global-color-accent); border: 1px solid var(--e-global-color-accent);
  border-radius: 8px; padding: 8px 16px; font-size: 14px; font-weight: 700;
  min-width: 44px; min-height: 44px; cursor: pointer;
}
.fin-reviews { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 0 20px; }
.fin-review { flex: 0 0 calc((100% - 40px)/3); scroll-snap-align: start; background: var(--e-global-color-f3f5f8a); padding: 24px; border: 1px solid var(--e-global-color-132c722); border-radius: 10px; font-family: inherit; color: var(--e-global-color-text); }
.fin-review-name { font-weight: 700; }
.fin-review blockquote { margin: 0; font-size: 15px; line-height: 1.6; max-height: 240px; overflow-y: auto; white-space: pre-line; }
.fin-reviews-note { font-family: inherit; font-size: 14px; color: var(--e-global-color-text); }
.fin-situation-1 .elementor-button, .fin-situation-2 .elementor-button, .fin-situation-3 .elementor-button { width: 100%; justify-content: flex-start; text-align: left; white-space: normal; }
.fin-situation-1 .elementor-button-content-wrapper, .fin-situation-2 .elementor-button-content-wrapper, .fin-situation-3 .elementor-button-content-wrapper { justify-content: flex-start; }
/* Page 31 situation pills (icon-box widgets): drop the browser h3 top margin so the label sits centred in the pill padding. */
.fin-situation-1 .elementor-icon-box-title, .fin-situation-2 .elementor-icon-box-title, .fin-situation-3 .elementor-icon-box-title { margin: 0; }
/* Hero: always exactly one screen (small viewport height, so mobile browser bars never push it over);
   desktop shows the whole 2:1 team photo. */
/* Growth of the hero inner/text containers is the Elementor 'Size: Grow' setting (gen_page.py).
   .e-con.x: Elementor's own .e-con rules read --min-height/--justify-content at the same specificity, so match it. */
.e-con.fin-hero { min-height: 100vh; min-height: 100svh; }
.fin-hero-inner > .e-con-inner { flex: 1 1 auto; }
.e-con.fin-hero-photo { justify-content: center; }
.fin-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; max-height: calc(100svh - 48px); object-fit: contain; }
/* Stacked hero (<=1024px): the photo is full-bleed and width-bound, so it only grows by trimming the empty side
   margins. The 10 people span 8.5%-92% of the photo width; 1.74:1 trims 6.5% per side (people intact) and makes it
   ~15% taller than 2:1. The text column spreads the rest of the screen evenly (space-evenly in gen_page.py). */
@media (max-width: 1024px) {
  .fin-hero-photo img { max-height: none; aspect-ratio: 1.74 / 1; object-fit: cover; object-position: 50% 50%; }
}
body .fin-footer a { color: var(--e-global-color-072533f); text-decoration: underline; }
body .fin-footer a:hover, body .fin-footer a:focus-visible { color: var(--e-global-color-132c722); }
.fin-faq .elementor-tab-title { display: flex; align-items: flex-start; gap: 12px; }
.fin-faq .elementor-tab-title, .fin-faq .elementor-accordion-title {
  font-family: inherit; font-size: var(--e-global-typography-finh3aa-font-size, 22px);
  font-weight: var(--e-global-typography-finh3aa-font-weight, 700);
  line-height: var(--e-global-typography-finh3aa-line-height, 1.3); color: var(--e-global-color-primary);
}
.fin-faq .elementor-tab-content { font-family: inherit; font-size: var(--e-global-typography-finbody-font-size, 18px); font-weight: var(--e-global-typography-finbody-font-weight, 400); line-height: var(--e-global-typography-finbody-line-height, 1.6); color: var(--e-global-color-text); }
.fin-faq .elementor-tab-title .elementor-accordion-icon { float: none !important; flex: 0 0 1em; width: 1em; margin: 0 !important; }
.fin-faq .elementor-tab-title .elementor-accordion-title { display: block; flex: 1; min-width: 0; }
.fin-faq .elementor-tab-title .elementor-accordion-icon-left { order: -1; }
/* The only third-party override: Trustindex must use the kit's Archivo family. */
.ti-widget, .ti-widget * { font-family: var(--e-global-typography-finbody-font-family), Archivo, sans-serif !important; }
@media (max-width: 767px) {
  .form-panel .form-fields { grid-template-columns: 1fr; }
  .form-panel button[type=submit] { width: 100%; }
  .fin-review { flex-basis: 88%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
