:root {
  --ink: #f7f4ec;
  --muted: #c9c1b3;
  --paper: #fffaf1;
  --paper-soft: #f3ede2;
  --night: #101214;
  --night-2: #171a1d;
  --line: rgba(255, 250, 241, 0.16);
  --amber: #d99a4e;
  --amber-strong: #f0b462;
  --jade: #2ec4a6;
  --coral: #d65a4a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --max: 1120px;
  color-scheme: dark;
  font-family:
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

body::selection {
  background: rgba(46, 196, 166, 0.35);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--night);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(16, 18, 20, 0.56);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(16, 18, 20, 0.9);
  border-color: var(--line);
}

.brand {
  display: inline-grid;
  grid-template-columns: 44px auto;
  align-items: center;
  gap: 12px;
  min-width: 186px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(217, 154, 78, 0.7);
  border-radius: var(--radius);
  color: var(--amber-strong);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a {
  padding: 10px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.nav-cta,
.btn,
.text-link,
.contact-row,
.mobile-contact a,
.mobile-contact button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-cta {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(46, 196, 166, 0.45);
  border-radius: var(--radius);
  background: rgba(46, 196, 166, 0.14);
  color: #dffdf5;
  font-weight: 700;
}

.nav-cta svg,
.btn svg,
.text-link svg,
.contact-row svg,
.mobile-contact svg,
.eyebrow svg,
.hero-points svg,
.trust-band svg,
.service-card svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hualien-ktv-hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.94) 0%, rgba(16, 18, 20, 0.72) 42%, rgba(16, 18, 20, 0.28) 76%),
    linear-gradient(180deg, rgba(16, 18, 20, 0.16) 0%, rgba(16, 18, 20, 0.62) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  min-height: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 132px 0 84px;
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow,
.section-heading span,
.pricing-copy span,
.contact-copy span,
.price-panel span {
  margin: 0 0 14px;
  color: var(--amber-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(217, 154, 78, 0.38);
  border-radius: var(--radius);
  background: rgba(16, 18, 20, 0.5);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 680px;
  font-size: 58px;
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.btn-primary {
  background: var(--jade);
  color: #061b17;
  box-shadow: 0 12px 32px rgba(46, 196, 166, 0.22);
}

.btn-secondary {
  border-color: rgba(255, 250, 241, 0.24);
  background: rgba(255, 250, 241, 0.1);
  color: var(--ink);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 18, 20, 0.45);
  color: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 250, 241, 0.12);
}

.trust-band article {
  padding: 36px max(24px, calc((100vw - var(--max)) / 2 / 3));
  background: var(--night-2);
}

.trust-band svg {
  margin-bottom: 18px;
  color: var(--jade);
}

.trust-band h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.trust-band p,
.service-card p,
.section-heading p,
.pricing-copy p,
.price-panel p,
.booking-list li,
.faq-list p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 298px;
  padding: 30px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: var(--radius);
  background: #1b2022;
}

.service-number {
  display: block;
  margin-bottom: 38px;
  color: rgba(255, 250, 241, 0.34);
  font-size: 14px;
  font-weight: 800;
}

.service-card svg {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 28px;
  height: 28px;
  color: var(--amber-strong);
}

.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 44px;
  padding: 78px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--night);
}

.pricing-copy p,
.price-panel p {
  color: #675b4e;
}

.text-link {
  margin-top: 8px;
  color: #7a3d2f;
  font-weight: 800;
}

.price-panel {
  padding: 30px;
  border: 1px solid rgba(16, 18, 20, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.price-panel strong {
  display: block;
  margin-bottom: 12px;
  color: #202326;
  font-size: 38px;
  line-height: 1.1;
}

.area-section {
  padding-bottom: 78px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-tags span {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: var(--radius);
  background: #1c2224;
  color: #e9dfcf;
}

.booking-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  padding: 88px max(20px, calc((100vw - var(--max)) / 2));
  background: #15191b;
  border-block: 1px solid rgba(255, 250, 241, 0.12);
}

.booking-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: booking;
}

.booking-list li {
  position: relative;
  min-height: 86px;
  padding: 18px 20px 18px 76px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.04);
}

.booking-list li::before {
  counter-increment: booking;
  content: counter(booking);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(214, 90, 74, 0.18);
  color: #ffb1a5;
  font-weight: 800;
}

.booking-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 800;
}

.compare-section {
  padding-top: 92px;
}

.compare-table {
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: var(--radius);
}

.compare-table [role="row"] {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
}

.compare-table [role="row"]:last-child {
  border-bottom: 0;
}

.compare-table span {
  padding: 18px;
  color: var(--muted);
}

.compare-table span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.compare-head {
  background: rgba(46, 196, 166, 0.1);
}

.compare-head span {
  color: var(--ink);
  font-weight: 800;
}

.faq-band {
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--paper-soft);
  color: var(--night);
}

.faq-band .section-heading p,
.faq-list p {
  color: #665d52;
}

.faq-list {
  display: grid;
  width: min(860px, 100%);
  margin: 0 auto;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(16, 18, 20, 0.14);
  border-radius: var(--radius);
  background: #fff;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 18px 20px;
  color: #222527;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(46, 196, 166, 0.14);
  color: #137461;
  font-size: 20px;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-row {
  justify-content: flex-start;
  width: 100%;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: var(--radius);
  background: #1b2022;
  color: var(--ink);
  text-align: left;
}

button.contact-row {
  border-color: rgba(255, 250, 241, 0.14);
}

.contact-row span {
  width: 72px;
  color: var(--muted);
}

.contact-row strong {
  font-size: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2)) 34px;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.mobile-contact {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 35;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: var(--radius);
  background: rgba(16, 18, 20, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.mobile-contact a,
.mobile-contact button {
  min-height: 56px;
  border: 0;
  border-right: 1px solid rgba(255, 250, 241, 0.12);
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

.mobile-contact a:last-child,
.mobile-contact button:last-child {
  border-right: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 60;
  min-width: 180px;
  max-width: calc(100% - 40px);
  padding: 12px 16px;
  border: 1px solid rgba(46, 196, 166, 0.42);
  border-radius: var(--radius);
  background: rgba(16, 18, 20, 0.96);
  color: var(--ink);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

:focus-visible {
  outline: 3px solid rgba(46, 196, 166, 0.62);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .trust-band,
  .service-grid,
  .pricing-band,
  .booking-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-band article {
    padding: 30px 24px;
  }

  .pricing-band,
  .booking-band,
  .faq-band {
    padding-inline: 20px;
  }

  .price-panel {
    max-width: 520px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 80px;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand {
    grid-template-columns: 40px auto;
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 18, 20, 0.96) 0%, rgba(16, 18, 20, 0.82) 100%),
      linear-gradient(180deg, rgba(16, 18, 20, 0.08) 0%, rgba(16, 18, 20, 0.78) 100%);
  }

  .hero-inner {
    width: min(100% - 28px, var(--max));
    padding-top: 110px;
    padding-bottom: 50px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .service-card {
    min-height: 250px;
    padding: 24px;
  }

  .service-card svg {
    top: 24px;
    right: 24px;
  }

  .pricing-band,
  .booking-band,
  .faq-band {
    padding-block: 64px;
    padding-inline: 14px;
  }

  .price-panel strong {
    font-size: 32px;
  }

  .area-tags {
    justify-content: flex-start;
  }

  .booking-list li {
    padding: 68px 18px 18px;
  }

  .booking-list li::before {
    left: 18px;
  }

  .compare-table {
    border: 0;
    border-radius: 0;
  }

  .compare-table [role="row"] {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 250, 241, 0.14);
    border-radius: var(--radius);
  }

  .compare-head {
    display: none !important;
  }

  .compare-table span {
    padding: 12px 14px;
  }

  .compare-table span:first-child {
    background: rgba(46, 196, 166, 0.08);
  }

  .faq-list summary {
    align-items: flex-start;
    min-height: 64px;
    padding: 16px;
  }

  .faq-list p {
    padding: 0 16px 16px;
  }

  .contact-section {
    width: min(100% - 28px, var(--max));
    padding: 64px 0;
  }

  .contact-row {
    display: grid;
    grid-template-columns: 24px 58px 1fr;
    min-height: 64px;
    padding: 14px;
  }

  .contact-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .site-footer {
    display: grid;
    padding: 24px 14px;
  }

  .mobile-contact {
    display: grid;
  }
}

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