:root {
  --ink: #113f45;
  --muted: #66777a;
  --line: #dce6e2;
  --paper: #fbfaf6;
  --white: #ffffff;
  --teal: #0b5c64;
  --teal-dark: #06383d;
  --brown: #b36b3a;
  --gold: #d99a43;
  --sage: #dfece7;
  --blue: #274d68;
  --shadow: 0 20px 48px rgba(12, 44, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 64px);
  color: var(--white);
  background: rgba(6, 56, 61, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 15px;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 112px clamp(22px, 7vw, 92px) 76px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(4, 42, 45, 0.92) 0%, rgba(4, 42, 45, 0.74) 42%, rgba(4, 42, 45, 0.24) 100%),
    url("./assets/hero-memorial.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: clamp(17px, 2.1vw, 26px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 3vw, 31px);
  font-weight: 700;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-link {
  color: var(--teal-dark);
  background: var(--white);
}

.secondary-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading.compact {
  max-width: 720px;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split p,
.contact-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.intro-section {
  background: var(--white);
}

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

.feature-card {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-index {
  display: block;
  color: var(--brown);
  font-weight: 900;
}

.feature-card h3 {
  margin: 32px 0 10px;
  font-size: 24px;
  line-height: 1.24;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.showcase-section {
  background: var(--sage);
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 4vw, 36px);
  align-items: start;
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  width: min(100%, 360px);
  margin: 0 auto;
  border: 1px solid rgba(17, 63, 69, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-shot figcaption {
  margin-top: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.operations-section {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.split h2 {
  max-width: 760px;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.process-item strong {
  color: var(--teal);
}

.process-item span {
  color: var(--muted);
}

.wide-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.wide-gallery img {
  width: 100%;
  height: clamp(280px, 48vw, 520px);
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(17, 63, 69, 0.12);
  border-radius: 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  color: var(--white);
  background: var(--teal-dark);
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--white);
}

.contact-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(4, 42, 45, 0.08) 38%, rgba(4, 42, 45, 0.88) 100%),
    url("./assets/hero-memorial.png") center right / cover no-repeat;
}

.contact-visual-copy {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: grid;
  gap: 2px;
}

.contact-visual-copy span {
  font-size: 16px;
  font-weight: 800;
}

.contact-visual-copy strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
}

.contact-box {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  background: rgba(255, 255, 255, 0.06);
}

.contact-box h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.contact-details {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-details > div,
.contact-details > a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-details span {
  color: rgba(255, 255, 255, 0.58);
}

.contact-details strong {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-details a:hover strong {
  color: #f0c478;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(20px, 6vw, 80px);
  color: #7d8b8d;
  background: #f2f0eb;
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .site-header {
    height: 64px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 78vh;
    background-size: cover, 86vw;
    background-position: center, right -18vw bottom -70px;
  }

  .feature-grid,
  .phone-row,
  .wide-gallery,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card h3 {
    margin-top: 18px;
  }

  .wide-gallery img {
    height: 420px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 16px;
  }

  .brand span {
    font-size: 18px;
  }

  .hero {
    min-height: 82vh;
    padding: 96px 18px 54px;
    background-image:
      linear-gradient(180deg, rgba(4, 42, 45, 0.96) 0%, rgba(4, 42, 45, 0.88) 50%, rgba(4, 42, 45, 0.64) 100%),
      url("./assets/hero-memorial.png");
    background-size: cover;
    background-position: center;
  }

  .hero-copy {
    max-width: 360px;
    font-size: clamp(16px, 4.6vw, 19px);
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section h2 {
    overflow-wrap: anywhere;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .wide-gallery img {
    height: 360px;
  }

  .contact-box {
    padding: 18px;
  }

  .contact-visual {
    min-height: 320px;
  }

  .contact-visual-copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .contact-details > div,
  .contact-details > a {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }
}
