/* Majowa 39 — Event Space by Amica */

:root {
  --accent: #5C5590;
  --spark: #E2742F;
  --ink: #1E1C24;
  --bg: #F1EDEA;
  --paper: #FBF9F7;
  --sand: #E9E3DE;
  --stone: #E7E1DC;
  --body: #3A3640;
  --muted: #625D68;
  --muted-2: #5A5560;
  --line: rgba(30, 28, 36, 0.18);
  --line-soft: rgba(30, 28, 36, 0.14);
  --header-h: 84px;
}

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

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-width: 1200px;
}

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); }

/* ---------- 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: 64px;
  line-height: 1.06;
  font-weight: 200;
  letter-spacing: -0.035em;
}

.h2--sm { font-size: 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--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; }

.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);
}

.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 56px;
  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; }

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

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

.hero__copy {
  padding: 64px 56px 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: 80px;
  line-height: 1.02;
  font-weight: 200;
  letter-spacing: -0.04em;
}

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

.hero__ctas { display: flex; align-items: center; gap: 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: 30px; font-weight: 300; letter-spacing: -0.02em; }

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

.hero__media { position: relative; overflow: hidden; min-height: 820px; }

.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 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.section { scroll-margin-top: var(--header-h); padding: 150px 56px; }

/* 01 Przestrzeń */

.space { padding: 160px 56px 150px; }

.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: 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: 240px; letter-spacing: -0.06em; }
.big-number span:last-child { font-size: 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: 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: 10 / span 3; font-size: 16px; }

.options__body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 88px;
  margin-top: 96px;
  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: 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__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 .photo__frame { background: var(--stone); }
.options__preview figcaption { display: flex; justify-content: space-between; }

/* Statement */

.statement { background: var(--accent); color: var(--bg); padding: 150px 56px 140px; }

.statement__quote {
  margin-top: 56px;
  font-size: 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: 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: 150px 56px 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: 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: 96px;
}

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

.location { padding: 140px 56px; 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; }
.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;
}

/* 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; justify-content: space-between; align-items: baseline; }
.form__head h3 { font-size: 28px; font-weight: 300; letter-spacing: -0.02em; }

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

.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;
}

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

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

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

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

.chip {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  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[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

.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; align-items: center; gap: 28px; padding-top: 8px; }
.form__submit .btn { padding: 21px 32px; }
.form__submit span { font-size: 13px; font-weight: 300; color: var(--muted-2); }

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

.sent[hidden], .form[hidden] { display: none; }

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

/* ---------- Desktop-only gate ---------- */

.mobile-block { display: none; }

@media (max-width: 1023px) {
  body { min-width: 0; }

  body > :not(.mobile-block) { display: none !important; }

  .mobile-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px 24px;
  }

  .mobile-block > img { height: 32px; width: auto; align-self: flex-start; }

  .mobile-block__body { display: flex; flex-direction: column; gap: 24px; max-width: 480px; }

  .mobile-block h1 {
    font-size: 44px;
    line-height: 1.04;
    font-weight: 200;
    letter-spacing: -0.04em;
  }

  .mobile-block .text { font-size: 16px; }

  .mobile-block__en {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 300;
    color: var(--muted);
  }
}

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

.footer { background: var(--ink); color: var(--bg); padding: 104px 56px 40px; }
.footer a { color: var(--bg); text-decoration: none; }

.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: 104px;
  padding-top: 28px;
  border-top: 1px solid rgba(241, 237, 234, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 300;
  color: rgba(241, 237, 234, 0.75);
}

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