/* --------------------------------------------------------------------------
   Halaman lokasi dan kontak
   -------------------------------------------------------------------------- */

.locations {
  padding: 8px 0 88px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.location-card {
  overflow: hidden;
  border: 1px solid rgba(60, 24, 8, 0.18);
  border-radius: 26px;
  background: var(--paper);
}

.location-map {
  position: relative;
  height: 270px;
  border-bottom: 1px solid rgba(60, 24, 8, 0.16);
  background: rgba(60, 24, 8, 0.15);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-pin {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--amber);
  color: var(--brown);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.location-map--pending {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 28%, rgba(145, 160, 82, 0.22), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(255, 188, 76, 0.24), transparent 46%),
    var(--paper);
}

.location-map__pending-text {
  max-width: 330px;
  padding: 22px 24px;
  border: 2px dashed rgba(60, 24, 8, 0.3);
  border-radius: 18px;
  background: rgba(254, 255, 196, 0.5);
  text-align: center;
}

.location-map__pending-text strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--brown);
}

.location-map__pending-text span {
  display: block;
  color: rgba(60, 24, 8, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.location-card__body {
  padding: 30px 32px 32px;
}

.location-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--brown);
}

.location-facts {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(60, 24, 8, 0.16);
}

.location-facts div {
  display: grid;
  gap: 4px;
}

.location-facts dt {
  color: rgba(60, 24, 8, 0.56);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-facts dd {
  margin: 0;
  color: rgba(60, 24, 8, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.location-groups {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-groups li {
  display: flex;
  gap: 10px;
}

.location-groups li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--amber);
}

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

.btn--outline-brown {
  border-color: var(--brown);
  background: transparent;
  color: var(--brown);
}

.btn--outline-brown:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.location-note {
  margin: 22px 0 0;
  padding: 4px 0 4px 16px;
  border-left: 4px solid var(--amber);
  color: rgba(60, 24, 8, 0.66);
  font-size: 14px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Panel kontak dan tanya jawab
   -------------------------------------------------------------------------- */

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  margin-top: 56px;
  padding: 40px;
  border: 1px solid rgba(60, 24, 8, 0.16);
  border-radius: 28px;
  background: var(--paper);
}

.contact-panel__title {
  margin: 4px 0 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

.contact-panel__text {
  margin: 0 0 28px;
  color: rgba(60, 24, 8, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.contact-list div {
  display: grid;
  gap: 2px;
}

.contact-list dt {
  color: rgba(60, 24, 8, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-weight: 600;
}

.contact-panel__button {
  margin-top: 28px;
}

.faq {
  border-top: 1px solid rgba(60, 24, 8, 0.16);
}

.faq details {
  border-bottom: 1px solid rgba(60, 24, 8, 0.16);
}

.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 0;
  color: var(--red);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 40px 20px 0;
  color: rgba(60, 24, 8, 0.76);
  font-size: 15px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Responsif halaman lokasi
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .location-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .locations {
    padding-bottom: 64px;
  }

  .contact-panel {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .location-card {
    border-radius: 22px;
  }

  .location-map {
    height: 230px;
  }

  .location-card__body {
    padding: 24px;
  }

  .location-actions .btn {
    flex: 1 1 auto;
  }

  .contact-panel {
    border-radius: 22px;
  }
}

/* --------------------------------------------------------------------------
   Formulir booking acara publik (area #kontak)
   -------------------------------------------------------------------------- */

.booking-form {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(60, 24, 8, 0.16);
}

.booking-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
}

.booking-form__field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.booking-form__field--full {
  grid-column: 1 / -1;
}

.booking-form__field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.booking-form__field .required {
  color: var(--color-red);
}

.booking-form__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(60, 24, 8, 0.35);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-brown);
  font-family: var(--sans, inherit);
  font-size: 14px;
}

.booking-form__input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(255, 188, 76, 0.25);
  outline: none;
}

textarea.booking-form__input {
  min-height: 96px;
  resize: vertical;
}

.booking-form__error {
  color: var(--color-red);
  font-size: 12px;
}

.booking-form__alert {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.booking-form__alert--success {
  border: 1px solid rgba(145, 160, 82, 0.5);
  background: rgba(145, 160, 82, 0.18);
  color: var(--color-brown);
}

.booking-form__alert--error {
  border: 1px solid rgba(193, 39, 45, 0.4);
  background: rgba(193, 39, 45, 0.12);
  color: var(--color-red);
}

.booking-form__actions {
  margin-top: 4px;
}

.booking-form__submit {
  justify-self: start;
}

.booking-form__note {
  margin: 0;
  color: rgba(60, 24, 8, 0.6);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .booking-form__grid {
    grid-template-columns: 1fr;
  }
}
