:root {
  --navy: #063a5b;
  --navy-2: #07506f;
  --teal: #007f8f;
  --aqua: #00a6c0;
  --aqua-soft: #e6f6fa;
  --sky: #f3f8fb;
  --ink: #102a43;
  --muted: #52667a;
  --line: #d9e4ec;
  --card: #ffffff;
  --green: #137a5a;
  --green-soft: #e6f7f0;
  --coral: #ff6b4a;
  --red: #b42318;
  --red-soft: #fef3f2;
  --amber-soft: #fff7e6;
  --amber-line: #f2d08a;
  --amber-ink: #6b4a00;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(6, 58, 91, 0.10);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans TC", "Noto Sans SC", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sky);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

a {
  color: var(--teal);
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.preview-bar {
  position: relative;
  z-index: 6;
  padding: 9px 20px;
  background: #fff4d6;
  border-bottom: 1px solid var(--amber-line);
  color: #5c3b00;
  font-size: 13px;
  text-align: center;
}

.preview-bar strong {
  font-weight: 750;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 100px;
  background: #fff;
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.18);
  font-family: "Trebuchet MS", "Oxygen", Arial, Helvetica, "Microsoft JhengHei", Verdana, sans-serif;
}

.header-inner {
  position: relative;
  max-width: 1194px;
  height: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.site-logo {
  position: absolute;
  top: 25px;
  left: -8px;
  display: block;
  width: 243px;
  height: 81px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.lang-switch {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
}

.lang-switch button {
  position: relative;
  min-width: 0;
  padding: 16px 8px;
  border: 0;
  background: none;
  color: #333;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.lang-switch button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  background: #d6d6d6;
  transform: translateY(-50%);
}

.lang-switch button:hover {
  color: #1cb5e4;
}

.lang-switch button[aria-pressed="true"] {
  color: #1cb5e4;
  font-weight: 700;
}

.lang-switch button:focus-visible {
  border-radius: 2px;
  outline: 3px solid #1cb5e4;
  outline-offset: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(28, 181, 228, 0.22), transparent 30%),
    radial-gradient(circle at 14% 90%, rgba(0, 166, 192, 0.16), transparent 38%),
    linear-gradient(118deg, #eefafd 0%, #ddf4f9 52%, #c8edf4 100%);
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.75) 0 2px, transparent 3px),
    radial-gradient(circle at 36% 68%, rgba(255, 255, 255, 0.6) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 74%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px);
  background-size: 120px 120px, 190px 190px, 160px 160px;
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: 34px;
  align-items: center;
}

.hero h1 {
  max-width: 15ch;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-sub {
  max-width: 58ch;
  margin: 0;
  color: #35586c;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 127, 143, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #0c4a5a;
  font-size: 12.5px;
  line-height: 1.3;
}

.fact svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.hero-art {
  min-width: 0;
}

.hero-art svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 62px;
  color: var(--sky);
  pointer-events: none;
}

.layout {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: -46px auto 0;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 26px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid rgba(6, 58, 91, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-card {
  padding: clamp(22px, 3.6vw, 40px);
  scroll-margin-top: 20px;
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.form-head h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-notice {
  margin: 0 0 24px;
  padding: 12px 14px;
  border-left: 4px solid #d94b3f;
  border-radius: 8px;
  background: #fff4f2;
  color: #7f231a;
  font-size: 13px;
  line-height: 1.6;
}

.page-notice strong {
  font-weight: 750;
}

body.has-success .page-notice {
  display: none;
}

.required-note {
  flex: none;
  max-width: 18ch;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--aqua-soft);
  color: #0c6272;
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}

.form-section {
  margin: 0;
  padding: 26px 0 4px;
  border-top: 1px solid var(--line);
}

.form-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 750;
}

.step-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--aqua-soft);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field legend {
  padding: 0;
  margin: 0 0 1px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

.form-field label {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

.required {
  margin-left: 2px;
  color: var(--coral);
  font-weight: 800;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.date-range {
  display: block;
  margin-top: 2px;
  color: #6b7f91;
}

.field-with-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.ticket-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #9ed4e2;
  border-radius: 11px;
  background: #f4fbfd;
  color: #0b6f80;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ticket-link:hover {
  border-color: #69c2d6;
  background: #e4f6fa;
  color: var(--navy);
}

.ticket-link:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.ticket-link svg {
  width: 15px;
  height: 15px;
  flex: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c7d6e1;
  border-radius: 11px;
  background-color: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="date"] {
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding-left: 40px;
}

/* iOS Safari and some Android builds render a date input with no visible
   picker affordance. This decorative icon sits on the left so it never
   collides with the native indicator on desktop. */
.date-field {
  position: relative;
}

.date-field input {
  display: block;
}

.date-field__icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* WebKit bug 301648: iOS 26 Safari forces content-box on date inputs when
   appearance is auto, so width:100% plus padding overflows the card. The
   reset restores border-box; the native picker still opens on tap and the
   custom icon above remains the visible affordance. Scoped to iOS so
   desktop keeps its native calendar indicator. */
@supports (-webkit-touch-callout: none) {
  input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }
}

select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%2352667a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
}

input::placeholder {
  color: #8fa3b4;
  opacity: 1;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(0, 166, 192, 0.18);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.10);
}

.selected-date {
  margin: 0;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--aqua-soft);
  color: #0c6272;
  font-size: 12.5px;
  font-weight: 650;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 6px;
  font-size: 14px;
}

.check-row + .check-row {
  margin-top: 14px;
}

.check-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--teal);
  cursor: pointer;
}

.check-row label {
  font-weight: 450;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}

.terms-row {
  align-items: flex-start;
}

.terms-copy {
  padding-top: 1px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.65;
  cursor: pointer;
}

.marketing-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.marketing-title {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
}

.marketing-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.marketing-block .check-row {
  margin-top: 0;
}

.inline-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--teal);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.inline-link:hover {
  color: var(--navy);
}

.inline-link:focus-visible {
  border-radius: 3px;
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.4;
}

.field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.error-summary {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #f0b4ae;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 14px;
}

.error-summary h2 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
}

.error-summary ul {
  margin: 0;
  padding-left: 18px;
}

.error-summary li + li {
  margin-top: 3px;
}

.error-summary a {
  color: var(--red);
  font-weight: 650;
}

.captcha-block {
  margin-top: 22px;
  min-height: 78px;
  border-radius: 8px;
}

.captcha-block .mtcaptcha,
.captcha-block .mtcaptcha iframe {
  max-width: 100%;
}

.captcha-block .mtcaptcha {
  min-height: 78px;
}

.captcha-block .field-error {
  margin-top: 8px;
}

.captcha-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.captcha-note a {
  color: inherit;
  text-decoration: underline;
}

.captcha-block:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: none;
}

.btn:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0097a7, #1cb5e4);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 151, 167, 0.22);
}

.btn-secondary {
  border-color: #c7d6e1;
  background: #fff;
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: #9fb9c8;
  background: #f8fbfc;
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.is-loading .spinner {
  display: block;
}

.is-loading .btn-label {
  opacity: 0.9;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.sidebar {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-card {
  padding: 23px;
}

.side-card h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--aqua-soft);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13.5px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.help-card {
  border: 1px solid #c9eaf1;
  background:
    radial-gradient(circle at 88% 8%, rgba(28, 181, 228, 0.16), transparent 38%),
    linear-gradient(135deg, #f0fbfd, #ddf4f9);
  color: var(--ink);
}

.help-card h2 {
  margin-bottom: 7px;
  color: var(--navy);
}

.help-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.help-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #b9dfe8;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.help-phone:hover {
  background: #f4fbfd;
}

.help-phone:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.help-phone svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.help-hours {
  margin: 10px 0 0 !important;
  color: var(--muted) !important;
  font-size: 11.5px !important;
}

.success-panel {
  padding: clamp(4px, 1vw, 8px);
  scroll-margin-top: 20px;
}

.success-hero {
  margin-bottom: 24px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

.success-panel h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
}

.success-panel h2:focus {
  outline: none;
}

.success-panel .lead {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.preview-note {
  max-width: 58ch;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--amber-line);
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--amber-ink);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
}

.res-id-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px dashed #9cc9d6;
  border-radius: 14px;
  background: #f1f8fb;
}

.res-id-label {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.res-id {
  margin: 0;
  color: var(--navy);
  font-family: var(--mono);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 750;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.copy-btn {
  min-height: 42px;
  flex: none;
  padding: 9px 14px;
  font-size: 13px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 24px;
}

.detail {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfe;
}

.detail.full {
  grid-column: 1 / -1;
}

.detail dt {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.next-steps {
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 14px;
  background: #f7fbfc;
}

.next-steps h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font-size: 15px;
}

.next-steps ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.success-actions .btn {
  flex: 1 1 150px;
}

.site-footer {
  margin-top: 44px;
  background: #fff;
  color: #333;
  font-family: "Trebuchet MS", "Oxygen", Arial, Helvetica, "Microsoft JhengHei", Verdana, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.footer-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.footer-upper {
  padding: 30px 15px 18px;
  border-bottom: 1px solid #ccc;
}

.footer-upper .footer-nature {
  width: 161px;
  height: auto;
  margin: 0 auto;
}

.footer-lower {
  padding: 18px 15px 20px;
}

.footer-nav {
  margin: 0 0 8px;
  font-size: 0;
}

.footer-nav a,
.footer-nav span {
  display: inline-block;
  font-size: 12px;
  vertical-align: middle;
}

.footer-nav a {
  color: #333;
  font-weight: 400;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #1cb5e4;
  text-decoration: underline;
}

.footer-nav a:focus-visible {
  border-radius: 2px;
  outline: 3px solid #1cb5e4;
  outline-offset: 2px;
}

.footer-nav span {
  margin: 0 15px;
  color: #b3b3b3;
}

.footer-address,
.footer-copyright {
  margin: 0;
}

.footer-address {
  line-height: 1.65;
}

.footer-tel,
.footer-fax {
  display: inline-block;
  padding-left: 18px;
}

.footer-copyright {
  margin-top: 3px;
}

dialog {
  width: calc(100% - 32px);
  max-width: 720px;
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(6, 58, 91, 0.30);
}

dialog::backdrop {
  background: rgba(6, 26, 40, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.dialog-inner {
  padding: 26px;
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.dialog-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: #f2f7fa;
  color: var(--navy);
}

.dialog-close:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 2px;
}

.dialog-body {
  max-height: calc(100vh - 190px);
  padding-right: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.dialog-body h3 {
  margin: 20px 0 5px;
  color: var(--navy);
  font-size: 15px;
}

.dialog-body p,
.dialog-body li {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.dialog-body p {
  margin: 0 0 10px;
}

.dialog-body ul,
.dialog-body ol {
  margin: 6px 0 12px;
  padding-left: 20px;
}

.dialog-body li + li {
  margin-top: 5px;
}

.dialog-body .tnc-list li + li {
  margin-top: 8px;
}

.dialog-body .tnc-list a {
  color: var(--teal);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dialog-body .tnc-subhead {
  margin: 18px 0 6px;
  color: var(--navy);
  font-weight: 750;
}

.draft-banner {
  margin: 0 0 16px !important;
  padding: 10px 12px;
  border: 1px solid var(--amber-line);
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--amber-ink) !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

.email-preview {
  padding: 14px;
  border-radius: 12px;
  background: #eef2f5;
}

.email-sheet {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid #e1e7ec;
  background: #fff;
  color: #23303a;
  font-size: 13px;
}

.email-sheet > p {
  margin: 0 0 11px;
  color: #23303a;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.email-greeting {
  font-weight: 700;
}

.email-id {
  margin: 14px 0 !important;
  font-size: 14.5px !important;
  font-weight: 750;
}

.email-qr {
  width: 168px;
  height: 168px;
  margin: 12px auto;
  padding: 8px;
  border: 1px solid #cfd8de;
  background: #fff;
}

.email-note {
  margin: 10px 0 4px !important;
  color: #6b7b87 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.email-details {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 12.5px;
}

.email-details th {
  width: 42%;
  padding: 4px 8px 4px 0;
  color: #5b6b78;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}

.email-details td {
  padding: 4px 0;
  color: #23303a;
  font-weight: 650;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.email-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e1e7ec;
  text-align: center;
}

.email-footer p {
  margin: 0 0 4px;
  color: #6b7b87;
  font-size: 11px;
  line-height: 1.5;
}

.email-footer p:first-child {
  color: #23303a;
}

.noscript {
  margin: 0;
  padding: 16px 24px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1199px) {
  .site-header {
    height: 56px;
  }

  .site-logo {
    top: 5px;
    left: 9px;
    width: 148px;
    height: auto;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.65fr);
    gap: 20px;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0 15px;
  }

  .lang-switch button {
    padding: 16px 6px;
    font-size: 12.5px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 20px 86px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-art {
    display: none;
  }

  .layout {
    padding: 0 16px 48px;
    margin-top: -38px;
  }

  .form-card {
    padding: 22px 18px;
  }

  .form-head {
    flex-direction: column;
    gap: 9px;
  }

  .required-note {
    max-width: none;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-field {
    grid-column: 1 / -1;
  }

  .sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .details-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail.full {
    grid-column: auto;
  }

  .res-id-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-btn {
    width: 100%;
  }

  .footer-nav span {
    display: none;
  }

  .footer-nav a {
    padding: 3px 6px;
  }

  .footer-tel,
  .footer-fax {
    padding-left: 0;
    margin-left: 10px;
  }

  .dialog-inner {
    padding: 20px 16px;
  }

  .email-sheet {
    padding: 18px 14px;
  }

}

@media (max-width: 430px) {
  .quick-facts {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav a {
    padding: 3px 5px;
    font-size: 11.5px;
  }

  .footer-tel,
  .footer-fax {
    display: block;
    margin-left: 0;
  }

  .format-fix {
    display: none;
  }
}

@media (max-width: 560px) {
  .field-with-action {
    grid-template-columns: minmax(0, 1fr);
  }

  .ticket-link {
    justify-self: start;
  }
}

@media (max-width: 380px) {
  .header-inner {
    padding: 0 10px;
  }

  .site-logo {
    width: 132px;
  }

  .lang-switch button {
    padding: 16px 4px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .skip-link,
  .preview-bar,
  .site-header,
  .hero,
  .sidebar,
  .site-footer,
  .success-actions,
  .copy-btn,
  .form-head,
  .error-summary,
  #booking-form,
  .preview-note,
  dialog {
    display: none !important;
  }

  .layout {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .form-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .success-panel {
    display: block !important;
    padding: 0;
  }

  .res-id-box,
  .detail,
  .next-steps {
    break-inside: avoid;
  }
}
