:root {
  color-scheme: light;
  --sky-navy: hsl(215 60% 32%);
  --sky-ink: hsl(220 15% 10%);
  --sky-muted: hsl(220 10% 46%);
  --sky-border: hsl(220 12% 90%);
  --sky-soft: hsl(220 18% 97%);
  --sky-footer: hsl(220 20% 14%);
  --sky-gold: #b69a68;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--sky-ink);
  font-family: Inter, "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sky-navy);
}

a:focus-visible {
  outline: 2px solid var(--sky-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: -64px;
  left: 16px;
  padding: 10px 14px;
  background: #fff;
  color: var(--sky-navy);
  box-shadow: 0 2px 10px hsl(220 15% 10% / 0.15);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid hsl(220 12% 90% / 0.65);
  background: hsl(0 0% 100% / 0.94);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  width: min(100%, 1280px);
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding-inline: 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  display: block;
  width: auto;
  height: 40px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid hsl(220 12% 90% / 0.8);
  border-radius: 999px;
  background: hsl(220 12% 94% / 0.65);
  font-size: 12px;
  line-height: 16px;
}

.language-switch a {
  min-width: 38px;
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--sky-muted);
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.language-switch a:hover {
  color: var(--sky-ink);
}

.language-switch a[aria-current="page"] {
  background: var(--sky-navy);
  color: #fff;
}

.site-navigation,
.site-navigation__links,
.site-navigation__actions,
.mobile-controls {
  align-items: center;
}

.site-navigation {
  display: flex;
  gap: 28px;
}

.site-navigation__links {
  display: flex;
  gap: 20px;
}

.site-navigation__links a {
  color: var(--sky-ink);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-navigation__links a:hover {
  color: var(--sky-navy);
}

.site-navigation__divider {
  width: 1px;
  height: 16px;
  background: var(--sky-border);
}

.site-navigation__actions {
  display: flex;
  gap: 12px;
}

.site-navigation__line {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: hsl(220 10% 55%);
  transition: color 160ms ease, background-color 160ms ease;
}

.site-navigation__line:hover {
  background: hsl(220 12% 94% / 0.7);
  color: var(--sky-ink);
}

.site-navigation__line svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-booking {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--sky-navy);
  border-radius: 6px;
  background: var(--sky-navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.nav-booking:hover {
  border-color: hsl(215 60% 27%);
  background: hsl(215 60% 27%);
  color: #fff;
}

.mobile-controls {
  display: none;
}

.mobile-menu__toggle {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--sky-ink);
  cursor: pointer;
  transition: color 160ms ease;
}

.mobile-menu__toggle:hover {
  color: var(--sky-navy);
}

.mobile-menu__toggle:focus-visible {
  outline: 2px solid var(--sky-gold);
  outline-offset: 2px;
}

.mobile-menu__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-menu__icon--close,
.mobile-menu__toggle[aria-expanded="true"] .mobile-menu__icon--menu {
  display: none;
}

.mobile-menu__toggle[aria-expanded="true"] .mobile-menu__icon--close {
  display: block;
}

.mobile-menu__panel {
  position: fixed;
  z-index: 50;
  top: 80px;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--sky-border);
  background: #fff;
  max-height: calc(100svh - 80px);
  overflow-y: auto;
  box-shadow:
    0 10px 15px -3px hsl(0 0% 0% / 0.1),
    0 4px 6px -4px hsl(0 0% 0% / 0.1);
}

.mobile-menu__panel[hidden] {
  display: none;
}

.mobile-menu__content {
  display: flex;
  width: min(100%, 1280px);
  flex-direction: column;
  gap: 20px;
  margin-inline: auto;
  padding: 24px 16px;
}

.mobile-menu__content > a:not(.mobile-menu__booking) {
  color: var(--sky-ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color 160ms ease;
}

.mobile-menu__content > a:not(.mobile-menu__booking):hover {
  color: var(--sky-navy);
}

.mobile-menu__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 4px 0;
}

.mobile-menu__social a {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: hsl(220 10% 55%);
  text-decoration: none;
  transition: color 160ms ease;
}

.mobile-menu__social a:hover {
  color: var(--sky-ink);
}

.mobile-menu__social svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mobile-menu__booking {
  width: 100%;
  min-height: 38px;
  align-self: stretch;
  border-radius: 2px;
}

.floating-line {
  position: fixed;
  z-index: 50;
  right: 32px;
  bottom: 88px;
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  box-shadow: 0 20px 25px -5px hsl(0 0% 0% / 0.1), 0 8px 10px -6px hsl(0 0% 0% / 0.1);
  text-decoration: none;
  transition: background-color 160ms ease;
}

.floating-line:hover {
  background: #05a848;
  color: #fff;
}

.floating-line svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.floating-book {
  position: fixed;
  z-index: 50;
  right: 32px;
  bottom: 32px;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--sky-navy);
  border-radius: 6px;
  background: var(--sky-navy);
  color: #fff;
  box-shadow: 0 20px 25px -5px hsl(0 0% 0% / 0.1), 0 8px 10px -6px hsl(0 0% 0% / 0.1);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, opacity 300ms ease, transform 300ms ease, visibility 300ms ease;
}

.floating-book:hover {
  border-color: hsl(215 60% 27%);
  background: hsl(215 60% 27%);
  color: #fff;
}

.booking-modal {
  width: min(calc(100% - 2rem), 672px);
  max-width: none;
  max-height: calc(100svh - 2rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--sky-ink);
}

.booking-modal::backdrop {
  background: hsl(0 0% 0% / 0.5);
  backdrop-filter: blur(4px);
}

.booking-modal__surface {
  display: flex;
  max-height: min(90vh, calc(100svh - 2rem));
  flex-direction: column;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 25px 50px -12px hsl(0 0% 0% / 0.3);
}

.booking-modal__header {
  display: flex;
  min-height: 60px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--sky-border);
}

.booking-modal__header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.booking-modal__close {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--sky-muted);
  cursor: pointer;
}

.booking-modal__close:hover {
  color: var(--sky-ink);
}

.booking-modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.booking-modal__body {
  min-height: 0;
  overflow-y: auto;
}

.booking-form,
.booking-success {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.booking-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 16px;
}

.booking-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.booking-field > span,
.booking-fieldset legend {
  font-weight: 500;
}

.booking-field b,
.booking-fieldset b {
  color: #b42318;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid hsl(220 12% 82%);
  border-radius: 2px;
  background: #fff;
  color: var(--sky-ink);
  font: inherit;
  font-weight: 400;
}

.booking-field input,
.booking-field select {
  height: 40px;
  padding: 0 12px;
}

.booking-field textarea {
  min-height: 120px;
  padding: 9px 12px;
  resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: var(--sky-navy);
  outline: 2px solid hsl(215 60% 32% / 0.16);
  outline-offset: 1px;
}

.booking-field [aria-invalid="true"] {
  border-color: #b42318;
}

.booking-fieldset {
  gap: 9px;
}

.booking-fieldset legend {
  margin-bottom: 9px;
}

.booking-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid hsl(220 12% 82%);
  border-radius: 2px;
}

.booking-service-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
}

.booking-service-option input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--sky-navy);
}

.booking-field__error {
  color: #b42318;
  font-size: 0.75rem;
  font-weight: 400;
}

.booking-form__error {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  color: #b42318;
  font-size: 0.875rem;
  line-height: 1.5;
}

.booking-form__submit,
.booking-success__close {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--sky-navy);
  border-radius: 2px;
  background: var(--sky-navy);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.booking-form__submit:hover,
.booking-success__close:hover {
  border-color: hsl(215 60% 27%);
  background: hsl(215 60% 27%);
}

.booking-form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.booking-success__message {
  margin-bottom: 4px;
  text-align: center;
}

.booking-success__message h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.3;
}

.booking-success__message p {
  margin: 0;
  color: var(--sky-muted);
  font-size: 0.875rem;
}

.booking-success__steps {
  padding: 20px;
  border: 1px solid var(--sky-border);
  border-radius: 2px;
  background: var(--sky-soft);
}

.booking-success__steps h4 {
  margin: 0 0 16px;
  font-size: 0.875rem;
  font-weight: 700;
}

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

.booking-success__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.booking-success__step-number {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: 50%;
  background: hsl(215 60% 32% / 0.1);
  color: var(--sky-navy);
  font-size: 0.75rem;
  font-weight: 700;
}

.booking-success__step-copy {
  min-width: 0;
}

.booking-success__step-title,
.booking-success__step-body {
  margin: 0;
}

.booking-success__step-title {
  margin-bottom: 2px;
  font-size: 0.875rem;
  font-weight: 600;
}

.booking-success__step-body {
  color: var(--sky-muted);
  font-size: 0.75rem;
  line-height: 1.65;
}

.booking-success__highlight {
  color: #b42318;
}

.booking-success__line {
  display: inline-flex;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #06c755;
  border-radius: 6px;
  background: #06c755;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.booking-success__line:hover {
  border-color: #05b34d;
  background: #05b34d;
  color: #fff;
}

.booking-success__line svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.booking-success__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.booking-success__social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--sky-muted);
  transition: color 160ms ease;
}

.booking-success__social a:hover {
  color: var(--sky-navy);
}

.booking-success__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.booking-success__close {
  width: 100%;
  font-size: 0.875rem;
}

.booking-modal [hidden] {
  display: none !important;
}

@media (min-width: 1280px) {
  .site-navigation__links {
    gap: 32px;
  }
}

@media (max-width: 1023px) {
  .site-header {
    border-bottom-color: hsl(220 12% 90% / 0.4);
    background: hsl(0 0% 100% / 0.8);
    font-family: Inter, sans-serif;
  }

  .language-switch {
    font-family: Inter, sans-serif;
  }

  .language-switch a {
    min-width: 0;
  }

  .site-navigation {
    display: none;
  }

  .mobile-controls {
    display: flex;
    gap: 12px;
  }
}

.page-main {
  min-height: calc(100vh - 160px);
  padding: 48px 20px 88px;
}

.article {
  width: min(100%, 900px);
  margin-inline: auto;
}

.article-header {
  margin-bottom: 40px;
}

.article h1,
.article h2,
.article h3 {
  color: var(--sky-ink);
  font-family: "Playfair Display", "PingFang TC", "Songti TC", serif;
  line-height: 1.3;
}

.article h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.article h1 b,
.article h2 b,
.article h3 b {
  font-weight: inherit;
}

.article-header p:first-of-type {
  margin: 0 0 22px;
  color: var(--sky-muted);
  font-size: 0.875rem;
}

.article-header p:nth-of-type(2) {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--sky-gold);
  background: var(--sky-soft);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-section {
  margin-top: 48px;
}

.article-section > h2 {
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sky-border);
  font-size: clamp(1.45rem, 3.3vw, 2rem);
  font-weight: 600;
}

.article p {
  margin: 0 0 1.25em;
  font-size: 1rem;
  line-height: 1.9;
}

.article b {
  font-weight: 600;
}

.article ol,
.article ul {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

.article li {
  margin: 0 0 1em;
  padding-left: 0.25em;
  line-height: 1.85;
}

.table-scroll {
  max-width: 100%;
  margin: 24px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--sky-border);
  border-radius: 3px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible {
  outline: 2px solid var(--sky-gold);
  outline-offset: 3px;
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--sky-border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.comparison-table th {
  background: hsl(215 45% 95%);
  color: var(--sky-navy);
  font-weight: 600;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 24%;
}

.comparison-table tbody td:first-child {
  background: hsl(220 18% 97%);
  font-weight: 600;
}

.comparison-table p {
  margin: 0;
  line-height: 1.65;
}

.comparison-table tr:last-child > * {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 24px;
}

.faq-item {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--sky-border);
}

.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-question {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
}

.faq-answer {
  margin-bottom: 0 !important;
  color: hsl(220 15% 20%);
}

.article-author {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--sky-border);
}

.article-author p {
  color: var(--sky-muted);
  font-size: 0.95rem;
}

.article-cta {
  display: table;
  margin-top: 22px;
  padding: 12px 22px;
  border: 1px solid var(--sky-navy);
  border-radius: 2px;
  background: var(--sky-navy);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.article-cta:hover {
  border-color: hsl(215 60% 26%);
  background: hsl(215 60% 26%);
}

.site-footer {
  padding: 30px 20px;
  background: var(--sky-footer);
  color: #fff;
  text-align: center;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 16px;
}

.site-footer__social a {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.62;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.site-footer__social svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer__social a:hover {
  opacity: 1;
}

.site-footer p {
  margin: 0;
  color: hsl(0 0% 100% / 0.6);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 80px;
  }

  .site-logo img {
    height: 40px;
  }

  .page-main {
    padding: 34px 16px 60px;
  }

  .article-header {
    margin-bottom: 32px;
  }

  .article h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
    letter-spacing: -0.02em;
  }

  .article-header p:nth-of-type(2) {
    padding: 15px 16px;
    font-size: 1rem;
  }

  .article-section {
    margin-top: 38px;
  }

  .comparison-table {
    min-width: 660px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 11px 12px;
  }
}

@media (max-width: 640px) {
  .booking-field-row,
  .booking-service-options {
    grid-template-columns: 1fr;
  }

  .booking-form,
  .booking-success {
    gap: 16px;
    padding: 20px 16px;
  }

  .booking-modal__header {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
