/* ============================================================
   ulvexa — kancelaria prawna, Bydgoszcz
   Windykacja · upadłość konsumencka · prawo nieruchomości i administracyjne
   Styl: śmiały, nowoczesny; czarny tekst na płaskich blokach koloru,
   duże grotoskowe nagłówki, strzałka w CTA przesuwa się w prawo.
   Kroje: Bricolage Grotesque (nagłówki) + Figtree (tekst)
   ============================================================ */

:root {
  --ink: #141414;
  --paper: #ffffff;
  --grey: #f4f3f0;
  --yellow: #ffd21e;
  --green: #7ac29a;
  --blue: #bcd3ff;
  --muted: #5c5c58;
  --line: #e6e4de;
  --line-dark: rgba(255, 255, 255, 0.18);
  --wrap: 1200px;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.ux-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

.ux-kicker { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); display: inline-block; }

.ux-arrow { display: inline-flex; align-items: center; justify-content: center; transition: transform .3s ease; }
.ux-arrow svg { width: 20px; height: 20px; }

.ux-btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--body); font-size: 15px; font-weight: 600; padding: 15px 28px; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 100px; cursor: pointer; transition: background .22s, color .22s; }
.ux-btn:hover { background: #000; }
.ux-btn:hover .ux-arrow { transform: translateX(6px); }
.ux-btn--ghost { background: transparent; color: var(--ink); }
.ux-btn--ghost:hover { background: var(--ink); color: #fff; }
.ux-btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.ux-btn--light:hover { background: transparent; color: #fff; }

.ux-textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.ux-textlink:hover .ux-arrow { transform: translateX(6px); }

/* ============================================================ HEADER */
.ux-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.ux-header .ux-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.ux-logo { display: flex; align-items: center; gap: 11px; }
.ux-logo svg { width: 38px; height: 38px; flex: none; }
.ux-logo b { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; color: var(--ink); }
.ux-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; }
.ux-nav a { font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.ux-nav a:hover, .ux-nav a.is-active { border-color: var(--ink); }
.ux-head-cta { display: flex; align-items: center; gap: 14px; }
.ux-head-cta .ux-btn { padding: 12px 22px; font-size: 14px; }
.ux-burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 10px; }
.ux-burger span { display: block; height: 2.5px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.ux-burger span + span { margin-top: 6px; }
.ux-burger.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.ux-burger.is-open span:nth-child(2) { opacity: 0; }
.ux-burger.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ============================================================ HERO */
.ux-hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; background-size: cover; background-position: center; }
.ux-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.78) 0%, rgba(20,20,20,.5) 60%, rgba(20,20,20,.25) 100%); }
.ux-hero .ux-wrap { position: relative; z-index: 2; }
.ux-hero .ux-kicker { color: #fff; margin-bottom: 18px; }
.ux-hero h1 { color: #fff; font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; line-height: 1.02; max-width: 16ch; margin-bottom: 20px; }
.ux-hero p { font-size: 19px; color: #f0efe9; max-width: 48ch; margin-bottom: 30px; }

/* ============================================================ SECTIONS / ACTION PANEL */
.ux-section { padding: 90px 0; }
.ux-section.is-grey { background: var(--grey); }
.ux-panel { text-align: center; max-width: 720px; margin: 0 auto; }
.ux-panel .ux-kicker { color: var(--muted); margin-bottom: 18px; }
.ux-panel h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 20px; }
.ux-panel p { color: var(--muted); font-size: 18px; }
.ux-panel .ux-btn { margin-top: 30px; }

.ux-head { max-width: 760px; margin-bottom: 50px; }
.ux-head .ux-kicker { color: var(--muted); margin-bottom: 16px; }
.ux-head h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.ux-head p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.ux-head.is-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============================================================ 4-UP IMAGE CTA GRID */
.ux-cards { display: grid; grid-template-columns: 1fr; gap: 34px; }
.ux-card { display: block; }
.ux-card-img { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 18px; background: var(--grey); }
.ux-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ux-card:hover .ux-card-img img { transform: scale(1.05); }
.ux-card h3 { font-size: 1.4rem; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ux-card:hover .ux-arrow { transform: translateX(6px); }
.ux-card p { color: var(--muted); font-size: 15px; }

/* ============================================================ PRODUCT PROMO (flat color split band) */
.ux-promo { }
.ux-promo.is-yellow { background: var(--yellow); }
.ux-promo.is-green { background: var(--green); }
.ux-promo.is-blue { background: var(--blue); }
.ux-promo .ux-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding-top: 76px; padding-bottom: 76px; }
.ux-promo-body .ux-kicker { margin-bottom: 18px; }
.ux-promo-body h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 20px; }
.ux-promo-body p { color: var(--ink); font-size: 18px; margin-bottom: 28px; max-width: 46ch; opacity: .85; }
.ux-promo-media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

/* ============================================================ ILLUSTRATIVE TRIPLET */
.ux-tri { display: grid; grid-template-columns: 1fr; gap: 34px; }
.ux-tri-card { display: block; }
.ux-tri-ic { width: 84px; height: 84px; margin-bottom: 20px; color: var(--ink); }
.ux-tri-ic svg { width: 100%; height: 100%; }
.ux-tri-card h3 { font-size: 1.5rem; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ux-tri-card:hover .ux-arrow { transform: translateX(6px); }
.ux-tri-card p { color: var(--muted); font-size: 15.5px; }

/* ============================================================ TESTIMONIALS */
.ux-quotes { display: grid; grid-template-columns: 1fr; gap: 26px; }
.ux-quote { background: var(--paper); border: 2px solid var(--ink); padding: 30px 28px; display: flex; flex-direction: column; }
.ux-quote .ux-stars { font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.ux-quote blockquote { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.35; margin-bottom: 22px; letter-spacing: -0.01em; }
.ux-quote-author { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.ux-quote-author .ux-av { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; }
.ux-quote-author b { display: block; font-size: 15px; }
.ux-quote-author span { font-size: 13px; color: var(--muted); }

/* ============================================================ CONTACT */
.ux-contact { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.ux-contact-rows { display: grid; gap: 16px; margin-top: 26px; }
.ux-crow { display: flex; align-items: center; gap: 16px; }
.ux-crow .ux-tile { width: 50px; height: 50px; flex: none; background: var(--ink); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.ux-crow .ux-tile svg { width: 22px; height: 22px; color: #fff; }
.ux-crow b { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ux-crow a, .ux-crow span { font-size: 17px; color: var(--ink); font-weight: 600; }
.ux-crow a:hover { text-decoration: underline; }
.ux-map { min-height: 360px; border: 2px solid var(--ink); }
.ux-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ============================================================ TEAM */
.ux-team { display: grid; grid-template-columns: 1fr; gap: 30px; }
.ux-member .ux-photo { aspect-ratio: 3/4; overflow: hidden; background: var(--grey); margin-bottom: 16px; }
.ux-member .ux-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: filter .4s; }
.ux-member:hover .ux-photo img { filter: grayscale(0%); }
.ux-member h3 { font-size: 1.3rem; margin-bottom: 3px; }
.ux-member .ux-role { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.ux-member p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ============================================================ PAGEHEAD / PROSE / STEPS */
.ux-pagehead { background: var(--yellow); padding: 84px 0 66px; }
.ux-pagehead.is-green { background: var(--green); }
.ux-pagehead.is-blue { background: var(--blue); }
.ux-pagehead.is-grey { background: var(--grey); }
.ux-pagehead .ux-kicker { margin-bottom: 16px; }
.ux-pagehead h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; max-width: 20ch; }
.ux-pagehead p { color: var(--ink); opacity: .82; max-width: 620px; margin-top: 16px; font-size: 18px; }
.ux-crumbs { margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--ink); opacity: .7; }
.ux-crumbs a { text-decoration: underline; }

.ux-prose { max-width: 800px; margin: 0 auto; }
.ux-prose .ux-lead { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.35; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em; }
.ux-prose h2 { font-size: 1.9rem; margin: 42px 0 14px; }
.ux-prose h3 { font-size: 1.3rem; margin: 26px 0 10px; }
.ux-prose p { color: var(--muted); margin-bottom: 16px; }
.ux-prose ul, .ux-prose ol { margin: 0 0 18px 22px; color: var(--muted); }
.ux-prose li { margin-bottom: 9px; }
.ux-prose a { color: var(--ink); text-decoration: underline; font-weight: 600; }
.ux-prose strong { color: var(--ink); }

.ux-steps { counter-reset: step; display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 860px; margin: 0 auto; }
.ux-step { display: flex; gap: 22px; padding: 26px; border: 2px solid var(--ink); }
.ux-step-n { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; flex: none; }
.ux-step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.ux-step p { color: var(--muted); font-size: 15.5px; margin: 0; }

.ux-callout { background: var(--grey); border-left: 4px solid var(--yellow); padding: 22px 26px; margin: 26px 0; }
.ux-callout p { margin: 0; color: var(--ink); }

/* ============================================================ FOOTER */
.ux-footer { background: var(--ink); color: #d4d2cc; padding: 66px 0 0; }
.ux-footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 46px; }
.ux-footer-brand .ux-logo b { color: #fff; }
.ux-footer p { color: #9a9892; font-size: 14.5px; margin: 16px 0; max-width: 34ch; }
.ux-footer h4 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.ux-footer ul { list-style: none; }
.ux-footer li { margin-bottom: 12px; }
.ux-footer a { color: #d4d2cc; font-size: 14.5px; }
.ux-footer a:hover { color: var(--yellow); }
.ux-footer-contact li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.ux-footer-contact svg { width: 16px; height: 16px; color: var(--yellow); flex: none; margin-top: 4px; }
.ux-footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #86847e; }
.ux-footer-bottom a { color: #86847e; }
.ux-footer-bottom a:hover { color: var(--yellow); }
.ux-footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ux-tagline { background: #000; color: #fff; text-align: center; padding: 26px 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -0.01em; }

/* ============================================================ COOKIE */
.ux-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1040px; margin: 0 auto; background: var(--ink); color: #eceae4; border-radius: 14px; padding: 24px 26px; display: none; grid-template-columns: 1fr; gap: 16px; align-items: center; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.ux-cookie.is-visible { display: grid; }
.ux-cookie p { font-size: 14px; color: #c7c5bf; margin: 0; }
.ux-cookie a { color: var(--yellow); text-decoration: underline; }
.ux-cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ux-cookie-actions button { font-family: var(--body); font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 100px; cursor: pointer; border: 2px solid var(--yellow); }
.ux-cookie-actions .ux-ck-all { background: var(--yellow); color: var(--ink); }
.ux-cookie-actions .ux-ck-min { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ux-cookie-actions .ux-ck-min:hover { border-color: #fff; }

/* ============================================================ VALUES / SITUATIONS GRID */
.ux-vals { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ux-val { background: var(--paper); padding: 30px 28px; }
.ux-val .ux-vn { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--ink); }
.ux-val .ux-vc { width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; }
.ux-val .ux-vc svg { width: 16px; height: 16px; color: var(--ink); }
.ux-val h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.ux-val p { color: var(--muted); font-size: 15px; }

/* ============================================================ FAQ */
.ux-faq { max-width: 860px; margin: 0 auto; }
.ux-faq-item { border-bottom: 2px solid var(--ink); padding: 26px 4px; }
.ux-faq-item:first-child { border-top: 2px solid var(--ink); }
.ux-faq-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.ux-faq-item p { color: var(--muted); margin: 0; }

/* ============================================================ RESPONSIVE */
@media (min-width: 640px) {
  .ux-cards { grid-template-columns: repeat(2, 1fr); }
  .ux-tri { grid-template-columns: repeat(3, 1fr); }
  .ux-quotes { grid-template-columns: repeat(3, 1fr); }
  .ux-team { grid-template-columns: repeat(2, 1fr); }
  .ux-vals { grid-template-columns: repeat(2, 1fr); }
  .ux-vals.is-three { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 940px) {
  .ux-cards { grid-template-columns: repeat(4, 1fr); }
  .ux-vals { grid-template-columns: repeat(4, 1fr); }
  .ux-vals.is-three { grid-template-columns: repeat(3, 1fr); }
  .ux-promo .ux-wrap { grid-template-columns: 1fr 1fr; gap: 64px; }
  .ux-promo.is-imgleft .ux-promo-media { order: -1; }
  .ux-contact { grid-template-columns: 1fr 1fr; }
  .ux-team { grid-template-columns: repeat(4, 1fr); }
  .ux-footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (max-width: 899px) {
  .ux-burger { display: block; }
  .ux-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: var(--paper); padding: 92px 30px 30px; transform: translateX(100%); transition: transform .32s ease; z-index: 55; box-shadow: -18px 0 40px rgba(0,0,0,.18); }
  .ux-nav.is-open { transform: translateX(0); }
  .ux-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ux-nav a { display: block; width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .ux-head-cta .ux-btn span.ux-btn-label { display: none; }
  .ux-section { padding: 60px 0; }
}
