@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #992727;
  --red-dark: #831c1c;
  --gray: #e4e4e4;
  --ink: #080808;
  --gutter: clamp(20px, 3.47vw, 50px);
  --edge: #a12424;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #1c71ae;
  outline-offset: 4px;
}
h1, h2, h3, p, ul, blockquote { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), 1340px); margin-inline: auto; }
.inner-wrap { width: min(100% - 2 * var(--gutter), 1160px); margin-inline: auto; }
.pill, .outline-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
}
.pill { padding: 12px 20px; border: 0; border-radius: 999px; background: var(--red); color: #fff; }
.pill:hover { background: var(--red-dark); }
.outline-button {
  min-height: 60px;
  min-width: min(100%, 440px);
  padding: 14px 24px;
  color: var(--red);
  border: 2px solid currentColor;
  text-transform: uppercase;
  font-size: 18px;
}
.outline-button:hover { color: #fff; background: var(--red); border-color: var(--red); }
.action-row { display: flex; justify-content: center; margin-top: 68px; }

.site-header { position: sticky; top: 0; z-index: 2; background: var(--red); color: #fff; }
main section[id] { scroll-margin-top: 220px; }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 23px 17px; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand img { width: clamp(66px, 6.8vw, 98px); height: auto; }
.brand strong { display: block; font-size: clamp(16px, 1.67vw, 24px); text-transform: uppercase; }
.brand small { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: clamp(12px, 1.12vw, 16px); }
.brand svg { width: 16px; height: 16px; flex: none; }
.header-actions, .social { display: flex; align-items: center; gap: 12px; }
.header-actions { gap: clamp(14px, 2.57vw, 37px); }
.header-phone { color: #000; background: #fff; font-size: clamp(15px, 1.39vw, 20px); white-space: nowrap; }
.header-phone:hover { color: #fff; background: var(--red-dark); }
.social img { width: 35px; height: 35px; border-radius: 50%; }
.social a:hover { opacity: .82; }
.main-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px 32px; font-size: clamp(14px, 1.25vw, 18px); }
.main-nav > a:hover, .nav-group > summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-group { position: relative; }
.nav-group > summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ""; width: 12px; height: 12px; transform: translateY(-3px) rotate(45deg); border-right: 1px solid; border-bottom: 1px solid; }
.nav-group[open] > summary::after { transform: translateY(3px) rotate(225deg); }
.nav-drop {
  position: absolute;
  z-index: 1;
  top: calc(100% + 14px);
  left: 0;
  width: max-content;
  max-width: min(310px, 88vw);
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  color: #000;
  box-shadow: 0 8px 20px #0004;
}
.nav-drop a { display: block; padding: 13px 18px; font-size: 16px; }
.nav-drop a:hover, .nav-drop a:focus-visible { background: var(--red); color: #fff; outline-offset: -4px; }
.menu-toggle { display: none; }

.home-cover {
  min-height: min(49vw, 690px);
  background: #737376 url("assets/hero.webp") center 65% / cover no-repeat;
}
.hero { display: flex; justify-content: flex-end; padding-top: clamp(18px, 2.5vw, 36px); padding-bottom: 60px; }
.hero-cards { display: grid; gap: 22px; width: min(38%, 455px); }
.hero-card { display: block; }
.hero-card:hover h1, .hero-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.hero-card h1, .hero-card h2 { padding: 26px 25px; text-transform: uppercase; font-size: clamp(16px, 1.39vw, 20px); font-weight: 400; line-height: 1.18; }
.hero-card p { padding: 26px 25px; font-size: clamp(14px, 1.12vw, 16px); line-height: 1.22; }
.hero-first { color: #fff; }
.hero-first h1 { background: var(--red); }
.hero-first p { background: #99272799; }
.hero-second { color: #000; }
.hero-second h2 { background: #fff; }
.hero-second p { background: #fffc; }
.hero-phone { display: grid; place-content: center; min-height: 70px; border: 3px solid var(--edge); background: #fff; text-align: center; color: #000; }
.hero-phone strong { font-size: 24px; line-height: 1.05; }
.hero-phone small { font-size: 12px; }
.hero-phone:hover { background: #fff3f3; }

.facts, .reviews, .footer, .info-card { background: var(--red); color: #fff; }
.facts-inner { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; min-height: 146px; align-items: center; padding-block: 26px; padding-inline: clamp(0px, 4vw, 60px); }
.facts strong { display: block; margin-bottom: 6px; font-size: 20px; text-transform: uppercase; }
.facts span { display: block; }
.scenario-heading { background: var(--gray); padding-block: 47px; }
.scenario-heading h2 { font-size: clamp(20px,1.8vw,26px); font-weight: 400; text-transform: uppercase; margin-bottom: 22px; }
.scenario-heading strong { color: var(--red); }
.scenario-heading p { max-width: 900px; line-height: 1.25; }
.scenario-body { padding-block: 78px 150px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 20px 22px; margin-bottom: 116px; }
.tab {
  min-height: 46px;
  min-width: 202px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--edge);
  background: transparent;
  cursor: pointer;
}
.tab:hover { background: #f8eeee; }
.tab[aria-selected="true"] { color: #fff; background: var(--red); font-weight: 700; }
.scenario-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.number-card { position: relative; border: 1.5px solid var(--edge); border-radius: 35px; }
.card-number {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0 auto auto 50%;
  transform: translate(-50%,-75%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.step-card { display: grid; align-content: start; gap: 28px; min-height: 289px; text-align: center; padding: 44px 24px 32px; }
.step-card h3, .price-card h3 { font-size: 20px; line-height: 1.18; }
.step-card p { max-width: 320px; margin-inline: auto; line-height: 1.24; }

.service-section, .information { background: var(--gray); }
.section-content { padding-block: 62px 80px; }
.section-title { margin-bottom: 62px; color: var(--red); font-size: clamp(21px,1.67vw,24px); font-weight: 750; text-transform: uppercase; }
.service-grid, .catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px 25px; }
.photo-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 430 / 287; background: #555; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.photo-tile span {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  left: 9.3%;
  bottom: 7.3%;
  width: 73%;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid #fff;
  border-radius: 100px;
  background: #99272799;
  color: #fff;
  font-size: clamp(13px,1.11vw,16px);
  font-weight: 700;
}
.photo-tile i { font-weight: 400; font-style: normal; }
.photo-tile:hover img { transform: scale(1.03); }
.photo-tile:hover span { background: var(--red); }
.service-section .section-content { position: relative; }
.service-section .section-content::after { content: ""; position: absolute; inset: auto 0 43px; border-bottom: 1px solid #fff; }
.reviews .section-title { color: #fff; margin-bottom: 75px; }
.review-grid, .info-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.review-grid blockquote { padding: 30px 22px; min-height: 338px; background: #ad5252; text-align: center; }
.stars { margin-bottom: 23px; font-size: clamp(20px,2.7vw,39px); letter-spacing: .12em; line-height: 1; }
.review-grid p { max-width: 275px; margin-inline: auto; line-height: 1.25; }
.reviews .outline-button { color: #fff; }
.reviews .outline-button:hover { color: var(--red); background: #fff; border-color: #fff; }
.reviews .section-content { padding-bottom: 56px; }

.price-section .section-title { margin-bottom: 30px; }
.price-note { border-left: 9px solid var(--red); padding: 7px 0 7px 20px; max-width: 1120px; line-height: 1.28; }
.price-section .tab-list { margin-top: 45px; margin-bottom: 87px; }
.price-section .tab { text-transform: uppercase; }
.price-card { display: flex; flex-direction: column; align-items: stretch; padding: 47px clamp(20px,3.4vw,56px) 40px; min-height: 740px; }
.price-card h3 { margin-bottom: 12px; text-align: center; }
.price-card ul { list-style: none; padding: 0; margin-bottom: 33px; line-height: 1.37; }
.price-card li { position: relative; padding-left: 20px; }
.price-card li::before { position: absolute; left: 0; content: "✔"; }
.price-badge { position: relative; margin-top: auto; padding: 12px 10px; min-height: 70px; display: flex; flex-direction: column; justify-content: center; border-radius: 20px; background: var(--red); color: #fff; text-align: center; font-size: 18px; font-weight: 700; line-height: 1.1; }
.price-badge::before { content: ""; position: absolute; inset: -26px 0 auto; border-top: 2px solid var(--red); }
.info-card img { width: 100%; aspect-ratio: 2.5; object-fit: cover; }
.info-copy { padding: 14px 18px 18px; }
@media (width > 800px) {
  .info-card[href="morgi.html"] img { object-position: center 67%; }
}
.info-card h3 { margin-bottom: 7px; font-size: 16px; line-height: 1.2; text-transform: uppercase; }
.info-card p { font-size: 14px; }
.info-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.review-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 15px; }
.review-controls button { width: 44px; height: 44px; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
.review-position { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.information .section-content { padding-block: 46px 62px; }
.information .section-title, .contacts .section-title { margin-bottom: 40px; }
.contacts { padding-block: 86px 90px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,737fr) minmax(0,567fr); gap: 38px; align-items: start; }
.map { overflow: hidden; }
.map img { width: 100%; height: auto; transform: scale(1.27); transform-origin: 50% 45%; }
.contact-grid h3 { margin-bottom: 6px; color: var(--red); font-size: 20px; }
.contact-details { display: grid; gap: clamp(20px,3vw,44px); padding-top: 10px; }
.contact-details > div:nth-child(2) h3 { text-transform: uppercase; }
.contact-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 19px; }
.contact-links .social img { width: 24px; height: 24px; }
.contact-links .social a { display: grid; place-items: center; width: 24px; height: 24px; }
.contact-links .social a[aria-label="Instagram"] { width: 24px; height: 24px; border-radius: 50%; background: #f5f2ed; }
.instagram { width: 16px; height: 16px; border: 1.7px solid; border-radius: 4px; position: relative; }
.instagram::before { content: ""; position: absolute; border: 1.5px solid; border-radius: 50%; inset: 3px; }
.instagram::after { content: ""; position: absolute; background: currentColor; border-radius: 50%; width: 2px; height: 2px; inset: 2px 2px auto auto; }
.landmarks ul { margin-top: 18px; padding-left: 22px; }
.map-links { display: grid; gap: 11px; }
.map-links a { display: grid; place-content: center; text-align: center; min-height: 41px; border: 1px solid var(--red); border-radius: 999px; padding: 8px 15px; }
.map-links a:hover { color: var(--red); background: #fdf3f3; }
.footer-inner { display: grid; grid-template-columns: 1fr minmax(200px, 360px); align-items: start; gap: 36px; padding-block: 58px; }
.footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding-top: 10px; }
.footer-links h2 { font-size: 18px; text-transform: uppercase; margin-bottom: 22px; }
.footer-links a { display: block; margin: 0 0 8px; }
.footer-links a:hover, .copyright a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { display: grid; justify-items: center; gap: 10px; text-align: center; grid-column: 2; grid-row: span 2; }
.footer-brand img { width: 193px; height: auto; margin-bottom: 22px; }
.footer-brand .pill { background: #fff; color: #000; min-width: 245px; min-height: 58px; font-size: 22px; }
.footer-brand small { font-size: 12px; }
.copyright { align-self: end; font-size: 14px; }

.inner-banner { display: grid; align-items: center; min-height: 172px; background: #333 var(--cover) center / cover no-repeat; color: #fff; }
.inner-banner nav { padding-block: 24px; }
.information-banner { background-image: linear-gradient(#0008,#0008),var(--cover); }
.inner-banner a:hover { text-decoration: underline; text-underline-offset: 3px; }
.inner-content { padding-block: 70px 170px; }
.inner-content h1 { color: var(--red); font-size: clamp(22px,1.67vw,24px); margin-bottom: 31px; line-height: 1.2; }
.inner-content h2 { margin-top: 21px; margin-bottom: 12px; font-size: 19px; line-height: 1.3; }
.inner-content p { margin-bottom: 18px; font-size: 16px; line-height: 1.47; }
.inner-content p a { text-decoration: underline; text-underline-offset: 3px; }
.inner-content table { width: 100%; border-collapse: collapse; margin-block: 20px 26px; }
.inner-content :is(th,td) { width: 50%; padding: 9px 14px; border: 1px solid #ccc; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.inner-content th { background: #eee; }
.inner-content .morgue-table :is(th,td) { width: auto; }
.morgue-table td a { text-decoration: underline; }
.benefit-table td:last-child { color: var(--red); font-size: 1.35em; font-weight: 700; }
.article-list { margin: 0 0 18px; padding-inline-start: 1.4em; }
.article-list li { margin-block: 4px; }
.policy h2 { color: var(--red); }
.inner-callout { display: flex; align-items: center; gap: 26px; border: 2px solid var(--edge); padding: 25px clamp(20px,4.5vw,70px); margin-top: 50px; }
.inner-callout svg { width: 36px; height: 36px; flex: none; color: var(--red); }
.inner-callout p { margin: 0; max-width: 620px; }
.inner-callout .pill { margin-left: auto; white-space: nowrap; font-size: 20px; }
.catalog-grid { margin-top: 36px; }
.catalog-tile { aspect-ratio: 370/300; }
.catalog-tile span { text-transform: uppercase; min-height: 32px; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.product-photo { position: relative; display: block; aspect-ratio: 272/360; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo span { position: absolute; inset: 0; display: grid; place-content: center; opacity: 0; background: #0006; color: #fff; text-transform: uppercase; font-weight: 700; transition: opacity .2s; }
.product-photo span::after { content: ""; position: absolute; inset: 44% 10%; border: 1px solid #fff; }
.product-photo:is(:hover,:focus-visible) span, .product-grid > .product-photo:first-child span { opacity: 1; }
.product-card { min-width: 0; }
.product-card h2 { margin: 10px 0 4px; font-size: 16px; }
.product-card .product-price { margin: 0; color: var(--red); font-weight: 700; }
dialog { width: min(calc(100% - 36px),540px); padding: 26px; border: 2px solid var(--red); }
dialog h2 { margin-bottom: 16px; color: var(--red); }
dialog p { margin-bottom: 22px; }
dialog::backdrop { background: #000a; }
.gallery-dialog { width: fit-content; max-width: calc(100% - 30px); padding: 0; border: 0; overflow: visible; background: #fff; }
.gallery-dialog img { width: auto; height: min(76vh,720px); max-width: calc(100vw - 30px); object-fit: contain; }
.gallery-dialog button { position: absolute; right: 8px; top: 8px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: #000; font-size: 28px; cursor: pointer; }
.product-dialog { width: min(100% - 30px, 780px); max-height: calc(100dvh - 30px); overflow: auto; border: 2px solid var(--red); }
.product-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px; padding: 52px 24px 24px; }
.product-dialog > form { display: contents; }
.product-dialog > img { width: 100%; height: auto; max-height: 66vh; object-fit: contain; background: #f4f4f4; }
.product-dialog h2 { font-size: 21px; margin-bottom: 12px; }
.product-dialog .product-price { color: var(--red); font-size: 18px; font-weight: 700; }
.product-details dl { margin: 16px 0; }
.product-details dl div { padding-block: 7px; border-bottom: 1px solid #ddd; }
.product-details dt { font-weight: 650; }
.product-details dd { margin: 3px 0 0; }
.product-thumbnails { display: flex; flex-wrap: wrap; gap: 9px; }
.product-dialog .product-thumbnails button { position: static; width: 60px; height: 64px; border: 2px solid transparent; border-radius: 5px; padding: 0; overflow: hidden; }
.product-dialog .product-thumbnails button[aria-pressed="true"] { border-color: var(--red); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: cover; }

@media (hover: none) {
  .product-card .product-photo span { inset: auto 0 0; padding: 8px 4px; opacity: 1; background: #992727e6; }
  .product-card .product-photo span::after { content: none; }
}

@media (max-width: 1050px) {
  .header-actions { gap: 15px; }
  .header-actions .social { gap: 7px; }
  .header-actions .social img { width: 28px; height: 28px; }
  .home-cover { min-height: 0; }
  .hero-cards { width: min(45%,455px); }
  .hero { padding-bottom: 45px; }
  .facts-inner { padding-inline: 0; }
  .facts strong { font-size: 17px; }
  .review-grid blockquote { padding-inline: 14px; }
  .footer-inner { grid-template-columns: 1fr 230px; }
  .footer-brand .pill { min-width: 0; }
}
@media (max-width: 800px) {
  .price-note, .price-card ul, .step-card p, .scenario-heading p { font-size: calc(16px - 1pt); }
  .price-section .section-title { font-size: calc(clamp(21px, 1.67vw, 24px) - 1pt); }
  .scenario-heading h2 { font-size: calc(clamp(20px, 1.8vw, 26px) - 1pt); }
  main section[id] { scroll-margin-top: 145px; }
  .header-top { flex-wrap: wrap; gap: 8px 14px; padding-block: 15px; }
  .brand { gap: 10px; flex: 1; }
  .brand img { width: 55px; }
  .brand strong { font-size: clamp(12px,3.2vw,20px); }
  .brand small { font-size: 11px; }
  .brand svg { width: 12px; height: 12px; }
  .header-actions { order: 3; width: 100%; justify-content: space-between; }
  .header-phone { padding: 10px 15px; font-size: 14px; }
  .menu-toggle { display: grid; align-content: center; justify-items: center; gap: 5px; width: 44px; height: 44px; border: 1px solid #fff9; border-radius: 9px; background: #0002; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; }
  .main-nav { display: none; padding-block: 10px 20px; }
  .main-nav.is-open { display: grid; position: absolute; inset: 100% 0 auto; width: 100%; max-height: 65dvh; overflow: auto; align-items: stretch; gap: 0; background: var(--red); padding-inline: var(--gutter); box-shadow: 0 10px 18px #0004; }
  .main-nav > a, .nav-group > summary { display: flex; min-height: 45px; align-items: center; border-top: 1px solid #fff4; }
  .nav-group > summary { justify-content: space-between; padding-right: 7px; }
  .nav-drop { position: static; width: auto; max-width: none; margin: 3px 0 12px; }
  .home-cover { background-position: 38% top; }
  .hero { padding-block: 38px; }
  .hero-cards { width: min(60%,400px); gap: 14px; }
  .hero-card :is(h1,h2,p) { padding: 15px 18px; }
  .hero-phone { min-height: 57px; }
  .hero-phone strong { font-size: 21px; }
  .facts-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .scenario-heading { padding-block: 35px; }
  .scenario-body { padding-block: 38px 64px; }
  .tab-list { gap: 10px; margin-bottom: 72px; }
  .tab { min-width: 0; }
  .scenario-grid { gap: 14px; }
  .number-card { border-radius: 22px; }
  .card-number { width: 45px; height: 45px; font-size: 20px; }
  .step-card { padding: 32px 13px 20px; min-height: 0; gap: 16px; }
  .step-card h3, .price-card h3 { font-size: calc(17px - 1pt); }
  .section-content { padding-block: 42px 54px; }
  .section-title, .reviews .section-title { margin-bottom: 33px; }
  .service-grid, .catalog-grid, .review-grid, .info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(6px,2vw,14px); }
  .service-grid .photo-tile { aspect-ratio: auto; display: grid; grid-template-rows: auto 1fr; border-radius: 8px; background: var(--red); }
  .service-grid .photo-tile img { aspect-ratio: 1; }
  .service-grid a[href="kremaciya.html"] img { object-position: 37.5% center; }
  .service-grid .photo-tile span { position: static; width: 100%; min-height: 43px; border: 0; border-radius: 0; background: var(--red); font-size: clamp(9px,2.55vw,14px); padding: 5px; gap: 2px; overflow-wrap: anywhere; }
  .review-grid.is-carousel { grid-template-columns: 1fr; }
  .review-grid.is-carousel blockquote { min-height: 175px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { display: grid; grid-template-columns: 36% minmax(0,1fr); border-radius: 8px; overflow: hidden; }
  .info-card img { width: 100%; height: 100%; min-height: 88px; aspect-ratio: auto; }
  .info-copy { display: flex; flex-direction: column; justify-content: center; padding: 10px 12px; text-align: left; }
  .info-card p { font-size: 12px; }
  .review-grid blockquote { min-height: 0; padding: 22px 14px; }
  .stars { margin-bottom: 13px; }
  .action-row { margin-top: 33px; }
  .service-section .section-content::after { bottom: 25px; }
  .price-section .tab-list { margin-block: 28px 64px; }
  .price-card { padding: 36px 13px 20px; min-height: 0; }
  .price-badge { font-size: 15px; min-height: 55px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 23px; font-size: calc(16px - 1pt); }
  .contact-grid h3 { font-size: calc(18px - 1pt); }
  .contact-details { padding-top: 0; }
  .footer-inner { grid-template-columns: 1fr; padding-block: 38px; }
  .footer-brand { grid-column: auto; grid-row: auto; }
  .footer-brand img { width: 140px; margin-bottom: 5px; }
  .copyright { text-align: center; }
  .inner-banner { min-height: 110px; }
  .inner-content { padding-block: 38px 75px; }
  .inner-callout { gap: 14px; padding: 18px; }
  .inner-callout .pill { font-size: 16px; }
  .inner-content :is(p, li) { font-size: 14px; }
  .inner-content :is(th, td) { font-size: 14px; }
}
@media (max-width: 580px) {
  .home-cover {
    background-image: linear-gradient(transparent 182px, #737376 345px), url("assets/hero.webp");
    background-position: center top, left -166px;
    background-size: 100% 100%, auto 395px;
  }
  .hero { padding-top: 198px; }
  .hero-cards { width: 100%; }
  .hero-first p { background: #842222e8; }
  .hero-second p { background: #fffffff2; }
  .facts-inner { align-items: start; }
  .facts strong { font-size: 15px; }
  .facts span { font-size: 14px; }
  .scenario-grid, .pricing-grid { grid-template-columns: 1fr; gap: 45px; }
  .tab-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tab { padding-inline: 6px; font-size: 14px; }
  .step-card { padding-inline: 18px; }
  .photo-tile span { width: 90%; left: 5%; min-height: 36px; font-size: 11px; }
  .outline-button { min-height: 50px; font-size: 14px; min-width: min(100%,330px); padding-inline: 10px; }
  .review-grid p { font-size: 13px; }
  .info-card h3 { font-size: 13px; }
  .price-card { padding: 40px 24px 23px; }
  .price-card ul { margin-top: 5px; margin-bottom: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map img { transform: scale(1.5); }
  .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
  .footer-links h2 { font-size: 14px; margin-bottom: 12px; }
  .footer-links a { font-size: 13px; }
  .inner-banner nav { font-size: 14px; }
  .inner-content h1 { font-size: 21px; }
  .inner-callout { flex-wrap: wrap; }
  .inner-callout p { flex: 1; min-width: 180px; }
  .inner-callout .pill { margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-photo span { font-size: 12px; }
  .product-card h2 { font-size: 14px; }
  .product-dialog[open] { grid-template-columns: minmax(0, 1fr); padding: 48px 16px 18px; gap: 15px; }
  .product-dialog > img { max-height: 42dvh; }
  .inner-content :is(th,td) { padding: 7px; font-size: 13px; }
  .inner-content .morgue-table :is(th,td) { padding-inline: 5px; }
  .inner-content .morgue-table :is(th,td):last-child { width: 25%; }
  .morgue-table th:last-child { text-transform: capitalize; }
  .morgue-phone-label { display: none; }
  .morgue-table td:last-child a { font-size: 12px; }
  .morgue-table td:last-child a span { display: block; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
