/* ============================================================
   Museum Store — WPG S.A.
   Strona ofertowa dla instytucji szukających operatora
   sklepów muzealnych.
   ============================================================ */

:root {
  --ink:        #1d1b17;   /* podstawowy tekst  */
  --ink-soft:   #55504733; /* subtelne linie    */
  --muted:      #6f685c;   /* tekst drugorzędny */
  --gold:       #a67c3d;   /* akcent — złoto muzealne */
  --gold-dark:  #8a652d;
  --ivory:      #f7f4ee;   /* tło strony        */
  --ivory-2:    #efe9df;   /* tło sekcji naprzemiennej */
  --white:      #ffffff;
  --shadow:     0 18px 40px -24px rgba(29, 27, 23, .45);
  --radius:     14px;
  --maxw:       1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .2px;
  margin: 0 0 .4em;
}

p { margin: 0 0 1.1em; }

a { color: inherit; text-decoration: none; }

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

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

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.section {
  padding: 96px 0;
}
.section--alt { background: var(--ivory-2); }
.section--ink { background: #1d1b17; color: #efe9df; }
.section--ink .eyebrow { color: #d8b271; }
.section--ink h2 { color: #fff; }

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.section .lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 720px;
}
.section--ink .lead { color: #c9c0b0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border-color: var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.brand span { color: var(--gold); }
.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -4px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .93rem; color: var(--ink); transition: color .2s; }
.nav a:hover { color: var(--gold); }
.nav .btn { padding: 10px 22px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('images/hero.jpg') center 40% / cover no-repeat;
  transform: scale(1.02);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,18,14,.86) 0%, rgba(20,18,14,.55) 45%, rgba(20,18,14,.25) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 720px; padding: 80px 0; }
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: #fff;
  margin-bottom: .3em;
}
.hero p {
  font-size: 1.25rem;
  color: #ece6da;
  max-width: 600px;
  margin-bottom: 2em;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.stat__label { color: var(--muted); font-size: .96rem; margin-top: 8px; }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  gap: 28px;
  margin-top: 54px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--ink-soft);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(166, 124, 61, .12);
  color: var(--gold);
  margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.55rem; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Split (text + image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split ul { list-style: none; padding: 0; margin: 24px 0 0; }
.split li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--ink-soft);
  color: var(--muted);
}
.split li strong { color: var(--ink); font-weight: 600; }
.split li::before {
  content: '';
  position: absolute; left: 4px; top: 20px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 54px; }
.step { position: relative; padding-top: 20px; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-size: 1.4rem; margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Locations ---------- */
.loc-group { margin-top: 44px; }
.loc-group__title {
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-soft);
  margin-bottom: 8px;
}
.loc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
}
.loc {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--ink-soft);
}
.loc__name { font-weight: 600; }
.loc__city { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.badge {
  display: inline-block;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Shop contact cards ---------- */
.shops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.shop {
  background: var(--white);
  border: 1px solid var(--ink-soft);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.shop:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shop__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.15;
}
.shop__addr { color: var(--muted); font-size: .92rem; margin: 6px 0 16px; }
.shop__links { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.shop__links a { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink); word-break: break-word; }
.shop__links a:hover { color: var(--gold); }
.shop__links svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: .86rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(20,18,14,.82));
}
.gallery .wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.person {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.person__role { color: #d8b271; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.person__name { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: #fff; margin-bottom: 16px; }
.person a { display: flex; align-items: center; gap: 10px; color: #efe9df; padding: 6px 0; font-size: 1.02rem; }
.person a:hover { color: #fff; }
.person svg { width: 18px; height: 18px; color: #d8b271; flex: none; }

.company-line {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #c9c0b0; font-size: .96rem;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
}

/* ---------- Footer ---------- */
.footer {
  background: #141210; color: #8b8478;
  padding: 30px 0; font-size: .86rem;
}
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--ivory); padding: 20px 24px;
    border-bottom: 1px solid var(--ink-soft); gap: 16px;
  }
  .nav-toggle { display: block; }
  .grid--3, .grid--2, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .shops { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .loc-list { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .grid--3, .grid--2, .steps, .stats, .loc-list, .gallery, .shops { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 76vh; }
}
