:root {
  --ink: #15171f;
  --ink-soft: #5c6070;
  --bg: #fbfaf8;
  --bg-alt: #f2f0ea;
  --border: #e5e2da;
  --accent: #9c7a4e;
  --accent-dark: #7c5f3a;
  --accent-light: #f2ece0;
  --panel: #1b1e28;
  --panel-2: #262a37;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(21, 23, 31, .04), 0 1px 1px rgba(21, 23, 31, .03);
  --shadow: 0 4px 10px rgba(21, 23, 31, .04), 0 14px 30px rgba(21, 23, 31, .06);
  --shadow-lg: 0 24px 48px rgba(15, 16, 22, .28);
  --font-head: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 3.6vw, 3.05rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .35em; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Icons */
.ico, .info-ico svg, .priority-card span svg, .method-ico svg, .contact-row span svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; text-decoration: none;
  font-size: .92rem; font-family: var(--font-head); border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer; letter-spacing: -0.005em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px rgba(156,122,78,.28); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 26px rgba(156,122,78,.34); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { background: #fff; border-color: var(--ink); }
.btn-lg { padding: 15px 28px; font-size: .96rem; }
.btn-icon-only { padding: 0; width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 248, .9); backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 12px 24px; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-mark { height: 50px; width: auto; }

.main-nav { display: flex; gap: 26px; }
.main-nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--ink-soft); padding: 6px 0; transition: color .15s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link { display: flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-family: var(--font-head); color: var(--ink); white-space: nowrap; font-size: .92rem; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { position: relative; background: linear-gradient(165deg, var(--panel) 0%, var(--panel-2) 100%); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 400px at 92% 0%, rgba(156,122,78,.16), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 76px 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; font-size: .76rem; color: var(--accent-dark); margin-bottom: .8em; font-family: var(--font-head); }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.hero .eyebrow { color: #d9c3a3; }
.hero .eyebrow::before { background: #d9c3a3; }
.hero h1 { color: #fff; }
.hero-lead { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }
.stat span { display: block; margin-top: 6px; font-size: .82rem; color: rgba(255,255,255,.6); }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow-lg); object-fit: cover; width: 100%; height: 340px; border: 1px solid rgba(255,255,255,.12); }

/* Info strip */
.info-strip { background: #fff; border-bottom: 1px solid var(--border); }
.info-strip-inner { display: flex; flex-wrap: wrap; gap: 28px; padding: 22px 24px; justify-content: space-between; }
.info-item { display: flex; align-items: center; gap: 14px; font-size: .89rem; }
.info-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-light); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item strong { display: block; font-family: var(--font-head); font-size: .87rem; font-weight: 700; }
.info-item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.section-lead { max-width: 60ch; margin: 0 auto 44px; color: var(--ink-soft); }
.center { text-align: center; }

.priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.priority-card { background: var(--panel); border-radius: var(--radius-sm); padding: 20px 18px; color: #fff; }
.priority-card span { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.1); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.priority-card span svg { width: 18px; height: 18px; }
.priority-card strong { display: block; font-family: var(--font-head); font-size: .95rem; font-weight: 700; }
.priority-card p { margin: 2px 0 0; font-size: .82rem; color: rgba(255,255,255,.55); }

.who-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.who-card h3 { font-size: 1.15rem; }
.check-list { list-style: none; margin: 0; padding: 0; color: var(--ink-soft); }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 13px; font-size: .93rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}
.check-list li:last-child { margin-bottom: 0; }

/* Methods */
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.method-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.method-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.method-ico { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-light); color: var(--accent-dark); margin-bottom: 16px; }
.method-card h3 { color: var(--ink); }
.method-card p { margin: 0; font-size: .91rem; }

/* Oferta */
.price-tag { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.35rem; }

/* Cennik */
.price-table { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 17px 26px; border-bottom: 1px solid var(--border); }
.price-row:last-child { border-bottom: none; }
.price-row:nth-child(even) { background: var(--bg-alt); }
.price-row span { color: var(--ink-soft); font-size: .92rem; }
.price-row strong { white-space: nowrap; color: var(--ink); font-family: var(--font-head); font-weight: 700; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.team-card { background: #fff; border-radius: var(--radius); padding: 26px 22px; text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-card img, .team-avatar-fallback { width: 92px; height: 92px; border-radius: 18px; object-fit: cover; margin: 0 auto 18px; filter: grayscale(.12); }
.team-avatar-fallback { display: flex; align-items: center; justify-content: center; background: var(--accent-light); color: var(--accent-dark); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.team-role { color: var(--accent-dark); font-weight: 600; font-size: .8rem; margin-bottom: 12px; }
.team-bio { font-size: .85rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.gallery-grid img { width: 100%; height: 210px; object-fit: cover; border-radius: 12px; transition: transform .25s ease, box-shadow .25s ease; filter: grayscale(.08); }
.gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow); filter: grayscale(0); }

/* Contact */
.contact-grid { align-items: center; }
.contact-details { display: flex; flex-direction: column; gap: 8px; margin: 28px 0; }
.contact-row { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: var(--radius-sm); transition: background .15s ease; }
a.contact-row:hover { background: #fff; box-shadow: var(--shadow-sm); }
.contact-row span:first-child { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-light); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row strong { display: block; font-family: var(--font-head); font-size: .91rem; font-weight: 700; }
.contact-row div span { color: var(--ink-soft); font-size: .91rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); filter: grayscale(.15) contrast(1.02); }
.map-wrap iframe { width: 100%; height: 440px; border: 0; }

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h1 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .6em; }
.legal-content h3 { margin-top: 2em; color: var(--ink); }
.legal-content ul, .legal-content ol { color: var(--ink-soft); padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content p { line-height: 1.7; }

/* Footer */
.site-footer { background: var(--panel); color: rgba(255,255,255,.8); padding: 52px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .92; transition: opacity .15s ease; }
.footer-inner > div:first-child a:hover .footer-logo { opacity: 1; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-inner nav a { text-decoration: none; color: rgba(255,255,255,.68); font-size: .89rem; font-weight: 500; transition: color .15s ease; }
.footer-inner nav a:hover { color: #fff; }
.copyright { width: 100%; text-align: center; margin: 32px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; color: rgba(255,255,255,.45); }
.copyright a { color: rgba(255,255,255,.65); text-decoration: underline; }
.copyright a:hover { color: #fff; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--ink); color: #fff; align-items: center; justify-content: center; gap: 10px; padding: 15px; font-weight: 600; font-family: var(--font-head);
  text-decoration: none; box-shadow: 0 -8px 24px rgba(0,0,0,.18);
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .phone-link { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px; }
  .hero-media img { height: 260px; }
  .section { padding: 64px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 40px; }
  .methods-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .priority-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 58px; }

  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 18px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
}

@media (max-width: 560px) {
  .methods-grid, .team-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .priority-grid { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; gap: 4px; }
  .info-strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
