:root {
  --ink: #2c241c;
  --muted: #756858;
  --paper: #f4ead8;
  --paper-2: #eadbc3;
  --cream: #fff7ea;
  --brown: #3a2a1c;
  --brown-2: #241a12;
  --gold: #b78a47;
  --gold-dark: #87612d;
  --line: rgba(60, 43, 29, .16);
  --shadow: 0 24px 70px rgba(39, 27, 17, .18);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(183,138,71,.13), transparent 34rem),
    linear-gradient(180deg, #fbf4e8 0%, #f0e1ca 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(90deg, rgba(40, 28, 18, .035) 1px, transparent 1px),
    linear-gradient(rgba(40, 28, 18, .028) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: multiply;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  background: var(--brown);
  color: white;
  z-index: 999;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(246, 236, 219, .82);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .02em;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(183,138,71,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  background: rgba(255,255,255,.32);
}
.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: .95;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(44,36,28,.82);
  font-size: 14px;
}
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  padding: 11px 17px;
  border: 1px solid rgba(135,97,45,.38);
  border-radius: 999px;
  background: var(--brown);
  color: #fff8ec;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.section-dark, .section-dark-soft {
  color: #fff5e7;
  background: var(--brown-2);
}
.section-dark-soft {
  background:
    radial-gradient(circle at 10% 15%, rgba(183,138,71,.18), transparent 28rem),
    linear-gradient(135deg, #2b2118, #18110c);
}
.section-paper {
  background:
    linear-gradient(135deg, rgba(255,255,255,.28), transparent),
    var(--paper);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.02);
  transform: scale(1.015);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 14, 8, .82) 0%, rgba(21, 14, 8, .55) 38%, rgba(21, 14, 8, .12) 100%),
    linear-gradient(0deg, rgba(21, 14, 8, .8) 0%, transparent 44%);
}
.hero-content {
  position: relative;
  padding: 120px 0 88px;
  max-width: var(--max);
}
.eyebrow {
  margin: 0 0 14px;
  color: rgba(255,245,231,.78);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
}
.eyebrow.dark { color: var(--gold-dark); }
.hero h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 8vw, 132px);
  letter-spacing: -.06em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: clamp(19px, 2vw, 25px);
  color: rgba(255,245,231,.84);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #c59a58, #8a612d);
  color: #fff8ec;
  box-shadow: 0 15px 40px rgba(0,0,0,.18);
}
.btn-ghost {
  color: #fff8ec;
  border-color: rgba(255,248,236,.38);
  background: rgba(255,255,255,.07);
}
.btn.full { width: 100%; }
.hero-note {
  margin-top: 40px;
  padding-left: 20px;
  border-left: 1px solid rgba(183,138,71,.85);
  color: rgba(255,245,231,.78);
  max-width: 560px;
}

.intro { padding: 96px 0; }
.intro-grid,
.principle-grid,
.memorial-grid,
.faq-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 7vw, 94px);
  align-items: start;
}
h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  letter-spacing: -.045em;
  color: var(--ink);
  text-wrap: balance;
}
.section-dark-soft h2,
.section-dark h2 { color: #fff6e9; }
.intro-copy p,
.principle-copy p,
.memorial-copy p,
.contact p,
.section-heading p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}
.principle-copy p,
.contact p,
.section-dark-soft .section-heading p { color: rgba(255,245,231,.72); }

.services, .gallery, .faq { padding: 96px 0; }
.section-heading {
  margin-bottom: 44px;
}
.section-heading.center {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.section-heading.center p { margin-inline: auto; max-width: 690px; }
.section-heading.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: end;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card, .price-card, .contact-card {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 248, 236, .68);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 45px rgba(74, 48, 25, .08);
}
.service-number {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  opacity: .75;
}
h3 {
  margin: 12px 0 12px;
  font-size: 25px;
  letter-spacing: -.03em;
}
.service-card p,
.price-card p,
.case-copy p,
.steps p,
.faq-list p,
.site-footer p,
.small-note {
  color: var(--muted);
  margin: 0;
}

.principle { padding: 98px 0; }
.principle-copy ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.principle-copy li {
  position: relative;
  padding: 15px 18px 15px 44px;
  border: 1px solid rgba(255,245,231,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  color: rgba(255,245,231,.82);
}
.principle-copy li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.cases { padding: 104px 0; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.case-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 248, 236, .62);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: #2a2119;
  --position: 50%;
}
.compare.portrait { height: 620px; }
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}
.compare-after {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}
.divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: rgba(255,255,255,.92);
  transform: translateX(-1px);
  z-index: 4;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 0 30px rgba(0,0,0,.22);
}
.divider::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 248, 236, .95);
  color: var(--brown);
  font-weight: 900;
}
.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}
.label {
  position: absolute;
  z-index: 6;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 25, 16, .72);
  color: #fff8ec;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.label-before { left: 18px; }
.label-after { right: 18px; }
.case-copy { padding: 24px 26px 28px; }
.case-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(183,138,71,.12);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.case-copy h3 { margin-top: 0; }

.masonry {
  columns: 3 260px;
  column-gap: 20px;
}
.masonry figure {
  break-inside: avoid;
  margin: 0 0 20px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(74,48,25,.10);
}
.masonry img {
  width: 100%;
  height: auto;
}
.masonry figcaption {
  padding: 14px 16px 18px;
  color: var(--muted);
  font-size: 14px;
}

.memorials { padding: 104px 0; }
.memorial-grid { align-items: center; }
.memorial-card {
  border: 1px solid rgba(183,138,71,.38);
  border-radius: 32px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.08)),
    var(--paper-2);
  box-shadow: var(--shadow);
  transform: rotate(-1.3deg);
}
.memorial-card img {
  border-radius: 22px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.memorial-copy .btn { margin-top: 16px; }

.process { padding: 98px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.steps article {
  border: 1px solid rgba(255,245,231,.12);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255,255,255,.035);
}
.steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(183,138,71,.18);
  color: #f8dcaa;
  font-weight: 900;
}
.steps h3 { color: #fff8ec; }
.steps p { color: rgba(255,245,231,.7); }

.pricing { padding: 104px 0; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
}
.price-card strong {
  margin-top: auto;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  color: var(--brown);
}
.price-card.featured {
  background: linear-gradient(135deg, #3c2d20, #21170f);
  color: #fff7ea;
  border-color: rgba(183,138,71,.55);
  box-shadow: 0 24px 70px rgba(39, 27, 17, .28);
}
.price-card.featured p { color: rgba(255,245,231,.74); }
.price-card.featured strong { color: #f5d49a; }
.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(183,138,71,.24);
  color: #f5d49a;
  font-size: 12px;
  font-weight: 900;
}

.faq-grid { align-items: start; }
.faq-list {
  display: grid;
  gap: 12px;
}
details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.34);
  padding: 18px 20px;
}
summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--brown);
}
details p { padding-top: 12px; }

.contact { padding: 104px 0; }
.contact-grid { align-items: center; }
.contact h2 { margin-bottom: 18px; }
.contact-card {
  background: rgba(255, 248, 236, .08);
  border-color: rgba(255,245,231,.16);
  color: #fff8ec;
}
.contact-card h3 { margin-top: 0; color: #fff8ec; }
.contact-card p { color: rgba(255,245,231,.72); }
.small-note {
  margin-top: 18px;
  font-size: 13px;
}
.small-note code {
  padding: 2px 6px;
  border-radius: 7px;
  background: rgba(255,255,255,.09);
  color: #f5d49a;
}

.site-footer {
  padding: 34px 0;
  background: #140e09;
  color: rgba(255,245,231,.72);
}
.footer-grid {
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 20px;
}
.site-footer strong {
  color: #fff8ec;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}
.site-footer p { color: rgba(255,245,231,.62); margin-top: 6px; }
.site-footer a { color: #f5d49a; }

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  padding: 13px 18px;
  border-radius: 999px;
  background: #236d47;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 88px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(250, 241, 225, .96);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .nav-cta { text-align: center; }
  .intro-grid,
  .principle-grid,
  .memorial-grid,
  .faq-grid,
  .contact-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }
  .service-grid, .steps, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .hero { min-height: 760px; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(21, 14, 8, .84) 0%, rgba(21, 14, 8, .55) 55%, rgba(21, 14, 8, .2) 100%),
      linear-gradient(0deg, rgba(21, 14, 8, .86) 0%, transparent 50%);
  }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand-text { font-size: 15px; }
  .hero { min-height: 720px; }
  .hero-media img { object-position: 56% center; }
  .hero-content { padding: 92px 0 58px; }
  .hero h1 { font-size: clamp(54px, 17vw, 86px); }
  .hero-actions .btn { width: 100%; }
  .intro, .services, .principle, .cases, .gallery, .memorials, .process, .pricing, .faq, .contact { padding: 72px 0; }
  .service-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .compare { height: 390px; }
  .compare.portrait { height: 540px; }
  .case-copy { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-whatsapp { left: 14px; right: 14px; text-align: center; }
}
