/* Тихая Обитель — tihaya-obitel.by template */

:root {
  --color-header: #1c1c1c;
  --color-footer: #263036;
  --color-accent: #aa2631;
  --color-accent-hover: #8c1f28;
  --color-teal: #0eb290;
  --color-text: #2d2d2d;
  --color-muted: #708e9f;
  --color-card-bg: #f5f5f5;
  --header-height: 88px;
  --sticky-call-height: 44px;
  --container: 1080px;
  --font-body: "Rubik", system-ui, sans-serif;
  --font-heading: "Rubik", system-ui, sans-serif;
  --font-hero: "Abril Fatface", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.4px;
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.anchor-section {
  scroll-margin-top: var(--header-height);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(28, 28, 28, 0.95);
  border-bottom: 1px solid rgba(158, 158, 158, 0.3);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  text-transform: capitalize;
  letter-spacing: 0.8px;
}

.logo:hover {
  color: #fff;
}

.nav-main {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main a {
  display: block;
  padding: 0 24px;
  line-height: var(--header-height);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.nav-main a:hover,
.nav-main a.active,
.nav-main a.is-scroll-active,
.nav-main a:focus-visible {
  color: #dd0000;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 891px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.29);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-height) + 32px) 20px 80px 64px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 16px;
  background: rgba(170, 38, 49, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-hero);
  font-size: clamp(40px, 8vw, 114px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  word-spacing: 13px;
  color: #fff;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.btn-phone {
  display: inline-block;
  padding: 18px 36px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  box-shadow: 12px 2px 55px 16px rgba(0, 0, 0, 0.5);
  transition: background 0.2s, transform 0.2s;
  animation: pulse 2s infinite;
}

.btn-phone:hover,
.btn-phone:focus-visible {
  background: var(--color-accent-hover);
  color: #fff;
  outline: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-accent-hover);
  color: #fff;
  outline: none;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-accent);
  color: #fff;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-divider {
  border: none;
  border-top: 1px solid #000;
  margin: 15px auto;
  max-width: var(--container);
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(35px, 6vw, 70px);
  font-weight: 700;
  margin: 0 0 40px;
  color: var(--color-text);
}

.section-title--pricing {
  font-size: clamp(22px, 4vw, 64px);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.pricing-subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--color-muted);
  margin: 0 0 12px;
}

.pricing-updated {
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
  margin: 0 0 32px;
}

/* Grief guide */
.grief-guide {
  background: var(--color-card-bg);
}

.section-title--grief {
  font-size: clamp(24px, 4vw, 48px);
  margin-bottom: 16px;
}

.grief-guide__subtitle {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-muted);
}

.grief-steps {
  list-style: none;
  margin: 0 auto 32px;
  padding: 0;
  max-width: 820px;
  counter-reset: grief-step;
}

.grief-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #e0e0e0;
}

.grief-step:last-child {
  border-bottom: none;
}

.grief-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.grief-step__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--color-text);
}

.grief-step__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
}

.grief-guide__note {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

.grief-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0;
}

.grief-guide__share {
  cursor: pointer;
  border: 2px solid var(--color-accent);
  background: transparent;
  font-family: var(--font-heading);
  font-size: 15px;
}

/* Documents */
.documents-section {
  background: #fff;
}

.documents-section__intro {
  max-width: 640px;
  margin: -12px auto 28px;
  text-align: center;
  color: var(--color-muted);
  line-height: 1.6;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.documents-block {
  padding: 22px 24px;
  background: var(--color-card-bg);
  border: 1px solid #e8e8e8;
}

.documents-block h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-family: var(--font-heading);
}

.documents-block ul {
  margin: 0;
  padding-left: 1.15em;
  font-size: 15px;
  line-height: 1.65;
}

.documents-block li {
  margin-bottom: 0.35em;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: stretch;
}

.pricing-card--tariff {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 24px 20px;
  border: 1px solid #e8e8e8;
  background: #fff;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.pricing-card--tariff:hover {
  border-color: #d8d8d8;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.pricing-card__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
}

.pricing-card__block {
  margin-bottom: 16px;
  flex: 1;
}

.pricing-card__subtitle {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-card--tariff ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.65;
  color: #444;
}

.pricing-card--tariff li {
  margin-bottom: 0.35em;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin: 8px 0 16px;
  text-align: center;
  color: var(--color-accent);
}

.pricing-card--tariff .btn {
  display: block;
  margin-top: auto;
  text-align: center;
}

.pricing-disclaimer {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
}

/* About */
.about-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.about-block picture {
  flex: 0 0 50%;
  max-width: 50%;
  display: block;
}

.about-block img {
  width: 100%;
}

.about-block-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 39px);
  font-weight: 800;
  margin: 0 0 24px;
}

.about-block-content p {
  font-size: clamp(16px, 2.5vw, 22px);
  line-height: 1.8;
}

/* About page intro */
.about-intro {
  padding: 56px 0;
  background: var(--color-card-bg);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-intro__media {
  overflow: hidden;
  background: #e8e8e8;
  border: 1px solid #e0e0e0;
}

.about-intro__media picture {
  display: block;
}

.about-intro__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-intro__content {
  max-width: 520px;
}

.about-intro__content h2 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

.about-intro__content p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
}

.page-hero--image + .about-intro {
  margin-top: 0;
}

/* Services */
.services-section {
  background: var(--color-card-bg);
}

.services-section__lead {
  max-width: 640px;
  margin: -12px auto 36px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s, transform 0.6s, box-shadow 0.25s, border-color 0.25s;
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  border-color: #d8d8d8;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.service-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ececec;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  max-height: none;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 26px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text);
}

.service-card ul {
  text-align: left;
  margin: 0;
  padding-left: 1.15em;
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

.service-card li {
  margin-bottom: 0.4em;
}

.service-card li:last-child {
  margin-bottom: 0;
}

.service-card__link {
  margin: 16px 0 0;
}

.service-card__link a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-accent);
}

.service-card__link a:hover {
  text-decoration: underline;
}

.service-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Reviews */
.reviews-section {
  background: var(--color-card-bg);
}

.reviews-section__subtitle {
  max-width: 640px;
  margin: -12px auto 16px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-muted);
}

.reviews-section__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 32px;
  font-family: var(--font-heading);
}

.reviews-section__stars {
  color: #e6a700;
  letter-spacing: 2px;
  font-size: 18px;
}

.reviews-section__score {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
}

.reviews-section__count {
  font-size: 15px;
  color: var(--color-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-left: 4px solid var(--color-accent);
}

.review-card__text {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
}

.review-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  color: var(--color-muted);
}

.review-card__author {
  font-style: normal;
  font-weight: 600;
  color: var(--color-text);
}

.reviews-section__link {
  margin: 28px 0 0;
  text-align: center;
}

.reviews-section__link a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-accent);
}

.reviews-section__link a:hover {
  text-decoration: underline;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-item {
  text-align: center;
}

.shop-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
}

.shop-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9e9e9e;
  flex-shrink: 0;
}

.shop-status--open .shop-status__dot {
  background: #00bb00;
  box-shadow: 0 0 0 2px rgba(0, 187, 0, 0.25);
}

.shop-status--closed .shop-status__text {
  color: var(--color-muted);
}

.shop-status--footer {
  display: inline-flex;
  margin: 0 4px;
  font-size: 13px;
  vertical-align: middle;
}

.contact-map-link {
  font-size: 14px;
}

.map-embed {
  overflow: hidden;
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 460px;
  border: 0;
}

.contact-item h3 {
  font-family: var(--font-heading);
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 500;
  margin: 16px 0 8px;
}

.contact-hours {
  color: var(--color-muted);
  margin: 0 0 8px;
  font-size: 16px;
}

.contact-agent-note {
  color: var(--color-text);
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
}

.contact-map-link {
  margin: 12px 0 0;
}

.contact-map-link a {
  color: var(--color-accent);
  font-weight: 500;
}

.contact-map-link a:hover {
  text-decoration: underline;
}

.contact-phones {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 500;
}

.contact-phones li {
  margin-bottom: 8px;
}

.phone-label {
  display: inline-block;
  min-width: 5.5em;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
  text-transform: uppercase;
}

.contact-phones a:hover {
  color: var(--color-accent);
}

/* Inner pages */
.breadcrumbs {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-height) + 16px) 20px 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--color-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "›";
  margin-right: 8px;
  color: #b0bec5;
}

.breadcrumbs__item a {
  color: var(--color-muted);
}

.breadcrumbs__item a:hover {
  color: var(--color-accent);
}

.breadcrumbs__item[aria-current="page"] {
  color: var(--color-text);
}

.page-hero {
  padding: calc(var(--header-height) + 52px) 20px 60px;
  background: #2e3b42;
  color: #fff;
  text-align: center;
}

.page-hero--image {
  position: relative;
  padding: calc(var(--header-height) + 72px) 20px 80px;
  background:
    linear-gradient(rgba(28, 28, 28, 0.72), rgba(28, 28, 28, 0.72)),
    var(--page-hero-image) center / cover no-repeat;
}

.page-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.page-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero__lead {
  max-width: 640px;
  margin: 16px auto 28px;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 36px);
  text-transform: uppercase;
  margin: 0;
}

.section-title--compact {
  font-size: clamp(24px, 4vw, 42px);
  margin-bottom: 28px;
}

.about-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.about-section--muted {
  background: var(--color-card-bg);
}

.about-offerings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-offering-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.about-section--muted .about-offering-card {
  background: #fff;
}

.about-offering-card:hover {
  border-color: #d8d8d8;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.about-offering-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
}

.about-offering-card p {
  flex: 1;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
}

.about-offering-card__link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-accent);
}

.about-offering-card__link:hover {
  text-decoration: underline;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.about-feature {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.6;
}

.about-feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.about-contract {
  margin: 0;
  padding: 16px 20px;
  border-left: 4px solid var(--color-accent);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-highlight {
  padding: 28px 24px;
  background: var(--color-card-bg);
  border-top: 4px solid var(--color-accent);
}

.about-highlight h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
}

.about-highlight p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.about-agent-hours {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

.about-hours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.about-hours-card {
  padding: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8e8;
}

.about-hours-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
}

.about-hours-card__hours {
  margin: 0 0 10px;
  color: var(--color-muted);
}

.about-hours-card a {
  color: var(--color-accent);
  font-weight: 600;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-content h2 {
  font-family: var(--font-heading);
  margin-top: 2em;
}

.page-content ul {
  padding-left: 1.2em;
}

.page-content li {
  margin-bottom: 0.5em;
}

.page-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.page-content--center {
  text-align: center;
}

.landing-content {
  max-width: 760px;
}

.landing-section {
  margin-bottom: 36px;
}

.landing-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 0 0 12px;
}

.landing-section__list {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.landing-section__list li {
  margin-bottom: 0.45em;
}

.landing-section__link {
  margin: 16px 0 0;
}

.landing-section__link a {
  color: var(--color-accent);
  font-weight: 600;
}

.contacts-grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.breadcrumbs + .page-hero,
.breadcrumbs + .page-hero--image {
  padding-top: 28px;
}

.gallery-item picture {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.gallery-item {
  display: block;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s, opacity 0.25s;
}

.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1200px, 100%);
  max-height: 90vh;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(90vh - 72px);
  object-fit: contain;
}

.lightbox__meta {
  width: 100%;
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.lightbox__counter {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.lightbox__caption {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  max-width: 640px;
  margin-inline: auto;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  padding: 8px 16px;
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* Footer */
.site-footer {
  background: var(--color-footer);
  padding: 28px 20px;
  text-align: center;
}

.footer-contacts {
  max-width: 720px;
  margin: 0 auto 20px;
  color: #c8d6de;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contacts__agent {
  margin: 0 0 12px;
  font-weight: 500;
}

.footer-contacts__offices {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.footer-contacts__offices li {
  margin-bottom: 6px;
}

.footer-contacts a {
  color: var(--color-teal);
}

.footer-nav {
  max-width: 720px;
  margin: 0 auto 20px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav__title {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav__list a {
  color: var(--color-teal);
  font-size: 14px;
}

.footer-nav__list a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 0;
  color: var(--color-muted);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.8;
}

.site-footer a {
  color: var(--color-teal);
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.88);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s, transform 0.2s;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: scale(1.05);
  outline: none;
}

.back-to-top[hidden] {
  display: none;
}

/* 404 */
.page-404__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.page-404__nav-title {
  margin: 0 0 12px;
  font-weight: 600;
}

.page-404__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.page-404__links a {
  color: var(--color-accent);
  font-weight: 600;
}

/* Call FAB */
.call-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #00bb00;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.call-fab:hover,
.call-fab:focus-visible {
  transform: scale(1.05);
  color: #fff;
  outline: none;
}

.call-fab svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* Sticky call bar (mobile) */
.sticky-call-bar {
  display: none;
}

@media (max-width: 767px) {
  .sticky-call-bar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--sticky-call-height);
    padding: 8px 16px;
    background: #00a000;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .sticky-call-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .sticky-call-bar svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
  }

  .sticky-call-bar__phone {
    display: none;
  }

  body.has-sticky-call .call-fab {
    bottom: 16px;
  }

  body.has-sticky-call .back-to-top {
    bottom: 72px;
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }

  .grief-guide__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grief-guide__actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #0d171b;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav a {
  display: block;
  padding: 16px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 20px;
  text-transform: uppercase;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: #d60000;
  outline: none;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid,
  .about-offerings,
  .reviews-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 615px;
  }
}

@media (max-width: 767px) {
  .nav-main {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content {
    padding: calc(var(--header-height) + 20px) 20px 60px 42px;
  }

  .pricing-grid,
  .services-grid,
  .about-offerings,
  .about-features,
  .about-highlights,
  .about-hours-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .about-block {
    flex-direction: column;
  }

  .about-block picture,
  .about-block img {
    max-width: 100%;
    flex: none;
  }

  .about-intro {
    padding: 40px 0;
  }

  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-intro__content {
    max-width: none;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .map-embed iframe {
    height: 294px;
  }

  .call-fab span {
    display: none;
  }

  .lightbox {
    padding: 56px 12px 24px;
  }

  .lightbox__caption {
    font-size: 14px;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }
}

@media print {
  .site-header,
  .sticky-call-bar,
  .call-fab,
  .back-to-top,
  .mobile-nav,
  .section-divider,
  .site-footer,
  .hero,
  #pricing,
  #services,
  #reviews,
  #kontakti,
  .about-block {
    display: none !important;
  }

  .grief-guide,
  .documents-section {
    padding: 16px 0;
    background: #fff;
  }

  .grief-step,
  .documents-block {
    break-inside: avoid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-phone {
    animation: none;
  }

  .service-card {
    opacity: 1;
    transform: none;
  }

  .service-card:hover .service-card__media img {
    transform: none;
  }
}
