:root {
  --page-start: #868f96;
  --page-end: #596164;
  --card-blue: #1f2e8d;
  --accent-gold: #a88e40;
  --focus-yellow: #f0eeae;
  --field-border: #cccccc;
  --field-text: #333333;
  --footer-hover: #ffb500;
  --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-deep: 0 6px 20px rgba(0, 0, 0, 0.19);
  --flag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='40' viewBox='0 0 30 30.000001' preserveAspectRatio='xMidYMid meet'%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath d='M 3.386719 6.132812 L 26.613281 6.132812 L 26.613281 22.828125 L 3.386719 22.828125 Z M 3.386719 6.132812'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M 3.386719 6.132812 L 26.613281 6.132812 L 26.613281 15 L 3.386719 15 Z M 3.386719 6.132812'/%3E%3C/clipPath%3E%3CclipPath id='c'%3E%3Cpath d='M 3.386719 6.132812 L 16 6.132812 L 16 22.828125 L 3.386719 22.828125 Z M 3.386719 6.132812'/%3E%3C/clipPath%3E%3CclipPath id='d'%3E%3Cpath d='M 3.386719 8 L 15 8 L 15 22 L 3.386719 22 Z M 3.386719 8'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='rgb(80.778503%25,6.669617%25,14.898682%25)' d='M 26.605469 20.257812 C 26.605469 21.675781 25.449219 22.828125 24.027344 22.828125 L 5.972656 22.828125 C 4.550781 22.828125 3.394531 21.675781 3.394531 20.257812 L 3.394531 8.703125 C 3.394531 7.285156 4.550781 6.132812 5.972656 6.132812 L 24.027344 6.132812 C 25.449219 6.132812 26.605469 7.285156 26.605469 8.703125 Z M 26.605469 20.257812'/%3E%3C/g%3E%3Cg clip-path='url(%23b)'%3E%3Cpath fill='rgb(0%25,21.958923%25,65.879822%25)' d='M 24.027344 6.132812 L 5.972656 6.132812 C 4.550781 6.132812 3.394531 7.285156 3.394531 8.703125 L 3.394531 14.480469 L 26.605469 14.480469 L 26.605469 8.703125 C 26.605469 7.285156 25.449219 6.132812 24.027344 6.132812 Z M 24.027344 6.132812'/%3E%3C/g%3E%3Cg clip-path='url(%23c)'%3E%3Cpath fill='rgb(93.328857%25,93.328857%25,93.328857%25)' d='M 4.242188 22.148438 L 15.664062 14.523438 L 4.253906 6.800781 C 3.730469 7.273438 3.394531 7.945312 3.394531 8.703125 L 3.394531 20.257812 C 3.394531 21.011719 3.726562 21.679688 4.242188 22.148438 Z M 4.242188 22.148438'/%3E%3C/g%3E%3Cg clip-path='url(%23d)'%3E%3Cpath fill='rgb(98.81897%25,81.959534%25,8.628845%25)' d='M 13.753906 13.53125 L 13.785156 14.269531 L 14.503906 14.460938 L 13.804688 14.714844 L 13.847656 15.453125 L 13.386719 14.871094 L 12.695312 15.136719 L 13.109375 14.523438 L 12.636719 13.949219 L 13.351562 14.152344 Z M 4.429688 8.046875 L 4.988281 8.539062 L 5.621094 8.148438 L 5.324219 8.828125 L 5.890625 9.308594 L 5.152344 9.238281 L 4.871094 9.921875 L 4.707031 9.199219 L 3.964844 9.144531 L 4.605469 8.769531 Z M 4.707031 19.101562 L 5.078125 19.742188 L 5.800781 19.578125 L 5.304688 20.125 L 5.6875 20.761719 L 5.007812 20.457031 L 4.519531 21.015625 L 4.597656 20.28125 L 3.914062 19.992188 L 4.640625 19.835938 Z M 9.84375 14.480469 C 9.84375 15.542969 8.976562 16.40625 7.910156 16.40625 C 6.839844 16.40625 5.972656 15.542969 5.972656 14.480469 C 5.972656 13.417969 6.839844 12.554688 7.910156 12.554688 C 8.976562 12.554688 9.84375 13.417969 9.84375 14.480469 Z M 9.84375 14.480469'/%3E%3C/g%3E%3Cpath fill='rgb(98.81897%25,81.959534%25,8.628845%25)' d='M 8.292969 11.011719 L 8.191406 12.710938 L 8.035156 12.6875 L 8.089844 10.714844 L 7.910156 10.597656 L 7.730469 10.714844 L 7.785156 12.6875 L 7.625 12.710938 L 7.523438 11.011719 L 7.296875 11.152344 L 7.507812 12.882812 L 8.308594 12.882812 L 8.519531 11.152344 Z M 7.523438 17.949219 L 7.625 16.25 L 7.785156 16.273438 L 7.726562 18.246094 L 7.910156 18.363281 L 8.089844 18.246094 L 8.035156 16.273438 L 8.191406 16.25 L 8.292969 17.949219 L 8.519531 17.808594 L 8.308594 16.078125 L 7.507812 16.078125 L 7.296875 17.808594 Z M 5.175781 16.664062 L 6.453125 15.535156 L 6.546875 15.660156 L 5.109375 17.015625 L 5.152344 17.226562 L 5.363281 17.269531 L 6.726562 15.835938 L 6.851562 15.929688 L 5.714844 17.203125 L 5.976562 17.265625 L 7.058594 15.890625 L 6.773438 15.609375 L 6.492188 15.328125 L 5.113281 16.402344 Z M 10.644531 12.296875 L 9.363281 13.429688 L 9.269531 13.300781 L 10.710938 11.945312 L 10.664062 11.734375 L 10.453125 11.691406 L 9.09375 13.125 L 8.964844 13.03125 L 10.101562 11.757812 L 9.839844 11.695312 L 8.761719 13.070312 L 9.324219 13.632812 L 10.703125 12.558594 Z M 4.425781 14.097656 L 6.132812 14.199219 L 6.109375 14.355469 L 4.128906 14.300781 L 4.011719 14.480469 L 4.128906 14.660156 L 6.109375 14.605469 L 6.132812 14.761719 L 4.425781 14.863281 L 4.566406 15.089844 L 6.304688 14.878906 L 6.304688 14.082031 L 4.566406 13.871094 Z M 11.390625 14.863281 L 9.683594 14.761719 L 9.707031 14.605469 L 11.691406 14.660156 L 11.808594 14.480469 L 11.691406 14.300781 L 9.707031 14.355469 L 9.683594 14.199219 L 11.390625 14.097656 L 11.25 13.871094 L 9.511719 14.082031 L 9.511719 14.878906 L 11.25 15.089844 Z M 5.714844 11.757812 L 6.851562 13.03125 L 6.726562 13.125 L 5.363281 11.691406 L 5.152344 11.734375 L 5.109375 11.945312 L 6.546875 13.300781 L 6.453125 13.429688 L 5.175781 12.296875 L 5.113281 12.558594 L 6.492188 13.632812 L 6.773438 13.351562 L 7.058594 13.070312 L 5.976562 11.695312 Z M 10.101562 17.203125 L 8.964844 15.929688 L 9.09375 15.835938 L 10.453125 17.269531 L 10.664062 17.226562 L 10.710938 17.015625 L 9.269531 15.660156 L 9.363281 15.535156 L 10.644531 16.664062 L 10.703125 16.402344 L 9.324219 15.328125 L 8.761719 15.890625 L 9.839844 17.265625 Z M 10.101562 17.203125'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: linear-gradient(to right, var(--page-start) 0%, var(--page-end) 100%);
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
}

.page-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
}

.main-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
}

.main-card {
  width: min(100%, 768px);
  background: var(--card-blue);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-soft), var(--shadow-deep);
}

.card-header img {
  display: block;
  width: 100%;
  height: auto;
}

.card-content {
  padding: 20px 30px;
  color: #ffffff;
}

.intro-copy {
  text-align: center;
}

.intro-title,
.intro-subtitle,
.intro-note {
  margin: 0;
  max-width: 36ch;
  margin-inline: auto;
}

.intro-title,
.intro-subtitle {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.intro-title {
  font-weight: 700;
}

.intro-subtitle {
  margin-top: 6px;
  font-weight: 400;
}

.intro-note {
  margin-top: 24px;
  font-size: 10px;
  line-height: 1.4;
}

.reservation-form {
  margin-top: 22px;
}

.form-field {
  margin: 0 0 16px;
}

.form-field label {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.upload-item input[type="file"] {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--field-border);
  border-radius: 5px;
  background: #ffffff;
  color: var(--field-text);
  font: inherit;
  font-size: 16px;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field select:focus {
  border-color: transparent;
  outline: none;
  background: var(--focus-yellow);
  color: #000000;
  transition: ease-in 0.3s;
}

.form-field select {
  margin-bottom: 10px;
}

.form-field input[readonly] {
  background: rgba(255, 255, 255, 0.94);
}

.description {
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  color: rgba(240, 238, 174, 0.75);
  font-size: 0.8rem;
}

.field-note {
  margin-top: -2px;
  line-height: 1.45;
}

.search-combobox {
  position: relative;
}

.search-panel[hidden] {
  display: none;
}

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.search-option {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
  background: #ffffff;
  color: var(--field-text);
  text-align: left;
  font: inherit;
  font-size: 0.96rem;
  cursor: pointer;
}

.search-option:last-child {
  border-bottom: 0;
}

.search-option:hover,
.search-option:focus-visible {
  background: #f5f2c6;
  outline: none;
}

.search-empty {
  margin: 0;
  padding: 14px;
  color: #5b5b5b;
  font-size: 0.9rem;
}

.color-picker-row {
  display: grid;
  gap: 10px;
}

.color-preview[hidden],
.color-chip-list[hidden] {
  display: none;
}

.color-preview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.color-swatch {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  flex: 0 0 auto;
}

.color-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.color-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

.color-chip.is-selected {
  border-color: rgba(240, 238, 174, 0.78);
  background: rgba(240, 238, 174, 0.16);
}

.color-chip:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.phone-number {
  position: relative;
}

.phone-number::before {
  content: "+63";
  position: absolute;
  left: 35px;
  top: 42px;
  transform: translateY(-50%);
  font-size: 0.82rem;
  font-weight: 700;
  color: #000000;
  z-index: 1;
}

.phone-number::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 46px;
  width: 25px;
  height: 40px;
  transform: translateY(-50%);
  background-image: var(--flag-icon);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}

.phone-number input {
  padding-left: 70px !important;
}

.dynamic-field[hidden] {
  display: none;
}

.address-summary[hidden] {
  display: none;
}

.address-summary {
  margin: 8px 0 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.address-summary-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.address-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.address-summary-item {
  margin: 0;
  display: grid;
  gap: 4px;
}

.address-summary-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.address-summary-item strong {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}

.address-summary-item-full {
  grid-column: 1 / -1;
}

.upload-field {
  margin-bottom: 20px;
}

.upload-grid {
  display: grid;
  gap: 12px;
}

.upload-item {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.upload-item-single {
  display: grid;
  gap: 10px;
}

.upload-item label {
  margin-bottom: 8px;
}

.upload-item input[type="file"] {
  min-height: 0;
  padding: 10px 0 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  overflow: hidden;
}

.upload-item input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--card-blue);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.upload-note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  line-height: 1.4;
}

.privacy-copy {
  margin: 25px 0 6px;
  color: #ffffff;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
}

.privacy-copy a,
.page-footer a {
  color: #ffffff;
  text-decoration: none;
}

.privacy-copy a:hover,
.page-footer a:hover {
  color: var(--footer-hover);
  transition: ease-in 0.3s;
}

.checkbox-field {
  margin-bottom: 24px;
}

.checkbox-option {
  position: relative;
  display: inline-flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 5px;
  cursor: pointer;
  line-height: 1.3;
}

.checkbox-option input {
  position: absolute;
  opacity: 0;
}

.checkbox-option span {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  margin-top: 25px;
}

.checkbox-option span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  border: 2px solid #dddddd;
  background: #ffffff;
  line-height: 15px;
  text-align: center;
}

.checkbox-option input:checked + span::before {
  content: "\2713";
  border-color: #2c5dbf;
  background: #2c5dbf;
  color: #ffffff;
}

.submit-row {
  margin: 0;
  display: flex;
  justify-content: center;
}

.submit-row button {
  border: 0;
  border-radius: 10px;
  min-height: 48px;
  padding: 10px 30px;
  background: var(--accent-gold);
  color: #ffffff;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: capitalize;
}

.submit-row button:hover {
  background: #ffffff;
  color: var(--card-blue);
  transition: ease-in-out 0.3s;
}

.submit-row button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.submit-row button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.92rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.form-status.is-error {
  display: block;
  background: rgba(170, 35, 35, 0.28);
  color: #ffffff;
}

.confirmation-panel[hidden] {
  display: none;
}

.confirmation-panel {
  margin-top: 24px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.confirmation-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(168, 142, 64, 0.18);
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 700;
}

.confirmation-title {
  margin: 0 0 12px;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #ffffff;
}

.confirmation-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

.confirmation-copy + .confirmation-copy {
  margin-top: 8px;
}

.page-footer {
  padding: 20px;
  color: #ffffff;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-copy,
.footer-links {
  display: block;
}

.footer-links {
  word-break: break-word;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .main-container {
    align-items: flex-start;
    padding: 28px 16px;
  }

  .card-content {
    padding: 20px 22px 22px;
  }
}

@media (max-width: 640px) {
  .main-container {
    padding: 18px 12px;
  }

  .main-card {
    border-radius: 20px;
  }

  .card-content {
    padding: 18px 16px 20px;
  }

  .intro-title,
  .intro-subtitle {
    font-size: 14px;
    line-height: 1.3;
  }

  .intro-note {
    margin-top: 18px;
    font-size: 9px;
    line-height: 1.45;
  }

  .form-field {
    margin-bottom: 14px;
  }

  .description,
  .upload-note,
  .privacy-copy,
  .page-footer {
    font-size: 0.72rem;
  }

  .submit-row button {
    width: 100%;
  }

  .phone-number::before {
    top: 42px;
  }

  .phone-number::after {
    top: 46px;
  }

  .confirmation-panel {
    padding: 22px 16px;
  }

  .confirmation-title {
    font-size: 1.2rem;
  }

  .address-summary {
    padding: 16px;
  }

  .address-summary-grid {
    grid-template-columns: 1fr;
  }

  .color-chip {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .main-card {
    border-radius: 18px;
  }

  .card-content {
    padding: 16px 14px 18px;
  }

  .phone-number::before {
    left: 33px;
  }

  .phone-number::after {
    left: 8px;
  }

  .phone-number input {
    padding-left: 66px !important;
  }

  .upload-item input[type="file"]::file-selector-button {
    display: block;
    margin: 0 0 8px;
    width: fit-content;
  }
}
