/* ============================================================
   KEEPWORK.PL — Global Design System CSS for Tilda
   ============================================================ */

/* ── 1. FONTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

/* ── 2. CSS VARIABLES ────────────────────────────────────────── */
:root {
  --gold:       #D8AB3A;
  --gold-dark:  #B98A1E;
  --gold-light: #F0D078;
  --navy:       #1A2744;
  --navy-800:   #111B33;
  --ink:        #1B2433;
  --muted:      #5A6678;
  --bg:         #FFFFFF;
  --bg-soft:    #FBF7EE;
  --line:       #ECE7DA;
  --radius:     12px;
  --radius-lg:  16px;
  --shadow:     0 4px 20px rgba(17, 27, 51, 0.08);
}

/* ── 3. BASE RESET ────────────────────────────────────────── */
body, .t-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--ink) !important;
  -webkit-font-smoothing: antialiased;
}

* {
  font-family: inherit !important;
}

/* ── 4. TYPOGRAPHY SCALE ──────────────────────────────────── */

h1, .t-title, [data-field="title"] {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(28px, 5vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  color: var(--ink) !important;
}

.t-cover h1,
.t-cover .t-title,
[data-bgcolor="#1a2744"] h1,
[data-bgcolor="#111b33"] h1,
[style*="background-color: rgb(26, 39, 68)"] h1,
[style*="background-color: rgb(17, 27, 51)"] h1 {
  color: #FFFFFF !important;
}

h2,
.t-section__title,
[data-field="title"]:not(h1) {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(22px, 4vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
  color: var(--ink) !important;
  margin-bottom: 16px !important;
}

h3 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(18px, 2.5vw, 22px) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--ink) !important;
}

p, li, td, .t-text, .t-descr, [data-field="descr"] {
  font-size: clamp(15px, 1.5vw, 17px) !important;
  line-height: 1.65 !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
}

.t-uptitle, .t-name, small, .t-card__uptitle {
  font-size: 13px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

/* ── 5. COLOUR FIXES ─────────────────────────────────────── */

[style*="color: rgb(200, 145, 42)"],
[style*="color:#c8912a"],
[style*="color: #c8912a"] {
  color: var(--gold) !important;
}

[style*="color: rgb(31, 91, 255)"],
[style*="color:#1f5bff"],
[style*="color: #0000ee"],
[style*="background-color: rgb(31, 91, 255)"],
[style*="background-color:#1f5bff"] {
  color: var(--gold) !important;
  background-color: transparent !important;
}

.t-count__num,
.t-steps__num,
.t306__col:before,
.t313__col:before {
  background-color: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}

.t-list__item:before,
.t-icon-check {
  color: var(--gold) !important;
}

/* ── 6. BUTTONS ──────────────────────────────────────────── */

.t-btn,
.t308__btn,
.t-submit,
.tn-atom__btn-text,
[data-elem-type="button"] .tn-atom {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 32px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  border: 2px solid transparent !important;
  letter-spacing: 0 !important;
  min-height: 52px !important;
}

.t-btn,
.t-btn:not(.t-btn_outlined),
.t308__btn,
.t-submit {
  background-color: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}

.t-btn:hover,
.t308__btn:hover,
.t-submit:hover {
  background-color: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(216, 171, 58, 0.35) !important;
}

.t-btn_outlined {
  background-color: transparent !important;
  color: var(--navy) !important;
  border-color: var(--navy) !important;
}

.t-btn_outlined:hover {
  background-color: var(--navy) !important;
  color: #FFFFFF !important;
}

.t-cover .t-btn {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

.t-cover .t-btn:first-child {
  background-color: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}

/* ── 7. HERO SECTION ─────────────────────────────────────── */

.t-cover, .t-cover__carrier {
  min-height: 100svh !important;
}

.t-cover__filter {
  background: linear-gradient(
    to top,
    rgba(17, 27, 51, 0.80) 0%,
    rgba(17, 27, 51, 0.40) 50%,
    rgba(17, 27, 51, 0.10) 100%
  ) !important;
}

.t-cover .t-container {
  position: relative;
  z-index: 2;
}

.t-cover h1,
.t-cover .t-cover__title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
}

.t-cover .t-cover__descr,
.t-cover p {
  color: var(--gold) !important;
  font-size: clamp(15px, 2vw, 18px) !important;
  font-weight: 500 !important;
}

/* ── 8. CARDS ────────────────────────────────────────────── */

.t-card, .t-col, .t-card__col {
  border-radius: 16px !important;
}

.t-card__wrapper,
[class*="t63__wrapper"],
[class*="t68__wrapper"] {
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(17, 27, 51, 0.08) !important;
  padding: 24px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.t-card__wrapper:hover,
[class*="t63__wrapper"]:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 32px rgba(17, 27, 51, 0.12) !important;
}

/* ── 9. SECTIONS SPACING ────────────────────────────────── */

.t-section {
  padding-top: clamp(48px, 8vw, 96px) !important;
  padding-bottom: clamp(48px, 8vw, 96px) !important;
}

.t-container {
  max-width: 1200px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* ── 10. FAQ ───────────────────────────────────── */

.t-faq__item {
  border-bottom: 1px solid var(--line) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
}

.t-faq__title {
  font-weight: 600 !important;
  color: var(--ink) !important;
  padding: 18px 0 !important;
}

.t-faq__text {
  color: var(--muted) !important;
  padding-bottom: 18px !important;
}

/* ── 11. HEADER ──────────────────────────────────────────── */

.t-header {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background-color: rgba(26, 39, 68, 0.92) !important;
}

.t-header__logo-img {
  max-height: 44px !important;
}

/* ── 12. MOBILE ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .t-cover {
    min-height: 100svh !important;
  }

  .t-cover .t-btn,
  .t-cover .t308__btn {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    padding: 16px 24px !important;
  }

  .t-col {
    width: 100% !important;
    float: none !important;
    margin-bottom: 16px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  .t-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  [id*="chat"], [id="__kw_chat_btn"] {
    bottom: 16px !important;
    right: 16px !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  p  { font-size: 15px !important; }
}

/* ── 13. MISC ─────────────────────────────────────────────── */

hr, .t-section__line {
  border-color: var(--line) !important;
  opacity: 1 !important;
}

.t-img, img.t-img {
  border-radius: 12px !important;
}

.vacancy-card {
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(17, 27, 51, 0.08) !important;
  border: 1px solid var(--line) !important;
  padding: 20px 24px !important;
}

.vacancy-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 8px 32px rgba(17, 27, 51, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* END OF KEEPWORK DESIGN SYSTEM CSS */

/* ============================================================
   MOBILE FIXES — keepwork.pl — max-width: 767px
   ============================================================ */

/* ===== KW MOBILE (max-width: 767px) ===== */
@media (max-width: 767px) {

/* ---- HERO ---- */
#rec629030016 .t396__artboard { height: 490px !important; overflow: hidden !important; }
#rec629030016 .tn-elem[data-elem-id="1613465865379"] {
  width: 100% !important; background-size: cover !important; background-position: 28% center !important;
}
#rec629030016 .tn-elem[data-elem-id="1779185394071000001"] {
  left: calc(100vw - 208px) !important; top: 18px !important; width: 192px !important;
}
#rec629030016 .tn-elem[data-elem-id="1779185394071000001"] .tn-atom {
  font-size: 20px !important; line-height: 1.25 !important;
}
#rec629030016 .tn-elem[data-elem-id="1744375961487"] {
  display: block !important; left: calc(100vw - 208px) !important; top: 126px !important; width: 192px !important;
}
#rec629030016 .tn-elem[data-elem-id="1744375961487"] .tn-atom {
  font-size: 11px !important; line-height: 1.3 !important; text-align: right !important; white-space: normal !important;
}
#rec629030016 .tn-elem[data-elem-id="1747229025702"] {
  display: block !important; left: calc(100vw - 208px) !important; top: 150px !important; width: 192px !important;
}
#rec629030016 .tn-elem[data-elem-id="1747229025702"] .tn-atom {
  font-size: 11px !important; text-align: right !important; white-space: normal !important;
}
#rec629030016 .tn-elem[data-elem-id="1747229056122"] {
  display: block !important; left: calc(100vw - 208px) !important; top: 170px !important; width: 192px !important;
}
#rec629030016 .tn-elem[data-elem-id="1747229056122"] .tn-atom {
  font-size: 11px !important; text-align: right !important; white-space: normal !important;
}
#rec629030016 .tn-elem[data-elem-id="1692296848636"] {
  left: calc(100vw - 178px) !important; top: 200px !important; width: 162px !important;
}
#rec629030016 .tn-elem[data-elem-id="1692296848636"] .tn-atom {
  font-size: 13px !important; padding-left: 8px !important; padding-right: 8px !important;
}
#rec629030016 .tn-elem[data-elem-id="1779450218701000001"] {
  left: calc(100vw - 178px) !important; top: 252px !important; width: 162px !important;
}
#rec629030016 .tn-elem[data-elem-id="1779450218701000001"] .tn-atom {
  font-size: 13px !important; padding-left: 8px !important; padding-right: 8px !important;
}
#rec629030016 .tn-elem[data-elem-id="1715698749588"] {
  left: calc(100vw - 178px) !important; top: 304px !important; width: 162px !important;
}
#rec629030016 .tn-elem[data-elem-id="1715698749588"] .tn-atom { font-size: 12px !important; }
#rec629030016 .tn-elem[data-elem-id="1777546897725000001"] {
  left: calc(100vw - 178px) !important; top: 350px !important; width: 162px !important;
}
#rec629030016 .tn-elem[data-elem-id="1777546897725000001"] .tn-atom { font-size: 12px !important; }
#rec629030016 .tn-elem[data-elem-id="1764254414835000001"] {
  display: block !important; left: calc(100vw - 178px) !important; top: 398px !important; width: 162px !important;
}
#rec629030016 .tn-elem[data-elem-id="1764254414835000001"] .tn-atom {
  font-size: 10px !important; text-align: center !important; white-space: normal !important; line-height: 1.3 !important;
}
#rec629030016 .tn-elem[data-elem-id="1716107596234"] { display: none !important; }

/* ---- TRUST BAR MARQUEE ---- */
#kw-trust-bar { overflow: hidden !important; display: block !important; }
#kw-trust-bar .kw-scroll-track {
  display: flex !important; flex-wrap: nowrap !important;
  animation: kw-marquee 22s linear infinite !important;
  width: max-content !important;
}
#kw-trust-bar .kw-ti {
  display: inline-flex !important; align-items: center !important;
  flex-shrink: 0 !important; padding: 0 20px !important; white-space: nowrap !important;
}
@keyframes kw-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- VACANCY CARDS ---- */
.kwv-grid, .kwv-grid[style] { grid-template-columns: 1fr !important; width: 100% !important; gap: 12px !important; }
.kwv-card, .kwv-card[style] { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
.kwv-cat-in { padding: 0 !important; }

/* ---- CONTENT BLOCKS CONSISTENCY ---- */
#rec2287147853, #rec2288187173, #rec2288190453 { padding-top: 40px !important; padding-bottom: 40px !important; }
#rec2287147853 .t-section__container,
#rec2288187173 .t-section__container,
#rec2288190453 .t-section__container { padding: 0 20px !important; }
#rec2287147853 .t-section__title,
#rec2288187173 .t-section__title,
#rec2288190453 .t-section__title { margin-bottom: 10px !important; line-height: 1.2 !important; }
.t-section__descr, .t-descr { overflow-wrap: break-word !important; word-break: break-word !important; }
.t508__item { padding-top: 10px !important; padding-bottom: 10px !important; line-height: 1.4 !important; }
.t508__item-title { letter-spacing: 0.02em !important; }
.t510__item { padding-top: 10px !important; padding-bottom: 10px !important; }
.t510__descr { margin-top: 4px !important; line-height: 1.4 !important; }

/* ---- FORM ---- */
#rec748247838 .t-input-title { color: #ffffff !important; }
#rec748247838 .t-form__inputsbox { max-width: 100% !important; padding: 0 20px !important; box-sizing: border-box !important; }
#rec748247838 .t-input-group { margin-bottom: 12px !important; width: 100% !important; }
#rec748247838 .t-input-group input,
#rec748247838 .t-input-group select,
#rec748247838 .t-input-group textarea { width: 100% !important; box-sizing: border-box !important; }
#rec748247838 .t-form__submit { margin: 0 20px !important; width: calc(100% - 40px) !important; box-sizing: border-box !important; }

/* ---- GENERAL ---- */
.t-form__inputsbox { max-width: 100% !important; }
.t-input-group, .t-input-group input, .t-input-group select, .t-input-group textarea, .t-form__submit {
  width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
}
body, .t-body { overflow-x: hidden !important; }
.t396__artboard { max-width: 100vw !important; overflow: hidden !important; }

}
/* ===== END KW MOBILE ===== */