/* edge recruiting — publiczna strona kariery.
   Premium, obrazkowy. Duży hero ze zdjęciem, kafle ofert ze zdjęciami,
   ciemne akcenty. Monochrom + czerwony akcent; ciepło dają fotografie. */

:root {
  --ink: #0d0f14;
  --ink-2: #15181f;
  --text: #494c56;
  --muted: #888b95;
  --faint: #b3b6be;
  --line: #e9eaee;
  --line-2: #e0e1e6;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --soft-2: #f0f1f4;
  --accent: #dc2626;
  --accent-deep: #b91c1c;
  --shadow: 0 10px 30px -12px rgba(13,15,20,.18);
  --shadow-lg: 0 30px 60px -24px rgba(13,15,20,.35);
  --max: 1340px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text); background: var(--paper); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.page { display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
::selection { background: var(--accent); color: #fff; }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 9px; }
.kicker.light { color: rgba(255,255,255,.72); }
.kicker .mk { width: 22px; height: 1px; background: currentColor; display: inline-block; }

/* ---------- Header (nałożony na hero) ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: #fff; }
.brand img { height: 32px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-link { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.85); }
.header-link:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 26px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform .12s, background .18s, color .18s, border-color .18s; white-space: nowrap; letter-spacing: -.01em; }
.btn:active { transform: scale(.985); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(220,38,38,.6); }
.btn-accent:hover { background: var(--accent-deep); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef0f2; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #232732; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-wa { background: #1faa55; color: #fff; }
.btn-wa:hover { background: #189048; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Image cover helper ---------- */
.cover { position: relative; background: linear-gradient(135deg, #1b1f29 0%, #0d0f14 100%); overflow: hidden; }
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); }
.hero .hero-media { position: absolute; inset: 0; }
.hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,14,.55) 0%, rgba(8,10,14,.35) 35%, rgba(8,10,14,.86) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 150px 28px 64px; }
.hero h1 { margin-top: 22px; font-size: clamp(38px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; max-width: 16ch; }
.hero p.lead { margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.82); max-width: 52ch; line-height: 1.55; }
.hero .cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Pasek wyszukiwania (biała karta nachodząca na dół hero) */
.searchbar { position: relative; z-index: 5; margin-top: -36px; }
.searchbar .wrap { max-width: var(--max); }
.searchbar form { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.field { position: relative; display: flex; flex-direction: column; }
.field svg.lead-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.field input, .field select { height: 54px; border: 1px solid var(--line-2); border-radius: 11px; padding: 0 16px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field.has-ic input { padding-left: 46px; }
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13,15,20,.07); }
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.searchbar .go .btn { height: 54px; width: 100%; }

/* ---------- Sekcja ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { margin-bottom: 36px; }
.section-head h2 { margin-top: 14px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.035em; color: var(--ink); line-height: 1.05; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fpill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink); background: #fff; }
.fpill a { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; color: var(--muted); }
.fpill a:hover { background: var(--soft); color: var(--ink); }

/* ---------- Tabela ofert ---------- */
.offers-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.ot-head { display: none; }
.ot-row { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-bottom: 1px solid var(--line); transition: background .14s; }
.ot-row:last-child { border-bottom: 0; }
.ot-row:hover { background: var(--soft); }
.ot-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ot-name { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.3; margin-top: 3px; }
.ot-sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.ot-cell { display: none; font-size: 14.5px; color: var(--text); }
.ot-sal { display: flex; align-items: baseline; gap: 6px; }
.ot-sal b { font-size: 15.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ot-sal span { font-size: 12px; color: var(--muted); }
.ot-arrow { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--soft); align-items: center; justify-content: center; color: var(--ink); transition: background .15s, color .15s; }
.ot-row:hover .ot-arrow { background: var(--accent); color: #fff; }
@media (min-width: 760px) {
  .ot-head { display: grid; grid-template-columns: 2.4fr 1.4fr 1fr 1.3fr 56px; gap: 20px; align-items: center; padding: 14px 24px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .ot-head .ot-r { text-align: right; }
  .ot-row { display: grid; grid-template-columns: 2.4fr 1.4fr 1fr 1.3fr 56px; gap: 20px; align-items: center; padding: 18px 24px; }
  .ot-sub { display: none; }
  .ot-cell { display: block; }
  .ot-sal { justify-content: flex-end; text-align: right; }
  .ot-sal { display: flex; }
  .ot-arrow { display: flex; }
}

/* ---------- Kafle ofert ze zdjęciami (podobne oferty) ---------- */
.offers-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.offer-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .15s ease, box-shadow .18s ease, border-color .15s ease; }
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.offer-card .photo { aspect-ratio: 16 / 10; min-height: 188px; }
.offer-card .photo .tag { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(13,15,20,.55); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.offer-card .photo .tag.accent { background: var(--accent); }
.offer-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.offer-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.025em; color: var(--ink); line-height: 1.25; }
.offer-card .o-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.offer-card .o-meta .m { display: inline-flex; align-items: center; gap: 7px; }
.offer-card .o-meta svg { color: var(--faint); flex: 0 0 auto; }
.offer-card .foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.offer-card .salary b { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.offer-card .salary span { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.offer-card .go { width: 46px; height: 46px; border-radius: 11px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .15s, color .15s, transform .15s; flex: 0 0 auto; }
.offer-card:hover .go { background: var(--accent); color: #fff; transform: translateX(2px); }

.empty { grid-column: 1 / -1; text-align: center; padding: 72px 20px; border: 1px dashed var(--line-2); border-radius: 18px; }
.empty b { display: block; color: var(--ink); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.empty p { color: var(--muted); }

/* ---------- Pagination ---------- */
.pagination { margin-top: 40px; display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; list-style: none; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--text); background: #fff; }
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .active span, .pagination [aria-current] span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled span { opacity: .35; }

/* ---------- Wartości (sekcja zaufania) ---------- */
.values { display: grid; grid-template-columns: 1fr; gap: 24px; }
.value { display: flex; gap: 16px; }
.value .ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: 0 0 auto; }
.value h3 { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.value p { margin-top: 6px; font-size: 14.5px; color: var(--text); line-height: 1.6; }

/* ---------- Detail ---------- */
.detail-hero { position: relative; color: #fff; background: var(--ink); }
.detail-hero .hero-media { position: absolute; inset: 0; }
.detail-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,14,.6) 0%, rgba(8,10,14,.45) 40%, rgba(8,10,14,.9) 100%); }
.detail-hero .wrap { position: relative; z-index: 2; padding: 140px 28px 64px; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.breadcrumb:hover { color: #fff; }
.detail-hero h1 { font-size: clamp(25px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; max-width: 30ch; }
.detail-hero .d-sub { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: rgba(255,255,255,.8); }
.detail-hero .d-sub .m { display: inline-flex; align-items: center; gap: 8px; }

/* Hero: treść + duża kwota po prawej (zagospodarowuje puste miejsce) */
.dh-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; }
.dh-salary { }
.dhs-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.dhs-amt { display: block; margin-top: 8px; font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1; white-space: nowrap; }
.dhs-suf { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.7); }
.detail-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (min-width: 880px) {
  .dh-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; }
  .dh-salary { text-align: right; padding-bottom: 4px; border-right: 0; }
}

.detail-body { padding: 84px 0 130px; }
.detail-content { max-width: 100%; }

/* Fakty — jeden panel z gęstymi komórkami (styl Dungito), rozłożone na całość */
.facts { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; margin-bottom: 8px; }
.fact { flex: 1 1 220px; padding: 18px 20px; display: flex; flex-direction: column; }
.fact .f-top { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.fact .ic { color: var(--ink); display: flex; flex: 0 0 auto; opacity: .85; }
.fact .k { font-size: 13px; color: var(--muted); }
.fact .v { margin-top: 9px; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; line-height: 1.35; }

/* Pływający pasek — z tytułem/meta + kwotą + przyciskiem (mniej pusto) */
.apply-bar .ab-main { display: none; flex: 1 1 auto; min-width: 0; }
.apply-bar .ab-title { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apply-bar .ab-meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apply-bar .ab-salary { flex: 1 1 auto; min-width: 0; }
.apply-bar .ab-salary b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.apply-bar .ab-salary span { font-size: 12px; color: var(--muted); }
@media (min-width: 720px) {
  .apply-bar .ab-main { display: block; }
  .apply-bar .ab-salary { flex: 0 0 auto; text-align: right; padding: 0 22px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* Opis — pełna szerokość strony (jak sekcja aplikacji) */
.prose-wrap { max-width: 100%; }
.block-title { font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin: 44px 0 18px; }
.prose { font-size: 16.5px; color: var(--text); line-height: 1.8; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 28px 0 12px; font-weight: 600; letter-spacing: -.02em; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin: 10px 0; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: i; }
.prose ol li { counter-increment: i; position: relative; padding-left: 32px; margin: 10px 0; }
.prose ol li::before { content: counter(i); position: absolute; left: 0; top: 0; font-weight: 700; color: var(--accent); }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

.faq { margin-top: 16px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 2px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 0 18px; color: var(--text); }

/* ---------- Sekcja aplikacji (pełnoszeroka) ---------- */
.apply { margin-top: 64px; background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 40px 28px; }
.apply-inner { max-width: 680px; margin: 0 auto; }
.apply-head { text-align: center; margin-bottom: 26px; }
.apply-head .kicker { justify-content: center; }
.apply-head h2 { margin-top: 12px; font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.035em; color: var(--ink); line-height: 1.08; }
.apply-head p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.contacts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
.contacts .btn { width: 100%; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }

.apply form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-field input:not([type=checkbox]):not([type=file]), .form-field textarea { border: 1px solid var(--line-2); border-radius: 11px; padding: 13px 14px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; width: 100%; }
.form-field input:not([type=checkbox]):not([type=file]):focus, .form-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13,15,20,.07); }
.cat-check { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-check label { display: inline-flex; cursor: pointer; }
.cat-check input { position: absolute; opacity: 0; }
.cat-check span { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text); transition: all .12s; }
.cat-check input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.file-input { font-size: 13.5px; color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.consent input { margin: 2px 0 0; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--accent); }
.consent span { flex: 1 1 auto; min-width: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.flash-ok { display: flex; gap: 13px; align-items: flex-start; background: #f1faf3; border: 1px solid #c7eccd; color: #1c7c37; border-radius: 13px; padding: 18px; }
.flash-ok .ic { width: 28px; height: 28px; border-radius: 50%; background: #2e9e4d; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.err-box { background: #fdf1f0; border: 1px solid #f6c9c5; color: var(--accent-deep); border-radius: 11px; padding: 12px 14px; font-size: 13.5px; }

/* ---------- Pływający pasek aplikowania ---------- */
.apply-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -16px rgba(13,15,20,.28);
  padding: 12px 20px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.apply-bar .ab-info { min-width: 0; }
.apply-bar .ab-info b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.apply-bar .ab-info span { font-size: 12px; color: var(--muted); }
.apply-bar .btn { flex: 0 0 auto; height: 48px; padding: 0 22px; }

/* ---------- Strona prawna (polityka prywatności) ---------- */
.legal-hero { position: relative; background: var(--ink); color: #fff; }
.legal-hero .wrap { padding: 132px 28px 48px; }
.legal-hero h1 { margin-top: 18px; font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.04em; }
.legal-hero p { margin-top: 12px; color: rgba(255,255,255,.7); font-size: 16px; }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin: 32px 0 10px; }
.legal-content h2:first-child { margin-top: 0; }
@media (min-width: 981px) { .legal-hero .wrap { padding: 150px 28px 56px; } }

/* ---------- Baner cookies ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; }
@media (min-width: 560px) { .cookie-banner { left: 24px; right: auto; bottom: 24px; max-width: 440px; } }
.cb-inner { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px 20px; }
.cb-inner p { font-size: 13.5px; color: var(--text); line-height: 1.55; }
.cb-inner a { color: var(--ink); text-decoration: underline; }
.cb-actions { margin-top: 14px; display: flex; gap: 10px; }
.cookie-banner[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 64px 0 40px; margin-top: auto; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; font-size: 23px; margin-bottom: 14px; }
.site-footer .fdesc { max-width: 36ch; font-size: 14.5px; color: rgba(255,255,255,.55); line-height: 1.6; }
.site-footer .fcol h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 16px; }
.site-footer .fcol a, .site-footer .fcol p { display: block; font-size: 15px; color: rgba(255,255,255,.82); margin-bottom: 11px; }
.site-footer .fcol a:hover { color: #fff; }
.site-footer .legal { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (min-width: 680px) {
  .offers-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .searchbar form { grid-template-columns: 1fr 200px 180px auto; align-items: center; }
}
@media (min-width: 620px) {
  .contacts { grid-template-columns: 1fr 1fr; }
  .apply { padding: 48px 40px; }
}
@media (min-width: 981px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { padding: 172px 28px 80px; }
  .detail-hero .wrap { padding: 160px 28px 76px; }
}
@media (min-width: 1140px) {
  .offers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 559px) {
  .wrap { padding: 0 20px; }
  .hero .wrap { padding: 130px 20px 52px; }
  .detail-hero .wrap { padding: 120px 20px 44px; }
  .section { padding: 52px 0; }
  .form-grid { grid-template-columns: 1fr; }
}
