/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
  --red: #c1272d;
  --red-dark: #a11e24;
  --red-light: #e04a52;
  --ink: #1a1a1a;
  --ink-2: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg-soft: #f1e6de;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.14);
  --radius: 14px;
  --radius-pill: 999px;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(193,39,45,0.28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,0.28); }
.btn-whatsapp:hover { background: #1EBE5D; }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-call-now { padding: 10px 20px; font-size: 14px; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ===== Icon (Lucide) ===== */
[data-lucide] { width: 1em; height: 1em; stroke-width: 2; display: inline-block; vertical-align: middle; }
.btn [data-lucide] { width: 18px; height: 18px; }
.logo-mark [data-lucide] { width: 22px; height: 22px; }
.service-ic [data-lucide], .feature-ic [data-lucide], .c-ic [data-lucide], .about-badge-icon [data-lucide] { width: 22px; height: 22px; }
.fab [data-lucide] { width: 22px; height: 22px; }
.hero-cta .btn [data-lucide] { width: 18px; height: 18px; }

/* ===== Topbar ===== */
.topbar {
  background: #101014;
  color: #d9d9d9;
  font-size: 13px;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px; gap: 12px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item [data-lucide] { color: var(--red); width: 14px; height: 14px; }
.topbar-dot { width: 4px; height: 4px; border-radius: 50%; background: #666; }
.topbar-right a:hover { color: #fff; }

/* ===== Header ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #c1272d, #8a1a1f);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 6px 16px rgba(193,39,45,0.28);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; color: var(--ink); }
.logo-sub { font-size: 10px; letter-spacing: 2px; color: var(--muted); margin-top: 4px; font-weight: 500; }

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 15px; color: #333; font-weight: 500;
  position: relative; padding: 6px 0; transition: color .18s ease;
}
.nav a:hover { color: var(--red); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red); transform: scaleX(0);
  transform-origin: center; transition: transform .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #333; transition: transform .2s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 130px);
  color: #fff;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative;
  padding: 100px 24px 160px;
  max-width: 900px;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 6px 16px rgba(193,39,45,0.35);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: 18px;
  max-width: 620px;
  margin: 0 0 32px;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
  position: absolute; left: 50%; bottom: 90px;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: 0; cursor: pointer;
  transition: all .2s ease;
}
.dot.active { background: var(--red); width: 30px; border-radius: 6px; }

.hero-stats {
  position: absolute; right: 24px; bottom: 24px;
  display: flex; gap: 6px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(12px);
  padding: 20px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 4;
}
.stat { padding: 0 18px; border-right: 1px solid rgba(255,255,255,0.15); text-align: center; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #fff; line-height: 1; }
.stat-num span { color: var(--red-light); }
.stat-label { font-size: 10px; letter-spacing: 2px; color: #bbb; margin-top: 6px; text-transform: uppercase; }

/* ===== Section common ===== */
.section { padding: 96px 0; }
.section-header { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.kicker {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(30px, 3.5vw, 40px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.section-title.light { color: #fff; }
.section-sub { font-size: 17px; color: var(--muted); margin: 0; }
.section-sub.light { color: rgba(255,255,255,0.7); }

/* ===== About ===== */
.about { background: var(--bg-soft); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; }
.about-badge {
  position: absolute; left: -20px; bottom: 30px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 16px 20px;
  border-radius: 14px; box-shadow: var(--shadow-md);
  max-width: 260px;
}
.about-badge-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(193,39,45,0.1); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.about-badge-title { font-weight: 700; font-size: 15px; }
.about-badge-sub { font-size: 12px; color: var(--muted); }

.about-copy .lead { font-size: 16px; color: #4a4a4a; margin: 20px 0 24px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 15px; color: #333;
}
.check-list [data-lucide] {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(193,39,45,0.1); color: var(--red);
  padding: 6px; flex: none; stroke-width: 3;
}

/* ===== Services ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-ic {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(193,39,45,0.08); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.service-card p { font-size: 14px; color: var(--muted); margin: 0 0 18px; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 600; font-size: 14px;
  transition: gap .2s ease;
}
.service-link:hover { gap: 10px; }

/* ===== How It Works ===== */
.how { background: var(--bg-soft); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}
.step {
  background: #fff; padding: 32px 24px;
  border-radius: var(--radius); text-align: center;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 700; color: var(--red);
  line-height: 1; margin-bottom: 14px;
  opacity: .9;
}
.step h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 0 0 10px; color: var(--ink); }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ===== Localities ===== */
.locality-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.locality {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; color: #333; font-weight: 500;
  transition: all .2s ease;
  gap: 8px;
}
.locality:hover { border-color: var(--red); color: var(--red); background: #fff5f5; transform: translateY(-2px); }
.locality [data-lucide] { color: var(--red); width: 14px; height: 14px; }
.locality-note {
  text-align: center; margin-top: 32px; font-size: 15px; color: var(--muted);
}
.locality-note a { color: var(--red); font-weight: 600; }
.locality-note a:hover { text-decoration: underline; }

/* ===== Features ===== */
.features { padding: 80px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all .25s ease;
}
.feature:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature-ic {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(193,39,45,0.08); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.feature h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin: 0 0 8px; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }

/* ===== Testimonials ===== */
.testimonials { background: var(--bg-soft); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: #fff; padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-mark {
  position: absolute; top: 12px; right: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 80px; color: var(--red); opacity: .18; line-height: 1;
}
.testimonial p { font-size: 15px; color: #444; margin: 0 0 22px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'Playfair Display', serif; font-size: 18px;
}
.t-author strong { display: block; font-size: 15px; }
.t-author em { font-size: 13px; color: var(--muted); font-style: normal; }

/* ===== Contact ===== */
.contact { background: #101014; color: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: start;
}
.contact-copy .section-header { text-align: left; margin: 0 0 32px; max-width: none; }
.contact-list li {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-list li:last-child { border-bottom: 0; }
.c-ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(193,39,45,0.16); color: var(--red-light);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; flex: none;
}
.contact-list em { display: block; font-size: 12px; color: #999; letter-spacing: 1.5px; text-transform: uppercase; font-style: normal; margin-bottom: 3px; }
.contact-list a { color: #fff; font-weight: 500; }
.contact-list a:hover { color: var(--red-light); }

.contact-card {
  background: linear-gradient(160deg, #1a1a20 0%, #14141a 100%);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 32px;
  border-radius: var(--radius);
}
.contact-card h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 0 0 10px; }
.contact-card p { color: #aaa; margin: 0 0 24px; font-size: 14px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }

/* ===== Footer ===== */
.footer { background: #0a0a0d; color: #cfcfcf; padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
}
.footer .logo-title { color: #fff; }
.footer .logo-sub { color: #999; }
.footer-brand p { margin: 16px 0 0; color: #999; font-size: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 600; }
.footer-col li { padding: 6px 0; font-size: 14px; color: #aaa; }
.footer-col a:hover { color: var(--red-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 24px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: #888;
}
.footer-mobile-actions { display: none; gap: 8px; }

/* ===== Floating action buttons ===== */
.fab {
  position: fixed; right: 20px; width: 52px; height: 52px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  z-index: 40; transition: transform .2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-call { bottom: 90px; background: var(--red); }
.fab-wa { bottom: 24px; background: #25D366; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .locality-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .btn-call-now { display: none; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px 24px;
    gap: 8px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .menu-toggle { display: flex; }
  .header { position: relative; }
  .hero { min-height: 640px; }
  .hero-content { padding: 60px 24px 120px; }
  .hero-stats { position: relative; right: auto; bottom: auto; margin: -60px auto 0; width: fit-content; padding: 14px 8px; }
  .stat { padding: 0 12px; }
  .stat-num { font-size: 22px; }
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .locality-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 12px; padding: 20px 24px; text-align: center; }
  .footer-mobile-actions { display: flex; }
  .fab { display: none; }
  .about-badge { left: 10px; }
}

@media (max-width: 480px) {
  .locality-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 34px; }
  .btn { padding: 12px 18px; font-size: 14px; }
}


/* ===== Crematorium cards ===== */
    .crem-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
      gap: 22px;
    }
    .crem-card {
      position: relative;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 30px 24px 26px;
      text-align: center;
      overflow: hidden;
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }
    .crem-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--red), var(--red-light));
      transform: scaleX(0); transform-origin: left;
      transition: transform .3s ease;
    }
    .crem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
    .crem-card:hover::before { transform: scaleX(1); }

    .crem-badge {
      position: absolute; top: 14px; right: 16px;
      font-family: 'Playfair Display', serif;
      font-size: 12px; font-weight: 700; color: var(--muted);
      letter-spacing: 1px;
    }
    .crem-icon {
      width: 58px; height: 58px; margin: 0 auto 18px;
      border-radius: 50%;
      background: rgba(193,39,45,0.08); color: var(--red);
      display: inline-flex; align-items: center; justify-content: center;
    }
    .crem-icon [data-lucide] { width: 26px; height: 26px; }
    .crem-card h3 {
      font-family: 'Playfair Display', serif;
      font-size: 18.5px; font-weight: 700;
      color: var(--ink); margin: 0 0 6px;
    }
    .crem-tag {
      display: inline-block; font-size: 11px; font-weight: 600;
      letter-spacing: 1.2px; text-transform: uppercase;
      color: var(--red); background: rgba(193,39,45,0.08);
      padding: 4px 12px; border-radius: var(--radius-pill);
      margin-bottom: 18px;
    }
    .crem-phone-row {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      font-size: 13.5px; color: var(--muted);
      padding-top: 16px; margin-top: 4px;
      border-top: 1px dashed var(--line);
    }
    .crem-phone-row [data-lucide] { width: 15px; height: 15px; color: var(--red); }
    .crem-card .btn { margin-top: 18px; }

    .crem-note {
      text-align: center; max-width: 640px; margin: 48px auto 0;
      font-size: 15px; color: var(--muted);
    }
    .crem-note a { color: var(--red); font-weight: 600; }
    .crem-note a:hover { text-decoration: underline; }

    @media (max-width: 768px) {
      .page-banner { min-height: 240px; }
      .page-banner-content { padding: 44px 24px; }
    }