/* =============================================
   LITERKAM — Design tokens
============================================= */
:root {
  --black: #0d0d0d;
  --charcoal: #1a1a1a;
  --charcoal-2: #232323;
  --stone-100: #f7f5f1;
  --stone-200: #eeece6;
  --stone-600: #6b6863;
  --gold: #f0c419;
  --gold-dark: #c99e0e;
  --white: #ffffff;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1200px;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.08);
  --shadow-md: 0 10px 30px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.35);
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--stone-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--black);
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 34px; height: 34px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 .6em;
}

.text-accent { color: var(--gold); }

/* =============================================
   Buttons
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; padding: 15px; font-size: 1rem; }

.link-arrow {
  display: inline-block;
  font-weight: 700;
  color: var(--gold-dark);
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}
.link-arrow:hover { border-color: var(--gold-dark); }
.section-dark .link-arrow { color: var(--gold); }

/* =============================================
   Header
============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(13,13,13,.92);
  backdrop-filter: saturate(150%) blur(8px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img { height: 42px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-call span { display: inline; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
}

.nav-close {
  display: none;
}

/* =============================================
   Hero
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 65%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.92) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 60px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--white);
  margin-bottom: .4em;
}
.hero-lead {
  max-width: 560px;
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 50px; }

.hero-stats {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 30px 0 0;
  border-top: 1px solid rgba(255,255,255,.2);
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 2rem; color: var(--gold); }
.hero-stats span { font-size: .85rem; color: rgba(255,255,255,.75); }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 6px; }
}

/* =============================================
   Sections
============================================= */
.section { padding: 100px 0; }
.section-dark {
  background: var(--black);
  color: rgba(255,255,255,.85);
}
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-lead { color: var(--stone-600); font-size: 1.05rem; }
.section-dark .section-lead { color: rgba(255,255,255,.65); }

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.section-grid-reverse { grid-template-columns: 1fr 1fr; }

.section-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-text address { font-style: normal; margin-bottom: 1em; font-weight: 700; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Pillars */
.pillars { display: grid; gap: 22px; }
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.pillar-card .icon-lg { color: var(--gold-dark); margin-bottom: 10px; }
.pillar-card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.pillar-card p { margin: 0; color: var(--stone-600); font-size: .95rem; }

/* Offer grid */
.offer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.offer-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 30px 26px;
  flex: 1 1 240px;
  max-width: 283px;
  transition: transform var(--transition), border-color var(--transition);
}
.offer-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.offer-card .icon { color: var(--gold); width: 30px; height: 30px; margin-bottom: 16px; }
.offer-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.offer-card p { font-size: .92rem; color: rgba(255,255,255,.6); margin: 0; }

/* =============================================
   Gallery
============================================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--stone-200);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.is-active { background: var(--black); color: var(--white); border-color: var(--black); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  border: none;
  padding: 0;
  cursor: zoom-in;
  background: var(--stone-200);
}
.gallery-item picture, .gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.65) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-tag {
  position: absolute;
  left: 14px; bottom: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: .8rem;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
  z-index: 1;
}
.gallery-item:hover .gallery-tag { opacity: 1; transform: translateY(0); }
.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5,5,5,.94);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 78vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox-caption { color: var(--white); margin-top: 16px; font-size: .95rem; opacity: .85; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: transparent; border: none;
  color: var(--white); font-size: 2.4rem;
  cursor: pointer; line-height: 1;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: none; color: var(--white);
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* =============================================
   Pricing
============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.price-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.price-card h3 { font-size: 1.1rem; margin-bottom: .6em; color: rgba(255,255,255,.8); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.price { font-family: var(--font-head); font-size: 2.1rem; color: var(--gold); margin: 0 0 .3em; }
.price span { font-size: 1rem; font-family: var(--font-body); color: rgba(255,255,255,.5); margin-right: 6px; }
.price small { font-size: 1rem; font-family: var(--font-body); color: rgba(255,255,255,.5); }
.price-note { font-size: .85rem; color: rgba(255,255,255,.5); margin: 0; }
.pricing-cta { text-align: center; margin-top: 50px; }

/* =============================================
   Partner — Twoja Pamięć
============================================= */
.partner-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
}
.partner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: center;
}
.partner-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.partner-text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.partner-text > p { font-size: .95rem; }
.partner-features {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.partner-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--charcoal);
}
.partner-features .icon {
  color: var(--gold-dark);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.partner-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.partner-visual { display: flex; justify-content: center; gap: 20px; }
.partner-photo {
  margin: 0;
  flex: 1;
  max-width: 140px;
  text-align: center;
}
.partner-photo picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--stone-200);
}
.partner-photo img { width: 100%; height: auto; display: block; }
.partner-photo figcaption {
  margin-top: 10px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--stone-600);
}

/* =============================================
   Map / Dojazd
============================================= */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* =============================================
   Contact
============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 16px;
}
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--charcoal-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition), transform var(--transition);
}
a.contact-card:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-card .icon { color: var(--gold); margin-top: 3px; }
.contact-card h3 { font-size: .95rem; margin-bottom: .2em; color: var(--white); }
.contact-card p { margin: 0; color: rgba(255,255,255,.65); font-size: .92rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: .8em; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: .85rem; font-weight: 700; }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--stone-200);
  border-radius: 8px;
  resize: vertical;
  background: var(--stone-100);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
}
.form-note { font-size: .78rem; color: var(--stone-600); margin: 14px 0 0; }

/* =============================================
   Footer
============================================= */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { font-size: .9rem; margin-top: 14px; }
.footer-nav h4, .footer-contact h4 { color: var(--white); font-family: var(--font-body); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1em; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact p { font-size: .9rem; margin: 0 0 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  padding-right: 74px;
  font-size: .82rem;
}
.footer-bottom a:hover { color: var(--gold); }

/* =============================================
   Mobile sticky CTA & back to top
============================================= */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  z-index: 400;
  background: var(--black);
  box-shadow: 0 -6px 20px rgba(0,0,0,.3);
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  background: var(--gold);
  color: var(--black);
}
.mobile-cta-outline { background: transparent; color: var(--white); border-left: 1px solid rgba(255,255,255,.15); }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 300;
  transition: transform var(--transition);
}
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top.is-visible { display: flex; }

/* =============================================
   Responsive
============================================= */
@media (max-width: 980px) {
  .section-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-grid-reverse .map-wrap { order: 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .partner-card { padding: 32px; }
  .partner-grid { grid-template-columns: 1fr; gap: 24px; }
  .partner-visual { order: -1; }
  .partner-photo { max-width: 130px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--black);
    padding: 100px 30px 30px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 400;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 24px; }
  .main-nav a { font-size: 1.1rem; }
  .hamburger { display: flex; }
  .header-call { display: none; }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: transparent;
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
  }

  .hero-content { padding-top: 100px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 24px;
    text-align: center;
  }
  .hero-stats li { align-items: center; }
  .hero-stats strong { font-size: 1.4rem; }
  .hero-stats span { font-size: .72rem; line-height: 1.3; }

  .section { padding: 70px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .partner-card { padding: 24px; }
  .partner-grid { gap: 20px; }
  .partner-visual { gap: 12px; }
  .partner-photo { max-width: 100px; }
  .partner-badge { display: table; margin: 0 auto 8px; }
  .partner-text .eyebrow { text-align: center; }
  .partner-text h2 { font-size: 1.35rem; text-align: center; }
  .partner-text > p { font-size: .9rem; margin: 10px 0; }
  .partner-features { margin: 14px 0 18px; gap: 8px; }
  .partner-features li { font-size: .88rem; }
  .partner-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 4px; }
  .partner-actions .btn { width: 100%; }
  .partner-actions .link-arrow { margin: 0 auto !important; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav ul { justify-items: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }

  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 70px; }
  body { padding-bottom: 0; }
  .back-to-top { bottom: 86px; right: 16px; }
  .footer-bottom { padding-right: 0; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding-top: 110px; }
}
