/* ===== Vertpol - statyczny motyw (bez frameworka) ===== */
:root {
  --background: #fcfaf7;
  --foreground: #281e15;
  --card: #fffdf9;
  --primary: #685227;
  --primary-foreground: #fffdf9;
  --secondary: #f7f3ee;
  --muted: #f5f0e6;
  --muted-foreground: #5d4b3c;
  --accent: #f3c920;
  --accent-foreground: #281e15;
  --border: #e5dfd6;
  --radius: 0.5rem;
  --maxw: 1152px;
  --shadow: 0 1px 3px rgba(40, 30, 21, 0.06), 0 1px 2px rgba(40, 30, 21, 0.04);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--foreground);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--foreground); }

img { max-width: 100%; display: block; height: auto; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

.section { padding: 4rem 0; }
.section-muted { background: var(--secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.narrow { max-width: 768px; }

.section-head { margin-bottom: 2rem; }
.section-head.center { text-align: center; }
.section-head.center p { max-width: 640px; margin: 0.75rem auto 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 1.1rem;
}
.nav-desktop, .header-actions { display: none; }
.nav-desktop a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(40, 30, 21, 0.7);
  border-radius: 0.375rem;
}
.nav-desktop a:hover { color: var(--foreground); background: var(--muted); }
.link-quiet { font-size: 0.875rem; font-weight: 500; color: rgba(40,30,21,0.8); }

@media (min-width: 768px) {
  .nav-desktop { display: flex; gap: 0.25rem; }
  .header-actions { display: flex; align-items: center; gap: 0.5rem; }
  .nav-toggle { display: none; }
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle-bar { width: 24px; height: 2px; background: var(--foreground); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a { padding: 0.625rem 0.75rem; font-weight: 500; border-radius: 0.375rem; color: var(--foreground); }
@media (min-width: 768px) { .nav-mobile { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-foreground); }
.btn-accent:hover { background: #e0b818; color: var(--accent-foreground); }
.btn-outline { background: transparent; border-color: rgba(40,30,21,0.4); color: var(--foreground); }
.btn-outline:hover { background: var(--muted); }
.btn-light { background: var(--background); color: var(--foreground); }
.btn-light:hover { background: #f3eee5; }
.btn-outline-light { background: transparent; border-color: rgba(40,30,21,0.4); color: var(--accent-foreground); }
.btn-outline-light:hover { background: rgba(40,30,21,0.08); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn-row.center { justify-content: center; }

/* ===== Hero ===== */
.hero { padding: 3.5rem 0; }
@media (min-width: 1024px) { .hero { padding: 5rem 0; } }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--secondary);
  color: var(--foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-text p { font-size: 1.125rem; color: var(--muted-foreground); max-width: 36rem; }
.hero-media { border-radius: 1rem; overflow: hidden; background: var(--secondary); aspect-ratio: 4/3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Two-col ===== */
.two-col { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
.media-frame { border-radius: 1rem; overflow: hidden; background: var(--secondary); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 18rem; }

/* ===== Grids & cards ===== */
.grid { display: grid; gap: 1.25rem; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.card-link { display: block; transition: border-color 0.15s, box-shadow 0.15s; }
.card-link:hover { border-color: var(--primary); box-shadow: var(--shadow); color: inherit; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: rgba(104, 82, 39, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
}
.card h3 { margin-top: 1rem; }
.card p { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 0; }
.more { display: inline-block; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.step-num { display: block; font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }

/* ===== Check list ===== */
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.check-list li { position: relative; padding-left: 1.75rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }

/* ===== Offer rows ===== */
.offer-row { display: grid; gap: 2rem; align-items: center; margin-bottom: 4rem; }
@media (min-width: 768px) { .offer-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .offer-row.reverse .offer-media { order: 2; } }
.offer-media { border-radius: 1rem; overflow: hidden; background: var(--secondary); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(104, 82, 39, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* ===== Chips ===== */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
}
.chip::before { content: "📍"; color: var(--primary); }

/* ===== FAQ ===== */
.faq-list { background: var(--card); border: 1px solid var(--border); border-radius: 0.75rem; padding: 0 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--muted-foreground); }

/* ===== Kontakt ===== */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-ico { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: rgba(104,82,39,0.1); color: var(--primary); flex-shrink: 0; }
.contact-list strong { display: block; }
.contact-list p { margin: 0.15rem 0 0; color: var(--muted-foreground); font-size: 0.95rem; }
.form-note { font-size: 0.85rem; color: var(--muted-foreground); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--foreground);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(104,82,39,0.25);
}
.form-status { margin-top: 0.75rem; font-size: 0.9rem; color: var(--primary); font-weight: 600; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 1rem;
  padding: 3rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: var(--accent-foreground); }
.cta-band p { color: var(--accent-foreground); max-width: 40rem; margin: 0.75rem auto 0; }

/* ===== Footer ===== */
.site-footer { margin-top: 5rem; border-top: 1px solid var(--border); background: var(--secondary); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3rem 1rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer h4 { margin-bottom: 0.75rem; }
.site-footer nav, .site-footer address, .site-footer div { font-size: 0.875rem; }
.site-footer nav a, .site-footer address a { display: block; color: var(--muted-foreground); padding: 0.25rem 0; }
.site-footer address { font-style: normal; }
.site-footer p { color: var(--muted-foreground); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }