:root {
  --ink: #f8f3ea;
  --muted: #c7baaa;
  --charcoal: #111111;
  --panel: rgba(18, 18, 18, 0.84);
  --line: rgba(248, 243, 234, 0.16);
  --gold: #d7b56d;
  --red: #b94a48;
  --green: #6da184;
  --blue: #6c94b8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #0d0d0d;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(9, 9, 9, 0.58), rgba(9, 9, 9, 0.9)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

body.ritual-page::before {
  background:
    linear-gradient(rgba(9, 9, 9, 0.58), rgba(9, 9, 9, 0.9)),
    url("https://s3.us-east-1.amazonaws.com/davcina.com/exorcism_image.png") center 28% / cover no-repeat;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: 86px 0 54px;
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  text-transform: uppercase;
}

.lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.plain-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(215, 181, 109, 0.38);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(215, 181, 109, 0.12);
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.09);
}

.button.primary {
  background: var(--gold);
  color: #17120b;
  border-color: var(--gold);
}

.section {
  padding: 78px 0;
  background: rgba(8, 8, 8, 0.72);
  border-top: 1px solid var(--line);
}

.section.alt {
  background: rgba(248, 243, 234, 0.06);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-heading p {
  color: var(--muted);
  margin: 14px 0 0;
}

.route-grid,
.service-grid,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route,
.service,
.shop-card,
.notice,
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route,
.service,
.shop-card {
  padding: 24px;
}

.route {
  text-decoration: none;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.route.featured-route {
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.route.featured-route::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 156px;
  height: 156px;
  border: 28px solid rgba(215, 181, 109, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.route-icon,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: #17120b;
  font-size: 1.28rem;
  font-weight: 900;
}

.route small,
.price,
.tag {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.route h3,
.service h3,
.shop-card h3 {
  font-size: 1.45rem;
  margin-top: 12px;
}

.route p,
.service p,
.shop-card p,
.notice p,
.contact-panel p {
  color: var(--muted);
  margin: 12px 0 0;
}

.service-list {
  display: grid;
  gap: 14px;
}

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

.step {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 243, 234, 0.08);
}

.step h3 {
  margin-top: 18px;
  font-size: 1.45rem;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
}

.service {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.service h3 {
  margin-top: 0;
}

.price {
  white-space: nowrap;
  color: var(--ink);
}

.price-pill {
  align-self: start;
  min-width: 76px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #17120b;
  background: var(--gold);
  font-weight: 900;
  text-align: center;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.feature-media {
  min-height: 420px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.5)),
    url("https://s3.us-east-1.amazonaws.com/davcina.com/exorcism_image.png") center / cover no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.notice {
  padding: 24px;
}

.notice strong {
  color: var(--ink);
}

.shop-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.shop-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.contact-panel {
  padding: 30px;
  max-width: 760px;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.quick-contact {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 243, 234, 0.08);
}

.quick-contact h3 {
  font-size: 1.4rem;
}

.quick-contact p {
  margin-top: 8px;
}

.footer {
  padding: 36px 16px;
  text-align: center;
  color: var(--muted);
  background: #080808;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--ink);
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    align-items: center;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    min-height: 74px;
    padding: 14px 16px;
    width: 100%;
  }

  .menu-toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
    flex: 0 0 auto;
    position: fixed;
    left: min(328px, calc(100% - 62px));
    right: auto;
    top: 14px;
    z-index: 30;
  }

  .menu-toggle::before,
  .menu-toggle::after,
  .menu-toggle span {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle::before {
    transform: translateY(-7px);
  }

  .menu-toggle::after {
    transform: translateY(7px);
  }

  .menu-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"]::after {
    transform: rotate(-45deg);
  }

  .menu-toggle[aria-expanded="true"] span {
    opacity: 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    left: 16px;
    right: 16px;
    top: 74px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow);
    justify-content: stretch;
    max-width: 100%;
    min-width: 0;
    width: auto;
  }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 44px;
  }

  .hero-inner,
  .section-inner {
    width: calc(100vw - 32px);
  }

  .route-grid,
  .service-grid,
  .shop-grid,
  .simple-steps,
  .quick-contact-grid,
  .feature {
    grid-template-columns: 1fr;
  }

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

  .feature-media {
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding-inline: 10px;
  }

  .hero-inner,
  .section-inner {
    margin-left: 24px;
    margin-right: 24px;
    max-width: 342px;
    width: auto;
  }

  h1 {
    font-size: 2.55rem;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
