/* ============================================================
   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 */