:root {
  --navy: #0d2f55;
  --navy-2: #123d6b;
  --blue: #2f6f9f;
  --sky: #8fc1df;
  --gold: #f3b65f;
  --gold-2: #ffd98c;
  --cream: #fff6e6;
  --paper: #fffaf0;
  --ink: #122032;
  --muted: #5f6f7f;
  --white: #ffffff;
  --line: rgba(18, 32, 50, 0.12);
  --shadow: 0 24px 80px rgba(13, 47, 85, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf8 0%, #fff6e6 44%, #f8fbff 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 217, 140, 0.28), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(143, 193, 223, 0.24), transparent 31%);
  z-index: -2;
}

img, iframe { max-width: 100%; }
a { color: inherit; }
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  z-index: 100;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 240, 0.82);
  border-bottom: 1px solid rgba(13, 47, 85, 0.09);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 10px 40px rgba(13, 47, 85, 0.10);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #c24c22, var(--gold));
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(194, 76, 34, 0.24);
}
.brand strong {
  display: block;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: -3px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 10px 13px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-nav a:hover { background: rgba(13, 47, 85, 0.08); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(13, 47, 85, 0.08);
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 52, 0.82) 0%, rgba(13, 47, 85, 0.63) 45%, rgba(13, 47, 85, 0.24) 100%),
    radial-gradient(circle at 78% 58%, rgba(255, 184, 87, 0.64), transparent 30%),
    linear-gradient(180deg, #1d608f 0%, #a6c9dc 42%, #f1a947 72%, #18263d 100%);
  z-index: -2;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.28) 100%),
    url("../assets/plakat-ojcze-nasz-2026.png") right 9% bottom -90px / min(48vw, 540px) auto no-repeat;
  opacity: 0.48;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.68fr);
  gap: 46px;
  align-items: center;
  padding: 96px 0 80px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #c24c22;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.76rem;
}
.hero .eyebrow { color: var(--gold-2); }
.hero h1 {
  margin: 0;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}
.hero h1 span {
  display: block;
  font-family: "Caveat", cursive;
  font-size: 0.68em;
  line-height: 0.78;
  letter-spacing: 0.01em;
  color: var(--gold-2);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.hero-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  color: rgba(255,255,255,0.9);
}
.hero-actions, .cta-row, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 40px rgba(243, 182, 95, 0.30);
}
.btn-secondary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-2), var(--blue));
  box-shadow: 0 16px 34px rgba(13, 47, 85, 0.20);
}
.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.10);
}
.btn-outline {
  color: var(--navy);
  border-color: rgba(13, 47, 85, 0.22);
  background: rgba(255, 255, 255, 0.70);
}
.btn.full { width: 100%; }
.hero-note {
  margin-top: 34px;
  padding: 14px 18px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
}
.event-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.42);
}
.event-card__label {
  margin: 0 0 10px;
  color: #c24c22;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
.event-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
}
.event-list {
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.event-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #23364a;
  font-weight: 700;
}
.icon { width: 26px; }

.section { padding: 96px 0; }
.section-heading { max-width: 720px; }
.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}
.section-heading h2,
.contact-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
.section-heading p,
.about-content p,
.video-caption p,
.contact-card p,
.event-details .lead {
  color: var(--muted);
  font-size: 1.07rem;
}
.section-about {
  background: rgba(255,255,255,0.42);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-content {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(13, 47, 85, 0.07);
}
.about-content p:first-child { margin-top: 0; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pill-row span {
  padding: 9px 12px;
  color: var(--navy);
  background: rgba(143, 193, 223, 0.24);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}
.event-layout {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}
.poster-frame {
  margin: 0;
  position: relative;
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255, 217, 140, 0.40));
  box-shadow: var(--shadow);
}
.poster-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 38px;
  background: radial-gradient(circle, rgba(243,182,95,0.32), transparent 65%);
  z-index: -1;
}
.poster-frame img {
  display: block;
  border-radius: 22px;
  width: 100%;
  height: auto;
}
.event-details h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 5vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}
.event-subtitle {
  margin: 14px 0 0;
  color: #c24c22;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
}
.event-details .lead { max-width: 720px; }
.info-panel {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}
.info-panel > div {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 42px rgba(13, 47, 85, 0.06);
}
.info-panel span,
.organizers h3 {
  display: block;
  color: #c24c22;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 3px;
}
.info-panel strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
}
.info-panel small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.organizers {
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: rgba(255,255,255,0.58);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.organizers h3 { margin: 0 0 10px; }
.organizers ul {
  margin: 0;
  padding-left: 18px;
  color: #263a4d;
}
.organizers li + li { margin-top: 6px; }

.video-section {
  background: linear-gradient(135deg, rgba(13,47,85,0.98), rgba(18,61,107,0.94));
  color: var(--white);
}
.video-section .section-heading h2,
.video-section .section-heading p { color: var(--white); }
.video-section .section-heading p { opacity: 0.82; }
.video-feature {
  margin-top: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
}
.video-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
  background: #071421;
  aspect-ratio: 16 / 9;
}
.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.video-caption h3 {
  margin-top: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}
.video-caption p { color: rgba(255,255,255,0.82); }
.text-link {
  display: inline-flex;
  font-weight: 900;
  color: var(--gold-2);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}
.testimony-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(13, 47, 85, 0.08);
}
.testimony-media {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  overflow: hidden;
}
.testimony-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  color: var(--white);
  text-align: center;
  font-weight: 900;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,217,140,0.40), transparent 38%),
    linear-gradient(135deg, var(--navy), var(--blue));
}
.video-placeholder span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}
.testimony-content { padding: 22px; }
.testimony-content h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.25;
}
.testimony-content p {
  margin: 0 0 18px;
  color: var(--muted);
}

.updates-section { background: rgba(255,255,255,0.52); }
.updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: start;
}
.posts-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.post-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(13, 47, 85, 0.06);
}
.post-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}
.post-type {
  color: #c24c22;
}
.post-card h3 {
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: 1.35rem;
}
.post-card p { margin: 0 0 16px; color: var(--muted); }
.facebook-box {
  position: sticky;
  top: 102px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid rgba(13,47,85,0.14);
  box-shadow: 0 16px 52px rgba(13,47,85,0.09);
}
.facebook-box h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.5rem;
}
.facebook-box p { color: var(--muted); margin: 0 0 16px; }
.facebook-embed {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  margin-bottom: 16px;
}
.facebook-embed iframe { width: 100%; max-width: 100%; }

.contact-section { padding-top: 70px; }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(26px, 5vw, 52px);
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(255,217,140,0.35), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: var(--shadow);
}
.contact-card .eyebrow { color: var(--gold-2); }
.contact-card h2,
.contact-card p { color: var(--white); }
.contact-card p { max-width: 680px; opacity: 0.88; }
.site-footer {
  padding: 26px 0;
  background: #071421;
  color: rgba(255,255,255,0.76);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; color: var(--gold-2); font-weight: 800; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid,
  .about-grid,
  .event-layout,
  .video-feature,
  .updates-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }
  .hero-bg::after {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.28) 100%);
  }
  .facebook-box { position: static; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .contact-actions { margin-top: 0; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,250,240,0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(13,47,85,0.10);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .hero-grid { padding: 74px 0 54px; }
  .hero h1 { font-size: clamp(3rem, 18vw, 5.4rem); }
  .section { padding: 68px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .event-card,
  .about-content,
  .video-caption,
  .facebook-box { padding: 22px; }
  .contact-actions,
  .hero-actions,
  .cta-row { width: 100%; }
  .btn { width: 100%; }
}
