/* Kingstarrte — wizytówka. Bez zewnętrznych czcionek i skryptów (brak przesyłania danych odwiedzających do firm trzecich). */
:root {
    --paper: #f7f3ec;
    --paper-2: #efe8dc;
    --card: #fffdf9;
    --ink: #161412;
    --ink-soft: #5c554d;
    --line: #ddd3c4;
    --accent: #b5562f;
    --accent-ink: #ffffff;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius: 18px;
    --max: 1180px;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Nawigacja */
.nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px max(16px, calc((100% - var(--max)) / 2));
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.nav nav { display: flex; gap: 26px; }
.nav nav a { text-decoration: none; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav nav { display: none; } }

/* Hero */
.hero {
    max-width: var(--max); margin: 0 auto; padding: 56px 16px 72px;
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.eyebrow { margin: 0 0 14px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; margin: 22px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art img {
    width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff;
    border-radius: 50%; border: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(22, 20, 18, .35);
}
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding-top: 32px; text-align: left; }
    .hero-art { width: 200px; margin: 0 auto; order: -1; }
}

/* Przyciski */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px; border-radius: 999px;
    border: 1.5px solid var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
    background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }

/* Sekcje */
.section { max-width: var(--max); margin: 0 auto; padding: 72px 16px; }
.section-alt { max-width: none; background: var(--paper-2); }
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }

/* Galeria */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button {
    border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
    padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .88rem; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tile {
    padding: 0; border: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
    text-align: left; font: inherit; color: inherit; box-shadow: 0 1px 0 var(--line);
}
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile span { display: block; padding: 12px 16px 16px; font-family: var(--serif); font-size: 1.08rem; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--ink-soft); }
.empty p { margin: 0 0 8px; }

/* Filmy */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.video-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video-card video { width: 100%; aspect-ratio: 9 / 16; background: #000; object-fit: cover; }
.video-card .body { padding: 16px 18px 20px; }
.video-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.video-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: .95rem; }

/* Kroki */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: krok; }
.steps li { counter-increment: krok; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before { content: counter(krok); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--serif); font-size: 1.2rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-family: var(--serif); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

/* Kontakt */
.contact { text-align: center; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.socials a { min-width: 160px; }
.socials-inline { margin-top: 14px; }

/* Stopka */
.footer { border-top: 1px solid var(--line); padding: 36px 16px 44px; text-align: center; color: var(--ink-soft); font-size: .85rem; }
.footer p { margin: 4px 0; }
.footer-name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.footer-legal:empty { display: none; }

/* Podgląd zdjęcia */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(22, 20, 18, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 150px); width: auto; border-radius: 10px; }
.lightbox figcaption { color: #eee; margin-top: 12px; text-align: center; font-family: var(--serif); font-size: 1.1rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

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