:root {
  --ink: #101313;
  --ink-soft: #171b1c;
  --ink-muted: #2c3131;
  --ivory: #f7f2eb;
  --ivory-deep: #efe6da;
  --paper: #fffaf2;
  --gold: #c8a45d;
  --gold-deep: #9f7b3a;
  --sage: #6c7860;
  --text: #f4efe8;
  --body: #403f3b;
  --line: rgba(200, 164, 93, 0.35);
  --shadow: 0 24px 70px rgba(10, 10, 8, 0.25);
  --container: 1160px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 20;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--gold);
  color: var(--ink);
}

.site-header {
  position: fixed;
  z-index: 15;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(16, 19, 19, 0.92);
  border-bottom: 1px solid rgba(200, 164, 93, 0.2);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--container), calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 280px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.main-nav a {
  padding: 34px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-call,
.phone-card,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.header-call {
  min-height: 56px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
}

.header-call small,
.phone-card small {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.header-call svg,
.phone-card svg,
.button svg,
.service-card svg,
.contact-list svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
}

.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.hero {
  position: relative;
  min-height: 760px;
  padding-top: var(--header-height);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 10, 0.72), rgba(10, 11, 10, 0.46)),
    linear-gradient(0deg, rgba(10, 11, 10, 0.9), rgba(10, 11, 10, 0.08) 40%, rgba(10, 11, 10, 0.8)),
    url("assets/hero-candles-flowers.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  color: var(--text);
  text-align: center;
}

.hero-logo {
  width: min(680px, 100%);
  margin: 0 auto 18px;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.55));
}

.hero-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 auto 12px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  line-height: 1.08;
  font-weight: 700;
}

.hero-subtitle {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255, 250, 242, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #d6b36d, #b89148);
  color: #17130c;
  box-shadow: 0 18px 38px rgba(159, 123, 58, 0.26);
}

.button-secondary,
.button-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(16, 19, 19, 0.35);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(159, 123, 58, 0.5);
}

.services,
.local-areas,
.faq,
.gallery {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading span,
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2,
.about h2,
.memorials h2,
.process h2,
.contact h2 {
  margin: 0;
  color: #2d2b28;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1.15;
  font-weight: 700;
}

.section-heading p {
  margin: 14px 0 0;
  color: #68625a;
}

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

.service-card {
  min-height: 292px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(159, 123, 58, 0.26);
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 16px 44px rgba(40, 33, 21, 0.07);
}

.service-card svg {
  width: 52px;
  height: 52px;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.service-card h2 {
  margin: 0;
  color: #39352f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.service-card p {
  margin: 14px 0 20px;
  color: #665f56;
  font-size: 0.95rem;
}

.service-card a {
  margin-top: auto;
  color: var(--gold-deep);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.local-areas {
  padding-top: 0;
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 34px;
  align-items: stretch;
}

.area-copy,
.faq-item {
  border: 1px solid rgba(159, 123, 58, 0.24);
  background: rgba(255, 250, 242, 0.82);
  box-shadow: 0 16px 44px rgba(40, 33, 21, 0.06);
}

.area-copy {
  padding: 34px;
}

.area-copy h3,
.faq-item h3 {
  margin: 0;
  color: #39352f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.area-copy p,
.faq-item p {
  color: #625e58;
  margin: 16px 0 0;
}

.area-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  padding: 28px;
  border: 1px solid rgba(159, 123, 58, 0.28);
  background: linear-gradient(180deg, rgba(23, 27, 28, 0.98), rgba(16, 19, 19, 0.98));
}

.area-keywords span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(200, 164, 93, 0.32);
  color: rgba(255, 250, 242, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
}

.faq {
  padding-top: 58px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.faq-item {
  min-height: 220px;
  padding: 28px;
}

.faq-item a {
  color: var(--gold-deep);
  font-weight: 800;
}

.about,
.process,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 56px;
  align-items: center;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.about-copy p,
.process-copy p,
.contact-info p {
  color: #625e58;
  margin: 18px 0 0;
}

.about-copy .button {
  margin-top: 26px;
}

.about-image,
.process-visual,
.gallery figure {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink-soft);
}

.about-image {
  aspect-ratio: 4 / 5;
}

.about-image img,
.process-visual img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memorials,
.emergency,
.testimonial,
.site-footer {
  background: var(--ink);
  color: var(--text);
}

.memorials {
  padding: 68px 0;
}

.memorials-inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.memorials h2,
.process .process-copy h2 {
  color: var(--text);
}

.memorial-list {
  display: grid;
  gap: 16px;
}

.memorial-list p {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 250, 242, 0.84);
}

.memorial-list svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.emergency {
  padding: 72px 0;
  background:
    linear-gradient(180deg, rgba(16, 19, 19, 0.96), rgba(16, 19, 19, 0.96)),
    url("assets/hero-candles-flowers.jpg") center / cover no-repeat;
}

.emergency-inner {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.section-heading-dark h2,
.section-heading-dark p {
  color: var(--text);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.phone-card {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.04);
  color: var(--text);
  font-size: 1.32rem;
  font-weight: 800;
}

.phone-card svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.process {
  grid-template-columns: minmax(320px, 500px) minmax(0, 1fr);
  background: var(--ink-soft);
  width: 100%;
  max-width: none;
  padding: 0;
  gap: 0;
}

.process-visual {
  height: 560px;
  box-shadow: none;
}

.process-copy {
  max-width: 620px;
  padding: 70px 44px;
}

.process-copy p,
.process-copy .eyebrow {
  color: rgba(255, 250, 242, 0.72);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 20px;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding-left: 56px;
  color: rgba(255, 250, 242, 0.74);
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  font-weight: 800;
}

.steps strong {
  display: block;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.steps span {
  display: block;
  margin-top: 4px;
}

.testimonial {
  padding: 70px 20px;
  text-align: center;
  background: var(--ivory-deep);
  color: #4c4944;
}

.testimonial svg {
  width: 44px;
  height: 44px;
  color: var(--gold-deep);
}

.testimonial p {
  max-width: 720px;
  margin: 16px auto 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.45;
}

.testimonial span {
  color: var(--gold-deep);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.gallery figure {
  aspect-ratio: 4 / 3;
  box-shadow: none;
}

.gallery figure:first-child {
  aspect-ratio: 16 / 9;
}

.contact {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 500px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #37332f;
  font-weight: 700;
}

.contact-list svg {
  color: var(--gold-deep);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(159, 123, 58, 0.26);
  background: var(--paper);
  box-shadow: 0 20px 52px rgba(40, 33, 21, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #3d3933;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(159, 123, 58, 0.28);
  background: #fffdf8;
  color: #25221f;
  padding: 12px 14px;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.18);
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  padding: 50px 0 22px;
}

.footer-inner {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(200, 164, 93, 0.2);
}

.footer-inner img {
  width: 300px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 250, 242, 0.74);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.copyright {
  width: min(var(--container), calc(100% - 40px));
  margin: 20px auto 0;
  color: rgba(255, 250, 242, 0.52);
  font-size: 0.86rem;
  text-align: center;
}

.copyright a {
  color: var(--gold);
  font-weight: 800;
}

.copyright a:hover {
  color: var(--text);
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 16px;
  }

  .brand img {
    width: 230px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.8rem;
  }

  .header-call {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 205px;
  }

  .main-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(16, 19, 19, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  body.menu-open .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 250, 242, 0.08);
    color: var(--text);
    font-weight: 800;
  }

  .hero {
    min-height: 670px;
  }

  .hero-content {
    width: min(100% - 28px, 720px);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-heading h1,
  .section-heading h2,
  .about h2,
  .memorials h2,
  .process h2,
  .contact h2 {
    font-size: 2rem;
  }

  .about,
  .contact,
  .memorials-inner,
  .area-layout,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process-visual {
    height: 320px;
  }

  .process-copy {
    max-width: none;
    padding: 48px 20px 58px;
  }

  .phone-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery figure:first-child {
    aspect-ratio: 16 / 10;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .services,
  .local-areas,
  .faq,
  .gallery,
  .about,
  .contact {
    width: min(100% - 28px, var(--container));
    padding: 58px 0;
  }

  .brand img {
    width: 180px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(10, 11, 10, 0.66), rgba(10, 11, 10, 0.32) 36%, rgba(10, 11, 10, 0.92)),
      url("assets/hero-candles-flowers.jpg") center / cover no-repeat;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .area-copy,
  .area-keywords,
  .faq-item {
    padding: 22px;
  }

  .service-card {
    min-height: 248px;
  }

  .phone-card {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-inner img {
    width: 260px;
  }
}
