/* HR Hints calculator. Scope all rules with .hh-calc to avoid Webflow conflicts. */
.hh-calc {
  --hh-navy: #00294d;
  --hh-paper: #f8f7f4;
  --hh-ink: #162838;
  --hh-lime: #1c9597;
  --hh-muted: #666666;
  background: var(--hh-navy);
  color: #fff;
  font-family: inherit;
  overflow: hidden;
  padding: 48px 20px;
}

.hh-calc * { box-sizing: border-box; }
.hh-calc__container { margin: 0 auto; max-width: 1060px; }
.hh-calc__header { display: grid; gap: 16px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.hh-calc__eyebrow { margin: 0; color: #dfebf5; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hh-calc__eyebrow--dark { color: #1a5d60; }
.hh-calc h2, .hh-calc h3 { margin: 0; font-family: inherit; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.hh-calc h2 { max-width: 650px; font-size: clamp(32px, 4vw, 52px); }
.hh-calc h3 { font-size: clamp(26px, 3.2vw, 38px); }
.hh-calc__header > p:last-child { max-width: 290px; margin: 0; color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.55; }

.hh-calc__progress { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 32px 0; }
.hh-calc__progress-item { height: 4px; border-radius: 99px; background: rgba(255,255,255,.2); }
.hh-calc__progress-item.is-current { background: #fff; }
.hh-calc__progress-item.is-done { background: #1c9597; }

.hh-calc__card { padding: 28px; color: var(--hh-ink); background: var(--hh-paper); border-radius: 32px; }
.hh-calc__step-label { margin: 0; color: #1a5d60; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hh-calc__card h3 { margin-top: 12px; font-family: inherit; font-size: clamp(22px,2.6vw,30px); line-height: 1.15; }
.hh-calc__step-description { margin: 10px 0 0; color: #666666; font-size: 15px; line-height: 1.55; }
.hh-calc__options { display: grid; gap: 12px; margin-top: 28px; }
.hh-calc__options--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hh-calc__options--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hh-calc__option { min-height: 120px; padding: 18px; color: var(--hh-ink); text-align: left; background: #ffffff; border: 1px solid #dfdac9; border-radius: 24px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.hh-calc__option:hover { border-color: #1c9597; transform: translateY(-2px); }
.hh-calc__option.is-selected { color: #fff; background: var(--hh-navy); border-color: var(--hh-navy); }
.hh-calc__option-index { display: block; margin-bottom: 14px; color: #8a8f98; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.hh-calc__option.is-selected .hh-calc__option-index { color: #1c9597; }
.hh-calc__option-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.hh-calc__option-detail { display: block; margin-top: 8px; color: #666666; font-size: 12px; line-height: 1.45; }
.hh-calc__option.is-selected .hh-calc__option-detail { color: rgba(255,255,255,.65); }

.hh-calc__fields, .hh-calc__field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hh-calc__fields { max-width: 680px; margin-top: 28px; }
.hh-calc__field-grid { gap: 12px; margin-bottom: 12px; }
.hh-calc label { display: grid; gap: 8px; color: #162838; font-size: 12px; font-weight: 700; }
.hh-calc label > span { color: #666666; font-weight: 400; }
.hh-calc input { width: 100%; min-height: 50px; padding: .85rem 1rem; color: #162838; font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.2; background: #ffffff; border: 1px solid #d9d4c9; border-radius: 12px; outline: 0; }
.hh-calc input:focus { border-color: #1c9597; box-shadow: 0 0 0 3px rgba(28,149,151,.18); }
.hh-calc__field-unit { position: relative; }
.hh-calc__field-unit input { padding-right: 44px; }
.hh-calc__field-unit b { position: absolute; right: 15px; bottom: 15px; color: #666666; font-size: 12px; }
.hh-calc__hint { margin: 12px 0 0; color: #666666; font-size: 13px; line-height: 1.55; }

.hh-calc__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid #dfdac9; }
.hh-calc__actions--between { justify-content: space-between; }
.hh-calc__actions--between .hh-calc__actions { margin-top: 0; padding-top: 0; border-top: 0; }
.hh-calc__button, .hh-calc__button-secondary, .hh-calc__link { min-height: 48px; padding: 0 1.75rem; font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; border: 0; border-radius: 42px; cursor: pointer; transition: background-color 200ms ease; }
.hh-calc__button { color: #fff; background: #ec6755; }
.hh-calc__button:hover { background: #a33729; }
.hh-calc__button:active { transform: scale(.98); }
.hh-calc__button-secondary { color: #162838; background: transparent; border: 1px solid #162838; padding: 0 1.5rem; font-size: .95rem; }
.hh-calc__link { min-height: auto; padding: 0; color: #666666; background: transparent; font-weight: 500; font-size: .95rem; }
.hh-calc__error { margin: 0; color: #a33729; font-size: 13px; font-weight: 600; }

.hh-calc__sources { margin-top: 20px; padding: 16px; background: #eff2e9; border: 1px solid #dfdac9; border-radius: 24px; }
.hh-calc__sources-title { margin: 0; color: #1a5d60; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hh-calc__sources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.hh-calc__source { padding: 12px; background: rgba(255,255,255,.7); border: 1px solid #dfdac9; border-radius: 16px; }
.hh-calc__source-category { margin: 0; color: #666666; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hh-calc__source a, .hh-calc__source-title { display: block; margin-top: 6px; color: var(--hh-ink); font-size: 13px; font-weight: 700; line-height: 1.35; }
.hh-calc__source-metric { margin: 6px 0 0; color: #1a5d60; font-size: 12px; font-weight: 700; line-height: 1.4; }
.hh-calc__source-description, .hh-calc__sources-footnote { margin: 8px 0 0; color: #666666; font-size: 12px; line-height: 1.5; }

.hh-calc__preview { display: grid; grid-template-columns: 1.35fr .65fr; overflow: hidden; margin-top: 40px; color: #fff; background: #00294d; border: 1px solid rgba(255,255,255,.15); border-radius: 32px; box-shadow: 0 28px 64px rgba(0,41,77,.18); }
.hh-calc__preview-main, .hh-calc__preview-gate { padding: 40px; }
.hh-calc__preview-gate { background: rgba(255,255,255,.04); border-left: 1px solid rgba(255,255,255,.1); }
.hh-calc__preview-copy { margin: 20px 0 0; color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.65; }
.hh-calc__metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 30px; }
.hh-calc__metric { padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 24px; }
.hh-calc__metric-label { margin: 0; color: #dfebf5; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hh-calc__metric-value { margin: 14px 0 0; color: #1c9597; font-size: clamp(18px,1.8vw,25px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hh-calc__metric-detail { margin: 10px 0 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.45; }

.hh-calc__lead { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; margin-top: 24px; padding: 28px; color: var(--hh-ink); background: #fff; border: 1px solid rgba(28,149,151,.25); border-radius: 32px; }
.hh-calc__lead > div > p:not(.hh-calc__eyebrow) { color: #666666; font-size: 14px; line-height: 1.65; }
.hh-calc__consent { grid-template-columns: 16px 1fr; align-items: start; margin-top: 12px; color: #666666 !important; font-weight: 400 !important; line-height: 1.5; }
.hh-calc__consent input { width: 16px; height: 16px; min-height: 0; margin-top: 2px; padding: 0; accent-color: #1c9597; }
.hh-calc__form-message { min-height: 18px; margin: 0; color: #a33729; font-size: 12px; font-weight: 600; }

.hh-calc__full-result { overflow: hidden; margin-top: 40px; color: var(--hh-ink); background: #ffffff; border: 1px solid #dfdac9; border-radius: 32px; }
.hh-calc__full-head, .hh-calc__full-body { padding: 32px; }
.hh-calc__full-head { border-bottom: 1px solid #dfdac9; }
.hh-calc__full-head > p { margin: 16px 0 0; color: #666666; font-size: 15px; line-height: 1.65; }
.hh-calc__full-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: #dfdac9; }
.hh-calc__full-metric { padding: 24px; background: #ffffff; }
.hh-calc__full-metric p { margin: 0; }
.hh-calc__full-metric-label { color: #1a5d60; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hh-calc__full-metric-value { margin-top: 16px !important; font-size: clamp(24px,2.8vw,34px); font-weight: 700; letter-spacing: -.02em; color: #1a5d60; font-variant-numeric: tabular-nums; }
.hh-calc__full-metric-note { margin-top: 12px !important; color: #666666; font-size: 12px; line-height: 1.5; }
.hh-calc__full-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; }
.hh-calc__areas { border-top: 1px solid #dfdac9; }
.hh-calc__area { padding: 18px 0; border-bottom: 1px solid #dfdac9; }
.hh-calc__area h4 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.hh-calc__area p { margin: 8px 0 0; color: #666666; font-size: 13px; line-height: 1.6; }
.hh-calc__project { height: max-content; padding: 24px; background: #eff2e9; border-radius: 24px; }
.hh-calc__project h4 { margin: 14px 0 0; font-family: inherit; font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.hh-calc__project dl { margin: 20px 0; padding: 16px 0; border-top: 1px solid #cbc1a6; border-bottom: 1px solid #cbc1a6; }
.hh-calc__project dl div { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0; font-size: 13px; }
.hh-calc__project dt { color: #1a5d60; }
.hh-calc__project dd { margin: 0; font-weight: 700; }
.hh-calc__project p { color: #1a5d60; font-size: 13px; line-height: 1.65; }
.hh-calc__project a { display: inline-block; margin-top: 16px; padding: 13px 16px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; background: #ec6755; border-radius: 42px; }

@media (max-width: 767px) {
  .hh-calc { padding: 40px 16px; }
  .hh-calc__card, .hh-calc__preview-main, .hh-calc__preview-gate, .hh-calc__full-head, .hh-calc__full-body { padding: 22px; }
  .hh-calc__options--two, .hh-calc__options--three, .hh-calc__fields, .hh-calc__field-grid, .hh-calc__sources-grid, .hh-calc__metrics, .hh-calc__preview, .hh-calc__lead, .hh-calc__full-metrics, .hh-calc__full-body { grid-template-columns: 1fr; }
  .hh-calc__preview-gate { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .hh-calc__option { min-height: 0; }
  .hh-calc__header > p:last-child { max-width: none; }
  .hh-calc__actions--between { flex-direction: column-reverse; align-items: flex-start; }
}

/* reCAPTCHA w formularzu leada */
.hh-calc__captcha { margin: 0.25rem 0 0.25rem; min-height: 78px; }
.hh-calc__captcha > div { max-width: 100%; }
@media (max-width: 400px) {
  .hh-calc__captcha { transform: scale(0.85); transform-origin: left top; min-height: 68px; }
}

/* Podstrona kalkulatora: wylaczamy globalny popup scrollowy i plywajacy badge Calendly,
   bo zaslaniaja kalkulator w trakcie wypelniania formularza. */
#scrollModal,
.modal-bg,
.calendly-badge-widget { display: none !important; }

/* --- Formularz leada: rytm pionowy ---------------------------------------
   Etykieta "Telefon (opcjonalnie)" lamala sie na dwa wiersze, bo label jest
   gridem i kazdy element staje sie osobnym wierszem. Tekst etykiety jest teraz
   w jednym spanie. Reszta regul porzadkuje odstepy miedzy blokami formularza. */
.hh-calc__lead { gap: 40px; padding: 32px; }
.hh-calc__lead > div > .hh-calc__eyebrow { margin-bottom: 14px; }
.hh-calc__lead h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.22; }
.hh-calc__lead > div > p:not(.hh-calc__eyebrow) { margin: 14px 0 0; }
.hh-calc__field-grid { gap: 18px; margin-bottom: 18px; }
.hh-calc__lead form > label { margin-bottom: 18px; }
.hh-calc__lead form > label.hh-calc__consent { margin: 0; }
.hh-calc label > span.hh-calc__label-text { color: #162838; font-weight: 700; }
.hh-calc__label-hint { color: #666666; font-weight: 400; }
.hh-calc__captcha { margin: 18px 0 0; min-height: 78px; }
.hh-calc__form-message { margin: 12px 0 0; }
.hh-calc__form-message:empty { min-height: 0; margin: 0; }
.hh-calc__lead .hh-calc__actions { margin-top: 20px; padding-top: 20px; }
@media (max-width: 479px) {
  .hh-calc__lead { padding: 22px; gap: 28px; }
}
