:root {
    --s113-marka: #2F4A3E;
    --s113-zloto: #C2A06A;
    --s113-zloto-ciemne: #9A7B45;
    --s113-baza: #1E2F28;
    --s113-bez: #F3EEE6;
    --s113-biel: #FAF8F4;
    --s113-zielen-tint: #E6ECE8;
    --s113-ramka: #E3DDD3;
    --s113-tekst: #2A2A28;
    --s113-tekst-2: #5E5B55;
    --s113-max: 1200px;
    --s113-gutter: 24px;
    --s113-section: 120px;
    --s113-shadow: 0 12px 32px rgba(30,47,40,.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    color: var(--s113-tekst);
    background: var(--s113-biel);
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: 0;
    padding-bottom: 64px;
}
body.admin-bar { padding-bottom: 64px; }
img, picture, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--s113-marka); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--s113-zloto-ciemne); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, blockquote { margin-top: 0; }
h1, h2, h3, h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    line-height: 1.15;
    color: var(--s113-tekst);
}
h1 { font-size: 46px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
p { margin-bottom: 1em; }
:focus-visible { outline: 3px solid var(--s113-zloto-ciemne); outline-offset: 3px; }
.container { width: min(var(--s113-max), calc(100% - (var(--s113-gutter) * 2))); margin-inline: auto; }
.section { padding-block: var(--s113-section); }
.section--ivory { background: var(--s113-biel); }
.section--beige { background: var(--s113-bez); }
.section--white { background: #fff; }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: -100px; left: 16px; z-index: 9999; padding: 12px 18px;
    color: var(--s113-baza); background: var(--s113-zloto); border-radius: 2px;
}
.skip-link:focus { top: 10px; }
.icon { flex: 0 0 auto; }
.icon--left { transform: rotate(180deg); }
.eyebrow {
    display: block; margin-bottom: 14px; color: var(--s113-marka);
    font-size: 15px; font-weight: 700; line-height: 1.35; text-transform: uppercase;
}
.eyebrow--light { color: #fff; }
.lead { max-width: 720px; color: var(--s113-tekst-2); font-size: 20px; line-height: 1.6; }
.button {
    min-height: 52px; padding: 13px 24px; display: inline-flex; align-items: center;
    justify-content: center; gap: 10px; border: 1px solid var(--s113-zloto);
    border-radius: 2px; background: var(--s113-zloto); color: var(--s113-baza);
    font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { background: #D1B27E; color: var(--s113-baza); border-color: #D1B27E; }
.button--outline { background: transparent; border-color: var(--s113-marka); color: var(--s113-marka); }
.button--outline:hover { background: var(--s113-zielen-tint); color: var(--s113-marka); border-color: var(--s113-marka); }
.button--secondary { background: transparent; border-color: var(--s113-marka); color: var(--s113-marka); }
.button--secondary:hover { background: var(--s113-bez); color: var(--s113-marka); border-color: var(--s113-marka); }
.button--ghost { background: transparent; border-color: #fff; color: #fff; }
.button--ghost:hover { background: #fff; border-color: #fff; color: var(--s113-marka); }
.button--light { background: #fff; border-color: #fff; color: var(--s113-marka); }
.button--light:hover { background: var(--s113-bez); border-color: var(--s113-bez); color: var(--s113-marka); }
.button--full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link {
    display: inline-flex; align-items: center; gap: 6px; color: var(--s113-marka);
    font-size: 16px; font-weight: 700; text-decoration: none;
}
.text-link:hover { color: var(--s113-zloto-ciemne); }
.text-link--light { color: #fff; }
.gold-arch {
    display: block; width: 76px; height: 38px; margin-bottom: 24px;
    border: 1px solid var(--s113-zloto); border-bottom: 0; border-radius: 80px 80px 0 0;
}
.gold-arch--small { width: 32px; height: 18px; margin-bottom: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 38px; }
.section-head h2 { margin-bottom: 0; }
.section-line { display: block; width: 42px; height: 1px; margin-bottom: 18px; background: var(--s113-zloto); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; color: var(--s113-tekst-2); font-size: 15px; }
.breadcrumbs a { color: var(--s113-tekst-2); text-decoration: none; }

/* Header */
.utility-bar { min-height: 40px; color: #fff; background: var(--s113-baza); font-size: 15px; }
.utility-bar__inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-bar a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--s113-ramka); background: #fff; }
.site-header__inner { min-height: 80px; display: flex; align-items: center; gap: 30px; }
.site-header__brand { flex: 0 0 auto; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 600; }
.brand__text small { margin-top: 4px; color: var(--s113-tekst-2); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 24px; margin-left: 18px; }
.primary-nav a { padding: 10px 0; color: var(--s113-tekst); font-size: 16px; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--s113-marka); border-color: var(--s113-zloto); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-search { min-height: 48px; padding-inline: 17px; }
.header-call { min-height: 48px; padding-inline: 18px; }
.header-mobile-search, .menu-toggle { display: none; width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center; border: 1px solid var(--s113-ramka); border-radius: 2px; background: #fff; }
.mobile-menu { padding-block: 18px 24px; border-top: 1px solid var(--s113-ramka); background: #fff; }
.mobile-menu .container { display: grid; }
.mobile-menu a { min-height: 48px; padding-block: 10px; border-bottom: 1px solid var(--s113-ramka); color: var(--s113-tekst); font-weight: 700; text-decoration: none; }

/* Hero */
.home-hero { padding: 0 0 76px; background: var(--s113-biel); }
.home-hero__grid { display: grid; grid-template-columns: 2fr 1fr; align-items: start; }
.hero-slider { position: relative; min-height: 560px; overflow: hidden; color: #fff; background: var(--s113-marka); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; }
.hero-slider__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(30,47,40,.12), rgba(30,47,40,.72)); }
.hero-copy { position: absolute; inset: auto 56px 54px 56px; z-index: 2; max-width: 650px; }
.hero-copy .eyebrow { color: #fff; }
.hero-copy h1 { max-width: 670px; margin-bottom: 18px; color: #fff; font-size: 46px; }
.hero-copy p { max-width: 610px; margin-bottom: 28px; font-size: 18px; }
.hero-slider__controls { position: absolute; top: 22px; right: 22px; z-index: 3; display: flex; background: rgba(30,47,40,.72); }
.hero-slider__controls button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 0; color: #fff; background: transparent; font-size: 14px; font-weight: 700; }
.hero-slider__controls button:hover { background: rgba(255,255,255,.12); }
.duty-panel { position: relative; z-index: 4; margin-top: 32px; margin-bottom: -64px; padding: 38px 34px; color: #fff; background: var(--s113-marka); box-shadow: var(--s113-shadow); }
.duty-panel__phone { display: block; margin-bottom: 22px; color: #fff; font-size: 34px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.duty-panel__funerals { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); }
.duty-panel__funerals h2 { margin-bottom: 12px; color: #fff; font-family: "Lato", sans-serif; font-size: 17px; font-weight: 700; }
.duty-panel__funerals > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.14); text-decoration: none; }
.duty-panel__funerals > a span { display: flex; flex-direction: column; }
.duty-panel__funerals > a strong { font-size: 16px; }
.duty-panel__funerals > a small { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.45; }
.duty-panel .text-link { margin-top: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 7%; right: 7%; height: 1px; background: var(--s113-zloto); }
.steps li { position: relative; padding: 0 20px; }
.steps li > span { position: relative; z-index: 1; width: 48px; height: 48px; margin-bottom: 22px; display: grid; place-items: center; color: #fff; background: var(--s113-marka); border-radius: 50%; font-weight: 700; }
.steps h3 { margin-bottom: 8px; font-size: 22px; }
.steps p { color: var(--s113-tekst-2); font-size: 16px; }
.steps__cta { margin-top: 34px; }

/* Cards */
.home-search { min-height: 64px; margin-bottom: 28px; padding: 6px; display: grid; grid-template-columns: 1fr auto; background: #fff; border: 1px solid var(--s113-ramka); }
.home-search label { display: block; }
.home-search input { width: 100%; min-height: 52px; padding: 0 16px; border: 0; background: transparent; outline: 0; font-size: 17px; }
.cards-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.necrology-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--s113-ramka); }
.necrology-card__image { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--s113-beige, #F3EEE6); }
.necrology-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.necrology-card__placeholder { height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--s113-zloto); background: var(--s113-bez); }
.necrology-card__placeholder span { color: var(--s113-marka); font-size: 14px; text-transform: uppercase; }
.necrology-card__body { flex: 1; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.status-tag { display: inline-block; margin-bottom: 14px; padding: 3px 10px; border-radius: 2px; color: var(--s113-tekst-2); background: var(--s113-bez); font-size: 13px; line-height: 1.45; }
.status-tag--upcoming { color: var(--s113-marka); background: var(--s113-zielen-tint); }
.necrology-card h3 { margin-bottom: 2px; font-size: 24px; }
.necrology-card h3 a { color: var(--s113-tekst); text-decoration: none; }
.necrology-card__dates { margin-bottom: 12px; color: var(--s113-tekst-2); font-size: 16px; }
.necrology-card__funeral { margin-bottom: 16px; color: var(--s113-tekst-2); font-size: 16px; }
.necrology-card__funeral span { color: var(--s113-marka); font-weight: 700; }
.necrology-card .text-link { margin-top: auto; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { min-width: 0; background: #fff; border-top: 1px solid var(--s113-ramka); }
.service-card__image { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-card__image img { transform: scale(1.02); }
.service-card__image span { position: absolute; left: 18px; bottom: 18px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--s113-marka); background: var(--s113-zielen-tint); }
.service-card > div { padding: 22px 2px 0; }
.service-card h3 { margin-bottom: 8px; font-size: 22px; }
.service-card p { color: var(--s113-tekst-2); font-size: 16px; }
.service-card--feature { min-height: 330px; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; color: #fff; background: var(--s113-marka); border: 0; }
.service-card--feature h3 { color: #fff; font-size: 28px; }
.service-card--feature p { color: rgba(255,255,255,.82); }
.service-card__arch { position: absolute; right: -60px; top: -110px; width: 250px; height: 460px; border: 1px solid rgba(194,160,106,.44); border-bottom: 0; border-radius: 160px 160px 0 0; }
.service-card--feature .icon { margin-bottom: 40px; color: var(--s113-zloto); }

/* Numbers and prices */
.numbers-section { padding-block: 78px; color: #fff; background-color: var(--s113-marka); background-image: linear-gradient(rgba(47,74,62,.9),rgba(47,74,62,.9)), url("../images/tla/znicze-rzedy-ciemne.webp"); background-size: cover; background-position: center; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.numbers-grid > div { padding-left: 26px; border-left: 1px solid rgba(194,160,106,.55); }
.numbers-grid strong { display: block; margin-bottom: 8px; color: #fff; font-family: "Cormorant Garamond", serif; font-size: 44px; line-height: 1; }
.numbers-grid span { color: rgba(255,255,255,.82); font-size: 16px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-grid a { padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--s113-tekst); background: #fff; text-decoration: none; border: 1px solid var(--s113-ramka); }
.price-grid a:hover { border-color: var(--s113-zloto); }
.price-grid span { display: block; font-size: 18px; }
.price-grid strong { color: var(--s113-marka); font-size: 28px; line-height: 1.2; }
.price-note { max-width: 860px; margin: 24px 0 0; color: var(--s113-tekst-2); font-size: 16px; }

/* Opinions */
.opinions-section { background: #fff; }
.rating { color: var(--s113-zloto-ciemne); font-size: 20px; font-weight: 700; }
.opinions { position: relative; min-height: 270px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: center; }
.opinion { margin: 0; padding: 32px; opacity: .25; border: 1px solid transparent; }
.opinion.is-active { opacity: 1; border-color: var(--s113-ramka); background: var(--s113-biel); }
.opinion__quote { color: var(--s113-zloto); }
.opinion blockquote { margin: 20px 0; color: var(--s113-tekst); font-family: "Cormorant Garamond", serif; font-size: 25px; line-height: 1.35; }
.opinion figcaption { color: var(--s113-tekst-2); font-size: 15px; font-weight: 700; }
.opinions__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.opinions__dots button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.opinions__dots button::after { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: var(--s113-ramka); }
.opinions__dots button.is-active::after { background: var(--s113-marka); }

/* Contact */
.contact-home { padding-block: 110px; color: #fff; background: var(--s113-baza); }
.contact-home__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.contact-home h2 { max-width: 520px; margin-bottom: 24px; color: #fff; font-size: 44px; }
.contact-home__phone { display: inline-block; margin-bottom: 16px; color: var(--s113-zloto); font-size: 32px; font-weight: 700; text-decoration: none; }
.contact-home p { color: rgba(255,255,255,.78); }
.contact-home .button { margin-top: 18px; }
.contact-home__media { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: end; }
.arched-photo { overflow: hidden; border-radius: 260px 260px 0 0; }
.arched-photo img { width: 100%; height: 390px; object-fit: cover; }
.map-card { border: 1px solid rgba(255,255,255,.24); background: #fff; color: var(--s113-tekst); }
.map-card__visual svg { display: block; width: 100%; height: auto; }
.map-card__loaded:empty { display: none; }
.map-card__loaded iframe { display: block; width: 100%; min-height: 300px; border: 0; }
.map-card__actions { min-height: 66px; padding: 7px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; }
.map-card__actions .button { min-height: 48px; padding-inline: 14px; font-size: 15px; }
.map-card__actions .text-link { white-space: nowrap; font-size: 15px; }

/* Footer */
.demo-strip { padding-block: 14px; color: var(--s113-baza); background: var(--s113-zloto); }
.demo-strip__inner { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.demo-strip p { margin: 0; font-size: 16px; }
.demo-strip a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; color: var(--s113-baza); font-weight: 700; text-decoration: none; }
.site-footer { padding-top: 72px; color: #fff; background: var(--s113-baza); }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 58px; }
.footer-about p { max-width: 340px; margin-top: 24px; color: rgba(255,255,255,.76); font-size: 16px; }
.site-footer h2 { margin-bottom: 18px; color: #fff; font-family: "Lato", sans-serif; font-size: 16px; font-weight: 700; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.78); font-size: 15px; }
.site-footer .brand__text small { color: #fff; opacity: .9; }
.site-footer a { display: block; margin-bottom: 10px; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom__inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.footer-bottom a { display: inline; margin: 0; color: #fff; font-size: 13px; text-decoration: underline; }
.mobile-bar { display: none; }

/* Subpages */
.subhero { padding-block: 84px; background: var(--s113-bez); }
.subhero__inner { max-width: 900px; margin-left: max(var(--s113-gutter), calc((100vw - var(--s113-max)) / 2)); }
.subhero h1 { margin-bottom: 18px; }
.subhero--contact { background: linear-gradient(90deg, rgba(243,238,230,.95), rgba(243,238,230,.75)), url("../images/onas/cmentarz-sciezka.webp") center/cover; }
.page-content { padding-block: 92px 120px; }
.page-content > :first-child { margin-top: 0; }
.page-content h2 { margin-top: 1.4em; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin-top: 1.4em; }
.page-content p, .page-content li { max-width: 940px; }
.page-content--legal p, .page-content--legal li { font-size: 17px; }
.page-content .content-section { max-width: none; }
.content-section { padding: 64px 0; border-top: 1px solid var(--s113-ramka); }
.content-section:first-child { padding-top: 0; border-top: 0; }
.content-section--tint { margin-inline: calc(50% - 50vw); padding-inline: max(24px, calc((100vw - var(--s113-max)) / 2)); background: var(--s113-beige, #F3EEE6); }
.content-section--tint { background: var(--s113-bez); }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.service-detail:nth-child(even) .service-detail__media { order: 2; }
.service-detail__media { overflow: hidden; aspect-ratio: 4/3; }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { padding: 0; margin: 20px 0 28px; list-style: none; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 10px; color: var(--s113-tekst-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 10px; border-left: 2px solid var(--s113-marka); border-bottom: 2px solid var(--s113-marka); transform: rotate(-45deg); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.story-photo { border-radius: 300px 300px 0 0; overflow: hidden; }
.story-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { padding: 30px; background: #fff; border: 1px solid var(--s113-ramka); }
.team-card__initials { width: 64px; height: 64px; margin-bottom: 20px; display: grid; place-items: center; color: var(--s113-marka); background: var(--s113-zielen-tint); border-radius: 50%; font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 600; }
.team-card h3 { margin-bottom: 4px; }
.team-card p { color: var(--s113-tekst-2); font-size: 16px; }
.team-card a { font-size: 16px; }
.photo-mosaic { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 240px 240px; gap: 14px; }
.photo-mosaic picture { overflow: hidden; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.photo-mosaic picture:first-child { grid-row: span 2; }
.photo-mosaic picture:last-child { grid-column: span 2; }
.cta-band { padding: 48px 0; color: #fff; background: var(--s113-marka); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { max-width: 720px; margin: 0; color: #fff; }
.cta-band .button { flex: 0 0 auto; }
.pricing-table { width: 100%; margin-bottom: 36px; border-collapse: collapse; background: #fff; border: 1px solid var(--s113-ramka); }
.pricing-table th, .pricing-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--s113-ramka); vertical-align: top; }
.pricing-table th { color: var(--s113-marka); font-size: 15px; text-transform: uppercase; background: var(--s113-bez); }
.pricing-table td:last-child, .pricing-table th:last-child { text-align: right; white-space: nowrap; color: var(--s113-marka); font-weight: 700; }
.info-box { padding: 32px; background: var(--s113-zielen-tint); border-left: 3px solid var(--s113-zlato); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: stretch; }
.contact-panel { padding: 40px; color: #fff; background: var(--s113-baza); }
.contact-panel h2 { color: #fff; }
.contact-panel__phone { display: block; margin: 24px 0 14px; color: var(--s113-zloto); font-size: 36px; font-weight: 700; line-height: 1.15; text-decoration: none; }
.contact-panel p, .contact-panel a { color: rgba(255,255,255,.82); }
.contact-form-box { padding: 40px; background: #fff; border: 1px solid var(--s113-ramka); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span { color: var(--s113-tekst); font-size: 15px; font-weight: 700; }
.field--full, .contact-form__actions { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid #CFC7BA;
    border-radius: 2px; background: #fff; font-size: 17px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border: 2px solid var(--s113-marka); }
.contact-form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact-form__actions p { margin: 0; color: var(--s113-tekst-2); font-size: 15px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; margin-bottom: 20px; border-left: 3px solid var(--s113-marka); background: var(--s113-zielen-tint); }
.notice--error { border-color: #7a3030; background: #f7eaea; }
.contact-map { margin-top: 28px; }
.contact-map .map-card { color: var(--s113-tekst); border-color: var(--s113-ramka); }
.contact-map .map-card__actions { background: #fff; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.faq-item { padding: 26px; background: #fff; border-top: 1px solid var(--s113-ramka); }
.faq-item h3 { font-size: 22px; }
.faq-item p { color: var(--s113-tekst-2); font-size: 16px; }

/* Nekrolog list */
.list-intro { padding-block: 70px 0; background: var(--s113-bez); }
.subhero--list { padding-bottom: 100px; }
.nar-list { max-width: var(--s113-max); }
.list-search { position: relative; z-index: 2; margin-bottom: -40px; padding: 24px; background: #fff; box-shadow: var(--s113-shadow); }
.list-search__fields { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.filter-chips a { min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; color: var(--s113-tekst-2); background: var(--s113-bez); border: 1px solid transparent; font-size: 15px; text-decoration: none; }
.filter-chips a.is-active { color: #fff; background: var(--s113-marka); }
.nar-list-section { padding-top: 104px; }
.list-meta { margin-bottom: 24px; display: flex; justify-content: space-between; gap: 20px; }
.list-meta p { color: var(--s113-tekst-2); font-size: 16px; }
.list-meta a { font-size: 15px; }
.necrology-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pagination { margin-top: 36px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.pagination .page-numbers { min-width: 48px; min-height: 48px; padding: 10px; display: grid; place-items: center; border: 1px solid var(--s113-ramka); text-decoration: none; }
.pagination .current { color: #fff; background: var(--s113-marka); border-color: var(--s113-marka); }
.empty-state { max-width: 760px; padding: 60px; background: var(--s113-bez); text-align: left; }

/* Single nekrolog */
.single-nekrolog { padding-block: 48px 100px; background: var(--s113-biel); }
.single-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.single-media { position: sticky; top: 118px; }
.single-klepsydra { margin: 0; background: #fff; border: 1px solid var(--s113-ramka); }
.single-klepsydra img { width: 100%; height: auto; }
.single-klepsydra--empty { aspect-ratio: 4/5; display: grid; place-items: center; color: var(--s113-zlato); }
.single-media__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.single-media__actions .button { padding-inline: 10px; }
.single-heading { position: relative; padding-bottom: 34px; border-bottom: 1px solid var(--s113-ramka); }
.single-symbol { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; color: var(--s113-marka); background: var(--s113-zielen-tint); }
.single-symbol svg { width: 32px; height: 32px; }
.single-heading h1 { margin-bottom: 14px; font-size: 44px; overflow-wrap: anywhere; }
.single-life { color: var(--s113-tekst-2); font-size: 17px; }
.single-life span { margin-inline: 6px; color: var(--s113-zlato-ciemne); }
.single-quote { margin-top: 24px; color: var(--s113-marka); font-family: "Cormorant Garamond", serif; font-size: 25px; font-style: italic; line-height: 1.4; }
.event-box { margin-top: 30px; padding: 30px; background: var(--s113-bez); border-left: 3px solid var(--s113-zlato); }
.event-box h2 { margin-bottom: 22px; font-size: 27px; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-list li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 16px; padding-bottom: 22px; }
.event-list li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 15px; bottom: 0; width: 1px; background: #C9C1B4; }
.event-list__dot { width: 11px; height: 11px; margin-top: 6px; border-radius: 50%; background: var(--s113-marka); }
.event-list strong { display: block; font-size: 17px; }
.event-list p { margin-bottom: 4px; }
.event-list span { display: block; color: var(--s113-tekst-2); font-size: 16px; }
.event-list .text-link { margin-top: 6px; }
.mourners { margin-top: 28px; color: var(--s113-tekst-2); font-family: "Cormorant Garamond", serif; font-size: 24px; font-style: italic; }
.single-content > .map-card { margin-top: 28px; border-color: var(--s113-ramka); }
.share-panel { margin-top: 34px; padding: 30px; border-top: 1px solid var(--s113-ramka); background: #fff; }
.share-panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.share-panel h2 { margin-bottom: 20px; font-size: 27px; }
.share-panel__native { display: none; }
.share-panel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.share-button { min-height: 52px; padding: 10px 14px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 2px; background: #fff; color: var(--s113-marka); font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s ease; }
.share-button:hover, .share-button:focus-visible { background: var(--s113-bez); color: var(--s113-marka); }
.share-qr { margin-top: 18px; display: grid; place-items: center; }
.share-qr svg { width: 220px; height: 220px; max-width: 100%; }

/* Candle */
.candle-box { margin-top: 52px; padding: 38px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; color: #fff; background-color: var(--s113-marka); background-image: linear-gradient(rgba(47,74,62,.9),rgba(47,74,62,.9)), url("../images/uslugi/nekrolog-online-znicze.webp"); background-size: cover; background-position: center; }
.candle-box__icon { width: 78px; height: 78px; display: grid; place-items: center; color: var(--s113-zlato); background: rgba(255,255,255,.08); border-radius: 50%; }
.candle-box__icon .icon { width: 40px; height: 40px; }
.candle-box h2, .candle-box p { color: #fff; }
.candle-box h2 { margin-bottom: 5px; font-size: 28px; }
.candle-box p { margin: 0; color: rgba(255,255,255,.8); }
.candle-box[data-lit="1"] .candle-box__icon { animation: candle-glow 2.2s ease-in-out infinite alternate; }
.candle-box__message { min-height: 26px; color: rgba(255,255,255,.86); font-size: 15px; }
.candle-box .button { color: var(--s113-baza); background: var(--s113-zlato); border-color: var(--s113-zlato); }
@keyframes candle-glow { from { box-shadow: 0 0 0 rgba(194,160,106,0); } to { box-shadow: 0 0 26px rgba(194,160,106,.35); } }

/* Condolences */
.condolences { margin-top: 56px; }
.condolences h2 { font-size: 32px; }
.condolence-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 38px; }
.condolence { padding: 24px; background: #fff; border: 1px solid var(--s113-ramka); }
.condolence blockquote { margin: 0 0 18px; color: var(--s113-tekst); font-family: "Cormorant Garamond", serif; font-size: 22px; line-height: 1.45; }
.condolence footer { color: var(--s113-tekst-2); font-size: 15px; }
.condolence-form-box { padding: 32px; background: var(--s113-bez); }
.condolence-form-box h3 { margin-bottom: 8px; }
.condolence-form-box > p { color: var(--s113-tekst-2); font-size: 15px; }
.condolence-form .field { margin-bottom: 16px; }
.condolence-form__counter { text-align: right; color: var(--s113-tekst-2); font-size: 15px; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 18px; font-size: 16px; }
.checkbox-field input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--s113-marka); }

.prose > * { max-width: 920px; }
.prose img { height: auto; }

@media (max-width: 1120px) {
    .primary-nav { gap: 15px; margin-left: 6px; }
    .header-search { display: none; }
    .hero-copy { inset-inline: 38px; }
    .duty-panel { padding: 30px 26px; }
    .duty-panel__phone { font-size: 29px; }
    .single-grid { gap: 36px; }
}

@media (max-width: 900px) {
    .primary-nav { display: none; }
    .header-call { display: none; }
    .header-mobile-search, .menu-toggle { display: inline-flex; }
    .home-hero { padding-bottom: 58px; }
    .home-hero__grid { grid-template-columns: 1fr; }
    .hero-slider { min-height: 500px; }
    .duty-panel { margin: -38px 24px 0; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
    .steps::before { display: none; }
    .cards-rail, .necrology-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cards-rail .necrology-card:nth-child(4) { display: none; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-home__grid, .story-grid, .service-detail, .contact-layout { grid-template-columns: 1fr; }
    .contact-home__media { max-width: 680px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr; }
    .single-grid { grid-template-columns: 1fr; }
    .single-media { position: static; max-width: 620px; }
    .list-search__fields { grid-template-columns: 1fr 1fr; }
    .list-search__fields .button { width: 100%; }
    .necrology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .candle-box { grid-template-columns: auto 1fr; }
    .candle-box .button { grid-column: 1 / -1; }
    .condolence-list { grid-template-columns: 1fr 1fr; }
    .pricing-table { display: block; border: 0; }
    .pricing-table thead { display: none; }
    .pricing-table tbody { display: grid; gap: 14px; }
    .pricing-table tr { display: grid; padding: 20px; background: #fff; border: 1px solid var(--s113-ramka); }
    .pricing-table td { display: block; padding: 4px 0; border: 0; white-space: normal !important; text-align: left !important; }
    .pricing-table td:first-child { color: var(--s113-tekst); font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 600; }
    .pricing-table td:nth-child(2) { color: var(--s113-tekst-2); }
}

@media (max-width: 640px) {
    :root { --s113-gutter: 16px; --s113-section: 72px; }
    body { padding-bottom: 72px; font-size: 18px; }
    .utility-bar { display: none; }
    .site-header__inner { min-height: 68px; gap: 12px; }
    .brand__mark { width: 42px; height: 48px; }
    .brand__text strong { font-size: 29px; }
    .brand__text small { font-size: 10px; }
    .header-actions { gap: 6px; }
    .header-mobile-search, .menu-toggle { width: 44px; height: 48px; }
    .hero-slider { min-height: 440px; }
    .hero-copy { inset: auto 22px 30px; }
    .hero-copy h1 { font-size: 34px; }
    .hero-copy p { font-size: 17px; }
    .hero-copy .eyebrow { font-size: 14px; }
    .hero-slider__controls { top: 12px; right: 12px; }
    .home-hero { padding-bottom: 55px; }
    .duty-panel { margin-inline: 0; padding: 30px 22px; }
    .duty-panel__phone { font-size: 31px; }
    h1, .contact-home h2 { font-size: 34px; }
    h2 { font-size: 26px; }
    .lead { font-size: 18px; }
    .section-head { align-items: flex-start; }
    .section-head .text-link { margin-top: 7px; }
    .steps { grid-template-columns: 1fr; gap: 30px; }
    .steps li { padding-left: 68px; padding-right: 0; }
    .steps li > span { position: absolute; left: 0; top: 0; }
    .home-search { grid-template-columns: 1fr; }
    .home-search .button { width: 100%; }
    .cards-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(var(--s113-gutter) * -1); padding-inline: var(--s113-gutter); }
    .cards-rail .necrology-card { flex: 0 0 86%; display: flex; scroll-snap-align: start; }
    .cards-rail .necrology-card:nth-child(4) { display: flex; }
    .service-grid, .price-grid, .team-grid, .faq-grid, .condolence-list { grid-template-columns: 1fr; }
    .service-card--feature { min-height: 300px; }
    .numbers-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
    .numbers-grid strong { font-size: 34px; }
    .numbers-grid span { font-size: 14px; }
    .numbers-grid > div { padding-left: 14px; }
    .opinions { min-height: 0; display: block; }
    .opinion { display: none; opacity: 1; }
    .opinion.is-active { display: block; padding: 26px; }
    .opinion blockquote { font-size: 23px; }
    .contact-home { padding-block: 72px; }
    .contact-home__media { grid-template-columns: 1fr; }
    .arched-photo img { height: 320px; }
    .map-card__actions { flex-direction: column; align-items: stretch; }
    .map-card__actions .button { width: 100%; }
    .map-card__actions .text-link { min-height: 44px; justify-content: center; }
    .demo-strip__inner, .footer-bottom__inner, .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-bottom__inner { padding-block: 16px; }
    .mobile-bar {
        position: fixed; z-index: 500; left: 0; right: 0; bottom: 0; min-height: 64px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); display: grid;
        grid-template-columns: 1fr 1fr; gap: 8px; background: var(--s113-marka);
        box-shadow: 0 -6px 20px rgba(30,47,40,.16);
    }
    .mobile-bar .button { min-height: 48px; padding: 9px 10px; font-size: 16px; }
    .subhero { padding-block: 56px; }
    .subhero__inner { margin-left: var(--s113-gutter); }
    .page-content { padding-block: 58px 80px; }
    .content-section { padding-block: 48px; }
    .service-detail { gap: 28px; }
    .service-detail:nth-child(even) .service-detail__media { order: 0; }
    .story-grid { gap: 30px; }
    .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 180px 180px; }
    .photo-mosaic picture:first-child { grid-column: 1 / -1; grid-row: auto; }
    .photo-mosaic picture:last-child { grid-column: auto; }
    .list-intro { padding-top: 42px; }
    .list-search { padding: 16px; margin-bottom: -30px; }
    .list-search__fields { grid-template-columns: 1fr; }
    .nar-list-section { padding-top: 72px; }
    .list-meta { flex-direction: column; gap: 4px; }
    .necrology-grid { grid-template-columns: 1fr; }
    .single-nekrolog { padding-top: 28px; }
    .single-heading h1 { font-size: 38px; }
    .single-media__actions { grid-template-columns: 1fr 1fr; }
    .single-media__actions .button { font-size: 15px; }
    .event-box, .share-panel, .contact-panel, .contact-form-box, .condolence-form-box { padding: 24px 20px; }
    .share-panel__head { flex-direction: column; }
    .share-panel__native { width: 100%; display: inline-flex; }
    .share-panel__grid { grid-template-columns: 1fr 1fr; }
    .share-button--desktop, .share-panel__grid .share-button:nth-child(n+3) { }
    .candle-box { padding: 26px 20px; grid-template-columns: 64px 1fr; gap: 16px; }
    .candle-box__icon { width: 64px; height: 64px; }
    .candle-box .button { grid-column: 1 / -1; }
    .condolences { margin-top: 44px; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form .field { grid-column: 1 / -1; }
    .contact-panel__phone { font-size: 31px; }
    .breadcrumbs { font-size: 14px; }
    .demo-strip p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
    .utility-bar, .site-header, .mobile-bar, .demo-strip, .site-footer, .breadcrumbs,
    .single-content, .single-media__actions { display: none !important; }
    body { padding: 0; background: #fff; }
    .single-nekrolog { padding: 0; }
    .single-nekrolog .container { width: 100%; }
    .single-grid { display: block; }
    .single-media { position: static; width: 100%; max-width: none; }
    .single-klepsydra { border: 0; }
    .single-klepsydra img { max-height: 210mm; width: auto; max-width: 100%; margin: auto; }
}

