/* Majowa 39 — Event Space by Amica */

/* ---------- Fonts (self-hosted Montserrat, variable weight) ---------- */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/montserrat-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/montserrat-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/montserrat-latin-wght-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/montserrat-latin-ext-wght-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  --accent: #5C5590;
  --spark: #E2742F;
  --ink: #1E1C24;
  --bg: #F1EDEA;
  --paper: #FBF9F7;
  --sand: #E9E3DE;
  --stone: #E7E1DC;
  --body: #3A3640;
  --muted: #625D68;
  --muted-2: #5A5560;
  --error: #A3362A;
  --line: rgba(30, 28, 36, 0.18);
  --line-soft: rgba(30, 28, 36, 0.14);
  --header-h: 84px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(88px, 10.5vw, 150px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--ink); }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1 em, h2 em, h3 em, p em { font-style: italic; font-weight: 300; }

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

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  font-size: 13px;
  text-decoration: none;
}

.skip-link:focus { top: 16px; color: var(--bg); }

/* ---------- Shared bits ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow--offset { padding-top: 18px; }

.eyebrow__rule { width: 24px; height: 1px; background: var(--ink); }

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  display: inline-block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spark);
}

.dot--sm { width: 5px; height: 5px; }
.dot--lg { width: 9px; height: 9px; }

.h2 {
  font-size: clamp(36px, 4.45vw, 64px);
  line-height: 1.06;
  font-weight: 200;
  letter-spacing: -0.035em;
}

.h2--sm { font-size: clamp(36px, 4.2vw, 60px); }

.text {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--body);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

/* Buttons & links */

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 21px 30px;
  transition: opacity .2s ease, transform .2s ease;
}

.btn:hover { opacity: .88; }
.btn svg { flex-shrink: 0; }

.btn--accent { background: var(--accent); color: #FFFFFF; }
.btn--accent:hover { color: #FFFFFF; }

.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { color: var(--bg); }

.btn--outline { background: none; border: 1px solid var(--bg); color: var(--bg); padding: 20px 30px; }
.btn--outline:hover { color: var(--bg); }

.btn--sm { gap: 12px; padding: 17px 26px; }

.btn[disabled] { opacity: .6; cursor: progress; }

.ulink {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  padding: 0 0 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

/* Photos */

.photo {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.photo__frame {
  overflow: hidden;
  height: var(--h, 500px);
  background: var(--stone);
}

.photo__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.zoom { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.zoom:hover { transform: scale(1.03); }

/* Definition lists */

.specs { display: flex; flex-direction: column; }

.specs > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.specs > div:last-child { border-bottom: 1px solid var(--line); }

.specs dt { padding-top: 4px; }

.specs dd { font-size: 17px; font-weight: 300; }

.specs--compact > div { grid-template-columns: 170px minmax(0, 1fr); padding: 18px 0; }
.specs--compact dd { font-size: 16px; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 237, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 28, 36, 0.12);
}

.header__bar {
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--ink);
}

.brand img { height: 38px; width: auto; }

.brand__sep { width: 1px; height: 28px; background: rgba(30, 28, 36, 0.3); }

.brand__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav a { text-decoration: none; position: relative; padding: 6px 0; }

.header__actions { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  appearance: none;
  background: none;
  border: 1px solid rgba(30, 28, 36, 0.3);
  cursor: pointer;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Simple header for sub-pages */

.header--simple .header__bar { gap: 24px; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  min-height: 820px;
}

.hero__copy {
  padding: 64px var(--gutter) 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.hero__main { display: flex; flex-direction: column; gap: 36px; }

.hero h1 {
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.02;
  font-weight: 200;
  letter-spacing: -0.04em;
}

.hero .text { max-width: 470px; }

.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 8px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.stats > div {
  padding: 22px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { padding-right: 0; }
.stats > div + div { border-left: 1px solid var(--line); }

.stats strong { font-size: clamp(22px, 2.1vw, 30px); font-weight: 300; letter-spacing: -0.02em; }

.stats span { letter-spacing: 0.16em; }

.hero__media { position: relative; overflow: hidden; min-height: 820px; background: var(--stone); }

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

/* ---------- Event types strip ---------- */

.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */

.section { scroll-margin-top: var(--header-h); padding: var(--section-y) var(--gutter); }

/* 01 Przestrzeń */

.space { padding-top: clamp(96px, 11vw, 160px); }

.space__head { align-items: start; }
.space__head .eyebrow { grid-column: span 3; }
.space__head .h2 { grid-column: span 9; max-width: 900px; }

.space__intro { margin-top: clamp(48px, 6vw, 88px); align-items: end; }

.big-number {
  grid-column: 1 / span 6;
  display: flex;
  align-items: flex-start;
  line-height: 0.82;
  font-weight: 200;
}

.big-number span:first-child { font-size: clamp(120px, 16.7vw, 240px); letter-spacing: -0.06em; }
.big-number span:last-child { font-size: clamp(30px, 3.6vw, 52px); margin-top: 18px; margin-left: 10px; color: var(--accent); }

.space__copy {
  grid-column: 7 / span 5;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 10px;
}

.space__copy .text { font-size: 18px; line-height: 1.75; }

.space__photos { margin-top: clamp(56px, 7.2vw, 104px); align-items: start; }
.space__photos > .photo { grid-column: 1 / span 5; }

.space__side {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 120px;
}

/* 02 Możliwości */

.options { background: var(--paper); }

.options__head { align-items: end; }
.options__head .eyebrow { grid-column: span 3; align-self: start; }
.options__head .h2 { grid-column: span 5; }
.options__head .text { grid-column: 9 / span 4; font-size: 16px; }

.concepts {
  list-style: none;
  margin: clamp(48px, 5vw, 72px) 0 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 32px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.concepts li { display: flex; align-items: baseline; gap: 14px; }

.concepts li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--spark);
  transform: translateY(-2px);
}

.options__body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  margin-top: clamp(48px, 6vw, 88px);
  align-items: start;
}

.options__list { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }

.option {
  appearance: none;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  text-align: left;
  padding: 30px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 40px;
  align-items: start;
  font-family: inherit;
  color: #77727D;
}

.option__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  padding-top: 16px;
  color: var(--muted);
}

.option__main { display: flex; flex-direction: column; gap: 14px; }

.option__title {
  font-size: clamp(26px, 3.05vw, 44px);
  line-height: 1.1;
  font-weight: 200;
  letter-spacing: -0.03em;
  transition: color .25s ease;
}

.option__desc { display: none; font-size: 16px; line-height: 1.7; font-weight: 300; color: var(--body); max-width: 520px; }

.option__img { display: none; }

.option__arrow { padding-top: 18px; display: flex; justify-content: flex-end; }
.option__arrow svg { visibility: hidden; }

.option:hover .option__title { color: var(--accent); }

.option[aria-pressed="true"] { color: var(--accent); }
.option[aria-pressed="true"] .option__num { color: var(--accent); }
.option[aria-pressed="true"] .option__title { font-weight: 300; }
.option[aria-pressed="true"] .option__desc { display: block; }
.option[aria-pressed="true"] .option__arrow svg { visibility: visible; }

.options__preview { gap: 16px; position: sticky; top: 120px; }
.options__preview figcaption { display: flex; justify-content: space-between; gap: 16px; }

/* Statement */

.statement { background: var(--accent); color: var(--bg); padding: var(--section-y) var(--gutter) clamp(80px, 9.7vw, 140px); }

.statement__quote {
  margin-top: clamp(32px, 3.9vw, 56px);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.06;
  font-weight: 200;
  letter-spacing: -0.04em;
  max-width: 1180px;
}

.statement__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 32px;
  border-top: 1px solid rgba(241, 237, 234, 0.35);
}

.statement__foot .text { max-width: 460px; font-size: 16px; color: rgba(241, 237, 234, 0.88); }

/* Galeria */

.gallery { padding: var(--section-y) var(--gutter) clamp(80px, 9.7vw, 140px); }

.gallery__head { align-items: end; }
.gallery__head .eyebrow { grid-column: span 3; align-self: start; }
.gallery__head .h2 { grid-column: span 6; }
.gallery__head .text { grid-column: 10 / span 3; font-size: 14px; color: var(--muted); }

.gallery__grid { row-gap: 72px; margin-top: clamp(48px, 6.7vw, 96px); align-items: start; }
.gallery__grid figcaption { display: flex; gap: 14px; }
.gallery__grid figcaption span:first-child { color: var(--accent); }

.g1 { grid-column: 1 / span 4; }
.g2 { grid-column: 5 / span 4; margin-top: 160px; }
.g3 { grid-column: 9 / span 4; }
.g4 { grid-column: 1 / span 7; }
.g5 { grid-column: 9 / span 4; }

/* 03 Lokalizacja & 04 Kontakt share a 5/7 split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 6.7vw, 96px);
}

.stack { display: flex; flex-direction: column; gap: 40px; }

.location { padding-top: clamp(88px, 9.7vw, 140px); padding-bottom: clamp(88px, 9.7vw, 140px); border-top: 1px solid var(--line-soft); }
.location .split { align-items: stretch; }

.location address { font-style: normal; font-size: 20px; line-height: 1.6; font-weight: 300; }

.location .ulink { align-self: flex-start; }

.map {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background-color: var(--stone);
  background-image:
    linear-gradient(rgba(30, 28, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 28, 36, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
}

.map > .label { position: absolute; }
.map__note { top: 24px; left: 24px; right: 24px; }
.map__dir { right: 24px; bottom: 24px; }

.map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.map__marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 14px rgba(92, 85, 144, 0.16), 0 0 0 34px rgba(92, 85, 144, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map__marker .dot { width: 6px; height: 6px; }

.map__tag {
  margin-top: 22px;
  background: var(--paper);
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.map__load { margin-top: 8px; white-space: nowrap; }

.map__consent {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--muted);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map.is-loaded > :not(iframe) { display: none; }

/* Kontakt */

.contact { background: var(--sand); }
.contact .split { align-items: start; }
.contact .stack { position: sticky; top: 140px; }
.contact .stack > .text { max-width: 440px; }

.person {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 28px;
  border-top: 1px solid rgba(30, 28, 36, 0.2);
}

.person .label { color: var(--muted-2); }
.person__name { font-size: 22px; font-weight: 300; margin-top: 6px; }
.person a { font-size: 17px; font-weight: 300; text-decoration: none; }

.card { background: var(--paper); padding: 64px 64px 56px; }

.form { display: flex; flex-direction: column; gap: 40px; }

.form__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.form__head h3 { font-size: 28px; font-weight: 300; letter-spacing: -0.02em; }

.form .label { color: var(--muted-2); }

.req { color: var(--accent); }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }

.field-group { display: flex; flex-direction: column; gap: 6px; }

.field {
  border: 0;
  border-bottom: 1px solid rgba(30, 28, 36, 0.3);
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  width: 100%;
}

.field::placeholder { color: #8C8792; }
.field:focus { border-bottom-color: var(--accent); }
.field:user-invalid { border-bottom-color: var(--error); }

textarea.field { line-height: 1.6; resize: vertical; }

.chips-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.chips-group legend { padding: 0; margin-bottom: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip { position: relative; cursor: pointer; }

.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.chip span {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 13px 20px;
  min-height: 44px;
  border: 1px solid rgba(30, 28, 36, 0.28);
  background: transparent;
  color: var(--ink);
  transition: all .2s ease;
}

.chip:hover span { border-color: var(--accent); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.consent { display: flex; align-items: flex-start; gap: 14px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.consent label { font-size: 13px; line-height: 1.6; font-weight: 300; color: var(--body); }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 8px; }
.form__submit .btn { padding: 21px 32px; }
.form__submit > span { font-size: 13px; font-weight: 300; color: var(--muted-2); }

.form__error {
  margin: 0;
  padding: 16px 20px;
  border-left: 2px solid var(--error);
  background: rgba(163, 54, 42, 0.06);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--error);
}

.form__error a { color: inherit; }

.honeypot { display: none !important; }

.sent {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

[hidden] { display: none !important; }

.sent h3 { font-size: clamp(34px, 3.35vw, 48px); line-height: 1.1; font-weight: 200; letter-spacing: -0.03em; }
.sent .text { max-width: 420px; }
.sent .ulink { align-self: flex-start; }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--bg); padding: clamp(72px, 7.2vw, 104px) var(--gutter) 40px; }
.footer a { color: var(--bg); text-decoration: none; }
.footer a:hover { color: #C9C3EC; }

.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 6fr) repeat(3, minmax(0, 2fr));
  gap: 48px;
  align-items: start;
}

.footer__brand { display: flex; flex-direction: column; gap: 32px; }
.footer__brand img { height: 96px; width: auto; align-self: flex-start; }
.footer__brand .ulink { align-self: flex-start; color: var(--bg); }

.footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 15px; font-weight: 300; line-height: 1.6; }
.footer__col .label { color: rgba(241, 237, 234, 0.7); }

.footer__bottom {
  margin-top: clamp(64px, 7.2vw, 104px);
  padding-top: 28px;
  border-top: 1px solid rgba(241, 237, 234, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(241, 237, 234, 0.75);
}

.footer__bottom div { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer__bottom a { color: rgba(241, 237, 234, 0.75); }

/* ---------- Sub-pages (privacy policy, 404, thank-you) ---------- */

.page { padding: clamp(64px, 8vw, 120px) var(--gutter) var(--section-y); }

.page__inner { max-width: 760px; }

.page h1 {
  margin-top: 32px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.06;
  font-weight: 200;
  letter-spacing: -0.035em;
}

.page__lead { margin-top: 32px; }

.page__actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; }

.prose { margin-top: 56px; font-size: 16px; line-height: 1.75; font-weight: 300; color: var(--body); }
.prose h2 { margin: 48px 0 16px; font-size: 22px; line-height: 1.3; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 500; color: var(--ink); }

.todo { background: #FFE9A8; color: var(--ink); padding: 0 4px; font-weight: 500; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav { gap: 28px; }
  .brand__sep, .brand__tag { display: none; }
  .concepts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .brand img { height: 32px; }

  .menu-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid rgba(30, 28, 36, 0.12);
    box-shadow: 0 24px 40px -24px rgba(30, 28, 36, 0.25);
    display: none;
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }

  /* Every 12-column grid collapses to a single column */
  .grid-12 > * { grid-column: 1 / -1 !important; }
  .grid-12 { row-gap: 24px; }

  .eyebrow--offset { padding-top: 0; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding-top: 40px; padding-bottom: 40px; gap: 40px; }
  .hero__main { gap: 28px; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }

  /* Przestrzeń */
  .space__intro { row-gap: 32px; }
  .space__photos { row-gap: 56px; }
  .space__side { padding-top: 0; gap: 48px; }
  .photo__frame { height: auto; aspect-ratio: var(--ar, 4 / 5); }

  /* Możliwości */
  .options__body { grid-template-columns: 1fr; }
  .options__preview { display: none; }
  .option { grid-template-columns: 48px minmax(0, 1fr) 28px; padding: 24px 0; }
  .option__num { padding-top: 10px; }
  .option__arrow { padding-top: 12px; }
  .option[aria-pressed="true"] .option__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-top: 6px;
    background: var(--stone);
  }

  /* Statement */
  .statement__foot { flex-direction: column; align-items: flex-start; gap: 32px; }

  /* Galeria */
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .gallery__grid > * { grid-column: auto !important; margin-top: 0; }
  .gallery__grid > .g4 { grid-column: 1 / -1 !important; }

  /* Lokalizacja & Kontakt */
  .split { grid-template-columns: 1fr; }
  .map { min-height: 460px; }
  .contact .stack { position: static; }
  .card { padding: 48px 40px 40px; }

  /* Footer */
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand img { height: 72px; }
}

@media (max-width: 600px) {
  .header__bar { gap: 12px; }
  .header__actions .btn { display: none; }

  .text { font-size: 16px; }
  .space__copy .text { font-size: 16px; }

  .hero__ctas .btn { width: 100%; justify-content: space-between; }
  .hero__media { aspect-ratio: 4 / 5; }

  .stats strong { font-size: 20px; }
  .stats > div { padding: 18px 10px 0; }
  .stats span { font-size: 10px; letter-spacing: 0.12em; }

  /* Same list appears in Możliwości — skip the wrapped strip on phones */
  .strip { display: none; }

  .concepts { grid-template-columns: 1fr; gap: 14px; font-size: 11px; }

  .specs > div, .specs--compact > div { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .specs dt { padding-top: 0; }
  .specs dd { font-size: 16px; }

  .gallery__grid { grid-template-columns: 1fr; }

  .location address { font-size: 18px; }
  .map { min-height: 400px; }
  .map__consent { right: 24px; max-width: none; bottom: 56px; }

  .card { padding: 36px 20px 32px; margin: 0 calc(var(--gutter) * -1); }
  .fields { grid-template-columns: 1fr; gap: 28px; }
  .form__submit .btn { width: 100%; justify-content: space-between; }
  .sent { min-height: 420px; }

  .statement__foot .btn { width: 100%; justify-content: space-between; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > nav { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .zoom:hover { transform: none; }
}
