.p-reservation {
  --reservation-green: var(--osawa-color-primary);
  --reservation-gold: var(--osawa-color-accent);
  --reservation-gold-light: var(--osawa-color-secondary);
  --reservation-serif: var(--osawa-font-serif);
  display: grid;
  min-height: 526px;
  padding: 88px 24px;
  background: url("../../images/figma-cataract/reservation-bg-new.webp") center/cover no-repeat;
  place-items: center;
}

.p-reservation__box {
  position: relative;
  width: min(100%, 890px);
  margin: 0 auto;
  padding: 42px 48px 34px;
  overflow: hidden;
  border: 3px solid var(--reservation-gold-light);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 34px rgba(38, 38, 38, .06);
  text-align: center;
}

.p-reservation__box::before,
.p-reservation__box::after {
  position: absolute;
  content: "";
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.p-reservation__box::before {
  top: -3px;
  left: -3px;
  width: 180px;
  aspect-ratio: 278 / 282;
  background-image: url("../../images/contact-corner-left.png");
}

.p-reservation__box::after {
  right: -3px;
  bottom: -3px;
  width: 240px;
  aspect-ratio: 392 / 199;
  background-image: url("../../images/contact-corner-right.png");
}

.p-reservation .p-reservation__box h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--osawa-color-heading);
  font-family: var(--reservation-serif);
  font-size: 30px !important;
  font-weight: 400;
  letter-spacing: .12em;
}

.p-reservation__label {
  margin: 0 0 26px;
  color: var(--reservation-gold);
  font-family: var(--reservation-serif);
  font-size: 20px;
  text-align: center;
}

.p-reservation__text,
.p-reservation__note {
  position: relative;
  z-index: 1;
}

.p-reservation__text {
  font-size: 18px;
  line-height: 1.75;
  text-align: center;
}

.p-reservation__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 48px;
  margin-top: 35px;
  margin-bottom: 35px;
}

.p-reservation__button {
  display: inline-flex;
  min-width: 178px;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid var(--reservation-gold-light);
  color: var(--reservation-gold);
  background: transparent;
  font-family: var(--reservation-serif);
  font-size: 20px;
  line-height: 1.6;
  text-decoration: none;
}

.p-reservation__button img {
  display: block;
  width: 30px;
  height: auto;
  flex: 0 0 auto;
}

.p-reservation__button--web,
.p-reservation__button--web:visited {
  color: var(--reservation-gold-light) !important;
}

.p-reservation__button--line,
.p-reservation__button--line:visited {
  border-color: var(--reservation-green);
  color: var(--reservation-green) !important;
}

.p-reservation__button--web:hover {
  border-color: var(--reservation-gold-light) !important;
  color: #fff !important;
  background: var(--reservation-gold-light) !important;
}

.p-reservation__button--line:hover {
  border-color: var(--reservation-green) !important;
  color: #fff !important;
  background: var(--reservation-green) !important;
}

.p-reservation__button:hover img {
  filter: brightness(0) invert(1);
}

.p-reservation__note {
  margin-top: 30px;
  font-size: 14px !important;
  line-height: 1.65;
  text-align: left !important;
}

@media screen and (max-width: 767px) {
  .p-reservation {
    min-height: auto;
    padding: 0;
    background: #fff;
  }

  .p-reservation__box {
    padding: 28px 40px 50px;
  }

  .p-reservation .p-reservation__box h2 {
    font-size: 30px !important;
    letter-spacing: .08em;
    line-height: 1.5;
    margin-bottom: 17px;
  }

  .p-reservation__text {
    font-size: 16px;
  }

  .p-reservation__actions {
    flex-direction: column;
    gap: 16px;
  }

  .p-reservation__button {
    gap: 8px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: clamp(20px, 5.8vw, 24px);
    white-space: nowrap;
  }

  .p-reservation__note {
    font-size: 12px !important;
  }
}
