/* Generated from src/styles by scripts/build-css.py. */
:root {
  --brand: #a64f38;
  --brand-2: #793b2b;
  --brand-3: #b45a41;
  --gold: #9b6044;
  --gold-light: #efd5ba;
  --text: #302d2a;
  --muted: #655e58;
  --border: #e5ded6;
  --surface: #fff;
  --soft: #faf7f2;
  --shadow: 0 8px 24px rgba(66, 31, 10, 0.06);
  --radius: 12px;
  --shell: 1360px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 1000;
  background: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #f3f1f0;
  backdrop-filter: blur(10px);
}
.header__inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand__mark {
  width: 48px;
  height: 48px;
  color: var(--brand);
}
.brand__mark svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand__copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  color: #392d25;
}
.brand__copy small {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: #817a76;
  font-weight: 600;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 31px;
}
.nav__link {
  position: relative;
  padding: 28px 0 24px;
  font-size: 13px;
  font-weight: 600;
  color: #342922;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: 0.2s;
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.phone-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-chip .icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
}
.phone-chip svg {
  width: 17px;
  height: 17px;
}
.phone-chip > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.phone-chip strong {
  font-size: 14px;
}
.phone-chip small {
  margin-top: 4px;
  font-size: 10px;
  color: #8f8782;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand);
  margin: 5px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  font-size: 13px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 5px 14px rgba(90, 39, 8, 0.12);
}
.button--primary:hover {
  background: #4a3a30;
}
.button--outline {
  background: #fff;
  border-color: #aba19b;
  color: #3e3128;
}
.button--outline:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.button--block {
  width: 100%;
}
.button--light {
  background: #fff;
  color: var(--brand);
  border-color: #e5e0dd;
  min-height: 36px;
}
.button__icon {
  width: 17px;
  height: 17px;
}
.header__cta {
  min-width: 140px;
  min-height: 44px;
}

.hero {
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #f0edeb;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(600px, 1fr);
  min-height: 365px;
}
.hero__content {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  background: #fff;
}
.hero__content::after {
  content: "";
  position: absolute;
  top: 0;
  right: -92px;
  width: 190px;
  height: 100%;
  background: #fff;
  border-radius: 0 50% 50% 0 / 0 100% 100% 0;
  z-index: -1;
}
.hero__content-inner {
  width: min(610px, calc(100% - 48px));
  padding: 38px 30px 24px 0;
}
.hero h1 {
  margin: 0;
  color: #3d3027;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.hero h1 span {
  display: inline-block;
  margin-top: 7px;
}
.hero__seo {
  margin: 13px 0 10px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}
.hero__lead {
  max-width: 560px;
  margin: 0;
  color: #5e554f;
  font-size: 13px;
  line-height: 1.62;
}
.hero__buttons {
  display: flex;
  gap: 26px;
  margin-top: 17px;
}
.hero__benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 22px;
}
.benefit-mini {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.mini-icon {
  width: 28px;
  height: 28px;
  color: var(--brand);
  flex: 0 0 28px;
}
.mini-icon svg {
  width: 100%;
  height: 100%;
}
.benefit-mini > span:last-child {
  display: flex;
  flex-direction: column;
}
.benefit-mini strong {
  font-size: 11px;
  color: #403630;
}
.benefit-mini small {
  font-size: 9.5px;
  color: #827b77;
  margin-top: 1px;
  white-space: nowrap;
}
.hero__image {
  min-height: 365px;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0) 22%
    ),
    url("../img/hero-cmentarz.webp");
  background-size: cover;
  background-position: center;
}

.main-panels {
  padding: 10px 0 8px;
  background: #fff;
}
.main-panels__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.22fr 0.69fr;
  grid-template-areas: "services pricing order" "process trust order";
  gap: 10px;
}
.services-column {
  grid-area: services;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.service-card,
.pricing,
.order-card,
.process-card,
.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 3px 14px rgba(77, 40, 18, 0.025);
}
.service-card {
  padding: 20px 18px 16px;
  text-align: center;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.service-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
}
.service-card__icon svg {
  width: 35px;
  height: 35px;
}
.service-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #3e3027;
  font-size: 18px;
  line-height: 1.15;
}
.service-card p {
  margin: 9px auto 10px;
  max-width: 230px;
  font-size: 10px;
  color: #807a76;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: grid;
  gap: 8px;
}
.check-list li {
  position: relative;
  padding-left: 18px;
  font-size: 10px;
  color: #5e554f;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}
.service-card .text-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  color: #4f4037;
}
.text-link span {
  margin-left: 10px;
  font-size: 14px;
}

.pricing {
  grid-area: pricing;
  padding: 9px 12px 9px;
}
.section-title h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  color: #42332a;
}
.section-title--center {
  text-align: center;
}
.section-title span {
  display: block;
  width: 45px;
  height: 2px;
  margin: 6px auto 11px;
  background: var(--gold);
}
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.price-card {
  position: relative;
  border: 1px solid #e4e0de;
  border-radius: 7px;
  padding: 10px 11px 8px;
  min-height: 215px;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border-color: #c1bab5;
  box-shadow: 0 5px 12px rgba(90, 39, 8, 0.07);
  padding-top: 27px;
}
.price-card__ribbon {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 20px;
  border-radius: 7px 7px 0 0;
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 8px;
  line-height: 20px;
  letter-spacing: 0.02em;
}
.price-card__name {
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  color: #453a33;
}
.price-card__desc {
  margin: 2px 0 3px;
  text-align: center;
  font-size: 8.5px;
  color: #837c78;
}
.price-card__price {
  margin: 1px 0 9px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
  color: #3c2f27;
}
.price-card__price span {
  font-size: 15px;
}
.check-list--compact {
  gap: 7px;
  margin: 4px 0 11px;
}
.check-list--compact li {
  font-size: 8.8px;
  padding-left: 14px;
}
.price-card .button {
  margin-top: auto;
  min-height: 30px;
  padding-inline: 8px;
  font-size: 10px;
}
.pricing__note {
  margin: 7px 0 0;
  font-size: 8.5px;
  color: #7b736e;
}
.pricing__note span {
  color: var(--gold);
  font-weight: 800;
}

.order-card {
  grid-area: order;
  padding: 10px 12px 9px;
}
.order-card__intro {
  max-width: 270px;
  margin: 0 auto 10px;
  text-align: center;
  color: #847d79;
  font-size: 9px;
}
.contact-form {
  display: grid;
  gap: 6px;
}
.contact-form label {
  font-size: 8px;
  font-weight: 600;
  color: #7f7671;
  display: grid;
  gap: 3px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #e4e0de;
  background: #fff;
  border-radius: 3px;
  padding: 7px 8px;
  outline: none;
  color: #413730;
  font-size: 9px;
}
.contact-form input,
.contact-form select {
  height: 27px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 61px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #a2958d;
  box-shadow: 0 0 0 2px rgba(90, 39, 8, 0.06);
}
.contact-form .button {
  min-height: 35px;
  margin-top: 2px;
  font-size: 10px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
}
.form-status {
  min-height: 12px;
  margin: 0;
  font-size: 9px;
  text-align: center;
}
.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 11px 0 0;
  color: #6c635e;
  font-size: 9px;
}
.security-note svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.process-card {
  grid-area: process;
  padding: 6px 10px 9px;
}
.process-card .section-title h2,
.trust-card .section-title h2 {
  font-size: 18px;
}
.process-card .section-title span,
.trust-card .section-title span {
  margin-bottom: 7px;
}
.process {
  display: grid;
  grid-template-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
  align-items: start;
  gap: 2px;
}
.process__item {
  text-align: center;
}
.process__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 3px;
}
.process__icon {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
}
.process__icon svg {
  width: 22px;
  height: 22px;
}
.process__number {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.process__line {
  height: 1px;
  background: #b3aca7;
  margin-top: 20px;
}
.process__item strong {
  display: block;
  font-size: 9px;
  color: #4b413b;
}
.process__item small {
  display: block;
  margin-top: 3px;
  font-size: 7.7px;
  line-height: 1.4;
  color: #8e8783;
}

.trust-card {
  grid-area: trust;
  padding: 6px 11px 9px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.trust-item {
  text-align: center;
}
.trust-item svg {
  width: 29px;
  height: 29px;
  margin: 0 auto 4px;
  color: var(--gold);
}
.trust-item strong {
  display: block;
  font-size: 8.5px;
  line-height: 1.25;
  color: #4d433d;
}
.trust-item small {
  display: block;
  margin-top: 3px;
  font-size: 7.3px;
  line-height: 1.35;
  color: #8d8682;
}

.proof-strip {
  border-top: 1px solid #ece8e6;
  border-bottom: 1px solid #ece8e6;
  background: #fff;
}
.proof-strip__inner {
  min-height: 42px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 36px;
}
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 9px;
}
.rating strong {
  font-size: 9px;
  color: #504640;
}
.stars {
  letter-spacing: 2px;
  color: var(--gold);
  font-size: 13px;
}
.rating small {
  font-size: 7px;
  color: #98928f;
}
.media-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 26px;
  color: #403229;
  font-weight: 800;
}
.media-logos span {
  font-size: 14px;
  white-space: nowrap;
}
.media-logos span:nth-child(3) {
  background: #ef4040;
  color: #fff;
  padding: 6px;
}
.media-logos b {
  display: block;
  font-size: 8px;
  line-height: 1;
}

.footer {
  background: linear-gradient(180deg, #403229, #312720);
  color: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.75fr 1fr 0.6fr 1.45fr;
  gap: 34px;
  padding: 18px 0 14px;
  align-items: start;
}
.brand--footer .brand__mark {
  color: #fff;
  width: 46px;
  height: 46px;
}
.brand--footer .brand__copy strong {
  color: #fff;
  font-size: 22px;
}
.footer__brand p {
  margin: 9px 0 0;
  font-size: 9px;
  line-height: 1.55;
  color: #eeeae7;
}
.footer h3 {
  margin: 2px 0 7px;
  font-size: 9px;
}
.footer__grid > div:not(.footer__brand):not(.subscription) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__grid a,
.footer__grid span {
  font-size: 8px;
  color: #efecea;
}
.footer__social .social-circle {
  width: 24px;
  height: 24px;
  border: 1px solid #ded7d3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px !important;
}
.subscription {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  padding: 9px 12px;
  text-align: center;
}
.subscription strong {
  font-size: 9px;
}
.subscription p {
  margin: 5px 0 8px;
  font-size: 8px;
  color: #efebe9;
}
.subscription .button {
  min-height: 28px;
  font-size: 8px;
  padding: 0 15px;
}
.footer__bottom {
  text-align: center;
  padding: 0 20px 10px;
  font-size: 8px;
  color: #ece8e5;
}

@media (max-width: 1180px) {
  .header__inner {
    grid-template-columns: auto auto 1fr;
    gap: 18px;
  }
  .nav {
    order: 4;
    grid-column: 1/-1;
    display: none;
    padding-bottom: 12px;
  }
  .nav.is-open {
    display: flex;
  }
  .header__actions {
    justify-self: end;
  }
  .menu-toggle {
    display: block;
    justify-self: end;
  }
  .phone-chip {
    display: none;
  }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero__content-inner {
    padding-left: 24px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero__benefits {
    gap: 14px;
  }
  .benefit-mini small {
    white-space: normal;
  }
  .main-panels__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "services pricing" "process trust" "order order";
  }
  .order-card {
    max-width: none;
  }
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form label:nth-of-type(6),
  .contact-form .button,
  .form-status {
    grid-column: 1/-1;
  }
  .security-note {
    grid-column: 1/-1;
  }
  .footer__grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
  .footer__social {
    display: none !important;
  }
  .subscription {
    grid-column: 1/-1;
  }
}
@media (max-width: 820px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }
  .site-header {
    position: relative;
  }
  .header__inner {
    min-height: 70px;
  }
  .brand__copy strong {
    font-size: 20px;
  }
  .header__cta {
    display: none;
  }
  .header__actions {
    display: none;
  }
  .nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #f4f2f1;
  }
  .nav__link {
    padding: 12px 4px;
  }
  .nav__link::after {
    bottom: 7px;
  }
  .hero__grid {
    display: flex;
    flex-direction: column;
  }
  .hero__content {
    order: 2;
  }
  .hero__content::after {
    display: none;
  }
  .hero__image {
    order: 1;
    min-height: 280px;
    background-position: center;
  }
  .hero__content-inner {
    width: 100%;
    padding: 28px 20px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero__seo {
    font-size: 21px;
  }
  .hero__buttons {
    flex-direction: column;
    gap: 9px;
  }
  .hero__buttons .button {
    width: 100%;
  }
  .hero__benefits {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .benefit-mini small {
    white-space: normal;
  }
  .main-panels__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "services" "pricing" "order" "process" "trust";
  }
  .services-column {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: auto;
  }
  .pricing__cards {
    grid-template-columns: 1fr;
  }
  .price-card {
    min-height: auto;
  }
  .price-card--featured {
    padding-top: 30px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form label:nth-of-type(6),
  .contact-form .button,
  .form-status {
    grid-column: auto;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process__line {
    width: 1px;
    height: 18px;
    margin: 0 auto;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .proof-strip__inner {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }
  .rating {
    flex-wrap: wrap;
  }
  .media-logos {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand,
  .subscription {
    grid-column: 1/-1;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 38px;
  }
  .hero__seo {
    font-size: 19px;
  }
  .trust-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__brand,
  .subscription {
    grid-column: auto;
  }
  .media-logos span {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* === Konfigurator zamówienia GrobyWroclaw.pl === */
.main-panels__grid {
  grid-template-columns: 1fr;
  grid-template-areas:
    "november"
    "ordering"
    "process";
  align-items: start;
}
.services-column {
  grid-area: services;
}
.pricing {
  grid-area: pricing;
}
.november-note {
  grid-area: november;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border: 1px solid #d9cdc5;
  border-radius: 10px;
  background: #f9f7f6;
  color: #4d4844;
}
.november-note__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--gold);
  border: 1px solid #d9cdc5;
}
.november-note__icon svg {
  width: 18px;
  height: 18px;
}
.november-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}
.november-note a {
  margin-left: auto;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.ordering-row {
  grid-area: ordering;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 12px;
  align-items: start;
}
.process-card {
  grid-area: process;
}

.phone-order-card,
.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 5px 20px rgba(75, 36, 12, 0.045);
}
.phone-order-card {
  position: sticky;
  top: 96px;
  padding: 26px;
  background: linear-gradient(155deg, #49392f 0%, #2e241e 100%);
  color: #fff;
  overflow: hidden;
}
.phone-order-card::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}
.phone-order-card .section-title h2 {
  color: #fff;
  font-size: 26px;
}
.phone-order-card .section-title span {
  background: var(--gold-light);
}
.phone-order-card__intro {
  margin: 0 auto 22px;
  max-width: 390px;
  color: #eae4e1;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.phone-order-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 18px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}
.phone-order-card__icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
  flex: 0 0 45px;
}
.phone-order-card__icon svg {
  width: 22px;
  height: 22px;
}
.phone-order-card__number span:last-child {
  display: flex;
  flex-direction: column;
}
.phone-order-card__number small {
  font-size: 12px;
  color: #dfd9d5;
}
.phone-order-card__number strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
}
.phone-order-card__number--email strong {
  font-family: inherit;
  font-size: 17px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.phone-order-card__number--email {
  margin-top: -6px;
}
.phone-order-card .button {
  width: 100%;
  background: #fff;
  color: var(--brand);
  min-height: 48px;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.order-card--configurator {
  padding: 22px 24px 20px;
  background: #fff;
}
.order-card--configurator .section-title h2 {
  font-size: 28px;
}
.order-card__intro--wide {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: 14px;
  line-height: 1.6;
}
.service-configurator {
  display: grid;
  gap: 12px;
}
.config-section {
  border: 1px solid #eae6e4;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}
.config-section--service {
  background: linear-gradient(180deg, #fdfcfc, #faf9f9);
}
.config-section__heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.config-section__step {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.config-section__heading h3 {
  margin: 1px 0 2px;
  color: #46362c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.2;
}
.config-section__heading p {
  margin: 0;
  color: #807975;
  font-size: 12.5px;
  line-height: 1.45;
}
.base-service-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid #e6e1de;
  border-radius: 9px;
  background: #fff;
}
.base-service-card > div:first-child {
  display: flex;
  flex-direction: column;
}
.base-service-card strong {
  color: #49392e;
  font-size: 15px;
}
.base-service-card span {
  margin-top: 2px;
  color: #8a817c;
  font-size: 12px;
}
.base-service-card__price {
  text-align: right;
  white-space: nowrap;
}
.base-service-card__price small {
  display: block;
  color: #908883;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.base-service-card__price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: var(--brand);
}
.config-grid {
  display: grid;
  gap: 12px;
}
.config-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-field {
  display: grid;
  gap: 6px;
}
.form-field > span {
  font-size: 12.5px;
  font-weight: 700;
  color: #5e544d;
}
.form-field b {
  color: #816756;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #ddd9d6;
  border-radius: 7px;
  background: #fff;
  padding: 10px 12px;
  color: #413730;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.form-field textarea {
  min-height: 92px;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #978a82;
  box-shadow: 0 0 0 3px rgba(90, 39, 8, 0.08);
}
.form-field--full {
  grid-column: 1/-1;
}
.option-cards {
  display: grid;
  gap: 9px;
}
.option-cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.option-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #e4e0dd;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: 0.18s;
}
.option-card:hover {
  border-color: #c1b9b4;
  box-shadow: 0 4px 14px rgba(90, 39, 8, 0.05);
}
.option-card:has(input:checked) {
  border-color: #a2948b;
  background: #fbf9f8;
  box-shadow: 0 0 0 2px rgba(90, 39, 8, 0.05);
}
.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-card__check {
  width: 22px;
  height: 22px;
  border: 2px solid #ccc5c1;
  border-radius: 5px;
  display: grid;
  place-items: center;
}
.option-card input:checked + .option-card__check {
  background: var(--brand);
  border-color: var(--brand);
}
.option-card input:checked + .option-card__check::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.option-card__content {
  display: flex;
  flex-direction: column;
}
.option-card__content strong {
  font-size: 13px;
  color: #50443d;
}
.option-card__content small {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.3;
  color: #8f8884;
}
.option-card__price {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.decor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.decor-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 9px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5e1de;
  border-radius: 9px;
  background: #fff;
}
.decor-field__icon {
  grid-row: 1/3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7f5f4;
  color: var(--gold);
  font-size: 17px;
}
.decor-field__copy {
  display: flex;
  flex-direction: column;
}
.decor-field__copy strong {
  font-size: 13px;
  color: #4f453e;
}
.decor-field__copy small {
  font-size: 11px;
  color: #908883;
}
.decor-field select {
  grid-column: 1/-1;
  margin-top: 6px;
  width: 100%;
  height: 42px;
  border: 1px solid #ddd9d6;
  border-radius: 7px;
  padding: 0 10px;
  background: #fff;
  color: #4a4039;
  font-size: 13px;
}
.flower-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.flower-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.95fr);
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid #e5e1de;
  border-radius: 9px;
  background: #fff;
}
.flower-option > span {
  display: flex;
  flex-direction: column;
}
.flower-option strong {
  font-size: 13px;
  color: #4f453e;
}
.flower-option small {
  margin-top: 2px;
  font-size: 11px;
  color: #918a85;
}
.flower-option select {
  height: 42px;
  border: 1px solid #ddd9d6;
  border-radius: 7px;
  padding: 0 10px;
  background: #fff;
  color: #4a4039;
  font-size: 12.5px;
}
.order-summary {
  border: 1px solid #d0c9c5;
  border-radius: 12px;
  background: linear-gradient(180deg, #fcfbfb, #f9f7f6);
  overflow: hidden;
}
.order-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border-bottom: 1px solid #e5e0dd;
}
.order-summary__head span {
  font-size: 10px;
  color: #867e79;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}
.order-summary__head h3 {
  margin: 2px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #47382e;
}
.order-summary__total {
  text-align: right;
}
.order-summary__total small {
  display: block;
  font-size: 10px;
  color: #867e79;
  text-transform: uppercase;
}
.order-summary__total strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  color: var(--brand);
}
.order-summary__base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  font-size: 13px;
  color: #584c44;
  border-bottom: 1px solid #eae6e4;
}
.order-summary__base strong {
  white-space: nowrap;
}
.order-summary__extras {
  list-style: none;
  margin: 0;
  padding: 6px 16px;
}
.order-summary__extras li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  border-bottom: 1px dashed #e4e0de;
  font-size: 12px;
  color: #6e655f;
}
.order-summary__extras li:last-child {
  border-bottom: 0;
}
.order-summary__extras li.is-empty {
  justify-content: flex-start;
  color: #97918d;
  font-style: italic;
}
.order-summary__extras strong {
  color: #4c3f37;
  white-space: nowrap;
}
.order-summary__note {
  margin: 0;
  padding: 10px 16px 13px;
  color: #8f8782;
  font-size: 11px;
  line-height: 1.45;
}
.config-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 2px;
}
.form-required {
  margin: 0;
  color: #8f8883;
  font-size: 11px;
}
.form-required b {
  color: #816756;
}
.button--config-submit {
  min-width: 220px;
  min-height: 49px;
  font-size: 14px;
}
.form-status {
  min-height: 20px;
  margin: 0;
  text-align: right;
  font-size: 12px;
  color: #625349;
}
.individual-offer {
  margin: 14px 0 0;
  text-align: center;
  color: #756d68;
  font-size: 12px;
}
.individual-offer a {
  font-weight: 800;
  color: var(--brand);
}
.order-card--configurator .security-note {
  margin-top: 9px;
  font-size: 11px;
  color: #8d8681;
}
.order-card--configurator .security-note svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1180px) {
  .main-panels__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "november" "ordering" "process";
  }
  .ordering-row {
    grid-template-columns: 1fr;
  }
  .phone-order-card {
    position: relative;
    top: auto;
  }
  .order-card--configurator {
    padding: 20px;
  }
}
@media (max-width: 820px) {
  .ordering-row {
    gap: 10px;
  }
  .phone-order-card {
    padding: 22px 18px;
  }
  .phone-order-card .section-title h2 {
    font-size: 23px;
  }
  .phone-order-card__number strong {
    font-size: 25px;
  }
  .order-card--configurator {
    padding: 18px 14px;
  }
  .order-card--configurator .section-title h2 {
    font-size: 24px;
  }
  .order-card__intro--wide {
    font-size: 13px;
  }
  .config-section {
    padding: 15px 12px;
  }
  .config-section__heading h3 {
    font-size: 18px;
  }
  .config-section__heading p {
    font-size: 12px;
  }
  .config-grid--two,
  .option-cards--three,
  .decor-grid,
  .flower-options {
    grid-template-columns: 1fr;
  }
  .form-field--full {
    grid-column: auto;
  }
  .flower-option {
    grid-template-columns: 1fr;
  }
  .flower-option select {
    width: 100%;
  }
  .base-service-card {
    align-items: flex-start;
  }
  .base-service-card__price strong {
    font-size: 24px;
  }
  .config-submit {
    flex-direction: column;
    align-items: stretch;
  }
  .button--config-submit {
    width: 100%;
  }
  .form-required {
    text-align: center;
  }
  .form-status {
    text-align: center;
  }
  .november-note {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .november-note a {
    margin-left: 48px;
  }
}
@media (max-width: 480px) {
  .order-card--configurator {
    padding: 15px 10px;
  }
  .config-section {
    padding: 14px 10px;
  }
  .config-section__heading {
    gap: 9px;
  }
  .config-section__step {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }
  .base-service-card {
    flex-direction: column;
  }
  .base-service-card__price {
    text-align: left;
  }
  .order-summary__head {
    align-items: flex-end;
  }
  .order-summary__total strong {
    font-size: 25px;
  }
  .november-note {
    padding: 10px 12px;
  }
  .november-note p {
    font-size: 12px;
  }
  .november-note a {
    font-size: 12px;
  }
}

/* === Podstrona zamówienia i odnośnik na stronie głównej === */
.order-link-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  background: linear-gradient(180deg, #fff, #fcfbfa);
  box-shadow: 0 5px 20px rgba(75, 36, 12, 0.045);
  text-align: center;
  align-self: stretch;
}
.order-link-card__eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.order-link-card .section-title h2 {
  font-size: 26px;
}
.order-link-card > p {
  max-width: 640px;
  margin: 0 auto 18px;
  color: #7b736e;
  font-size: 14px;
  line-height: 1.6;
}
.order-link-card__plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 16px 0;
}
.order-link-card__plans span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 8px;
  border: 1px solid #e7e3e1;
  border-radius: 9px;
  background: #fff;
}
.order-link-card__plans strong {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand);
  font-size: 22px;
}
.order-link-card__plans small {
  color: #786f6a;
  font-size: 11px;
}
.order-link-card__button {
  min-height: 48px;
  font-size: 14px;
}
.order-link-card__note {
  margin: 12px auto 0 !important;
  font-size: 11px !important;
  color: #98928e !important;
}

.order-page {
  background: #faf9f9;
}
.order-page-hero {
  background: linear-gradient(135deg, #413229, #281f19);
  color: #fff;
  padding: 42px 0;
}
.order-page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.order-page-hero__back {
  display: inline-block;
  margin-bottom: 18px;
  color: #ece6e3;
  font-size: 13px;
  font-weight: 700;
}
.order-page-hero__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #bba495;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.order-page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.08;
}
.order-page-hero p {
  max-width: 790px;
  margin: 12px 0 0;
  color: #e9e5e2;
  font-size: 15px;
  line-height: 1.65;
}
.order-page-hero__help {
  min-width: 280px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
}
.order-page-hero__help small {
  color: #e8e2df;
  font-size: 12px;
}
.order-page-hero__help a {
  margin: 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 700;
}
.order-page-hero__help span {
  color: #d9d2cd;
  font-size: 12px;
}
.order-page-content {
  padding: 22px 0 36px;
}
.order-card--standalone {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 30px 26px;
}
.order-card--standalone .service-configurator {
  gap: 16px;
}
.order-card--standalone .config-section {
  padding: 21px;
}
.order-card--standalone .order-card__intro--wide {
  max-width: 850px;
  font-size: 14px;
}
.service-plan-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.service-plan-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 126px;
  padding: 17px 15px;
  border: 1px solid #e3dfdc;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.service-plan-card:hover {
  border-color: #b9b0aa;
  box-shadow: 0 7px 18px rgba(90, 39, 8, 0.06);
  transform: translateY(-1px);
}
.service-plan-card:has(input:checked) {
  border-color: #8f8178;
  box-shadow:
    0 0 0 2px rgba(90, 39, 8, 0.07),
    0 8px 20px rgba(90, 39, 8, 0.06);
  background: #fcfbfb;
}
.service-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.service-plan-card__radio {
  width: 22px;
  height: 22px;
  border: 2px solid #c4bdb8;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.service-plan-card:has(input:checked) .service-plan-card__radio {
  border-color: var(--brand);
}
.service-plan-card:has(input:checked) .service-plan-card__radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}
.service-plan-card__body {
  display: flex;
  flex-direction: column;
}
.service-plan-card__body > strong {
  font-family: Georgia, "Times New Roman", serif;
  color: #47382e;
  font-size: 18px;
  line-height: 1.1;
}
.service-plan-card__body > small {
  margin-top: 5px;
  color: #6c625b;
  font-size: 12px;
  font-weight: 700;
}
.service-plan-card__body > span {
  margin-top: 4px;
  color: #8f8884;
  font-size: 11px;
  line-height: 1.35;
}
.service-plan-card__price {
  text-align: right;
  white-space: nowrap;
}
.service-plan-card__price small {
  display: block;
  color: #908984;
  font-size: 10px;
  text-transform: uppercase;
}
.service-plan-card__price strong {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand);
  font-size: 25px;
}
.service-plan-card--featured {
  padding-top: 27px;
}
.service-plan-card__badge {
  position: absolute;
  top: -1px;
  left: 30px;
  right: 30px;
  height: 21px;
  border-radius: 0 0 7px 7px;
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  line-height: 21px;
  letter-spacing: 0.03em;
}
.service-plan-note {
  margin: 10px 0 0;
  color: #8a817c;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .order-link-card {
    padding: 22px;
  }
  .order-page-hero__inner {
    grid-template-columns: 1fr;
  }
  .order-page-hero__help {
    max-width: 420px;
  }
  .service-plan-options {
    grid-template-columns: 1fr;
  }
  .service-plan-card {
    min-height: 100px;
  }
  .order-card--standalone {
    padding: 24px;
  }
}
@media (max-width: 820px) {
  .order-link-card__plans {
    grid-template-columns: 1fr;
  }
  .order-page-hero {
    padding: 30px 0;
  }
  .order-page-hero h1 {
    font-size: 34px;
  }
  .order-page-hero p {
    font-size: 14px;
  }
  .order-card--standalone {
    padding: 18px 14px;
  }
  .service-plan-card {
    grid-template-columns: auto 1fr;
  }
  .service-plan-card__price {
    grid-column: 2;
    text-align: left;
  }
  .service-plan-card--featured {
    padding-top: 31px;
  }
}
@media (max-width: 480px) {
  .order-page-hero h1 {
    font-size: 29px;
  }
  .order-page-hero__help {
    min-width: 0;
  }
  .order-page-hero__help a {
    font-size: 25px;
  }
  .service-plan-card {
    padding: 15px 12px;
  }
  .service-plan-card__body > strong {
    font-size: 17px;
  }
}

/* === Wyróżnienie obsługiwanych cmentarzy === */
.cemetery-highlight {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #eeebe9;
  background:
    radial-gradient(
      circle at 92% 20%,
      rgba(183, 142, 66, 0.12),
      transparent 24%
    ),
    linear-gradient(135deg, #fbfaf9 0%, #f8f6f5 52%, #f9f7f6 100%);
}
.cemetery-highlight::after {
  content: "WROCŁAW";
  position: absolute;
  right: 3%;
  bottom: -32px;
  color: rgba(90, 39, 8, 0.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 112px;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.cemetery-highlight__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 44px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}
.cemetery-highlight__intro {
  max-width: 760px;
}
.cemetery-highlight__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #7b6455;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.cemetery-highlight__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}
.cemetery-highlight__intro h2 {
  margin: 0;
  max-width: 720px;
  color: #3f3128;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.16;
  font-weight: 500;
}
.cemetery-highlight__intro h2 strong {
  color: var(--brand);
  font-weight: 700;
}
.cemetery-highlight__intro p {
  margin: 9px 0 0;
  color: #786f69;
  font-size: 15px;
  line-height: 1.55;
}
.cemetery-highlight__places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cemetery-place {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 16px;
  border: 1px solid #e7e3e0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(87, 44, 18, 0.06);
}
.cemetery-place__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 5px 14px rgba(90, 39, 8, 0.15);
}
.cemetery-place__icon svg {
  width: 22px;
  height: 22px;
}
.cemetery-place > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cemetery-place small {
  color: #705c50;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cemetery-place strong {
  color: #47372d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.15;
}

@media (max-width: 980px) {
  .cemetery-highlight__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .cemetery-highlight__places {
    max-width: 720px;
    width: 100%;
  }
  .cemetery-highlight::after {
    font-size: 92px;
    right: -2%;
    bottom: -24px;
  }
}
@media (max-width: 620px) {
  .cemetery-highlight__inner {
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .cemetery-highlight__intro h2 {
    font-size: 26px;
  }
  .cemetery-highlight__intro p {
    font-size: 14px;
  }
  .cemetery-highlight__places {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .cemetery-place {
    min-height: 78px;
    padding: 13px 14px;
  }
  .cemetery-place__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .cemetery-place strong {
    font-size: 17px;
  }
  .cemetery-highlight::after {
    display: none;
  }
}

/* Quarterly package schedule */
.quarterly-schedule {
  margin-top: 16px;
  padding: 17px;
  border: 1px solid #dfdad6;
  border-radius: 11px;
  background: #fff;
}
.quarterly-schedule__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 11px;
}
.quarterly-schedule__head strong {
  font-family: Georgia, "Times New Roman", serif;
  color: #47382e;
  font-size: 18px;
}
.quarterly-schedule__head span {
  color: #8f8883;
  font-size: 12px;
  font-weight: 700;
}
.quarterly-schedule__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.schedule-choice {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #e5e1df;
  border-radius: 9px;
  background: #fdfcfc;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.schedule-choice:hover {
  border-color: #b9b0ab;
}
.schedule-choice:has(input:checked) {
  border-color: #988b83;
  background: #faf8f7;
  box-shadow: 0 0 0 2px rgba(90, 39, 8, 0.05);
}
.schedule-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.schedule-choice__radio {
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border: 2px solid #c4bdb8;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.schedule-choice:has(input:checked) .schedule-choice__radio {
  border-color: var(--brand);
}
.schedule-choice:has(input:checked) .schedule-choice__radio::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}
.schedule-choice__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.schedule-choice__body strong {
  color: #53463e;
  font-size: 14px;
  line-height: 1.35;
}
.schedule-choice__body small {
  color: #8b827d;
  font-size: 12px;
  line-height: 1.45;
}
.quarterly-dates {
  margin-top: 12px;
  padding: 14px;
  border-radius: 9px;
  background: #faf9f9;
  border: 1px solid #eae6e4;
}
.quarterly-dates > p {
  margin: 0 0 10px;
  color: #5e544d;
  font-size: 13px;
  font-weight: 800;
}
.config-grid--four-dates {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 820px) {
  .quarterly-schedule__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .quarterly-schedule__options,
  .config-grid--four-dates {
    grid-template-columns: 1fr;
  }
  .quarterly-schedule {
    padding: 14px 12px;
  }
}

/* Order configurator: grave size drives base service price */
.grave-size-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.grave-size-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 18px;
  border: 1px solid #e3dedb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s,
    background 0.18s;
}
.grave-size-card:hover {
  border-color: #b9b0aa;
  box-shadow: 0 7px 18px rgba(90, 39, 8, 0.06);
  transform: translateY(-1px);
}
.grave-size-card:has(input:checked) {
  border-color: #675549;
  background: #fcfbfa;
  box-shadow:
    0 0 0 2px rgba(90, 39, 8, 0.08),
    0 9px 22px rgba(90, 39, 8, 0.07);
}
.grave-size-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.grave-size-card__radio {
  width: 23px;
  height: 23px;
  border: 2px solid #c4bdb8;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.grave-size-card:has(input:checked) .grave-size-card__radio {
  border-color: var(--brand);
}
.grave-size-card:has(input:checked) .grave-size-card__radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}
.grave-size-card__diagram {
  height: 58px;
  display: flex;
  align-items: stretch;
  gap: 3px;
  padding: 6px;
  border: 1px solid #d9d3cf;
  border-radius: 7px;
  background: linear-gradient(180deg, #fbfaf9, #f1eeec);
  box-shadow: inset 0 -8px 15px rgba(90, 39, 8, 0.04);
}
.grave-size-card__diagram i {
  display: block;
  width: 32px;
  border: 1px solid #aba19b;
  border-radius: 4px;
  background: linear-gradient(135deg, #fbfbfb, #e8e4e1);
}
.grave-size-card__diagram--double i {
  width: 30px;
}
.grave-size-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.grave-size-card__body strong {
  font-family: Georgia, "Times New Roman", serif;
  color: #47382e;
  font-size: 20px;
  line-height: 1.12;
}
.grave-size-card__body small {
  margin-top: 4px;
  color: #6d5545;
  font-size: 13px;
  font-weight: 800;
}
.grave-size-card__body span {
  margin-top: 5px;
  color: #8b827d;
  font-size: 12px;
  line-height: 1.45;
}
.grave-size-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #faf8f7;
  color: #7f7670;
  font-size: 12px;
  line-height: 1.5;
}
.grave-size-note strong {
  color: #4f4037;
}
.service-size-prompt {
  margin: 0 0 10px;
  padding: 10px 13px;
  border: 1px solid #d5c7be;
  border-radius: 8px;
  background: #f9f7f6;
  color: #584539;
  font-size: 12px;
  font-weight: 700;
}
.config-section--service.is-awaiting-size .service-plan-options {
  opacity: 0.72;
}
.service-plan-card__price small {
  max-width: 105px;
  margin-left: auto;
  line-height: 1.2;
}
.order-summary__grave {
  padding: 10px 16px;
  border-bottom: 1px solid #eeebea;
  background: #faf9f9;
  color: #60554e;
  font-size: 12px;
  font-weight: 800;
}
.option-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 820px) {
  .grave-size-options,
  .option-cards--two {
    grid-template-columns: 1fr;
  }
  .grave-size-card {
    min-height: 102px;
    padding: 15px 13px;
  }
  .grave-size-card__body strong {
    font-size: 18px;
  }
  .grave-size-card__diagram {
    height: 52px;
  }
  .service-size-prompt {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .grave-size-card {
    grid-template-columns: auto auto 1fr;
    gap: 10px;
  }
  .grave-size-card__diagram i {
    width: 25px;
  }
  .grave-size-card__diagram--double i {
    width: 23px;
  }
  .grave-size-card__body span {
    font-size: 11.5px;
  }
}

/* Quarterly package: the schedule is defined in its dedicated 4-date module. */
[data-single-date-field][hidden] {
  display: none !important;
}
[data-configurator]:has(input[name="service_type"][value="quarterly"]:checked)
  [data-single-date-field] {
  display: none !important;
}

/* Robust quarterly date visibility */
.service-configurator.is-quarterly [data-single-date-field] {
  display: none !important;
}

/* Order configurator sales flow, sticky summary and clearer conditional fields */
[hidden] {
  display: none !important;
}
.order-card--standalone {
  max-width: 1320px;
}
.service-configurator {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  column-gap: 18px;
  row-gap: 16px;
}
.service-configurator > :not(.order-summary) {
  grid-column: 1;
}
.service-configurator > .order-summary {
  grid-column: 2;
  grid-row: 1/99;
  position: sticky;
  top: 92px;
  align-self: start;
  z-index: 2;
}
.config-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.annual-schedule,
.location-mode {
  margin-top: 16px;
  padding: 17px;
  border: 1px solid #dfdad6;
  border-radius: 11px;
  background: #fff;
}
.annual-month {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #eae6e4;
  border-radius: 9px;
  background: #faf9f9;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 16px;
  align-items: end;
}
.annual-month p {
  margin: 0 0 8px;
  color: #7b726c;
  font-size: 13px;
  line-height: 1.5;
}
.location-mode > strong {
  display: block;
  margin: 0 0 11px;
  color: #4e4138;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.photo-upload {
  position: relative;
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border: 1px dashed #b9b0aa;
  border-radius: 10px;
  background: #fcfbfb;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.photo-upload:hover {
  border-color: #86756b;
  background: #faf8f6;
}
.photo-upload__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3efed;
  color: var(--brand);
  font-size: 24px;
  font-weight: 400;
}
.photo-upload > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.photo-upload strong {
  color: #53463e;
  font-size: 14px;
}
.photo-upload small {
  color: #8d8681;
  font-size: 12px;
  line-height: 1.45;
}
.photo-upload input {
  grid-column: 2;
  max-width: 100%;
  font-size: 12px;
  color: #6e655f;
}

.config-section--decoration-scope {
  background: linear-gradient(180deg, #fcfbfb, #f9f7f6);
  border-color: #d9cec7;
}
.decoration-scope-annual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.invoice-toggle,
.order-consent {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 14px;
  border: 1px solid #e5e1de;
  border-radius: 9px;
  background: #fcfbfb;
  cursor: pointer;
}
.invoice-toggle input,
.order-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.invoice-toggle .option-card__check,
.order-consent .option-card__check {
  margin-top: 1px;
}
.invoice-toggle:has(input:checked),
.order-consent:has(input:checked) {
  border-color: #a2958d;
  background: #fbf9f8;
}
.invoice-toggle > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.invoice-toggle strong {
  color: #52473f;
  font-size: 13px;
}
.invoice-toggle small {
  color: #8f8883;
  font-size: 11.5px;
}
.invoice-fields {
  padding: 14px;
  border: 1px solid #eae6e4;
  border-radius: 9px;
  background: #fbfaf9;
}
.order-consent {
  font-size: 12px;
  line-height: 1.5;
  color: #6e655f;
}
.order-consent b {
  color: #816756;
}

.order-summary__details {
  margin: 0;
  padding: 7px 16px 10px;
  border-bottom: 1px solid #eae6e4;
  background: #fff;
}
.order-summary__details div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  padding: 5px 0;
}
.order-summary__details dt {
  color: #99908b;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.order-summary__details dd {
  margin: 0;
  color: #5b4e46;
  font-size: 11.5px;
  line-height: 1.4;
  text-align: right;
  font-weight: 700;
}

.order-review {
  padding: 20px;
  border: 2px solid #9e9189;
  border-radius: 12px;
  background: linear-gradient(180deg, #fcfbfb, #fff);
  box-shadow: 0 12px 30px rgba(90, 39, 8, 0.08);
}
.order-review__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  padding-bottom: 13px;
  border-bottom: 1px solid #e8e4e2;
}
.order-review__head small {
  color: #6e5647;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.order-review__head h3 {
  margin: 3px 0 0;
  color: #47382e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}
.order-review__head > strong {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand);
  font-size: 31px;
  white-space: nowrap;
}
.order-review__content {
  padding: 10px 0;
}
.order-review__content > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px dashed #e7e3e1;
}
.order-review__content > div:last-child {
  border-bottom: 0;
}
.order-review__content span {
  color: #918a85;
  font-size: 12px;
  font-weight: 700;
}
.order-review__content strong {
  color: #52473f;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}
.order-review__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid #e8e4e2;
}
.order-review__actions .button {
  min-height: 46px;
}

.mobile-order-bar {
  display: none;
}

@media (max-width: 1180px) {
  .service-configurator {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .service-configurator > .order-summary {
    top: 78px;
  }
  .decoration-scope-annual {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .service-configurator {
    grid-template-columns: 1fr;
  }
  .service-configurator > :not(.order-summary),
  .service-configurator > .order-summary {
    grid-column: 1;
    grid-row: auto;
  }
  .service-configurator > .order-summary {
    position: static;
    order: 90;
  }
  .config-grid--three {
    grid-template-columns: 1fr;
  }
  .annual-month {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .mobile-order-bar {
    position: fixed;
    z-index: 50;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: #3f3128;
    color: #fff;
    box-shadow: 0 10px 30px rgba(53, 23, 5, 0.24);
  }
  .mobile-order-bar span {
    display: flex;
    flex-direction: column;
  }
  .mobile-order-bar small {
    font-size: 9px;
    text-transform: uppercase;
    color: #ded6d1;
  }
  .mobile-order-bar strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
  }
  .mobile-order-bar button {
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #3f3128;
    padding: 11px 14px;
    font-size: 12px;
    font-weight: 800;
  }
  .order-page .footer {
    padding-bottom: 82px;
  }
}
@media (max-width: 620px) {
  .photo-upload {
    grid-template-columns: auto 1fr;
    padding: 13px 12px;
  }
  .photo-upload input {
    grid-column: 1/-1;
  }
  .order-review__head {
    align-items: flex-start;
    flex-direction: column;
  }
  .order-review__head > strong {
    font-size: 28px;
  }
  .order-review__content > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .order-review__actions {
    flex-direction: column-reverse;
  }
  .order-review__actions .button {
    width: 100%;
  }
}

/* Final checkout-style review */
.service-configurator.is-reviewing {
  grid-template-columns: 1fr;
}
.service-configurator.is-reviewing > .config-section,
.service-configurator.is-reviewing > .order-summary,
.service-configurator.is-reviewing > .order-consent,
.service-configurator.is-reviewing > .config-submit {
  display: none !important;
}
.service-configurator.is-reviewing > .order-review {
  grid-column: 1/-1;
  grid-row: auto;
  display: block !important;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}
.order-review--checkout {
  padding: 28px;
  border: 1px solid #dcd5d1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(90, 39, 8, 0.1);
}
.order-review--checkout .order-review__head {
  align-items: flex-start;
  padding-bottom: 20px;
}
.order-review--checkout .order-review__head p {
  max-width: 650px;
  margin: 7px 0 0;
  color: #847b75;
  font-size: 14px;
  line-height: 1.55;
}
.order-review__price {
  min-width: 190px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #3f3128;
  color: #fff;
  text-align: right;
}
.order-review__price small {
  display: block;
  color: #e0d9d4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.order-review__price strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.05;
}
.order-review__content--sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0;
}
.order-review__section {
  padding: 18px;
  border: 1px solid #eae7e5;
  border-radius: 12px;
  background: #fdfcfc;
}
.order-review__section h4 {
  margin: 0 0 10px;
  color: #48382e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}
.order-review__rows > div {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed #e8e4e1;
}
.order-review__rows > div:last-child {
  border-bottom: 0;
}
.order-review__rows span {
  color: #928a85;
  font-size: 12px;
  font-weight: 700;
}
.order-review__rows strong {
  color: #53473f;
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
  overflow-wrap: anywhere;
}
.order-review__section--price {
  grid-column: 1/-1;
  background: linear-gradient(180deg, #fcfbfb, #faf8f7);
  border-color: #e2dbd7;
}
.order-review__price-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 9px 0;
  border-bottom: 1px dashed #e3dedb;
  color: #665b54;
  font-size: 13px;
}
.order-review__price-rows > div:last-child {
  border-bottom: 0;
}
.order-review__price-rows strong {
  color: #4c3e35;
  white-space: nowrap;
}
.order-review__price-rows .is-total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 2px solid #534135;
  border-bottom: 0;
  font-size: 17px;
  font-weight: 800;
  color: #403229;
}
.order-review__price-rows .is-total strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  color: #3f3128;
}
.order-review__payment-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #d5c8c0;
  border-radius: 11px;
  background: #f9f7f6;
  color: #4b3d35;
}
.order-review__payment-note > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  border-radius: 50%;
  background: #7b604e;
  color: #fff;
  font-weight: 900;
}
.order-review__payment-note strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}
.order-review__payment-note small {
  display: block;
  margin-top: 3px;
  color: #6a5e56;
  font-size: 12px;
  line-height: 1.45;
}
.order-review--checkout .order-review__actions {
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
}
.order-review--checkout .order-review__actions .button {
  min-width: 210px;
}
.mobile-order-bar.is-hidden {
  display: none !important;
}
@media (max-width: 760px) {
  .order-review--checkout {
    padding: 18px 12px;
    border-radius: 12px;
  }
  .order-review--checkout .order-review__head {
    gap: 14px;
  }
  .order-review__price {
    width: 100%;
    min-width: 0;
    text-align: left;
  }
  .order-review__content--sections {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }
  .order-review__section--price {
    grid-column: 1;
  }
  .order-review__section {
    padding: 14px 12px;
  }
  .order-review__rows > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .order-review__rows strong {
    text-align: left;
  }
  .order-review__price-rows > div {
    gap: 12px;
    font-size: 12px;
  }
  .order-review__price-rows .is-total {
    font-size: 15px;
  }
  .order-review__price-rows .is-total strong {
    font-size: 22px;
  }
  .order-review--checkout .order-review__actions {
    flex-direction: column-reverse;
  }
  .order-review--checkout .order-review__actions .button {
    width: 100%;
    min-width: 0;
  }
}

/* Paynow payment result */
.payment-page {
  background: #f9f7f6;
  color: #30261f;
  min-height: 100vh;
}
.payment-result {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 18px;
}
.payment-result__card {
  width: min(720px, 100%);
  background: #fff;
  border: 1px solid #edeae8;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(76, 34, 8, 0.12);
  padding: 42px;
}
.payment-result__brand {
  display: inline-flex;
  margin-bottom: 30px;
  text-decoration: none;
}
.payment-result__eyebrow {
  display: block;
  margin: 0 0 8px;
  color: #7d6250;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.payment-result__card h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.08;
  color: #352922;
}
.payment-result__card > p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #756c67;
}
.payment-result__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-size: 2rem;
  font-weight: 900;
}
.payment-result__icon--success {
  background: #e8f7ef;
  color: #19784b;
}
.payment-result__icon--error {
  background: #fff0f0;
  color: #b33a3a;
}
.payment-result__spinner {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 5px solid #ece8e5;
  border-top-color: #352922;
  border-radius: 50%;
  animation: paynow-spin 0.85s linear infinite;
}
@keyframes paynow-spin {
  to {
    transform: rotate(360deg);
  }
}
.payment-result__details {
  margin: 30px 0;
  padding: 8px 22px;
  border: 1px solid #edeae9;
  border-radius: 18px;
  background: #fcfbfb;
}
.payment-result__details div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #edeae9;
}
.payment-result__details div:last-child {
  border-bottom: 0;
}
.payment-result__details dt {
  color: #807974;
}
.payment-result__details dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
  color: #30261f;
}
.payment-result__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.payment-result__help {
  margin: 24px 0 0 !important;
  padding-top: 20px;
  border-top: 1px solid #f0edec;
  font-size: 0.95rem !important;
}
.payment-result__help a {
  font-weight: 800;
  color: #352922;
}
@media (max-width: 640px) {
  .payment-result {
    padding: 20px 12px;
  }
  .payment-result__card {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .payment-result__details {
    padding: 6px 16px;
  }
  .payment-result__details div {
    display: block;
  }
  .payment-result__details dd {
    text-align: left;
    margin-top: 4px;
  }
  .payment-result__actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* dopracowany status płatności i podsumowanie zamówienia */
.payment-result__topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.payment-result__topbar .payment-result__brand {
  margin-bottom: 0;
}
.payment-result__order-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f6f3f1;
  color: #574b43;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.payment-summary {
  margin: 30px 0 0;
  border: 1px solid #ebe7e5;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}
.payment-summary__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding: 24px 26px;
  background: linear-gradient(135deg, #faf9f9 0%, #f5f2f1 100%);
  border-bottom: 1px solid #ebe7e5;
}
.payment-summary__header span {
  display: block;
  color: #807974;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.payment-summary__header h2 {
  margin: 5px 0 0;
  color: #352922;
  font-size: 1.55rem;
  line-height: 1.15;
}
.payment-summary__total {
  text-align: right;
  flex: 0 0 auto;
}
.payment-summary__total small {
  display: block;
  color: #807974;
  font-weight: 700;
}
.payment-summary__total strong {
  display: block;
  margin-top: 3px;
  color: #352922;
  font-size: 1.75rem;
  line-height: 1;
}
.payment-summary__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px;
}
.payment-summary__panel {
  border: 1px solid #eeebea;
  border-radius: 16px;
  padding: 18px;
  background: #fefdfd;
}
.payment-summary__panel h3 {
  margin: 0 0 12px;
  color: #30261f;
  font-size: 1.05rem;
}
.payment-result__details--compact {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.payment-result__details--compact div {
  padding: 10px 0;
}
.payment-result__details--compact dt {
  font-size: 0.9rem;
}
.payment-result__details--compact dd {
  max-width: 62%;
  font-size: 0.94rem;
}
.payment-summary__prices {
  display: grid;
  gap: 0;
}
.payment-summary__prices > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #eeebea;
  color: #5e544e;
}
.payment-summary__prices > div:last-child {
  border-bottom: 0;
}
.payment-summary__prices span {
  line-height: 1.35;
}
.payment-summary__prices strong {
  white-space: nowrap;
  color: #30261f;
}
.payment-summary__prices .payment-summary__muted {
  color: #8b847f;
}
.payment-summary__prices .payment-summary__grand {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 2px solid #e9e5e2;
  border-bottom: 0;
  font-size: 1.02rem;
}
.payment-summary__prices .payment-summary__grand span,
.payment-summary__prices .payment-summary__grand strong {
  font-weight: 900;
  color: #352922;
}
.payment-next {
  margin: 24px 0 0;
  padding: 22px;
  border: 1px solid #ede9e7;
  border-radius: 20px;
  background: #fbfaf9;
}
.payment-next h2 {
  margin: 0 0 18px;
  color: #352922;
  font-size: 1.25rem;
}
.payment-next__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.payment-next__steps > div {
  position: relative;
  min-width: 0;
  padding: 16px 14px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #eeeae8;
}
.payment-next__steps > div > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 11px;
  border-radius: 50%;
  background: #f3f0ee;
  color: #6d6159;
  font-size: 0.85rem;
  font-weight: 900;
}
.payment-next__steps > div.is-done > span {
  background: #e4f5eb;
  color: #19784b;
}
.payment-next__steps strong {
  display: block;
  color: #30261f;
  font-size: 0.94rem;
  line-height: 1.25;
}
.payment-next__steps small {
  display: block;
  margin-top: 5px;
  color: #807974;
  font-size: 0.82rem;
  line-height: 1.4;
}
.payment-result__details--status {
  margin-top: 22px;
}
@media (max-width: 760px) {
  .payment-result__topbar {
    display: block;
  }
  .payment-result__order-badge {
    margin-top: 14px;
    white-space: normal;
  }
  .payment-summary__header {
    display: block;
    padding: 20px;
  }
  .payment-summary__total {
    text-align: left;
    margin-top: 16px;
  }
  .payment-summary__total strong {
    font-size: 1.55rem;
  }
  .payment-summary__grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .payment-summary__panel {
    padding: 16px;
  }
  .payment-result__details--compact div {
    display: block;
  }
  .payment-result__details--compact dd {
    max-width: none;
    text-align: left;
    margin-top: 4px;
  }
  .payment-next__steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 460px) {
  .payment-next__steps {
    grid-template-columns: 1fr;
  }
  .payment-summary__prices > div {
    align-items: flex-start;
  }
  .payment-summary__prices span {
    padding-right: 8px;
  }
}

/* wybór metody płatności */
.payment-method {
  margin: 2px 0 18px;
  padding: 0;
  border: 0;
}
.payment-method legend {
  margin: 0 0 10px;
  color: #48382e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}
.payment-method__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.payment-method__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 15px 16px;
  border: 1px solid #e7e3e1;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: 0.18s ease;
}
.payment-method__card:hover {
  border-color: #bbb1ab;
  box-shadow: 0 7px 20px rgba(90, 39, 8, 0.06);
}
.payment-method__card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-method__check {
  width: 22px;
  height: 22px;
  border: 2px solid #b3aba6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
}
.payment-method__check::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4d3c32;
  transform: scale(0);
  transition: 0.15s ease;
}
.payment-method__card:has(input:checked) {
  border-color: #755e4f;
  background: #fbf9f8;
  box-shadow: 0 0 0 2px rgba(149, 86, 47, 0.08);
}
.payment-method__card:has(input:checked) .payment-method__check {
  border-color: #4d3c32;
}
.payment-method__card:has(input:checked) .payment-method__check::after {
  transform: scale(1);
}
.payment-method__copy strong {
  display: block;
  color: #48382e;
  font-size: 14px;
  line-height: 1.25;
}
.payment-method__copy small {
  display: block;
  margin-top: 4px;
  color: #89807a;
  font-size: 12px;
  line-height: 1.4;
}
.payment-method__badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: #f5f2f0;
  color: #6c5445;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 700px) {
  .payment-method__options {
    grid-template-columns: 1fr;
  }
  .payment-method__card {
    grid-template-columns: auto 1fr;
  }
  .payment-method__badge {
    display: none;
  }
}

/* dane do przelewu */
.bank-transfer-box {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid #e7e3e1;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfbfb, #f9f7f6);
}
.bank-transfer-box h2 {
  margin: 0 0 14px;
  color: #352922;
  font-size: 1.3rem;
}
.bank-transfer-box__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.bank-transfer-box__item {
  padding: 13px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #edeae9;
}
.bank-transfer-box__item span {
  display: block;
  color: #807974;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bank-transfer-box__item strong {
  display: block;
  margin-top: 5px;
  color: #30261f;
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.bank-transfer-box__item--full {
  grid-column: 1/-1;
}
.bank-transfer-box__amount strong {
  font-size: 1.5rem;
  color: #352922;
}
.bank-transfer-box__note {
  margin: 14px 0 0;
  color: #7b7470;
  font-size: 0.92rem;
  line-height: 1.55;
}
@media (max-width: 620px) {
  .bank-transfer-box__grid {
    grid-template-columns: 1fr;
  }
  .bank-transfer-box__item--full {
    grid-column: 1;
  }
}

/* terminy i checkbox zgody */
.form-field input.is-unavailable-date {
  border-color: #b84d4d;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(184, 77, 77, 0.08);
}
.date-availability-message {
  display: block;
  min-height: 0;
  margin-top: 1px;
  color: #a23f3f;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 700;
}
.order-consent input:checked + .option-card__check {
  background: var(--brand);
  border-color: var(--brand);
}
.order-consent input:checked + .option-card__check::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

/* Booking calendar – */
.booking-date-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.booking-date-picker {
  position: relative;
  width: 100%;
}

.booking-date-picker__trigger {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--color-border, #e3dfdd);
  border-radius: 12px;
  background: #fff;
  color: var(--color-text, #2a2420);
  padding: 0 14px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.booking-date-picker__trigger:hover:not(:disabled),
.booking-date-picker__trigger:focus-visible,
.booking-date-picker__trigger[aria-expanded="true"] {
  border-color: var(--color-brand, #3b2e25);
  box-shadow: 0 0 0 3px rgba(76, 41, 20, 0.11);
  outline: none;
}

.booking-date-picker__trigger:not(.has-value) [data-booking-date-label] {
  color: var(--color-text-muted, #7b7470);
}

.booking-date-picker__icon {
  flex: 0 0 auto;
  color: var(--color-brand, #3b2e25);
  font-size: 1.05rem;
}

.booking-date-picker.is-disabled .booking-date-picker__trigger,
.booking-date-picker__trigger:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  background: #f7f6f5;
}

.booking-calendar {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 0;
  width: min(360px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid #e8e5e3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(56, 30, 15, 0.18);
}

.booking-calendar[hidden] {
  display: none !important;
}

.booking-calendar__header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.booking-calendar__month {
  text-align: center;
  font-size: 1rem;
  color: var(--color-brand, #3b2e25);
  text-transform: capitalize;
}

.booking-calendar__nav {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #f6f5f4;
  color: var(--color-brand, #3b2e25);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.booking-calendar__nav:hover:not(:disabled) {
  background: #f0edeb;
}
.booking-calendar__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.booking-calendar__weekday {
  min-height: 30px;
  display: grid;
  place-items: center;
  color: #93847b;
  font-size: 0.78rem;
  font-weight: 700;
}

.booking-calendar__day {
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #2a2420;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  position: relative;
}

.booking-calendar__day:hover:not(:disabled) {
  background: #f5f2f0;
  color: var(--color-brand, #3b2e25);
}

.booking-calendar__day.is-today:not(.is-selected)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #927a6a;
  transform: translateX(-50%);
}

.booking-calendar__day.is-selected {
  background: var(--color-brand, #3b2e25);
  color: #fff;
}

.booking-calendar__day.is-outside:not(.is-selected) {
  color: #bbb7b4;
}

.booking-calendar__day.is-unavailable,
.booking-calendar__day:disabled {
  background: #f7f6f6;
  color: #c4c0be;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.78;
}

.booking-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f2f0ef;
  color: #7d7671;
  font-size: 0.78rem;
}

.booking-calendar__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.booking-calendar__legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.booking-calendar__legend i.is-available {
  background: #f5f2f0;
  border: 1px solid #dcd6d2;
}
.booking-calendar__legend i.is-disabled {
  background: #f5f4f4;
  border: 1px solid #e0dedc;
}

@media (max-width: 640px) {
  .booking-calendar {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 50%;
    width: auto;
    max-width: 420px;
    margin: 0 auto;
    transform: translateY(-50%);
    padding: 16px;
    z-index: 200;
  }
  .booking-calendar__day {
    font-size: 0.94rem;
  }
}

.booking-date-picker__trigger.is-invalid {
  border-color: #b84d4d;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(184, 77, 77, 0.08);
}

/* === dopracowana wersja mobilna === */
@media (max-width: 900px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body {
    overflow-x: hidden;
  }
  .shell {
    width: min(var(--shell), calc(100% - 24px));
  }

  /* Nagłówek i nawigacja */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 120;
  }
  .header__inner {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .brand {
    min-width: 0;
    gap: 8px;
  }
  .brand__mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .brand__copy {
    min-width: 0;
  }
  .brand__copy strong {
    font-size: 19px;
    white-space: nowrap;
  }
  .brand__copy small {
    font-size: 10px;
  }
  .menu-toggle {
    display: block;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 8px;
    justify-self: end;
  }
  .menu-toggle:focus-visible {
    outline: 3px solid rgba(90, 39, 8, 0.18);
    outline-offset: 2px;
  }
  .header__actions {
    display: none;
  }
  .nav {
    grid-column: 1/-1;
    width: 100%;
    padding: 4px 0 10px;
    background: #fff;
  }
  .nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
    border-top: 1px solid #f3f1f0;
  }
  .nav__link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    border-radius: 7px;
    font-size: 14px;
  }
  .nav__link:active {
    background: #f9f7f6;
  }

  /* Strona główna */
  .hero__image {
    min-height: 230px;
  }
  .hero__content-inner {
    padding: 24px 14px 26px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.02;
  }
  .hero__seo {
    font-size: 20px;
    line-height: 1.25;
  }
  .hero__lead {
    font-size: 15px;
    line-height: 1.65;
  }
  .hero__buttons {
    gap: 10px;
  }
  .hero__buttons .button {
    min-height: 50px;
    font-size: 15px;
  }
  .hero__benefits {
    gap: 14px;
  }
  .benefit-mini strong {
    font-size: 14px;
  }
  .benefit-mini small {
    font-size: 12px;
    line-height: 1.4;
  }

  .main-panels {
    padding: 12px 0;
  }
  .main-panels__grid {
    gap: 12px;
  }
  .services-column {
    gap: 12px;
  }
  .service-card {
    padding: 22px 18px;
  }
  .service-card h2 {
    font-size: 21px;
  }
  .service-card p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.55;
  }
  .check-list {
    gap: 10px;
  }
  .check-list li {
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.45;
  }
  .service-card .text-link {
    padding-top: 18px;
    font-size: 14px;
  }

  .pricing {
    padding: 18px 14px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .pricing__cards {
    gap: 12px;
  }
  .price-card {
    min-height: 0;
    padding: 18px 16px;
  }
  .price-card--featured {
    padding-top: 38px;
  }
  .price-card__ribbon {
    height: 28px;
    line-height: 28px;
    font-size: 11px;
  }
  .price-card__name {
    font-size: 16px;
  }
  .price-card__desc {
    margin-top: 4px;
    font-size: 13px;
  }
  .price-card__price {
    margin: 8px 0 14px;
    font-size: 36px;
  }
  .check-list--compact {
    gap: 9px;
  }
  .check-list--compact li {
    padding-left: 20px;
    font-size: 13px;
  }
  .price-card .button {
    min-height: 46px;
    font-size: 14px;
  }
  .pricing__note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
  }

  .november-note {
    gap: 10px;
    padding: 14px;
  }
  .november-note p {
    font-size: 13px;
  }
  .november-note a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    margin-left: 0;
    font-size: 13px;
  }
  .order-link-card {
    padding: 20px 14px;
  }
  .order-link-card .section-title h2 {
    font-size: 24px;
  }
  .order-link-card > p {
    font-size: 14px;
  }
  .order-link-card__plans strong {
    font-size: 24px;
  }
  .order-link-card__plans small {
    font-size: 13px;
  }
  .order-link-card__button {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
  }
  .order-link-card__note {
    font-size: 12px !important;
  }

  .process-card {
    padding: 18px 14px;
  }
  .process-card .section-title h2 {
    font-size: 24px;
  }
  .process__icon {
    width: 46px;
    height: 46px;
  }
  .process__number {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .process__item strong {
    font-size: 14px;
  }
  .process__item small {
    max-width: 300px;
    margin: 4px auto 0;
    font-size: 12px;
  }

  .cemetery-highlight__eyebrow {
    font-size: 11px;
  }
  .cemetery-highlight__intro h2 {
    font-size: 25px;
  }
  .cemetery-highlight__intro p {
    font-size: 14px;
  }
  .cemetery-place {
    min-height: 82px;
  }
  .cemetery-place small {
    font-size: 10px;
  }
  .cemetery-place strong {
    font-size: 18px;
  }

  /* Formularz zamówienia */
  .order-page-hero {
    padding: 24px 0;
  }
  .order-page-hero__inner {
    gap: 18px;
  }
  .order-page-hero__back {
    margin-bottom: 12px;
    font-size: 13px;
  }
  .order-page-hero__eyebrow {
    font-size: 11px;
    line-height: 1.4;
  }
  .order-page-hero h1 {
    font-size: clamp(29px, 8.5vw, 36px);
    line-height: 1.08;
  }
  .order-page-hero__help {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 14px 16px;
  }
  .order-page-hero__help a {
    font-size: 25px;
  }

  .order-page-content {
    padding: 12px 0 28px;
  }
  .order-card--standalone {
    padding: 16px 10px 18px;
    border-radius: 10px;
  }
  .order-card--standalone .section-title h2 {
    font-size: 25px;
  }
  .order-card--standalone .service-configurator {
    gap: 12px;
  }
  .order-card--standalone .config-section {
    padding: 15px 12px;
  }
  .config-section__heading {
    gap: 9px;
    margin-bottom: 12px;
  }
  .config-section__step {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .config-section__heading h3 {
    font-size: 19px;
  }
  .config-section__heading p {
    font-size: 13px;
    line-height: 1.5;
  }

  .grave-size-options,
  .service-plan-options,
  .option-cards--two,
  .option-cards--three,
  .decor-grid,
  .flower-options,
  .quarterly-schedule__options,
  .decoration-scope-annual,
  .config-grid--two,
  .config-grid--three,
  .config-grid--four-dates {
    grid-template-columns: 1fr;
  }

  .grave-size-card {
    min-height: 0;
    padding: 15px 12px;
    gap: 10px;
  }
  .grave-size-card__body strong {
    font-size: 19px;
  }
  .grave-size-card__body small {
    font-size: 13px;
  }
  .grave-size-card__body span {
    font-size: 12px;
  }
  .grave-size-note {
    font-size: 13px;
  }

  .service-plan-card {
    min-height: 0;
    padding: 16px 12px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }
  .service-plan-card--featured {
    padding-top: 34px;
  }
  .service-plan-card__badge {
    left: 16px;
    right: 16px;
    height: 24px;
    line-height: 24px;
    font-size: 10px;
  }
  .service-plan-card__body > strong {
    font-size: 18px;
  }
  .service-plan-card__body > small {
    font-size: 13px;
  }
  .service-plan-card__body > span {
    font-size: 12px;
  }
  .service-plan-card__price {
    grid-column: 2;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: normal;
  }
  .service-plan-card__price small {
    max-width: none;
    margin: 0;
    font-size: 10px;
  }
  .service-plan-card__price strong {
    font-size: 25px;
  }
  .service-size-prompt {
    font-size: 13px;
    line-height: 1.45;
  }

  .quarterly-schedule {
    padding: 14px 10px;
  }
  .quarterly-schedule__head strong {
    font-size: 18px;
  }
  .quarterly-schedule__head span {
    font-size: 12px;
  }
  .schedule-choice {
    min-height: 66px;
    padding: 13px 12px;
  }
  .schedule-choice__radio {
    width: 23px;
    height: 23px;
  }
  .schedule-choice__body strong {
    font-size: 14px;
  }
  .schedule-choice__body small {
    font-size: 12px;
  }

  .form-field {
    gap: 7px;
  }
  .form-field > span {
    font-size: 13px;
  }
  .form-field input,
  .form-field select,
  .form-field textarea,
  .decor-field select,
  .flower-option select {
    min-height: 48px;
    font-size: 16px;
  }
  .form-field textarea {
    min-height: 110px;
  }

  .photo-upload {
    padding: 14px 12px;
  }
  .photo-upload strong {
    font-size: 14px;
  }
  .photo-upload small {
    font-size: 12px;
  }
  .photo-upload input {
    min-height: 44px;
    font-size: 14px;
  }

  .option-card {
    min-height: 72px;
    padding: 13px 12px;
  }
  .option-card__check {
    width: 24px;
    height: 24px;
  }
  .option-card__content strong {
    font-size: 14px;
  }
  .option-card__content small {
    font-size: 12px;
  }
  .option-card__price {
    font-size: 14px;
  }

  .decor-field {
    padding: 13px 12px;
  }
  .decor-field__copy strong,
  .flower-option strong {
    font-size: 14px;
  }
  .decor-field__copy small,
  .flower-option small {
    font-size: 12px;
  }
  .flower-option {
    grid-template-columns: 1fr;
    padding: 13px 12px;
  }

  .order-consent {
    min-height: 58px;
    padding: 14px 12px;
    font-size: 13px;
  }
  .order-consent .option-card__check {
    width: 24px;
    height: 24px;
  }

  .order-summary__head {
    padding: 14px 12px;
  }
  .order-summary__head h3 {
    font-size: 19px;
  }
  .order-summary__total strong {
    font-size: 25px;
  }
  .order-summary__grave,
  .order-summary__base,
  .order-summary__extras,
  .order-summary__note,
  .order-summary__details {
    padding-left: 12px;
    padding-right: 12px;
  }
  .order-summary__details div {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
  }
  .order-summary__details dd {
    overflow-wrap: anywhere;
  }

  .config-submit {
    padding-bottom: 4px;
  }
  .button--config-submit {
    min-height: 52px;
    font-size: 15px;
  }
  .individual-offer {
    font-size: 13px;
    line-height: 1.5;
  }
  .security-note {
    align-items: flex-start;
    font-size: 12px !important;
    line-height: 1.5;
  }

  /* Podsumowanie przed płatnością */
  .order-review--checkout {
    padding: 16px 10px;
  }
  .order-review--checkout .order-review__head h3 {
    font-size: 22px;
  }
  .order-review--checkout .order-review__head p {
    font-size: 13px;
  }
  .order-review__price {
    padding: 12px 14px;
  }
  .order-review__price strong {
    font-size: 29px;
  }
  .order-review__section h4 {
    font-size: 17px;
  }
  .order-review__rows span {
    font-size: 12px;
  }
  .order-review__rows strong {
    font-size: 13px;
  }
  .payment-method legend {
    font-size: 18px;
  }
  .payment-method__card {
    min-height: 76px;
    padding: 14px 12px;
  }
  .payment-method__check {
    width: 24px;
    height: 24px;
  }
  .payment-method__copy strong {
    font-size: 15px;
  }
  .payment-method__copy small {
    font-size: 12px;
  }
  .order-review__payment-note {
    padding: 13px 12px;
  }
  .order-review--checkout .order-review__actions .button {
    min-height: 50px;
    font-size: 14px;
  }

  /* Dolny pasek na telefonie */
  .mobile-order-bar {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    min-height: 62px;
    padding: 9px 9px 9px 13px;
    border-radius: 14px;
    z-index: 110;
  }
  .mobile-order-bar small {
    font-size: 10px;
  }
  .mobile-order-bar strong {
    font-size: 21px;
  }
  .mobile-order-bar button {
    min-height: 44px;
    padding: 10px 13px;
    font-size: 13px;
  }
  .order-page .footer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  /* Stopka */
  .footer__grid {
    gap: 22px;
    padding: 24px 0 20px;
  }
  .footer__brand p {
    font-size: 12px;
  }
  .footer h3 {
    font-size: 13px;
  }
  .footer__grid a,
  .footer__grid span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
  }
  .footer__bottom {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 20px);
  }
  .brand__copy small {
    display: none;
  }
  .nav.is-open {
    grid-template-columns: 1fr;
  }
  .nav__link {
    justify-content: flex-start;
    padding-left: 10px;
  }

  .hero__image {
    min-height: 205px;
  }
  .hero__content-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero h1 {
    font-size: clamp(34px, 10.5vw, 40px);
  }
  .hero__seo {
    font-size: 19px;
  }

  .order-page-hero {
    padding: 20px 0;
  }
  .order-page-hero h1 {
    font-size: clamp(27px, 8.4vw, 32px);
  }
  .order-page-hero__help {
    padding: 12px 14px;
  }
  .order-page-hero__help a {
    font-size: 23px;
  }

  .order-card--standalone {
    padding: 14px 8px 16px;
  }
  .order-card--standalone .section-title h2 {
    font-size: 23px;
  }
  .order-card--standalone .config-section {
    padding: 14px 10px;
  }
  .config-section__heading h3 {
    font-size: 18px;
  }

  .grave-size-card {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
  .grave-size-card__diagram {
    display: none;
  }
  .grave-size-card__radio {
    margin-top: 2px;
  }

  .service-plan-card__price {
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .service-plan-card__price strong {
    font-size: 24px;
  }

  .photo-upload {
    grid-template-columns: auto 1fr;
  }
  .photo-upload input {
    grid-column: 1/-1;
    width: 100%;
  }

  .order-summary__head {
    align-items: flex-end;
  }
  .order-summary__details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .order-summary__details dd {
    text-align: left;
  }
  .order-summary__base,
  .order-summary__extras li {
    gap: 10px;
  }

  .order-review__price-rows > div {
    align-items: flex-start;
  }
  .order-review__price-rows span {
    padding-right: 8px;
  }

  .mobile-order-bar {
    gap: 8px;
  }
  .mobile-order-bar strong {
    font-size: 19px;
  }
  .mobile-order-bar button {
    padding-inline: 11px;
    white-space: nowrap;
  }

  /* Kalendarz jako wygodny modal */
  .booking-calendar {
    left: 8px;
    right: 8px;
    top: 50%;
    width: auto;
    max-width: 430px;
    max-height: calc(
      100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)
    );
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 12px;
    border-radius: 18px;
    box-shadow:
      0 0 0 100vmax rgba(42, 18, 4, 0.42),
      0 24px 70px rgba(62, 27, 6, 0.28);
  }
  .booking-calendar__header {
    grid-template-columns: 44px 1fr 44px;
  }
  .booking-calendar__nav {
    width: 44px;
    height: 44px;
  }
  .booking-calendar__grid {
    gap: 3px;
  }
  .booking-calendar__weekday {
    min-height: 28px;
    font-size: 12px;
  }
  .booking-calendar__day {
    min-height: 42px;
    aspect-ratio: auto;
    font-size: 15px;
    border-radius: 9px;
  }
  .booking-calendar__legend {
    gap: 10px;
    font-size: 12px;
  }

  .payment-result {
    padding: 14px 10px;
  }
  .payment-result__card {
    padding: 24px 14px;
    border-radius: 16px;
  }
  .payment-result__card > p {
    font-size: 0.98rem;
  }
  .payment-summary__header {
    padding: 17px 14px;
  }
  .payment-summary__grid {
    padding: 10px;
  }
  .payment-summary__panel {
    padding: 14px 12px;
    border-radius: 12px;
  }
  .bank-transfer-box {
    padding: 16px 12px;
    border-radius: 14px;
  }
}

@media (max-width: 380px) {
  .shell {
    width: calc(100% - 16px);
  }
  .brand__copy strong {
    font-size: 17px;
  }
  .brand__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .order-page-hero h1 {
    font-size: 27px;
  }
  .order-card--standalone {
    padding-left: 5px;
    padding-right: 5px;
  }
  .config-section {
    border-radius: 10px;
  }
  .config-section__heading {
    align-items: flex-start;
  }
  .config-section__step {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .mobile-order-bar small {
    display: none;
  }
  .mobile-order-bar strong {
    font-size: 18px;
  }
  .mobile-order-bar button {
    font-size: 12px;
  }
}

/* === czytelniejsza stopka === */
.footer__grid {
  gap: 36px;
  padding: 32px 0 28px;
}
.brand--footer .brand__copy strong {
  font-size: 24px;
}
.footer__brand p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #f1eeec;
}
.footer h3 {
  margin: 2px 0 12px;
  font-size: 15px;
  line-height: 1.3;
}
.footer__grid > div:not(.footer__brand):not(.subscription) {
  gap: 8px;
}
.footer__grid a,
.footer__grid span {
  font-size: 14px;
  line-height: 1.5;
  color: #f6f3f1;
}
.footer__grid a:not(.brand):hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__social .social-circle {
  width: 36px;
  height: 36px;
  font-size: 18px !important;
}
.subscription {
  padding: 16px 18px;
  border-radius: 10px;
}
.subscription strong {
  font-size: 15px;
  line-height: 1.4;
}
.subscription p {
  margin: 8px 0 12px;
  font-size: 13px;
  line-height: 1.55;
}
.subscription .button {
  min-height: 40px;
  font-size: 13px;
  padding: 0 18px;
}
.footer__bottom {
  padding: 15px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .footer__grid {
    gap: 24px 28px;
    padding: 30px 0 24px;
  }
  .brand--footer .brand__mark {
    width: 50px;
    height: 50px;
  }
  .brand--footer .brand__copy strong {
    font-size: 24px;
  }
  .footer__brand p {
    font-size: 15px;
    line-height: 1.65;
  }
  .footer h3 {
    margin-bottom: 10px;
    font-size: 16px;
  }
  .footer__grid > div:not(.footer__brand):not(.subscription) {
    gap: 5px;
  }
  .footer__grid a,
  .footer__grid span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    line-height: 1.45;
  }
  .footer__social .social-circle {
    width: 42px;
    height: 42px;
  }
  .subscription {
    padding: 18px 16px;
  }
  .subscription strong {
    font-size: 16px;
  }
  .subscription p {
    font-size: 14px;
  }
  .subscription .button {
    min-height: 46px;
    font-size: 14px;
  }
  .footer__bottom {
    padding: 16px 14px max(18px, env(safe-area-inset-bottom));
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 24px;
  }
  .footer__brand,
  .subscription {
    grid-column: auto;
  }
  .footer__grid > div {
    padding: 18px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer__grid > .footer__brand {
    padding-top: 0;
    border-top: 0;
  }
  .footer__grid > .subscription {
    margin-top: 10px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.75);
  }
  .footer h3 {
    margin-top: 0;
    font-size: 17px;
  }
  .footer__grid a,
  .footer__grid span {
    min-height: 42px;
    font-size: 16px;
  }
  .footer__brand p {
    font-size: 15px;
  }
  .footer__bottom {
    font-size: 13px;
    padding-top: 18px;
  }
}

/* === kontakt mailowy === */
@media (max-width: 820px) {
  .phone-order-card__number--email strong {
    font-size: 16px;
  }
  .phone-order-card__number--email {
    margin-top: -4px;
  }
}
@media (max-width: 480px) {
  .phone-order-card__number {
    justify-content: flex-start;
  }
  .phone-order-card__number--email strong {
    font-size: 15px;
  }
}

/* === strona główna – CTA, cennik skrócony i czytelniejsze kroki === */
.process-card {
  padding-top: 14px;
  padding-bottom: 16px;
}
.process__item strong {
  font-size: 15px;
  line-height: 1.35;
  color: #423832;
}
.process__item small {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #817873;
}
.subscription .button--light {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 5px 14px rgba(185, 139, 46, 0.22);
}
.subscription .button--light:hover {
  background: #7b604f;
  border-color: #7b604f;
  color: #fff;
}
@media (max-width: 820px) {
  .process__item strong {
    font-size: 16px;
  }
  .process__item small {
    font-size: 14px;
    line-height: 1.55;
  }
}

/* === pełne moduły usług na stronie głównej === */
.order-link-card--services {
  padding: 24px 22px 22px;
}
.order-service-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 10px;
  text-align: left;
}
.order-service-module {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 17px 15px 15px;
  border: 1px solid #e5e1de;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(75, 36, 12, 0.035);
}
.order-service-module--featured {
  border-color: #cdc6c1;
  background: linear-gradient(180deg, #fff, #fcfbfb);
  box-shadow: 0 7px 18px rgba(90, 39, 8, 0.065);
}
.order-service-module__head {
  padding-bottom: 12px;
  margin-bottom: 11px;
  border-bottom: 1px solid #eeebe9;
  text-align: center;
}
.order-service-module__head h3 {
  margin: 0 0 7px;
  color: #47382e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.18;
}
.order-service-module__head p {
  margin: 0;
  color: #7f7670;
  font-size: 11px;
  line-height: 1.1;
}
.order-service-module__head p span {
  margin-right: 3px;
}
.order-service-module__head p strong {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
}
.order-service-module__list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
}
.order-service-module__list li {
  position: relative;
  padding-left: 20px;
  color: #635953;
  font-size: 12px;
  line-height: 1.45;
}
.order-service-module__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}
.order-service-modules__note {
  margin: 0 auto 15px !important;
  color: #8e8783 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  font-style: italic;
}
@media (max-width: 1180px) {
  .order-service-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .order-link-card--services {
    padding: 20px 14px;
  }
  .order-service-modules {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .order-service-module {
    padding: 16px 14px;
  }
  .order-service-module__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
  }
  .order-service-module__head h3 {
    font-size: 19px;
  }
  .order-service-module__head p {
    white-space: nowrap;
  }
  .order-service-module__head p strong {
    font-size: 26px;
  }
  .order-service-module__list li {
    font-size: 13px;
  }
  .order-service-modules__note {
    font-size: 12px !important;
  }
}
@media (max-width: 480px) {
  .order-service-module__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .order-service-module__head h3 {
    font-size: 20px;
  }
  .order-service-module__head p strong {
    font-size: 27px;
  }
  .order-service-module__list {
    gap: 8px;
  }
  .order-service-module__list li {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* dłuższe CTA pod modułami usług */
.order-link-card--services .order-link-card__button {
  max-width: 560px;
  min-height: 52px;
  height: auto;
  padding: 13px 22px;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}
@media (max-width: 820px) {
  .order-link-card--services .order-link-card__button {
    width: 100%;
    max-width: none;
    padding: 14px 16px;
    font-size: 14px;
  }
}

/* osobna podstrona Kontakt */
.contact-page-body {
  background: #faf9f9;
}
.contact-hero {
  background: linear-gradient(135deg, #faf5ed 0%, #f0e5d8 100%);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.contact-hero__inner {
  min-height: 245px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding-top: 42px;
  padding-bottom: 42px;
}
.contact-hero__eyebrow,
.contact-form-card__eyebrow,
.contact-details-card__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.contact-hero .contact-hero__eyebrow {
  color: var(--brand);
}
.contact-hero h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
  color: var(--text);
}
.contact-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.contact-hero__cta {
  flex: 0 0 auto;
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  min-height: 50px;
  font-size: 14px;
}
.contact-hero__cta:hover {
  background: var(--brand-2);
  color: #fff;
  border-color: var(--brand-2);
}
.contact-page-section {
  padding: 54px 0 64px;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: start;
}
.contact-details-card,
.contact-form-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(75, 36, 12, 0.055);
}
.contact-details-card {
  padding: 30px;
  background: linear-gradient(160deg, #49392f 0%, #2e241e 100%);
  color: #fff;
  position: sticky;
  top: 100px;
  overflow: hidden;
}
.contact-details-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.contact-details-card h2,
.contact-form-card h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.15;
}
.contact-details-card h2 {
  color: #fff;
}
.contact-details-card__intro {
  margin: 0 0 24px;
  color: #eae4e1;
  font-size: 14px;
  line-height: 1.65;
}
.contact-detail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.contact-detail:first-of-type {
  border-top: 0;
}
.contact-detail__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
}
.contact-detail__icon svg {
  width: 21px;
  height: 21px;
}
.contact-detail > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-detail small {
  color: #d6cec9;
  font-size: 12px;
}
.contact-detail strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
a.contact-detail:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-details-card__note {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}
.contact-details-card__note strong {
  font-size: 16px;
}
.contact-details-card__note p {
  margin: 6px 0 10px;
  color: #e7e1de;
  font-size: 13px;
  line-height: 1.55;
}
.contact-details-card__note a {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.contact-details-card__note a span {
  margin-left: 5px;
}
.contact-form-card {
  padding: 34px 36px;
}
.contact-form-card h2 {
  color: var(--brand);
}
.contact-form-card > p {
  margin: 0 0 25px;
  color: #7b736e;
  font-size: 14px;
  line-height: 1.65;
}
.message-form {
  display: grid;
  gap: 18px;
}
.message-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.message-form label {
  display: grid;
  gap: 7px;
  color: #4f4640;
  font-size: 13px;
  font-weight: 700;
}
.message-form input,
.message-form select,
.message-form textarea {
  width: 100%;
  border: 1px solid #dad5d1;
  border-radius: 9px;
  background: #fff;
  color: #392f29;
  outline: none;
  font-size: 16px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.message-form input,
.message-form select {
  height: 49px;
  padding: 0 13px;
}
.message-form textarea {
  min-height: 166px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.55;
}
.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
  border-color: #95857b;
  box-shadow: 0 0 0 3px rgba(90, 39, 8, 0.08);
}
.message-form input::placeholder,
.message-form textarea::placeholder {
  color: #aba4a0;
  font-weight: 400;
}
.message-form__message {
  grid-column: 1/-1;
}
.message-form__consent {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 10px !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.55;
  color: #706863 !important;
  cursor: pointer;
}
.message-form__consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  margin: 1px 0 0;
  padding: 0;
  border: 1.5px solid #a9a19c;
  border-radius: 5px;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.message-form__consent input::before {
  content: "✓";
  font-size: 15px;
  line-height: 1;
  color: #fff;
  transform: scale(0);
  transition: transform 0.12s ease;
}
.message-form__consent input:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.message-form__consent input:checked::before {
  transform: scale(1);
}
.message-form__consent input:focus-visible {
  outline: 3px solid rgba(90, 39, 8, 0.15);
  outline-offset: 2px;
}
.message-form__submit {
  justify-self: start;
  min-height: 49px;
  padding-inline: 28px;
  font-size: 14px;
}
.message-form__submit[disabled] {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}
.message-form__status {
  min-height: 22px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #6c635d;
}
.message-form__status.is-success {
  color: #17663a;
}
.message-form__status.is-error {
  color: #a12626;
}
.contact-page-body .footer__grid {
  grid-template-columns: 1.35fr 0.8fr 1fr 1.35fr;
}

@media (max-width: 980px) {
  .contact-hero__inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .contact-details-card {
    position: relative;
    top: auto;
  }
  .contact-page-body .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-page-body .footer__brand,
  .contact-page-body .subscription {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .contact-hero__inner {
    padding-top: 32px;
    padding-bottom: 34px;
  }
  .contact-hero h1 {
    font-size: 38px;
  }
  .contact-hero p {
    font-size: 15px;
  }
  .contact-hero__cta {
    width: 100%;
  }
  .contact-page-section {
    padding: 28px 0 38px;
  }
  .contact-page-grid {
    gap: 14px;
  }
  .contact-details-card,
  .contact-form-card {
    border-radius: 14px;
  }
  .contact-details-card {
    padding: 22px 18px;
  }
  .contact-form-card {
    padding: 24px 18px;
  }
  .contact-details-card h2,
  .contact-form-card h2 {
    font-size: 26px;
  }
  .contact-detail {
    padding: 14px 0;
  }
  .contact-detail strong {
    font-size: 15px;
  }
  .message-form__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .message-form__message {
    grid-column: auto;
  }
  .message-form__submit {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
  }
  .contact-page-body .footer__grid {
    grid-template-columns: 1fr;
  }
  .contact-page-body .footer__brand,
  .contact-page-body .subscription {
    grid-column: auto;
  }
}

/* === sekcja SEO + galeria realizacji === */
.seo-realizations {
  margin-top: 4px;
  padding: 34px 36px 36px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(75, 36, 12, 0.045);
}
.seo-realizations__copy {
  max-width: 980px;
  margin: 0 auto 24px;
  text-align: center;
}
.seo-realizations__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.seo-realizations h2 {
  margin: 0 0 14px;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.seo-realizations__copy p {
  max-width: 930px;
  margin: 0 auto 10px;
  color: #6e655f;
  font-size: 14px;
  line-height: 1.75;
}
.seo-realizations__copy strong {
  color: #50463f;
}
.seo-realizations__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.seo-realizations__photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 13px;
  background: #f4f2f0;
  aspect-ratio: 4/3;
  box-shadow: 0 5px 18px rgba(80, 36, 10, 0.08);
}
.seo-realizations__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
@media (hover: hover) {
  .seo-realizations__photo:hover img {
    transform: scale(1.025);
  }
}
@media (max-width: 820px) {
  .seo-realizations {
    padding: 26px 18px 22px;
    border-radius: 14px;
  }
  .seo-realizations h2 {
    font-size: 27px;
  }
  .seo-realizations__copy p {
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }
  .seo-realizations__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .seo-realizations__photo:first-child {
    grid-column: 1/-1;
    aspect-ratio: 16/10;
  }
}
@media (max-width: 520px) {
  .seo-realizations {
    padding: 23px 14px 16px;
  }
  .seo-realizations__copy {
    margin-bottom: 18px;
  }
  .seo-realizations h2 {
    font-size: 25px;
    line-height: 1.18;
  }
  .seo-realizations__eyebrow {
    font-size: 10px;
  }
  .seo-realizations__copy p {
    font-size: 14px;
  }
  .seo-realizations__gallery {
    grid-template-columns: 1fr;
  }
  .seo-realizations__photo,
  .seo-realizations__photo:first-child {
    grid-column: auto;
    aspect-ratio: 4/3;
  }
}

/* === podstrony O firmie / Galeria i ujednolicone menu === */
@media (min-width: 901px) and (max-width: 1380px) {
  .header__inner {
    gap: 18px;
  }
  .nav {
    gap: 17px;
  }
  .nav__link {
    font-size: 12px;
  }
  .header__actions {
    gap: 14px;
  }
  .phone-chip small {
    display: none;
  }
  .header__cta {
    padding-inline: 14px;
    min-width: auto;
  }
}
@media (min-width: 901px) and (max-width: 1160px) {
  .phone-chip {
    display: none;
  }
  .nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .nav.is-open {
    grid-template-columns: 1fr 1fr;
  }
  .nav__link {
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
}
@media (max-width: 520px) {
  .nav.is-open {
    grid-template-columns: 1fr;
  }
}

.content-page-body {
  background: #faf9f9;
}
.content-page-hero {
  color: var(--text);
  background: linear-gradient(135deg, #faf5ed 0%, #f0e5d8 100%);
  border-bottom: 1px solid var(--border);
}
.content-page-hero__inner {
  min-height: 255px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding-top: 46px;
  padding-bottom: 46px;
}
.content-page-hero__eyebrow,
.content-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.content-page-hero__eyebrow {
  margin-bottom: 9px;
  color: var(--brand);
}
.content-page-hero h1 {
  margin: 0 0 13px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 50px;
  line-height: 1.02;
}
.content-page-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.content-page-hero__cta {
  flex: 0 0 auto;
  min-height: 50px;
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.content-page-hero__cta:hover {
  background: var(--brand-2);
  color: #fff;
  border-color: var(--brand-2);
}
.content-page-section {
  padding: 56px 0;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 28px;
  align-items: stretch;
}
.about-main-card,
.about-image-card,
.value-card,
.service-area-card,
.gallery-card,
.gallery-cta {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(75, 36, 12, 0.05);
}
.about-main-card {
  padding: 38px 40px;
}
.about-main-card h2,
.content-section-heading h2,
.service-area-card h2,
.gallery-cta h2 {
  margin: 8px 0 16px;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.16;
}
.about-main-card p {
  margin: 0 0 14px;
  color: #6e655f;
  font-size: 15px;
  line-height: 1.78;
}
.about-image-card {
  overflow: hidden;
  margin: 0;
  min-height: 420px;
}
.about-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.values-section {
  padding: 54px 0;
  background: #fff;
  border-top: 1px solid #f3f1f0;
  border-bottom: 1px solid #f3f1f0;
}
.content-section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}
.content-section-heading--center {
  margin: 0 auto 30px;
  text-align: center;
}
.content-section-heading p {
  margin: 0;
  color: #7b736e;
  font-size: 15px;
  line-height: 1.7;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.value-card {
  padding: 27px 26px;
}
.value-card__number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #f6f3f1;
  color: var(--brand);
  font-weight: 800;
}
.value-card h3 {
  margin: 0 0 8px;
  color: #4e3e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}
.value-card p {
  margin: 0;
  color: #7f7670;
  font-size: 14px;
  line-height: 1.65;
}
.service-area-section {
  padding: 48px 0 64px;
}
.service-area-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 30px 34px;
  background: linear-gradient(135deg, #fff, #fbf9f8);
}
.service-area-card h2 {
  font-size: 29px;
  margin-bottom: 9px;
}
.service-area-card p {
  margin: 0;
  max-width: 780px;
  color: #7b736e;
  font-size: 14px;
  line-height: 1.65;
}
.service-area-card .button {
  flex: 0 0 auto;
  min-height: 48px;
}

.gallery-page-section {
  padding: 54px 0 66px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-card {
  overflow: hidden;
  margin: 0;
}
.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 19px 20px;
}
.gallery-card figcaption strong {
  color: #4e3e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
.gallery-card figcaption span {
  color: #817974;
  font-size: 13px;
  line-height: 1.5;
}
@media (hover: hover) {
  .gallery-card:hover img {
    transform: scale(1.025);
  }
}
.gallery-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 26px;
  padding: 27px 30px;
  background: linear-gradient(135deg, #f9f7f6, #fff);
}
.gallery-cta h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.gallery-cta p {
  margin: 0;
  color: #7b736e;
  font-size: 14px;
  line-height: 1.6;
}
.gallery-cta .button {
  flex: 0 0 auto;
  min-height: 48px;
}

@media (max-width: 900px) {
  .content-page-hero__inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-top: 34px;
    padding-bottom: 36px;
  }
  .content-page-hero h1 {
    font-size: 40px;
  }
  .content-page-hero p {
    font-size: 15px;
  }
  .content-page-hero__cta {
    width: 100%;
  }
  .content-page-section,
  .gallery-page-section {
    padding: 34px 0 44px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-image-card {
    min-height: 320px;
  }
  .values-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .service-area-card,
  .gallery-cta {
    align-items: stretch;
    flex-direction: column;
  }
  .service-area-card .button,
  .gallery-cta .button {
    width: 100%;
  }
  .content-page-body .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-page-body .footer__brand,
  .content-page-body .subscription {
    grid-column: 1/-1;
  }
}
@media (max-width: 520px) {
  .content-page-hero h1 {
    font-size: 35px;
  }
  .about-main-card {
    padding: 25px 19px;
  }
  .about-main-card h2,
  .content-section-heading h2 {
    font-size: 28px;
  }
  .about-main-card p {
    font-size: 14px;
  }
  .about-image-card {
    min-height: 250px;
    border-radius: 14px;
  }
  .values-section {
    padding: 38px 0;
  }
  .value-card {
    padding: 22px 19px;
  }
  .service-area-section {
    padding: 30px 0 44px;
  }
  .service-area-card,
  .gallery-cta {
    padding: 23px 19px;
    border-radius: 14px;
  }
  .service-area-card h2,
  .gallery-cta h2 {
    font-size: 25px;
  }
  .gallery-card {
    border-radius: 14px;
  }
  .content-page-body .footer__grid {
    grid-template-columns: 1fr;
  }
  .content-page-body .footer__brand,
  .content-page-body .subscription {
    grid-column: auto;
  }
}

/* === moduł O firmie + lokalne podstrony SEO === */
.about-highlight-section {
  padding: 0 0 56px;
  background: #faf9f9;
}
.about-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}
.about-highlight__copy,
.about-highlight__facts {
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(75, 36, 12, 0.05);
}
.about-highlight__copy {
  padding: 34px 38px;
  background: linear-gradient(135deg, #fff, #fcfbfb);
}
.about-highlight__copy h2 {
  margin: 8px 0 14px;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.18;
}
.about-highlight__copy p {
  margin: 0 0 13px;
  color: #746a64;
  font-size: 15px;
  line-height: 1.75;
}
.about-highlight__copy .button {
  margin-top: 7px;
}
.about-highlight__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: #eae6e3;
}
.about-fact {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 145px;
  padding: 24px;
  background: #fff;
}
.about-fact--wide {
  grid-column: 1/-1;
  min-height: 112px;
}
.about-fact__number,
.about-fact__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f6f3f1;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 700;
}
.about-fact__icon {
  background: var(--gold);
  color: #fff;
  font-family: inherit;
  font-size: 24px;
}
.about-fact strong {
  display: block;
  margin-bottom: 4px;
  color: #4e3e34;
  font-size: 15px;
  line-height: 1.3;
}
.about-fact small {
  display: block;
  color: #837b76;
  font-size: 12.5px;
  line-height: 1.45;
}

.local-seo-body {
  background: #faf9f9;
}
.local-seo-hero {
  background: linear-gradient(135deg, #352922 0%, #4a3a30 100%);
  color: #fff;
}
.local-seo-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.local-seo-hero h1 {
  max-width: 850px;
  margin: 8px 0 14px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  line-height: 1.08;
}
.local-seo-hero p {
  max-width: 830px;
  margin: 0;
  color: #ede7e3;
  font-size: 16px;
  line-height: 1.72;
}
.local-seo-section {
  padding: 52px 0;
}
.local-seo-section--white {
  background: #fff;
  border-top: 1px solid #f3f1f0;
  border-bottom: 1px solid #f3f1f0;
}
.local-seo-copy {
  max-width: 980px;
  margin: 0 auto;
}
.local-seo-copy h2 {
  margin: 0 0 16px;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.16;
}
.local-seo-copy h3 {
  margin: 28px 0 10px;
  color: #524339;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}
.local-seo-copy p {
  margin: 0 0 14px;
  color: #706762;
  font-size: 15px;
  line-height: 1.82;
}
.local-seo-copy strong {
  color: #54463e;
}
.local-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.local-service-card {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(75, 36, 12, 0.04);
}
.local-service-card h3 {
  margin: 0 0 7px;
  color: #4e3e34;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}
.local-service-card .price {
  margin: 0 0 13px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
}
.local-service-card p {
  margin: 0;
  color: #7e7570;
  font-size: 14px;
  line-height: 1.65;
}
.local-seo-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.local-seo-step {
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fcfbfa;
}
.local-seo-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.local-seo-step strong {
  display: block;
  margin-bottom: 6px;
  color: #4e3e34;
  font-size: 15px;
}
.local-seo-step p {
  margin: 0;
  color: #827973;
  font-size: 13px;
  line-height: 1.55;
}
.local-seo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #f9f7f6, #fff);
  box-shadow: 0 8px 26px rgba(75, 36, 12, 0.05);
}
.local-seo-cta h2 {
  margin: 0 0 8px;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
}
.local-seo-cta p {
  margin: 0;
  color: #7b736e;
  font-size: 14px;
  line-height: 1.65;
}
.local-seo-cta .button {
  flex: 0 0 auto;
}
@media (max-width: 900px) {
  .about-highlight {
    grid-template-columns: 1fr;
  }
  .about-highlight__facts {
    grid-template-columns: 1fr 1fr;
  }
  .about-highlight-section {
    padding-bottom: 40px;
  }
  .local-seo-hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 35px;
    padding-bottom: 38px;
  }
  .local-seo-hero h1 {
    font-size: 39px;
  }
  .local-seo-hero .button {
    width: 100%;
  }
  .local-service-grid {
    grid-template-columns: 1fr;
  }
  .local-seo-steps {
    grid-template-columns: 1fr 1fr;
  }
  .local-seo-cta {
    align-items: stretch;
    flex-direction: column;
  }
  .local-seo-cta .button {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .about-highlight-section {
    padding-bottom: 30px;
  }
  .about-highlight__copy {
    padding: 24px 19px;
  }
  .about-highlight__copy h2 {
    font-size: 27px;
  }
  .about-highlight__copy p {
    font-size: 14px;
  }
  .about-highlight__facts {
    grid-template-columns: 1fr;
  }
  .about-fact--wide {
    grid-column: auto;
  }
  .about-fact {
    min-height: 0;
    padding: 20px;
  }
  .about-fact__number,
  .about-fact__icon {
    width: 46px;
    height: 46px;
    font-size: 25px;
  }
  .local-seo-hero h1 {
    font-size: 34px;
  }
  .local-seo-hero p {
    font-size: 15px;
  }
  .local-seo-section {
    padding: 36px 0;
  }
  .local-seo-copy h2 {
    font-size: 28px;
  }
  .local-seo-copy h3 {
    font-size: 22px;
  }
  .local-seo-copy p {
    font-size: 14px;
    line-height: 1.75;
  }
  .local-seo-steps {
    grid-template-columns: 1fr;
  }
  .local-seo-cta {
    padding: 24px 19px;
  }
  .local-seo-cta h2 {
    font-size: 25px;
  }
}
.seo-local-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}
.seo-local-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #e5e1de;
  border-radius: 999px;
  background: #fbfaf9;
  color: #57463b;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: 0.18s ease;
}
.seo-local-links a:hover {
  border-color: #cfc7c2;
  background: #f6f3f2;
  color: var(--brand);
}
@media (max-width: 520px) {
  .seo-local-links {
    justify-content: stretch;
  }
  .seo-local-links a {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 12.5px;
  }
}

/* === dokumenty prawne, stopka i SEO === */
.footer__grid {
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr 1.45fr;
}
.legal-page-section {
  padding: 48px 0 64px;
}
.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 38px 42px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(75, 36, 12, 0.05);
}
.legal-card .legal-updated {
  margin: 0 0 26px;
  color: #8f8883;
  font-size: 13px;
}
.legal-card h2 {
  margin: 30px 0 10px;
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.25;
}
.legal-card h2:first-of-type {
  margin-top: 0;
}
.legal-card p {
  margin: 0 0 13px;
  color: #6e655f;
  font-size: 15px;
  line-height: 1.78;
}
.legal-card a {
  color: #664f41;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }
  .footer__grid > .subscription {
    grid-column: 1/-1;
  }
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand,
  .footer__grid > .subscription {
    grid-column: 1/-1;
  }
  .legal-page-section {
    padding: 34px 0 46px;
  }
}
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__brand,
  .footer__grid > .subscription {
    grid-column: auto;
  }
  .legal-card {
    padding: 26px 19px;
    border-radius: 14px;
  }
  .legal-card h2 {
    font-size: 22px;
  }
  .legal-card p {
    font-size: 14px;
    line-height: 1.72;
  }
}
/* Keep the contact-page footer aligned with the shared five-column footer. */
.contact-page-body .footer__grid {
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr 1.45fr;
}
@media (max-width: 1100px) {
  .contact-page-body .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }
  .contact-page-body .footer__grid > .subscription {
    grid-column: 1/-1;
  }
}
@media (max-width: 900px) {
  .contact-page-body .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-page-body .footer__brand,
  .contact-page-body .subscription {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .contact-page-body .footer__grid {
    grid-template-columns: 1fr;
  }
  .contact-page-body .footer__brand,
  .contact-page-body .subscription {
    grid-column: auto;
  }
}

/* Company and payment details on the contact page. */
.contact-company {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  min-width: 0;
}
.contact-company h2 { margin: 0 0 16px; font-size: 22px; line-height: 1.3; color: #fff; }
.contact-company h3 { margin: 22px 0 8px; font-size: 16px; color: #fff; }
.contact-company p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; }
.contact-company__account { font-weight: 700; font-variant-numeric: tabular-nums; }
.contact-company__iban { overflow-wrap: anywhere; }
.contact-company a, .order-consent a, .message-form__consent a { text-decoration: underline; text-underline-offset: 3px; }

/* Long cemetery names remain readable on compact screens. */
.cemetery-place { min-width: 0; }
.cemetery-place strong, .about-fact small { overflow-wrap: anywhere; }

