/* ============================================================
   Jungle Land redesign — components: booking modal, popup,
   form fields, confetti, accordion, tabs, price tiles.
   ============================================================ */

/* ---- form fields ---- */
.field label {
  display: block;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 6px;
}
.field input,
.field select,
.field textarea,
.input {
  border: 2.5px solid var(--sand-line);
  border-radius: var(--r-xs);
  padding: 13px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: #FDF9ED;
  width: 100%;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus {
  border-color: var(--accent);
}
.field ::placeholder, .input::placeholder { color: var(--sand-dim); }

.form-hint { font-weight: 600; font-size: 13px; color: var(--sand-dim); }

.form-error {
  background: var(--pale-peach);
  border: 2px solid var(--accent);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  color: #9E3612;
  line-height: 1.6;
}
.form-error span { font-weight: 800; display: block; margin-bottom: 4px; }

/* ---- modal (booking + popup share the shell) ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 30, 16, .72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.is-open { display: flex; animation: modalIn .25s ease both; }

@keyframes modalIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }

.modal-card {
  position: relative;
  background: var(--bg);
  border-radius: 30px;
  box-shadow: var(--sh-modal);
  width: 640px;
  max-width: 94vw;
  max-height: 92vh;
  overflow: auto;
  padding: 38px 42px;
  animation: modalPop .35s cubic-bezier(.34, 1.4, .6, 1) both;
}
@media (max-width: 560px) {
  .modal-card { padding: 28px 20px; }
}

.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  cursor: pointer;
  transition: transform .2s;
}
.modal-close:hover { transform: rotate(90deg); }

.modal-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 31px);
  color: var(--ink);
  line-height: 1.1;
}
.modal-sub { font-weight: 600; font-size: 14.5px; color: var(--muted); margin-top: 7px; }
.modal-sub a { font-weight: 700; }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 0;
}
@media (max-width: 560px) {
  .modal-grid { grid-template-columns: 1fr; }
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0 0;
  flex-wrap: wrap;
}

/* success state + confetti */
.modal-done { display: none; text-align: center; position: relative; padding: 34px 0 12px; }
.modal-done-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 36px);
  color: var(--ink);
}
.modal-done-sub { font-weight: 600; font-size: 15px; color: var(--body); margin-top: 12px; line-height: 1.65; }

.confetti { position: absolute; top: 0; border-radius: 3px; animation: confettiFall 1.7s ease-out infinite; }
.confetti.c1 { left: 26%; width: 10px; height: 14px; background: var(--accent); }
.confetti.c2 { left: 42%; width: 9px;  height: 9px;  background: var(--sun); border-radius: 50%; animation-duration: 1.9s; animation-delay: .3s; }
.confetti.c3 { left: 58%; width: 10px; height: 14px; background: var(--green-mid); animation-delay: .6s; }
.confetti.c4 { left: 72%; width: 9px;  height: 9px;  background: var(--sky); border-radius: 50%; animation-duration: 2s; animation-delay: .15s; }

/* ---- announcement popup ---- */
.popup-card { width: 560px; text-align: center; }
.popup-card .popup-body {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--body-2);
  line-height: 1.7;
  margin-top: 10px;
}
.popup-card .popup-body h1, .popup-card .popup-body h2, .popup-card .popup-body h3 { margin-bottom: 10px; }
.popup-card .popup-body img { border-radius: var(--r-sm); }

/* ---- accordion ---- */
.acc-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(23, 66, 31, .06);
  overflow: hidden;
}
.acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.acc-head:hover { background: var(--bg); }
.acc-head .acc-num {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--pale-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--green);
}
.acc-head .acc-title {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
}
.acc-head .acc-chev { color: var(--moss); transition: transform .25s; font-size: 15px; }
.acc-item.is-open .acc-chev { transform: rotate(180deg); }
.acc-body {
  display: none;
  padding: 0 24px 20px 66px;
  font-weight: 600;
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
}
.acc-item.is-open .acc-body { display: block; }
@media (max-width: 560px) {
  .acc-body { padding-left: 24px; }
}

/* ---- tabs ---- */
.tabs { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tab-btn {
  border: 2.5px solid var(--sand-line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
}
.tab-btn:hover { border-color: var(--ink); }
.tab-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--sun);
  box-shadow: 0 10px 24px rgba(23, 66, 31, .25);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ---- price tiles (packages, admission) ---- */
.price-tile {
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 14px 18px;
}
.price-tile .price-when {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--moss);
}
.price-tile .price-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
}
.price-tile .price-val small {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--moss);
  font-weight: 700;
}

/* selectable tile (wizard) */
.pick-tile {
  cursor: pointer;
  text-align: center;
  border-radius: 20px;
  padding: 20px 12px;
  transition: all .2s;
  border: 2.5px solid var(--sand-line);
  background: var(--bg);
  color: var(--ink);
  user-select: none;
}
.pick-tile:hover { border-color: var(--moss); }
.pick-tile.is-picked {
  border-color: var(--accent);
  background: #FFF0E9;
  color: var(--accent-deep);
  transform: scale(1.04);
  box-shadow: 0 10px 22px rgba(242, 100, 48, .2);
}

/* ---- gift certificate cross-sell band (home + admission pages) ---- */
.gift-cta {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--pale-pink);
  border: 3px dashed var(--berry);
  border-radius: var(--r-lg);
  padding: 30px 36px;
}
.gift-cta .gcta-art { font-size: 52px; line-height: 1; flex: none; }
.gift-cta .gcta-copy { flex: 1; min-width: 260px; }
.gift-cta h2 { font-size: 30px; }
.gift-cta p { font-weight: 600; font-size: 15px; color: var(--body-2); margin: 8px 0 0; line-height: 1.6; }
.gift-cta .btn { flex: none; }
@media (max-width: 760px) {
  .gift-cta { flex-direction: column; text-align: center; padding: 26px 22px; gap: 16px; }
}
