/* ──────────────────────────────────────────────────────────────
   Marsz Mocy Mam 2026 — mocmam.pl
   Stowarzyszenie MOC MAM · system projektowy MOC MAM
   ────────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Cera Pro";
  src: url("../fonts/CeraPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cera Pro";
  src: url("../fonts/CeraPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --amaranth: #A3195B;
  --amaranth-700: #6E1039;
  --ink: #1D1D1B;
  --ink-soft: #4A4A48;
  --white: #FFFFFF;
  --grey-050: #F7F7F6;
  --border-subtle: #D5D5D3;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Cera Pro", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--amaranth); text-decoration: none; }
a:hover { color: var(--amaranth-700); }

:focus-visible { outline: 2px solid var(--amaranth); outline-offset: 2px; }
.on-dark :focus-visible, .card :focus-visible { outline-color: var(--white); }

h2 { margin: 0; }
p { margin: 0; }

/* Layout ------------------------------------------------------- */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 32px);
  padding-right: clamp(20px, 5vw, 32px);
}

.torn {
  height: 56px;
  width: 100%;
  background-image: url("../img/pattern-torn-edge.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  top: 1px;
}
.torn--white { background-image: url("../img/pattern-torn-edge-white.png"); }
.torn--on-white { background-color: var(--white); }

/* Type --------------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--white { color: var(--white); }

.section-label {
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amaranth);
}
.section-label--white { color: var(--white); }

.label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amaranth);
}

.h2 {
  font-size: clamp(26px, 4.6vw, 36px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.h2--light { color: var(--white); }
.h2--big { font-size: clamp(28px, 5vw, 44px); }
.accent { color: var(--amaranth); }

.body {
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}
.body--white { color: var(--white); }
.lead { font-size: 20px; line-height: 1.5; }
.note { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* Header ------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .wrap {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.logo { display: block; width: 156px; height: auto; }
.logo--footer { width: 150px; }

/* Hero --------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--amaranth);
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: rgba(163, 25, 91, .8);
}
.hero__illu {
  position: absolute;
  width: 384px;
  opacity: .28;
  left: 1028px;
  top: 372px;
}
.hero .wrap {
  position: relative;
  padding-top: clamp(48px, 8vw, 84px);
  padding-bottom: clamp(56px, 9vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 30px);
  align-items: flex-start;
}
.lockup {
  font-size: clamp(32px, 7.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--white);
}
.lockup strong { font-weight: 700; }
.claim {
  max-width: 22ch;
  font-size: clamp(22px, 5.2vw, 32px);
  line-height: 1.28;
  color: var(--white);
  text-wrap: pretty;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-end;
}
.date-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  color: var(--amaranth);
  padding: 12px 16px;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero__where {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 4px;
}
.hero__where strong { font-weight: 700; }
.badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  background: var(--white);
  padding: 16px 26px;
}
.badge img { height: 26px; width: auto; flex: none; }
.badge span {
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 700;
}

/* O marszu ----------------------------------------------------- */
.about .wrap {
  padding-top: clamp(48px, 8vw, 76px);
  padding-bottom: clamp(48px, 8vw, 76px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 72px);
  align-items: flex-start;
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1 1 420px;
  min-width: 300px;
}
.about__text .h2 { max-width: 26ch; }
.about__text .body { max-width: 58ch; }

.facts {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--amaranth);
  flex: 1 1 320px;
  min-width: 300px;
  align-items: stretch;
  justify-content: flex-start;
  /* one-column stack (< ~760px) keeps a small gap; wide layout aligns optically */
  margin-top: clamp(20px, calc((100vw - 760px) * 100), 120px);
}
.facts__row {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.facts__row:last-child { border-bottom: 0; }
.facts__row dt {
  flex: none;
  width: 112px;
  margin: 0;
  padding-top: 5px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amaranth);
}
.facts__row dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

/* Rejestracja -------------------------------------------------- */
.signup {
  background: var(--amaranth);
  position: relative;
  overflow: hidden;
}
.signup__illu {
  position: absolute;
  left: -50px;
  bottom: -40px;
  width: 300px;
  opacity: .22;
}
.signup .wrap {
  position: relative;
  padding-top: clamp(44px, 7vw, 68px);
  padding-bottom: clamp(56px, 8vw, 84px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.signup__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.signup__text .h2 { max-width: 22ch; }
.signup__text .lead,
.signup__text .body { max-width: 46ch; }
.perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--white);
  font-size: 18px;
  line-height: 1.6;
}
.perks img {
  height: 20px;
  width: auto;
  margin-top: 6px;
  flex: none;
}
.card {
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  justify-self: center;
  align-self: center;
  text-align: center;
}
.card__heart { height: 52px; width: auto; }
.card__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* Social ------------------------------------------------------- */
.social .wrap {
  padding-top: clamp(48px, 8vw, 56px);
  padding-bottom: clamp(48px, 8vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.social__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.social__intro .h2 { max-width: 30ch; }
.social__intro .body { max-width: 56ch; }
.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.channel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--border-subtle);
  color: var(--ink);
  transition: border-color 200ms var(--ease);
}
.channel:hover { border-color: var(--amaranth); color: var(--ink); }
.channel__name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

/* Footer ------------------------------------------------------- */
.site-footer {
  background: var(--grey-050);
  border-top: 1px solid var(--border-subtle);
}
.site-footer .wrap {
  padding-top: clamp(48px, calc(48px + (100vw - 760px) * 100), 56px);
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.funding {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  padding: 20px 24px;
}
.funding img { display: block; width: 100%; height: auto; }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 32px;
  align-items: flex-end;
  justify-content: space-between;
}
.site-footer__org {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
