/* Krótka strona główna i uporządkowana nawigacja. */
:root { --header-height: 116px; }
.header-inner { position: relative; height: 116px; gap: 32px; }
.site-header .brand { gap: 24px; }
html { scrollbar-gutter: stable; }
.main-nav { display: flex; position: static; align-items: center; gap: 16px; padding: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; max-height: none; font-size: .9rem; line-height: 1.5; }
.nav-links, .nav-community { display: flex; align-items: center; gap: 6px; }
.menu-toggle { display: none; }
.nav-disclosure { position: static; }
.main-nav .nav-direct, .main-nav .nav-support, .nav-section-toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px; border: 0; border-radius: 3px; background: transparent; font: inherit; cursor: pointer; color: #f1f1ee; transition: background .18s, color .18s; }
.main-nav .nav-direct:hover, .main-nav .nav-support:hover, .nav-section-toggle:hover, .nav-disclosure.is-open .nav-section-toggle { color: #edcf91; background: #ffffff09; }
.main-nav .nav-direct[aria-current=page], .main-nav .nav-support[aria-current=page], .nav-disclosure.is-current .nav-section-toggle { color: #edcf91; background: #e7c67c0c; }
.main-nav .nav-direct[aria-current=page]::after, .main-nav .nav-support[aria-current=page]::after, .nav-disclosure.is-current .nav-section-toggle::after { content: ''; position: absolute; height: 2px; left: 12px; right: 12px; bottom: 3px; background: #d8b677; }
.nav-chevron { width: 7px; height: 7px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.is-open > .nav-section-toggle .nav-chevron { transform: translateY(2px) rotate(225deg); }
.nav-submenu { display: none; position: absolute; top: calc(100% - 1px); right: 0; left: auto; width: 624px; padding: 26px; background: #f7f6f2; color: var(--ink); border: 1px solid #d7c6a4; border-top: 2px solid #c7a567; box-shadow: 0 20px 50px #0e192e38; border-radius: 0 0 5px 5px; }
.nav-disclosure.is-open .nav-submenu { display: block; animation: nav-appear .2s ease-out; }
.nav-panel-heading { display: flex; align-items: center; gap: 18px; color: #75603e; margin: 0 8px 18px; font-size: .875rem; font-weight: 500; letter-spacing: .035em; }
.nav-panel-heading::after { content: ''; height: 1px; flex: 1; background: #d8d2c5; }
.nav-submenu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.main-nav .nav-submenu a { display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 18px 12px; min-height: 94px; border: 1px solid transparent; white-space: normal; border-radius: 4px; line-height: 1.4; transition: color .18s, background .18s, border-color .18s; }
.nav-copy { display: flex; flex-direction: column; gap: 6px; }
.nav-submenu .nav-label { font-size: 1rem; font-weight: 600; }
.nav-submenu small { color: #626975; font-size: .875rem; }
.nav-icon { display: flex; justify-content: center; align-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: #8c6a35; background: #eae6db; border-radius: 50%; }
.nav-icon svg { width: 21px; height: 21px; stroke-width: 1.4; }
.main-nav .nav-submenu a:hover, .main-nav .nav-submenu a[aria-current=page] { color: #80602f; background: #eeeae0; border-color: #d8c6a3; }
.main-nav .nav-submenu a::after { display: none !important; }
.nav-actions { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid #d6bd822b; }
.main-nav .nav-contact { display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 23px; margin: 0; text-align: center; border: 1px solid #d6b778; border-radius: 3px; color: #162439; background: #d6b778; font-weight: 600; transition: background .18s, border-color .18s; }
.main-nav .nav-contact:hover, .main-nav .nav-contact[aria-current=page] { background: #ecd09a; border-color: #ecd09a; color: #162439; }
.main-nav .nav-contact[aria-current=page] { box-shadow: inset 0 0 0 2px #162439; }
.nav-submenu :focus-visible { outline-color: #80602f; outline-offset: 2px; }
.mobile-nav-heading, .mobile-nav-top { display: none; }
.nav-backdrop { position: fixed; z-index: 39; inset: var(--header-height) 0 0; border: 0; padding: 0; background: #111d30b3; backdrop-filter: blur(4px); cursor: pointer; }
.home-introduction { padding-block: 80px 64px; }
.home-introduction .intro-grid { align-items: center; }
.home-introduction h2 { margin: 0; }
.home-introduction .large-copy { font-size: 1.15rem; }
.home-paths { padding: 0 0 82px; }
.home-paths-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-path { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 32px; background: #efeee9; border: 1px solid #d7d9dd; border-top: 2px solid #b99b61; transition: background .25s, border-color .25s; }
.home-path:hover { background: #e9e7df; border-color: #b99b61; }
.home-path-icon { color: #947a47; margin-bottom: 20px; }
.home-path-icon svg { display: block; height: 38px; width: 38px; }
.home-path h2 { font-size: 2.5rem; margin-bottom: 16px; line-height: 1.06; }
.home-path p { color: var(--muted); line-height: 1.7; font-size: .95rem; margin-bottom: 24px; max-width: 310px; }
.home-path-link { font-size: .85rem; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 5px; margin-top: auto; }
.home-path--join { background: var(--forest); color: var(--paper); border-color: var(--forest); border-top-color: #b99b61; }
.home-path--join:hover { background: #2d435e; }
.home-path--join .home-path-icon { color: #d9bf8a; }
.home-path--join p { color: #d0d8e1; }
.page-home .site-footer { padding-top: 40px; }
.page-home .footer-main { padding-bottom: 36px; }
@keyframes nav-appear { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes nav-slide { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@media(min-width:1101px) and (max-width:1300px) {
  .header-inner { gap: 20px; }
  .site-header .brand { width: 280px; gap: 22px; }
  .site-header .brand .church-logo { width: 86px; height: 92px; }
  .main-nav { gap: 10px; }
  .nav-actions { gap: 6px; padding-left: 10px; }
  .nav-links, .nav-community { gap: 2px; }
  .main-nav .nav-direct, .main-nav .nav-support, .nav-section-toggle { padding-inline: 9px; }
  .main-nav { font-size: .875rem; }
}
@media(max-width:1100px) {
  :root { --header-height: 98px; }
  .header-inner { height: 98px; }
  .menu-toggle { display: flex; align-items: center; gap: 14px; background: #ffffff08; border: 1px solid #d0ba815e; border-radius: 2px; padding: 11px 15px; min-height: 46px; font-size: .875rem; cursor: pointer; }
  .menu-toggle:hover, .menu-toggle[aria-expanded=true] { background: #ffffff12; border-color: #d0ba81; }
  .menu-lines { position: relative; width: 19px; height: 13px; border-top: 1px solid; border-bottom: 1px solid; }
  .menu-lines::after { content: ''; height: 1px; position: absolute; left: 0; right: 0; top: 5px; background: currentColor; }
  .main-nav { display: none; position: fixed; top: var(--header-height); bottom: 0; left: auto; right: 0; width: min(440px,100%); height: calc(100dvh - var(--header-height)); max-height: none; padding: 0; overflow: hidden; color: var(--ink); background: var(--paper); border-top: 2px solid #b99b61; box-shadow: -20px 20px 50px #16243924; }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; animation: nav-slide .22s ease-out; }
  .mobile-nav-top { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 16px; min-height: 64px; margin: 0 26px; padding: 10px 0; border-bottom: 1px solid #d6d5cf; }
  .mobile-nav-top > span { font-family: var(--serif); font-size: 1.75rem; }
  .main-nav .nav-home { display: flex; align-items: center; min-height: 44px; padding: 8px 0 8px 10px; border: 0; font-size: .875rem; color: #626975; }
  .main-nav .nav-home:hover, .main-nav .nav-home[aria-current=page] { color: #80602f; text-decoration: underline; text-underline-offset: 5px; }
  .nav-links { display: block; flex: 1 1 auto; min-height: 0; padding: 18px 26px 16px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b5a47e #efeee9; }
  .nav-section-toggle { display: none; }
  .mobile-nav-heading { display: block; color: #75603e; font-size: .8125rem; font-weight: 500; letter-spacing: .07em; margin: 0 0 8px 12px; }
  .nav-submenu, .nav-disclosure.is-open .nav-submenu { display: block; position: static; width: auto; padding: 0; border: 0; background: transparent; box-shadow: none; animation: none; }
  .nav-submenu-grid { grid-template-columns: 1fr; gap: 4px; }
  .nav-panel-heading { display: none; }
  .main-nav .nav-submenu a { min-height: 70px; padding: 10px 12px; gap: 14px; }
  .nav-submenu .nav-label { font-size: 1rem; }
  .nav-submenu small { display: block; font-size: .875rem; }
  .nav-copy { gap: 4px; }
  .main-nav .nav-submenu a[aria-current=page] { border-left: 3px solid #a58349; padding-left: 10px; }
  .nav-community { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #d6d5cf; }
  .main-nav .nav-direct { min-height: 52px; padding: 14px 12px; border: 1px solid transparent; font-size: 1rem; font-weight: 500; white-space: normal; color: var(--ink); }
  .main-nav .nav-direct:hover, .main-nav .nav-direct[aria-current=page] { color: #80602f; background: #eeeae0; border-color: #d8c6a3; }
  .main-nav .nav-direct[aria-current=page] { border-left: 3px solid #a58349; padding-left: 10px; }
  .main-nav a[aria-current=page]::after { display: none !important; }
  .nav-actions { display: grid; flex: 0 0 auto; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 26px max(18px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid #d6d5cf; background: #efeee9; box-shadow: 0 -6px 18px #16243906; }
  .main-nav .nav-support, .main-nav .nav-contact { display: flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px; margin: 0; border: 1px solid #ad925e; border-radius: 3px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
  .main-nav .nav-support:hover, .main-nav .nav-support[aria-current=page] { background: #eeeae0; color: var(--ink); }
  .main-nav .nav-support[aria-current=page] { box-shadow: inset 0 0 0 1px #ad925e; }
  .main-nav .nav-contact { background: #162439; color: #f7f6f2; border-color: #162439; }
  .main-nav .nav-contact:hover, .main-nav .nav-contact[aria-current=page] { background: #2d435e; color: white; border-color: #2d435e; }
  .main-nav .nav-contact[aria-current=page] { box-shadow: inset 0 0 0 2px #d6b778; }
  .main-nav :focus-visible { outline-color: #80602f; outline-offset: 2px; }
  .home-path { padding: 26px; }
  .home-path h2 { font-size: 2.2rem; }
}
@media(max-width:700px) {
  :root { --header-height: 92px; }
  .header-inner { height: 92px; gap: 12px; }
  .site-header .brand { gap: 16px; }
  .menu-toggle { width: 46px; min-width: 46px; padding: 12px; justify-content: center; flex-shrink: 0; }
  .menu-toggle > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .main-nav { top: var(--header-height); padding: 0; }
  .home-introduction { padding-block: 52px 38px; }
  .home-introduction .intro-grid { gap: 26px; }
  .home-introduction .eyebrow { margin-bottom: 20px; }
  .home-introduction .large-copy { font-size: 1.08rem; }
  .home-paths { padding-bottom: 52px; }
  .home-paths-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-path { position: relative; padding: 24px 24px 24px 84px; }
  .home-path-icon { position: absolute; top: 28px; left: 24px; margin: 0; }
  .home-path-icon svg { width: 35px; height: 35px; }
  .home-path h2 { font-size: 2rem; margin-bottom: 12px; }
  .home-path h2 br { display: none; }
  .home-path p { margin-bottom: 15px; font-size: .92rem; }
  .page-home .footer-main { padding-bottom: 30px; }
}
@media(max-width:370px) { .site-header .brand { gap: 13px; }.home-path { padding-left: 70px; padding-right: 20px; }.home-path-icon { left: 20px; }.home-path-icon svg { width: 30px; height: 30px; }.header-inner { gap: 10px; }.mobile-nav-top { margin-inline: 18px; }.nav-links { padding-inline: 14px; }.nav-actions { padding-inline: 18px; }.nav-submenu .nav-label { font-size: .9375rem; } }
.motion-paused .nav-disclosure.is-open .nav-submenu, .motion-paused .main-nav.is-open { animation: none; }
@media(prefers-reduced-motion:reduce) { .nav-disclosure.is-open .nav-submenu, .main-nav.is-open { animation: none; }.nav-chevron, .main-nav a, .nav-section-toggle { transition: none; } }
@media(max-height:600px) { :root { --header-height: 0px; }.menu-open { --header-height: 98px; }.menu-open .site-header { position: sticky; top: 0; }.mobile-nav-top { min-height: 50px; }.nav-links { padding-top: 12px; }.nav-actions { padding-block: 10px; } }
@media(max-height:600px) and (max-width:700px) { .menu-open { --header-height: 92px; } }
@media print { .main-nav, .menu-toggle, .nav-backdrop { display: none !important; } }

/* Oryginalny znak Kościoła z osobnym, mniejszym dopiskiem gminy. */
.community-signature { padding: 36px 24px 32px; background: var(--forest-dark); }
.community-signature .signature-church-logo { width: 68%; max-width: 345px; height: auto; object-fit: contain; }
.signature-local { display: flex; align-items: center; flex-direction: column; margin-top: 32px; color: #edc563; text-align: center; }
.signature-rule { width: 56px; height: 1px; background: #c8a55c; margin-bottom: 21px; }
.signature-local strong { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; line-height: 1.1; letter-spacing: .01em; }
.signature-local > span:last-child { margin-top: 12px; font-family: var(--sans); font-size: .65rem; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
@media(max-width:700px) { .community-signature { padding: 32px 24px; }.community-signature .signature-church-logo { width: 74%; max-width: 290px; }.signature-local { margin-top: 28px; }.signature-local strong { font-size: 1.8rem; }.signature-local > span:last-child { font-size: .58rem; letter-spacing: .1em; } }

@media(max-width:700px) { .hero-photo { object-position: 84% center; }.hero h1 { text-shadow: 0 2px 18px #101a2c70; } }
