.photo-gallery {
  background: #d7e0df;
}

.photo-gallery > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .2s ease;
}

.photo-gallery:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56px;
  background: linear-gradient(transparent, rgba(16, 42, 62, .62));
  pointer-events: none;
}

.photo-badge {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 18px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(16, 42, 62, .78);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--navy);
  background: rgba(255, 255, 255, .9);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-arrow:hover { color: #fff; background: var(--orange); }
.gallery-prev { left: 13px; }
.gallery-next { right: 13px; }

.gallery-dots {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

.gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
}

.gallery-dots button.active { background: var(--orange); }

.contract-box {
  max-height: 300px;
}

.contract-box h4 {
  margin: 17px 0 5px;
  color: var(--navy);
  font-size: 12px;
}

.contract-box p { margin: 0 0 8px; }
.contract-box ul { margin: 0; padding-left: 18px; }
.contract-box li { margin-bottom: 7px; }

.contract-footnote {
  margin-top: 17px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-style: italic;
}

.contract-acknowledgments .checkbox-label {
  margin: 12px 0;
}

.signature-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}

.signature-pad-wrap {
  height: 132px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d6dfe1;
  border-radius: 11px;
}

.signature-pad-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}

.signature-grid .text-button { margin-top: 7px; }
.signature-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; }

.document-upload {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.document-upload h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 20px;
}

.document-upload-copy {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.upload-field {
  min-height: 145px;
  padding: 15px;
  background: #f7faf8;
  border: 1px dashed #b8c8c5;
  border-radius: 12px;
}

.upload-field input[type="file"] {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
}

.upload-field input[type="file"]::file-selector-button {
  margin-right: 8px;
  padding: 8px 10px;
  color: #fff;
  background: var(--navy);
  border: 0;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.upload-file-name {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.upload-note {
  margin: 11px 0 0;
}

.deposit-note {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding: 15px 17px;
  color: var(--navy);
  background: #fff8e8;
  border: 1px solid #f1d899;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.deposit-note span {
  color: var(--muted);
  font-size: 12px;
}

.summary-footnote {
  margin: 11px 0 0;
  color: #a9c0c9;
  font-size: 11px;
  line-height: 1.5;
}

.success-location {
  max-width: 480px;
  margin: 0 auto 15px;
  padding: 13px 16px;
  color: var(--navy);
  background: #eef5f1;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.success-location span {
  color: var(--muted);
  font-size: 11px;
}

/* One-page reservation builder */
.hero {
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  align-items: start;
}

.hero-copy { padding-top: 54px; }

.hero-card {
  width: min(100%, 540px);
  max-width: 540px;
}

.addon-fieldset {
  min-width: 0;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.addon-fieldset legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.addon-list {
  overflow: hidden;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.addon-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 66px;
  padding: 12px 14px;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.addon-option:last-child { border-bottom: 0; }
.addon-option:has(input:checked) { background: #fff7f2; }

.addon-option input {
  width: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  accent-color: var(--orange);
}

.addon-option > span:not(.included-check) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.addon-option strong {
  font-size: 13px;
  line-height: 1.35;
}

.addon-option small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}

.addon-option b {
  color: var(--orange-deep);
  font-size: 13px;
  white-space: nowrap;
}

.included-addon { cursor: default; }
.included-addon b { color: #26744c; }

.included-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: #49a56c;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.quick-availability {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.quick-availability.good { color: #256744; background: #e8f5ed; }
.quick-availability.bad { color: #9e3f1f; background: #fff0e9; }

.quick-summary {
  overflow: hidden;
  padding: 17px;
  color: #dce8ec;
  background: var(--navy);
  border-radius: 15px;
}

.quick-summary-heading,
.quick-summary-row,
.quick-deposit-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.quick-summary-heading {
  align-items: baseline;
  color: #8eabb8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quick-summary-heading strong { color: #fff; }

.quick-summary-trailer {
  margin: 7px 0 13px;
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
}

.quick-summary-row {
  padding: 6px 0;
  border-top: 1px solid rgba(255,255,255,.11);
  font-size: 12px;
}

.quick-summary-row strong { color: #fff; }
.quick-summary-row.discount-row,
.summary-row.discount-row { color: #a9e6bf; }
.quick-summary-row.discount-row strong,
.summary-row.discount-row strong { color: #7ee2a2; }
.quick-summary-total { margin-top: 5px; padding-top: 11px; font-size: 14px; }
.quick-summary-total strong { color: #ff9a6b; font-size: 18px; }

.quick-deposit-row {
  margin: 11px -17px -17px;
  padding: 10px 17px;
  color: #205f40;
  background: #e7f4eb;
  font-size: 11px;
}

.quick-deposit-row strong { white-space: nowrap; }

.booking-addon-fieldset {
  margin-top: 22px;
}

.multiday-offer {
  display: grid;
  gap: 2px;
  padding: 11px 13px;
  color: #1f6843;
  background: #e7f4eb;
  border: 1px solid #bfe0cb;
  border-radius: 11px;
}

.multiday-offer[hidden] { display: none; }
.multiday-offer strong { font-size: 13px; }
.multiday-offer span { color: #47705a; font-size: 11px; line-height: 1.4; }

.multiday-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  padding: 10px 12px;
  color: #1f6843;
  background: #e7f4eb;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.35;
}

.multiday-badge strong {
  flex: 0 0 auto;
  color: #fff;
  background: #2b8557;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: .08em;
}

.booking-selection-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 11px 14px;
  color: var(--muted);
  background: var(--cream);
  border-radius: 10px;
  font-size: 12px;
}

.booking-selection-summary strong { color: var(--navy); }

.combined-contract {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.progress-steps.two-steps { grid-template-columns: repeat(2, 1fr); }

.summary-addon {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 4px 12px;
  color: #9fb4bc;
  font-size: 11px;
}

.summary-addon strong { color: #dce8ec; }

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .hero-card { width: 100%; max-width: none; }
  .addon-option { padding: 12px; }
  .addon-option strong { font-size: 12px; }
  .booking-selection-summary { align-items: flex-start; flex-direction: column; gap: 2px; }
  .signature-grid { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .addon-option { grid-template-columns: auto minmax(0, 1fr); }
  .addon-option b { grid-column: 2; }
  .quick-summary-total { align-items: flex-end; }
  .quick-summary-total span { max-width: 145px; }
}
