:root {
  --memorial-blue: var(--blue-600, #1670ea);
  --memorial-dark: var(--ink, #0d1b2f);
  --memorial-muted: var(--muted, #66788e);
  --memorial-line: var(--line, #dfe8f2);
  --memorial-soft: #f5f8fc;
  --memorial-shadow-sm: var(--shadow-sm, 0 12px 34px rgba(13,41,78,.08));
  --memorial-shadow-md: var(--shadow-md, 0 24px 64px rgba(13,41,78,.13));
}

.memorials-page { background: #fff; }
.memorials-page .section { padding: 94px 0; }

.memorials-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 86% 14%, rgba(22,112,234,.11), transparent 27%),
    linear-gradient(135deg, #f7faff 0%, #fff 53%, #edf5ff 100%);
  isolation: isolate;
}
.memorials-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(22,112,234,.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,112,234,.038) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.memorials-hero-shape {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(22,112,234,.13);
  border-radius: 50%;
}
.memorials-hero-shape.shape-one { width: 410px; height: 410px; right: -210px; top: -210px; }
.memorials-hero-shape.shape-two { width: 250px; height: 250px; left: -160px; bottom: -170px; }

.memorials-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(520px,1.08fr);
  gap: 72px;
  align-items: center;
}
.memorials-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 27px;
  color: #76899f;
  font-size: 12px;
  font-weight: 700;
}
.memorials-breadcrumbs a:hover { color: var(--memorial-blue); }
.memorials-hero-copy h1 {
  max-width: 720px;
  margin: 16px 0 22px;
  font-size: clamp(48px,5.2vw,74px);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.memorials-hero-copy h1 span { color: var(--memorial-blue); }
.memorials-hero-lead {
  max-width: 680px;
  margin: 0;
  color: #4c6078;
  font-size: 18px;
  line-height: 1.8;
}
.memorials-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}
.memorials-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0b4a9d;
  font-size: 13px;
  font-weight: 800;
}
.memorials-text-link span { transition: transform .25s ease; }
.memorials-text-link:hover span { transform: translateY(4px); }
.memorials-hero-points {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px 22px;
  margin-top: 34px;
}
.memorials-hero-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #354a64;
  font-size: 12px;
}
.memorials-hero-points span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #c5dcf8;
  border-radius: 50%;
  color: var(--memorial-blue);
  background: #eef6ff;
}

.memorials-hero-collage {
  position: relative;
  min-height: 625px;
}
.memorials-image-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #d8e4f1;
  background: linear-gradient(135deg,#edf3fa,#dce8f5);
}
.memorials-image-frame::before {
  content: "SANIT GRANIT";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9db3ca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.memorials-image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.memorials-hero-main {
  position: absolute;
  inset: 18px 125px 48px 0;
  border-radius: 35px;
  box-shadow: 0 32px 80px rgba(10,43,86,.18);
  transform: rotate(-1.3deg);
}
.memorials-hero-main img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.memorials-hero-collage:hover .memorials-hero-main img { transform: scale(1.035); }
.memorials-hero-side {
  position: absolute;
  z-index: 3;
  width: 205px;
  height: 220px;
  border: 7px solid #fff;
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(10,43,86,.17);
}
.memorials-hero-side.side-one { top: 8px; right: 0; transform: rotate(3deg); }
.memorials-hero-side.side-two { right: 16px; bottom: 32px; transform: rotate(-3deg); }
.memorials-hero-badge {
  position: absolute;
  z-index: 5;
  left: 24px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border: 1px solid #d7e4f2;
  border-radius: 19px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--memorial-shadow-sm);
  backdrop-filter: blur(13px);
}
.memorials-hero-badge > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg,#1670ea,#0a4aa4);
  font-size: 24px;
}
.memorials-hero-badge strong,.memorials-hero-badge small { display: block; }
.memorials-hero-badge strong { font-size: 13px; }
.memorials-hero-badge small { margin-top: 2px; color: var(--memorial-muted); font-size: 10px; }

.memorials-trust {
  position: relative;
  z-index: 4;
  margin-top: -36px;
}
.memorials-trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  overflow: hidden;
  border: 1px solid var(--memorial-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--memorial-shadow-md);
}
.memorials-trust article {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 24px;
}
.memorials-trust article:not(:last-child) { border-right: 1px solid var(--memorial-line); }
.memorials-trust article > span {
  color: #b8cbe0;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.memorials-trust strong,.memorials-trust small { display: block; }
.memorials-trust strong { font-size: 13px; }
.memorials-trust small { margin-top: 2px; color: var(--memorial-muted); font-size: 10px; }

.memorials-intro-copy-wide {
  max-width: 900px;
  margin-bottom: 38px;
}
.memorials-intro-copy h2,
.memorials-heading-row h2,
.memorials-process-intro h2,
.memorials-faq-intro h2 {
  margin: 10px 0 18px;
  font-size: clamp(35px,4vw,51px);
  line-height: 1.1;
  letter-spacing: -.038em;
}
.memorials-intro-copy p,
.memorials-heading-row > p,
.memorials-faq-intro > p {
  color: var(--memorial-muted);
  line-height: 1.8;
}
.memorials-intro-copy p:last-child { margin-bottom: 0; }

.memorials-explained-layout {
  display: grid;
  grid-template-columns: minmax(420px,1.06fr) minmax(0,.94fr);
  gap: 34px;
  align-items: stretch;
}
.memorials-explained-image {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  margin: 0;
  border: 1px solid var(--memorial-line);
  border-radius: 30px;
  background: linear-gradient(135deg,#edf3fa,#dce8f5);
  box-shadow: var(--memorial-shadow-md);
}
.memorials-explained-image::before {
  content: "OBJAŠNJENJE ELEMENATA";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9db3ca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.memorials-explained-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.75,.2,1);
}
.memorials-explained-image:hover img { transform: scale(1.025); }
.memorials-explained-image figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 17px;
  color: #fff;
  background: rgba(6,24,50,.7);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
}
.memorials-explained-image figcaption span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #fff;
  background: var(--memorial-blue);
  font-weight: 800;
}

.memorials-component-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
.memorials-component-grid-explained {
  grid-template-columns: 1fr;
  align-content: center;
}
.memorials-component-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 21px;
  border: 1px solid var(--memorial-line);
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--memorial-shadow-sm);
  transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.memorials-component-grid-explained article {
  position: relative;
  min-height: 125px;
  align-items: center;
}
.memorials-component-grid-explained article::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 50%;
  width: 35px;
  height: 1px;
  background: linear-gradient(90deg,transparent,#b8d4f6);
}
.memorials-component-grid article:hover {
  transform: translateX(7px);
  border-color: #9fc6f4;
  box-shadow: var(--memorial-shadow-md);
}
.component-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg,#0e5dcc,#1670ea);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(22,112,234,.18);
}
.memorials-component-grid h3 { margin: 0 0 7px; font-size: 16px; }
.memorials-component-grid p { margin: 0; color: var(--memorial-muted); font-size: 11px; }

.memorials-categories { background: var(--memorial-soft); }
.memorials-heading-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.72fr);
  gap: 62px;
  align-items: end;
  margin-bottom: 34px;
}
.memorials-heading-row > p { margin: 0; }

.memorials-category-tabs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 13px;
  margin-bottom: 28px;
}
.memorials-category-tabs button {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  column-gap: 12px;
  min-height: 80px;
  padding: 15px 17px;
  border: 1px solid var(--memorial-line);
  border-radius: 20px;
  color: #344b64;
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 9px 25px rgba(15,44,78,.04);
  transition: .25s ease;
}
.memorials-category-tabs button:hover {
  transform: translateY(-3px);
  border-color: #bad5f5;
}
.memorials-category-tabs button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg,#0d57bd,#1670ea);
  box-shadow: 0 16px 36px rgba(22,112,234,.2);
}
.memorials-category-tabs button > span {
  grid-row: span 2;
  color: #9bb0c5;
  font-size: 21px;
  font-weight: 800;
}
.memorials-category-tabs button.is-active > span { color: #afd3ff; }
.memorials-category-tabs button {
  font-size: 13px;
  font-weight: 800;
}
.memorials-category-tabs small {
  display: block;
  color: var(--memorial-muted);
  font-size: 9px;
  font-weight: 600;
}
.memorials-category-tabs button.is-active small { color: rgba(255,255,255,.68); }

.memorials-gallery-panel {
  padding: 29px;
  border: 1px solid var(--memorial-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--memorial-shadow-sm);
}
.memorials-gallery-intro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 22px;
}
.memorials-gallery-intro h3 {
  margin: 7px 0 0;
  font-size: 28px;
  letter-spacing: -.03em;
}
.memorials-gallery-count {
  color: var(--memorial-blue);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.memorials-gallery-intro p {
  max-width: 520px;
  margin: 0;
  color: var(--memorial-muted);
  font-size: 11px;
  text-align: right;
}
.memorials-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  grid-auto-rows: 285px;
  gap: 14px;
}
.memorials-gallery-item {
  position: relative;
  width: 100%;
  padding: 0;
  border-radius: 22px;
  cursor: zoom-in;
  box-shadow: var(--memorial-shadow-sm);
}
.memorials-gallery-item:nth-child(1) { grid-column: span 2; }
.memorials-gallery-item img { transition: transform .65s cubic-bezier(.2,.75,.2,1); }
.memorials-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,transparent 45%,rgba(4,18,38,.72));
  opacity: 0;
  transition: opacity .3s ease;
}
.memorials-gallery-item:hover img { transform: scale(1.055); }
.memorials-gallery-item:hover::after { opacity: 1; }
.memorials-gallery-number,
.memorials-gallery-zoom {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transition: opacity .3s ease;
}
.memorials-gallery-number {
  left: 15px;
  bottom: 14px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.memorials-gallery-zoom {
  right: 15px;
  bottom: 13px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0b4a9d;
  background: #fff;
  font-size: 17px;
}
.memorials-gallery-item:hover .memorials-gallery-number,
.memorials-gallery-item:hover .memorials-gallery-zoom { opacity: 1; }

.memorials-specs { padding-top: 0 !important; background: var(--memorial-soft); }
.memorials-specs-panel {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
  padding: 52px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%,rgba(85,164,255,.25),transparent 30%),
    linear-gradient(135deg,#071f44,#0b56bd);
  box-shadow: var(--memorial-shadow-md);
}
.memorials-specs-copy .section-label { color: #a2d0ff; }
.memorials-specs-copy h2 {
  margin: 10px 0 17px;
  font-size: clamp(34px,3.7vw,47px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.memorials-specs-copy p { color: rgba(255,255,255,.72); line-height: 1.8; }
.memorials-specs-copy .button { margin-top: 15px; }
.memorials-spec-list { display: grid; gap: 12px; }
.memorials-spec-list article {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.memorials-spec-list article > span {
  padding: 10px;
  border-radius: 12px;
  color: #d4eaff;
  background: rgba(255,255,255,.1);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.memorials-spec-list strong,.memorials-spec-list small { display: block; }
.memorials-spec-list strong { font-size: 12px; }
.memorials-spec-list small { margin-top: 3px; color: rgba(255,255,255,.61); font-size: 9px; }

.memorials-options-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.memorials-options-grid article {
  padding: 25px;
  border: 1px solid var(--memorial-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--memorial-shadow-sm);
  transition: transform .28s ease,border-color .28s ease;
}
.memorials-options-grid article:hover {
  transform: translateY(-6px);
  border-color: #b8d4f6;
}
.memorials-options-grid article > span {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--memorial-blue);
  background: #eef6ff;
  font-size: 18px;
  font-weight: 800;
}
.memorials-options-grid h3 { margin: 18px 0 8px; font-size: 17px; }
.memorials-options-grid p { margin: 0; color: var(--memorial-muted); font-size: 11px; }

.memorials-design {
  background:
    radial-gradient(circle at 9% 12%, rgba(22,112,234,.06), transparent 26%),
    linear-gradient(180deg,#fff 0%,#f7fbff 100%);
}
.memorials-design-heading { margin-bottom: 30px; }
.memorials-design-project {
  padding: 28px;
  border: 1px solid var(--memorial-line);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--memorial-shadow-md);
}
.memorials-design-project-bar {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
  padding: 0 2px;
}
.memorials-design-project-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--memorial-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.memorials-design-project-bar h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.03em;
}
.memorials-design-project-note {
  flex: 0 0 auto;
  color: var(--memorial-muted);
  font-size: 10px;
  font-weight: 700;
}
.memorials-design-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.memorials-design-pair {
  display: grid;
  grid-template-columns: minmax(0,1fr) 42px minmax(0,.82fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--memorial-line);
  border-radius: 25px;
  background: linear-gradient(135deg,#fbfdff,#f5f9ff);
}
.memorials-design-figure {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 22px;
  cursor: zoom-in;
  box-shadow: 0 14px 34px rgba(15,44,78,.08);
}
.memorials-design-figure::before { content: none; }
.memorials-design-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,transparent 58%,rgba(5,22,46,.28));
  opacity: .65;
  pointer-events: none;
  transition: opacity .3s ease;
}
.memorials-design-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.75,.2,1), filter .35s ease;
}
.memorials-design-figure.is-realization img { aspect-ratio: 3 / 4; }
.memorials-design-figure:hover img,
.memorials-design-figure:focus-visible img {
  transform: scale(1.075);
  filter: saturate(1.04) contrast(1.02);
}
.memorials-design-figure:hover::after,
.memorials-design-figure:focus-visible::after { opacity: .88; }
.memorials-design-caption {
  position: absolute;
  left: 13px;
  bottom: 13px;
  z-index: 3;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 13px;
  color: #fff;
  background: rgba(5,22,46,.74);
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
.memorials-design-zoom {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 3;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0b4a9d;
  background: rgba(255,255,255,.95);
  font-size: 18px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.memorials-design-figure:hover .memorials-design-zoom,
.memorials-design-figure:focus-visible .memorials-design-zoom {
  opacity: 1;
  transform: translateY(0);
}
.memorials-design-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--memorial-blue);
  background: #eef6ff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px #d5e6fb;
}

.memorials-process { background: var(--memorial-soft); }
.memorials-process-panel {
  display: grid;
  grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
  gap: 56px;
  padding: 48px;
  border: 1px solid var(--memorial-line);
  border-radius: 34px;
  background: linear-gradient(135deg,#f8fbff,#fff);
  box-shadow: var(--memorial-shadow-sm);
}
.memorials-process-intro p { color: var(--memorial-muted); }
.memorials-process-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
.memorials-process-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--memorial-line);
  border-radius: 20px;
  background: #fff;
  transition: transform .25s ease,border-color .25s ease;
}
.memorials-process-list article:hover { transform: translateY(-5px); border-color: #b8d4f6; }
.memorials-process-list article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--memorial-blue);
  background: #eef6ff;
  font-size: 11px;
  font-weight: 800;
}
.memorials-process-list h3 { margin: 0 0 6px; font-size: 15px; }
.memorials-process-list p { margin: 0; color: var(--memorial-muted); font-size: 11px; }

.memorials-faq-grid {
  display: grid;
  grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
  gap: 72px;
  align-items: start;
}
.memorials-faq-intro .button { margin-top: 20px; }
.memorials-faq-list { display: grid; gap: 12px; }
.memorials-faq-list details {
  overflow: hidden;
  border: 1px solid var(--memorial-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,40,72,.04);
}
.memorials-faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.memorials-faq-list summary::-webkit-details-marker { display: none; }
.memorials-faq-list summary span {
  color: var(--memorial-blue);
  font-size: 21px;
  transition: transform .25s ease;
}
.memorials-faq-list details[open] summary span { transform: rotate(45deg); }
.memorials-faq-list details p {
  margin: 0;
  padding: 0 22px 21px;
  color: var(--memorial-muted);
  font-size: 12px;
}

.memorials-cta { padding: 0 0 100px; }
.memorials-cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  padding: 50px 54px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 87% 18%,rgba(106,177,255,.29),transparent 24%),
    linear-gradient(135deg,#062d67,#0b61d8);
  box-shadow: var(--memorial-shadow-md);
}
.memorials-cta-panel::before,
.memorials-cta-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.memorials-cta-panel::before { width: 320px; height: 320px; right: 120px; top: -245px; }
.memorials-cta-panel::after { width: 210px; height: 210px; right: -80px; bottom: -150px; }
.memorials-cta-panel > * { position: relative; z-index: 2; }
.memorials-cta-panel .section-label { color: #9ecbff; }
.memorials-cta-panel h2 {
  max-width: 780px;
  margin: 8px 0;
  font-size: clamp(33px,4vw,48px);
  line-height: 1.1;
}
.memorials-cta-panel p { max-width: 720px; margin: 0; color: rgba(255,255,255,.73); }

.memorials-lightbox {
  width: min(1050px,calc(100% - 28px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.memorials-lightbox::backdrop {
  background: rgba(3,13,28,.91);
  backdrop-filter: blur(8px);
}
.memorials-lightbox figure { margin: 0; }
.memorials-lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 22px;
  background: #061329;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.memorials-lightbox figcaption {
  padding: 14px 4px 0;
  color: rgba(255,255,255,.76);
  text-align: center;
  font-size: 12px;
}
.memorials-lightbox-close,
.memorials-lightbox-nav {
  position: fixed;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(6,19,40,.72);
  backdrop-filter: blur(10px);
}
.memorials-lightbox-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 30px;
}
.memorials-lightbox-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 34px;
  transform: translateY(-50%);
}
.memorials-lightbox-prev { left: 22px; }
.memorials-lightbox-next { right: 22px; }

[data-memorials-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.75,.25,1);
}
[data-memorials-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-memorials-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .memorials-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .memorials-hero-copy { max-width: 780px; }
  .memorials-hero-collage { max-width: 820px; min-height: 600px; }
  .memorials-trust-grid { grid-template-columns: repeat(2,1fr); }
  .memorials-trust article:nth-child(2) { border-right: 0; }
  .memorials-trust article:nth-child(-n+2) { border-bottom: 1px solid var(--memorial-line); }
  .memorials-explained-layout,
  .memorials-specs-panel,
  .memorials-process-panel,
  .memorials-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .memorials-gallery-grid { grid-template-columns: repeat(3,1fr); }
  .memorials-gallery-item:nth-child(1) { grid-column: span 1; }
  .memorials-design-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .memorials-page .section { padding: 76px 0; }
  .memorials-heading-row { grid-template-columns: 1fr; gap: 12px; }
  .memorials-category-tabs { grid-template-columns: 1fr; }
  .memorials-gallery-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
  .memorials-gallery-intro p { text-align: left; }
  .memorials-gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 285px; }
  .memorials-options-grid { grid-template-columns: repeat(2,1fr); }
  .memorials-design-project-bar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .memorials-design-pair { grid-template-columns: 1fr; }
  .memorials-design-arrow { justify-self: center; transform: rotate(90deg); }
  .memorials-process-list { grid-template-columns: 1fr; }
  .memorials-cta-panel { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 620px) {
  .memorials-intro-copy-wide { margin-bottom: 28px; }
  .memorials-explained-layout { gap: 20px; }
  .memorials-explained-image,
  .memorials-explained-image img { min-height: 390px; }

  .memorials-page .section { padding: 64px 0; }
  .memorials-hero { padding: 38px 0 64px; }
  .memorials-hero-copy h1 { font-size: 42px; }
  .memorials-hero-lead { font-size: 16px; }
  .memorials-hero-points { grid-template-columns: 1fr; }
  .memorials-hero-collage { min-height: 460px; }
  .memorials-hero-main { inset: 15px 55px 54px 0; border-radius: 25px; }
  .memorials-hero-side { width: 135px; height: 145px; border-width: 5px; border-radius: 17px; }
  .memorials-hero-side.side-two { right: 6px; bottom: 38px; }
  .memorials-hero-badge { left: 10px; bottom: 2px; }
  .memorials-trust { margin-top: -24px; }
  .memorials-trust-grid { grid-template-columns: 1fr; }
  .memorials-trust article { border-right: 0 !important; border-bottom: 1px solid var(--memorial-line); }
  .memorials-trust article:last-child { border-bottom: 0; }
  .memorials-component-grid { grid-template-columns: 1fr; }
  .memorials-explained-image,
  .memorials-explained-image img { min-height: 520px; }
  .memorials-component-grid-explained article::before { display: none; }
  .memorials-gallery-panel { padding: 18px; border-radius: 24px; }
  .memorials-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .memorials-design-project { padding: 16px; border-radius: 24px; }
  .memorials-design-pair { padding: 12px; border-radius: 20px; }
  .memorials-design-project-bar h3 { font-size: 21px; }
  .memorials-design-figure { border-radius: 18px; }
  .memorials-specs-panel,
  .memorials-process-panel { padding: 27px; border-radius: 26px; }
  .memorials-spec-list article { grid-template-columns: 1fr; }
  .memorials-options-grid { grid-template-columns: 1fr; }
  .memorials-cta { padding-bottom: 74px; }
  .memorials-cta-panel { padding: 30px 25px; border-radius: 26px; }
  .memorials-lightbox-nav { width: 44px; height: 44px; }
  .memorials-lightbox-prev { left: 9px; }
  .memorials-lightbox-next { right: 9px; }
}
