/* Parafia św. Józefa */
:root {
  --navy: #1E2B4A;
  --navy-2: #2A3A60;
  --gold: #B08D3C;
  --gold-d: #7E6224;
  --stone: #F3F1EC;
  --text: #1F2533;
  --muted: #5A6070;
  --rule: #E2DED5;
}
body { font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 18px; line-height: 1.65; color: var(--text); background: #fff; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.08; color: var(--navy); }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 4px; }

.btn { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--stone); }

/* Nagłówek */
.top { border-bottom: 1px solid var(--rule); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 26px; color: var(--navy); }
.brand__place { font-size: 14px; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 30px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.d-toggle { color: var(--navy); }
@media (max-width: 860px) {
  .top__in { flex-wrap: wrap; }
  .nav.is-open { flex-direction: column; width: 100%; gap: 0; padding-bottom: 16px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
}

/* Hero */
.hero { background: var(--stone); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: end; padding-top: 64px; }
.hero__text { padding-bottom: 64px; }
.hero h1 { font-size: clamp(46px, 6vw, 82px); letter-spacing: -.01em; }
.hero__sub { margin-top: 20px; font-size: 20px; color: var(--muted); max-width: 32em; }
.today { margin-top: 32px; padding: 20px 24px; background: #fff; border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; display: inline-block; }
.today__label { font-weight: 600; color: var(--muted); font-size: 15px; }
.today__times { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 4px; }
.today__times li { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__arch { background: var(--navy); border-radius: 999px 999px 0 0; padding: 72px 40px 0; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 3 / 4; }
.hero__arch svg { width: 100%; max-width: 300px; }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 40px; gap: 8px; }
  .hero__text { padding-bottom: 32px; }
  .hero__arch { max-width: 300px; aspect-ratio: auto; height: 300px; padding-top: 48px; }
}

/* Msze */
.masses { padding-top: 96px; padding-bottom: 96px; }
.masses h2, .intentions h2, .notices h2, .office h2 { font-size: clamp(38px, 4.6vw, 56px); }
.masses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.mcard { padding: 56px 32px 32px; border: 1px solid var(--rule); border-radius: 160px 160px 10px 10px; text-align: center; }
.mcard h3 { font-size: 28px; margin-bottom: 16px; }
.mtimes { list-style: none; display: grid; gap: 6px; }
.mtimes li { display: grid; }
.mtimes b { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.mtimes span { font-size: 15px; color: var(--muted); }
.mnote { margin-top: 18px; font-size: 15px; color: var(--muted); }
.mcard--accent { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .85); }
.mcard--accent h3 { color: #E3C987; }
@media (max-width: 860px) { .masses__grid { grid-template-columns: 1fr; } .mcard { border-radius: 120px 120px 10px 10px; } }

/* Ogłoszenia */
.notices { background: var(--stone); }
.notices__in { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 64px; }
.notices__date { margin-top: 14px; font-weight: 600; color: var(--gold-d); }
.notices__list { counter-reset: n; list-style: none; display: grid; gap: 0; grid-row: span 2; }
.notices__list li { counter-increment: n; position: relative; padding: 20px 0 20px 56px; border-top: 1px solid var(--rule); }
.notices__list li::before { content: counter(n); position: absolute; left: 0; top: 14px; font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 700; color: var(--gold); }
.notices__more { align-self: end; font-weight: 600; }
@media (max-width: 860px) { .notices__in { grid-template-columns: 1fr; } .notices__list { grid-row: auto; } }

/* Intencje */
.intentions { padding-top: 96px; padding-bottom: 96px; }
.intentions__range { margin-top: 10px; font-weight: 600; color: var(--gold-d); }
.table-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; }
tbody th { font-weight: 600; color: var(--navy); background: #FAF9F6; width: 200px; }
tbody td:nth-child(2), tbody tr td:first-child { font-variant-numeric: tabular-nums; width: 90px; color: var(--gold-d); font-weight: 600; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody td:last-child { color: var(--text) !important; font-weight: 400 !important; width: auto !important; }

/* Kancelaria */
.office { background: var(--navy); color: rgba(255, 255, 255, .85); }
.office__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .9fr); gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.office h2, .office h3 { color: #fff; }
.office h3 { font-size: 30px; margin-bottom: 14px; }
.office a { color: #fff; }
.office :focus-visible { outline-color: #E3C987; }
.office__hours { margin-top: 28px; display: grid; gap: 0; max-width: 360px; }
.office__hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.office__hours dd { font-weight: 600; color: #fff; }
.office__note { margin-top: 18px; font-size: 16px; }
.office__contact p + p, .office__give p + p { margin-top: 12px; }
.office__acc { font-variant-numeric: tabular-nums; font-weight: 600; color: #E3C987; letter-spacing: .02em; }
@media (max-width: 900px) { .office__in { grid-template-columns: 1fr; } }

/* Stopka */
.foot { background: #151E35; color: rgba(255, 255, 255, .7); padding: 40px 0; }
.foot__in { display: grid; gap: 6px; }
.foot__name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: #fff; }
.foot__small { font-size: 14px; }
