/* iNegocjator.pl — styl strony (bez frameworków) */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/libre-baskerville-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/libre-baskerville-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #1d2b41;
  --gold: #be9064;
  --sand: #f2e8da;
  --cream: #f9f5ee;
  --ink: #16202e;

  --ink-10: rgba(22, 32, 46, 0.1);
  --ink-15: rgba(22, 32, 46, 0.15);
  --ink-25: rgba(22, 32, 46, 0.25);
  --ink-35: rgba(22, 32, 46, 0.35);
  --ink-50: rgba(22, 32, 46, 0.5);
  --ink-55: rgba(22, 32, 46, 0.55);
  --ink-60: rgba(22, 32, 46, 0.6);
  --ink-65: rgba(22, 32, 46, 0.65);
  --ink-70: rgba(22, 32, 46, 0.7);
  --ink-75: rgba(22, 32, 46, 0.75);
  --brand-40: rgba(29, 43, 65, 0.4);
  --gold-45: rgba(190, 144, 100, 0.45);
  --gold-50: rgba(190, 144, 100, 0.5);
  --sand-55: rgba(242, 232, 218, 0.55);
  --sand-60: rgba(242, 232, 218, 0.6);

  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--ink-10); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }

.container { max-width: 72rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.display { font-family: var(--font-display); }
.bg-sand { background: var(--sand-60); }
.bg-cream { background: var(--cream); }
.section { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section { padding-top: 6rem; padding-bottom: 6rem; } }

.section-head { max-width: 42rem; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2.title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--brand);
}
@media (min-width: 768px) { h2.title { font-size: 2.25rem; } }
.lead {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.625;
  font-weight: 300;
  color: var(--ink-65);
}
.note {
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.625;
  font-weight: 300;
  color: var(--ink-65);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 245, 238, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-10);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand-link { display: flex; flex-shrink: 0; align-items: center; gap: 1rem; color: var(--brand); }
.brand-link img { height: 2.5rem; width: auto; }
.brand-name {
  display: none;
  border-left: 1px solid var(--ink-15);
  padding-left: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .brand-link img { height: 3rem; }
  .brand-name { display: block; }
}
.main-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-60);
}
.main-nav a { transition: color 0.15s; }
.main-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--brand-40);
  color: var(--brand);
  transition: background-color 0.15s, color 0.15s;
}
.icon-btn svg { width: 1rem; height: 1rem; }
.icon-btn:hover { background: var(--brand); color: var(--cream); }
.pill-outline {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  border: 1px solid var(--brand-40);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  transition: background-color 0.15s, color 0.15s;
}
.pill-outline:hover { background: var(--brand); color: var(--cream); }
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .icon-btn.mobile-only { display: none; }
}

/* Hero */
.hero {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  display: grid;
  gap: 2.5rem;
}
.hero-media { order: 2; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 340px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 22px;
  background: var(--sand);
}
.hero-text { order: 1; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
@media (min-width: 768px) {
  .hero { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .hero-media { order: 1; grid-column: span 5 / span 5; }
  .hero-media img { max-height: none; }
  .hero-text { order: 2; grid-column: span 7 / span 7; }
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.2vw, 3rem);
  line-height: 1.08;
  color: var(--brand);
}
.hero-sub {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1.35vw, 1.375rem);
  color: var(--ink-70);
  line-height: 1.625;
  font-weight: 300;
}
.hero-sub .accent { color: var(--gold); font-weight: 400; }
.hero-sub .small { display: block; margin-top: 0.5rem; font-size: 1rem; color: var(--ink-60); }
.hero-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid var(--brand);
  transition: background-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--brand); color: var(--cream); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-outline { color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--cream); }

/* Karty */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.two .wide { grid-column: span 2 / span 2; }
}
.card {
  background: var(--cream);
  border-radius: 6px;
  padding: 1.75rem;
  border: 1px solid var(--ink-10);
}
.card.lift { transition: transform 0.15s; }
.card.lift:hover { transform: translateY(-0.25rem); }
.card .num { color: var(--gold); font-size: 0.875rem; margin-bottom: 1.5rem; }
.card h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; color: var(--brand); }
.card p.desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  font-weight: 300;
  color: var(--ink-55);
}
.cards + .note { margin-top: 3rem; }

/* Proces */
.steps { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { border-top: 1px solid var(--ink-10); padding-top: 1.5rem; }
.step-num { display: flex; align-items: baseline; gap: 0.375rem; color: var(--ink-25); }
.step-num .big { font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; }
.step-num .of { font-size: 0.875rem; }
.step h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; color: var(--brand); margin-top: 1rem; }
.step .sub {
  margin-top: 0.25rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  min-height: 1.2em;
}
.step p.desc { margin-top: 0.75rem; color: var(--ink-55); font-weight: 300; line-height: 1.625; }
.steps + .note { margin-top: 3.5rem; }

/* O mnie */
.about { max-width: 48rem; }
.about-body {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.625;
  font-weight: 300;
  color: var(--ink-65);
}
.about-body > * + * { margin-top: 1.5rem; }
.about-body .block { padding-top: 1rem; }
.about-body h3 { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.55; color: var(--brand); }
.about-body .block p { margin-top: 0.75rem; }
.text-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--gold-50);
  transition: text-decoration-color 0.15s;
}
.text-link:hover { text-decoration-color: var(--gold); }

/* Kontakt */
.contact-grid {
  display: grid;
  gap: 1px;
  background: var(--ink-10);
  border: 1px solid var(--ink-10);
  border-radius: 6px;
  overflow: hidden;
}
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  background: var(--cream);
  padding: 2rem;
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 0.15s;
}
@media (min-width: 1024px) { .tile { padding: 2.25rem; } }
a.tile:hover { background: #f6efe4; }
.tile .ico { width: 1.75rem; height: 1.75rem; color: var(--gold); margin-bottom: 1.5rem; }
.tile h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; color: var(--brand); }
.tile .kind { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-50); font-weight: 300; }
.tile .val { margin-top: 1.25rem; color: var(--brand); }
.tile .val.u {
  border-bottom: 1px solid var(--gold-45);
  padding-bottom: 0.25rem;
  transition: border-color 0.15s;
}
.tile:hover .val.u { border-color: var(--gold); }
.tile .val.small { font-size: 0.875rem; word-break: break-all; }
.tile .val.row { display: inline-flex; align-items: center; gap: 0.375rem; }
.tile .val.row svg { width: 1rem; height: 1rem; }
.contact-cta { margin-top: 3rem; text-align: center; }
@media (min-width: 768px) { .contact-cta { margin-top: 3.5rem; } }
.btn-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--cream);
  padding: 1rem 2.25rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background-color 0.15s, transform 0.15s;
}
.btn-square:hover { background: var(--ink); transform: translateY(-0.125rem); }

/* Stopka */
.site-footer { border-top: 1px solid var(--ink-10); }
.footer-top {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-60);
  text-align: center;
}
@media (min-width: 768px) { .footer-top { flex-direction: row; text-align: left; } }
.footer-top .brand-link { gap: 0.75rem; }
.footer-top .brand-link img { height: 2rem; }
.footer-top .brand-name {
  padding-left: 0.75rem;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0.025em;
}
.footer-top a.plain { transition: color 0.15s; }
.footer-top a.plain:hover { color: var(--brand); }
.footer-legal {
  padding-bottom: 2.5rem;
  text-align: center;
  font-size: 12px;
  line-height: 1.625;
  color: var(--ink-60);
}
.footer-legal p + p { margin-top: 0.25rem; }
.footer-legal .addr-note { color: var(--ink-50); font-style: italic; margin-bottom: 0.5rem; }
.sep { margin: 0 0.5rem; color: var(--ink-35); }

/* Podstrony: polityka prywatności i 404 */
.doc { max-width: 42rem; margin: 0 auto; }
.doc h1 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--brand); }
@media (min-width: 768px) { .doc h1 { font-size: 1.875rem; } }
.doc .meta { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ink-60); font-weight: 300; }
.doc-body { margin-top: 2rem; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-75); font-weight: 300; }
.doc-body section + section { margin-top: 1.75rem; }
.doc-body h2 { font-family: var(--font-display); font-size: 1.0625rem; color: var(--brand); margin-bottom: 0.5rem; }
.doc-body p + p { margin-top: 0.5rem; }
.doc-back { margin-top: 3rem; }

.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.notfound .code { font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--brand); }
.notfound h1 { margin-top: 1rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--brand); }
.notfound p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-60); }
.notfound .btn { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
