/* VATNIK.pl — biuro księgowe */
:root {
  --navy-900: #0c1f33;
  --navy-800: #12304d;
  --navy-700: #1a3f63;
  --navy-100: #e6edf5;
  --gold-500: #c8963e;
  --gold-600: #a97a28;
  --gold-100: #f7eedc;
  --ink: #1b2430;
  --muted: #5b6676;
  --line: #e3e7ed;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(12, 31, 51, .06), 0 8px 24px rgba(12, 31, 51, .07);
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-700); }
a:hover { color: var(--gold-600); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-900); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; color: var(--gold-500); font-weight: 800; font-size: 18px;
}
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; }
.brand-name span { color: var(--gold-600); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem;
}
.nav a:hover { color: var(--navy-900); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--navy-900); background: var(--navy-100); }
.nav .nav-cta { background: var(--navy-800); color: #fff; margin-left: 6px; }
.nav .nav-cta:hover { background: var(--navy-900); color: #fff; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--navy-900); margin: 0 auto; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .nav a { padding: 12px 14px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: .15s ease;
}
.btn-primary { background: var(--gold-500); color: var(--navy-900); }
.btn-primary:hover { background: #d6a54d; color: var(--navy-900); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-900); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dbe5f0;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(200, 150, 62, .22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(64, 120, 180, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 18px;
}
.hero .lead { font-size: 1.15rem; max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 28px; backdrop-filter: blur(4px);
}
.hero-card .tag { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-500); }
.hero-card .big { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: #fff; line-height: 1.05; margin: 10px 0 6px; }
.hero-card .big small { font-size: .45em; font-weight: 600; color: #b9c8d8; }
.hero-card p { margin: 0; color: #c3d0de; }
.hero-card .note { font-size: .85rem; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); color: #9fb2c6; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 32px; }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; display: block; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-100); color: var(--navy-700); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

/* example refunds */
.refund { padding: 24px; text-align: left; }
.refund .label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.refund .cost { font-size: 1.1rem; color: var(--ink); margin: 6px 0 14px; }
.refund .back { display: flex; align-items: baseline; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.refund .back span { font-size: .85rem; color: var(--muted); }
.refund .back strong { font-size: 1.7rem; color: var(--gold-600); }
.fineprint { font-size: .88rem; color: var(--muted); margin-top: 20px; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 26px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .4em; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #c9d6e3;
  border-radius: 20px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; }

/* page header */
.page-hero { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #c9d6e3; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero p { max-width: 40em; margin: 0; font-size: 1.1rem; }

/* two-column content */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose p { color: #333d4a; }
.prose .lead { font-size: 1.2rem; color: var(--navy-900); font-weight: 600; }

.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list strong { color: var(--navy-900); white-space: nowrap; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { margin: 0; flex: none; }
.contact-list .k { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list .v { font-size: 1.1rem; color: var(--navy-900); font-weight: 600; text-decoration: none; }
.contact-list a.v:hover { color: var(--gold-600); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 380px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* legal act */
.act { max-width: 800px; }
.act-meta { font-size: .9rem; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 32px; }
.act-title { text-align: center; margin-bottom: 40px; }
.act-title .t1 { font-size: .9rem; letter-spacing: .2em; font-weight: 700; color: var(--gold-600); }
.act h2 { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.act h3 { margin-top: 32px; color: var(--navy-700); scroll-margin-top: 90px; }
.act p { color: #333d4a; }
.act p.pt { padding-left: 1.6em; }
.act .act-sub { font-weight: 700; color: var(--navy-900); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.toc a { display: block; padding: 6px 12px; border-radius: 999px; background: var(--navy-100); color: var(--navy-800); font-size: .88rem; font-weight: 600; text-decoration: none; }
.toc a:hover { background: var(--navy-800); color: #fff; }
.notice { background: var(--gold-100); border: 1px solid #ecd9b0; color: #5e4515; border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; margin-bottom: 28px; }

/* services */
.soft > .section { background: var(--bg-soft); }
.service { scroll-margin-top: 68px; }
.service .split { align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: #333d4a; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a97a28' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.card-link { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12,31,51,.06), 0 14px 32px rgba(12,31,51,.12); color: inherit; }
.card-link .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy-700); font-size: .95rem; }
.card-link:hover .more { color: var(--gold-600); }
.hero-card a { color: #fff; text-decoration: none; }
.hero-card a:hover { color: var(--gold-500); }
.hero-card .phone-big { display: block; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb2c6; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #c9d6e3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
