.header-return { align-self: center; padding: 10px 0 10px 8px; color: var(--gold-light); font-size: .85rem; text-decoration: none; }
.header-return:hover { text-decoration: underline; }
.form-wrapper { width: calc(100% - var(--gutter) * 2); max-width: 820px; margin: 0 auto; }
.booking-compact .form-wrapper { max-width: 690px; }
.booking-intro { padding: clamp(22px, 4vw, 45px) 0 15px; text-align: center; }
.booking-intro h1 { margin: 5px 0 5px; color: var(--forest-deep); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.23; letter-spacing: .06em; }
.booking-date { color: var(--green); font-size: .9rem; }
.booking-date i { margin-right: .3em; }
.booking-date span { margin-inline: .25em; }
.form-subtitle { margin-top: 5px; color: var(--muted); font-size: .875rem; }
.form-index { position: relative; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; margin: 0 0 15px; padding: 9px 0 12px; border-bottom: 1px solid var(--line); }
.form-index::before { content: ""; position: absolute; top: 23px; right: 12.5%; left: 12.5%; border-top: 1px solid #cfc3af; }
.booking-compact .form-index::before { right: 25%; left: 25%; }
.form-index a { position: relative; display: grid; justify-items: center; gap: 6px; padding-inline: 2px; color: var(--forest-deep); font-size: .82rem; line-height: 1.3; text-align: center; text-decoration: none; }
.form-index a:hover { text-decoration: underline; }
.form-index a span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #34443b; background: #e3dac9; font: 700 .88rem/1 Georgia, serif; }
.form-index a:first-child span, .form-index a:hover span { color: #fffaf2; background: var(--green); }
.booking-form { margin: 0; }
.form-section { margin-bottom: 12px; padding: clamp(13px, 3.2vw, 27px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.form-section:target { border-color: #aa8d5b; }
.form-section h2 { margin-bottom: 13px; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--forest); font: 700 1.07rem/1.35 var(--sans); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-group { min-width: 0; margin-bottom: 14px; }
.form-section > .form-group:last-child, .form-section > .form-row:last-child .form-group { margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 5px; color: var(--ink); font-size: .9rem; font-weight: 650; }
.form-group .required { color: #a34630; }
.form-group .optional { color: var(--muted); font-size: .76rem; font-weight: 500; }
.form-group input:not([type="file"]), .form-group select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #cfc3ae;
  border-radius: 7px;
  color: var(--ink);
  background: #fbf7ee;
  font-size: 16px;
  line-height: 1.35;
}
.form-group input::placeholder { color: #687268; opacity: 1; }
.form-group select:invalid { color: #687268; }
.form-group input:focus, .form-group select:focus { border-color: var(--green); outline: 2px solid #6baa96; outline-offset: 1px; }
.form-group input::-webkit-date-and-time-value { text-align: left; }
.file-drop-area { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 11px 13px; border: 1.5px dashed #819c8d; border-radius: 8px; color: var(--forest); background: #edf0e6; cursor: pointer; overflow-wrap: anywhere; }
.file-drop-area:hover { background: #e5eee1; }
.file-icon { flex: 0 0 auto; font-size: 1.25rem; }
.file-icon i, .browse-link { color: var(--green) !important; }
.file-msg { min-width: 0; font-size: .86rem; }
.browse-link { font-weight: 650; text-underline-offset: 3px; text-decoration: underline; }
.file-list:empty { display: none; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; }
.btn-submit, .btn-clear { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 9px 17px; border: 1px solid var(--green); border-radius: 8px; font-weight: 700; cursor: pointer; }
.btn-submit { color: #fffaf2; background: var(--green); }
.btn-submit:hover { background: var(--forest-deep); }
.btn-clear { color: var(--green); background: transparent; }
.btn-clear:hover { background: #e7eee3; }
.btn-submit:disabled, .btn-clear:disabled { opacity: .65; cursor: wait; }
.booking-footer { padding-block: 17px; margin-top: 25px; }
.diag-box { display: none; margin-bottom: 12px; padding: 12px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; color: var(--ink); background: #f4e8ce; overflow-wrap: anywhere; font-size: .9rem; }
.diag-box h4 { margin: 0 0 4px; }
.modal-overlay { position: fixed; z-index: 10; inset: 0; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(16, 46, 41, .72); }
.modal { width: min(100%, 430px); max-height: 100%; overflow: auto; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-align: center; overflow-wrap: anywhere; }
.modal-icon { margin-bottom: 6px; color: var(--green); font-size: 2.2rem; line-height: 1.15; }
.modal h3 { margin-bottom: 7px; }
.modal .btn-submit, .modal .btn-clear { width: 100%; margin: 10px 0 0 !important; }
@media (max-width: 560px) {
  .booking-page { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .header-return { font-size: .74rem; }
  .form-wrapper { width: calc(100% - 24px); }
  .form-index a { font-size: .74rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-section > .form-row:last-child .form-group:not(:last-child) { margin-bottom: 14px; }
  .form-actions .btn-submit { flex: 1; }
  .form-actions .btn-clear { padding-inline: 11px; }
}

.booking-transfer { margin-bottom: 12px; }
.booking-transfer p a { margin-left: .45em; text-underline-offset: 3px; }
.booking-compact .form-index::before { left: 12.5%; right: 12.5%; }
.form-note { margin-top: 0; color: var(--muted); font-size: .85rem; }
.file-selected { border-color: var(--green); background: #e7eee3; }
.flight-warning, .form-error { color: #7c3c25; background: #f6e9d6; border-left: 3px solid var(--gold); padding: 8px 11px; margin-top: 8px; text-align: left; border-radius: 5px; font-size: .88rem; }
.form-error { color: #8e312a; background: #f9e7e4; border-left-color: #b65e4b; }
.flight-toast { position: fixed; z-index: 6; bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); width: min(92vw, 470px); background: #f6e9d6; color: #6b3622; border: 1px solid #c9a76a; border-radius: 9px; box-shadow: 0 8px 22px rgba(35,34,25,.18); padding: 11px 14px; font-size: .88rem; pointer-events: none; }
.review-open { overflow: hidden; }
.review-overlay { display: flex; }
.booking-review { text-align: left; width: min(100%, 520px); }
.booking-review h2 { color: var(--forest-deep); margin-bottom: 10px; }
.booking-review dl { margin-block: 8px; }
.booking-review dl > div, .receipt-details > div { display: grid; grid-template-columns: minmax(88px, 1fr) 2fr; align-items: baseline; gap: 7px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.booking-review dt, .receipt-details dt { color: var(--muted); font-size: .85rem; }
.booking-review dd, .receipt-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.review-actions { display: flex; gap: 8px; }
.review-actions > button { flex: 1; }
.receipt-page { overflow: hidden; max-width: 550px; margin: clamp(16px, 5vw, 44px) auto; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); text-align: center; }
.receipt-content { padding: clamp(16px, 5vw, 33px); }
.receipt-brand { color: var(--green); font: 700 1.18rem/1.3 var(--serif); letter-spacing: .1em; }
.receipt-icon { color: var(--green); font-size: 2.42rem; margin-top: 7px; }
.receipt-content h1 { font-size: clamp(1.25rem, 4.6vw, 1.85rem); color: var(--forest-deep); }
.receipt-details { max-width: 320px; margin: 12px auto; text-align: left; font-size: .92rem; }
.receipt-content > p:last-of-type, .receipt-actions { font-size: .85rem; }
.receipt-actions { display: flex; justify-content: center; gap: 14px; margin-top: 10px; }
.receipt-actions a, .receipt-actions button { color: var(--green); background: none; text-decoration: underline; text-underline-offset: 3px; }
.receipt-actions button { border: none; margin: 0; padding: 0; cursor: pointer; }
.receipt-photo { position: relative; display: grid; align-items: end; isolation: isolate; min-height: 124px; height: clamp(124px, 40vw, 250px); overflow: hidden; color: #fff8ec; background: var(--forest); }
.receipt-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 59%; z-index: -2; }
.receipt-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%,rgba(16,46,41,.76)); }
.receipt-photo p { padding: 14px; font: 700 1.2rem/1.4 var(--serif); letter-spacing: .11em; }
