:root {
  --temple-red: #8f2d24;
  --temple-red-deep: #4b211b;
  --temple-gold: #d5a94f;
  --temple-cream: #fffaf0;
  --temple-green: #3f6552;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  overflow: hidden;
  border: 3px solid #d5a94f;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(76, 34, 24, .15);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.hero,
.ceremony-hero {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(48, 20, 15, .90) 0%, rgba(77, 31, 25, .74) 48%, rgba(77, 31, 25, .30) 100%),
    url('/temple.png') !important;
  background-position: center 47% !important;
  background-size: cover !important;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .42);
}

.temple-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 330px;
  margin-bottom: 28px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid #d9c39d;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(47, 21, 15, .82) 0%, rgba(47, 21, 15, .10) 70%),
    url('/temple.png') center 45% / cover no-repeat;
  box-shadow: 0 18px 42px rgba(75, 42, 25, .15);
}

.temple-banner-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .48);
}

.temple-banner-content small {
  color: #ffe8a9;
  font-weight: 800;
  letter-spacing: .14em;
}

.temple-banner-content h1 {
  margin: 8px 0 6px;
  font-size: clamp(34px, 5vw, 54px);
}

.temple-banner-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.service {
  border-color: #dfcba8 !important;
}

.service .number {
  box-shadow: 0 5px 14px rgba(85, 33, 25, .20);
}

.service.ceremony .number,
.service.ceremony .enter {
  background: #4f6653 !important;
}

.service:hover,
.service:focus-visible {
  border-color: #c49743 !important;
}

.status-card {
  border-color: #dfc9a3 !important;
  box-shadow: 0 18px 48px rgba(76, 41, 23, .12) !important;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #a52822;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.field input[aria-invalid="true"] {
  border-color: #b42318 !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .12) !important;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 15px;
  }

  .temple-banner {
    min-height: 270px;
    padding: 24px;
    border-radius: 22px;
    background-position: center 50%;
  }

  .temple-banner-content p {
    font-size: 16px;
  }

  .hero,
  .ceremony-hero {
    background-position: 57% center !important;
  }
}
