:root {
  --text: #000000;
  --muted: #6b6b6b;
  --border: #e6e6e6;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 15px;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC",
    "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
}

html[lang="en"] body {
  font-family: "Inter", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.content {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  background: #ffffff;
}

@media (min-width: 380px) and (max-width: 399px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 400px) and (max-width: 429px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 430px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .content {
    max-width: 500px;
    margin: 0 auto;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 35rem;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mask {
  position: absolute;
  inset: 0;
  height: 35rem;
  background: transparent;
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: 3rem;
  padding: 1.333rem 1.6rem 1.2rem;
  z-index: 1;
}

.hero-content h1,
.hero-content h2 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 500;
  color: #3a240e;
}

.hero-content h2 {
  margin-top: 0.267rem;
}

.hero-location {
  display: flex;
  gap: 0.533rem;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.867rem;
  color: #3a240e;
}

.hero-location img {
  width: 1.067rem;
  height: 1.067rem;
  align-self: center;
}

.hero-location p {
  margin: 0;
  line-height: 1.2;
}

.header {
  padding: 1.067rem 1.6rem 0.667rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  position: relative;
}

.menu-button {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #000;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.menu-dropdown {
  position: absolute;
  top: 2.4rem;
  left: 0;
  min-width: 8.8rem;
  background: #fff;
  border: 0.067rem solid #d0d0d0;
  border-radius: 0.533rem;
  box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.5);
  padding: 0.533rem 0;
  display: none;
  z-index: 20;
}

.menu-dropdown button {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 0.533rem 0.8rem;
  font-size: 0.867rem;
  cursor: pointer;
  color: #000;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.menu-dropdown button:visited,
.menu-dropdown button:active,
.menu-dropdown button:focus,
.menu-dropdown button:focus-visible {
  color: #000;
}

.menu-dropdown button.is-active {
  font-weight: 600;
}

.menu-dropdown button:hover {
  background: #f2f2f2;
}

.menu.is-open .menu-dropdown {
  display: block;
}

.header .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.header .logo {
  width: 8.533rem;
  height: auto;
}

.header-spacer {
  width: 1.6rem;
  height: 1.6rem;
}

.btn {
  width: 100%;
  border: none;
  border-radius: 66.6rem;
  padding: 0.8rem 0;
  font-size: 0.933rem;
  font-weight: 600;
}

.btn.primary {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 0.667rem 1.2rem rgba(0, 0, 0, 0.2);
}

.tabs-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  width: 21.8rem;
  height: 3.2rem;
  justify-content: center;
  padding: 0 2rem;
  background: #000;
  color: #fff;
  border-radius: 99.9rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.35);
}

.tabs-pill button {
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
  font-size: 0.933rem;
}

.tabs-pill-divider {
  width: 0.067rem;
  height: 1.067rem;
  background: #666;
  opacity: 0.7;
}

.tabs-pill-wrap {
  display: flex;
  justify-content: center;
  margin-top: -1.6rem;
  margin-bottom: 1.6rem;
  position: relative;
  z-index: 5;
}

.section {
  padding: 1.6rem;
}

.cards {
  display: grid;
  gap: 1.6rem;
  padding-top: 1.867rem;
  border-top: none;
}

.card {
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 0.667rem 1.6rem rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 14.533rem;
  object-fit: cover;
}

.card-body {
  padding: 1.067rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 5.467rem;
}

.card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.067rem;
  font-weight: 500;
}

.price {
  margin: 0 0 0.4rem;
  font-size: 0.933rem;
  display: inline;
}

.note,
.price-note {
  font-size: 0.8rem;
  display: inline;
}

.note {
  margin-left: 0.4rem;
}

.icon-button {
  width: 2.133rem;
  height: 2.133rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-button img {
  width: 2.133rem;
  height: 2.133rem;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
}

.intro h2,
.transport h2,
.features h2,
.contact h2 {
  margin: 0 0 1.067rem;
  font-size: 1.6rem;
  font-weight: 500;
}

.outline-box {
  border: 0.067rem solid #000;
  border-radius: 0.667rem;
  padding: 0.667rem;
  margin-top: 1.067rem;
  text-align: center;
}

.ghost {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 0.933rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  display: block;
}

.ghost:visited,
.ghost:active,
.ghost:focus,
.ghost:focus-visible {
  color: #000;
}

.ghost:focus-visible {
  outline: 0.133rem solid #000;
  outline-offset: 0.2rem;
}

.paragraph {
  margin: 0;
  font-size: 0.933rem;
  line-height: 1.6;
}

.intro-extra {
  margin-top: 1.067rem;
  display: none;
}

.intro-extra.is-open {
  display: block;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.667rem;
  margin: 0.8rem 0 1.067rem;
}

.intro-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.533rem 0.8rem;
  border: 0.067rem solid #000;
  border-radius: 1.6rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.intro-cards {
  display: flex;
  gap: 0.8rem;
  margin: 0.8rem 0 1.067rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.4rem;
  scrollbar-width: none;
}

.intro-cards::-webkit-scrollbar {
  display: none;
}

.intro-card {
  border: 0.067rem solid #000;
  border-radius: 0.667rem;
  padding: 0.8rem;
  min-width: 17.933rem;
  scroll-snap-align: start;
}

.intro-card h3 {
  margin: 0 0 0.533rem;
  font-size: 1.6rem;
}

.intro-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.map {
  border-radius: 0.667rem;
  overflow: hidden;
  margin-bottom: 1.333rem;
}

.transport-address {
  display: flex;
  gap: 0.533rem;
  align-items: center;
  font-size: 0.867rem;
  margin: 0.667rem 0 0.8rem;
}

.transport-address img {
  width: 1.067rem;
  height: 1.067rem;
}

.transport-address p {
  margin: 0;
}

.map img {
  width: 100%;
  height: 14.667rem;
  object-fit: cover;
}

.transport-list {
  display: grid;
  gap: 1.067rem;
}

.transport-extra {
  display: none;
  gap: 1.067rem;
  margin-top: 1.067rem;
}

.transport-extra.is-open {
  display: grid;
}

.transport-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.transport-item h3 {
  margin: 0 0 0.267rem;
  font-size: 0.933rem;
  font-weight: 600;
}

.transport-item p {
  margin: 0;
  font-size: 0.933rem;
  line-height: 1.5;
}

.bus-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.933rem;
  line-height: 1.5;
  list-style: disc;
}

.bus-list li {
  margin: 0 0 0.267rem;
}

.transport-icon {
  width: 3.2rem;
  height: 3.2rem;
  border: 0.067rem solid #000;
  border-radius: 0.667rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.transport-icon img,
.transport-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.outline-button {
  width: 100%;
  border: 0.067rem solid #000;
  background: #fff;
  border-radius: 0.667rem;
  padding: 0.667rem;
  font-size: 0.933rem;
  font-weight: 600;
  color: #000;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  margin-top: 1.333rem;
}

.outline-button:visited,
.outline-button:active,
.outline-button:focus,
.outline-button:focus-visible {
  color: #000;
}

.outline-button:focus-visible {
  outline: 0.133rem solid #000;
  outline-offset: 0.2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.333rem 0.8rem;
  margin: 0.5rem 0 0;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.667rem;
  font-size: 0.933rem;
  font-weight: 400;
}

.feature-icon {
  width: 3.2rem;
  height: 3.2rem;
  border: 0.067rem solid #000;
  border-radius: 0.667rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 1.6rem;
  height: 1.6rem;
}

.contact {
  background: #fff;
}

.contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.887rem;
  line-height: 1.333rem;
  margin-bottom: 1rem;
}

.contact-item img {
  width: 1.067rem;
  height: 1.067rem;
}

.contact-item p {
  margin: 0;
}


.footer {
  height: 16rem;
  padding: 1.6rem;
  background: url("images/photo-city-skyline.webp") center/cover no-repeat;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer img {
  width: 8.533rem;
  margin: 10rem auto 0;
}

.footer p {
  margin: 0;
  font-size: 0.8rem;
  color: #b0b0b0;
}

.scroll-top {
  position: fixed;
  right: 0.2rem;
  bottom: 0.2rem;
  width: 4.4rem;
  height: 4.4rem;
  cursor: pointer;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  z-index: 30;
  overscroll-behavior: contain;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.modal-card {
  width: 100%;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  height: 95vh;
  height: 90dvh;
  display: flex;
  flex-direction: column;
}

.modal-carousel {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.modal-slides {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}

.modal-slide {
  min-width: 100%;
  height: 100%;
}

.modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-dots {
  position: absolute;
  left: 50%;
  bottom: 0.667rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.modal-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.modal-dot.is-active {
  background: #fff;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.133rem;
  height: 2.133rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.modal-arrow[hidden] {
  display: none;
}

.modal-arrow img {
  width: 2.133rem;
  height: 2.133rem;
}

.modal-prev {
  left: 0.8rem;
}

.modal-next {
  right: 0.8rem;
}

.modal-body {
  padding: 1.067rem 1.4rem;
  font-size: 0.867rem;
  color: #333;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
  touch-action: pan-y;
}

.modal-title-row {
  display: block;
  text-align: left;
  margin-bottom: 0.667rem;
}

.modal-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.modal-room {
  display: none;
}

.modal-room:empty {
  display: none;
}

.modal-meta {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.667rem;
}

.modal-meta-row,
.modal-note-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.8rem;
}

.modal-meta-row span:first-child,
.modal-note-row span:first-child {
  font-weight: 400;
  color: #000;
}

.modal-note-row[data-field="setup"],
.modal-note-row[data-field="note"] {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.35rem;
}

.modal-note-row[data-field="setup"] span,
.modal-note-row[data-field="note"] span {
  display: inline;
}

.modal-note-row[data-field="setup"] span + span,
.modal-note-row[data-field="note"] span + span {
  margin-left: 0;
  text-align: left;
  min-width: 0;
  word-break: break-word;
}

.modal-rates {
  border: 0.067rem solid #bcbcbc;
  border-radius: 0.533rem;
  overflow: hidden;
  margin-bottom: 0.667rem;
}

.modal-rate-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.533rem;
  padding: 0.533rem 0.667rem;
  border-top: 0.067rem solid #d3d3d3;
  align-items: center;
  font-size: 0.8rem;
  color: #000;
}

.modal-rate-row:first-child {
  border-top: none;
}

.modal-rate-row.is-first {
  border-top: none;
}

.modal-rate-old {
  color: #999;
  text-decoration: line-through;
}

.modal-rate-old:empty {
  display: none;
}

.modal-rate-new {
  font-weight: 600;
}

.modal-notes {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
}

.modal-cta {
  width: 100%;
  border: none;
  border-radius: 0.667rem;
  background: #000;
  color: #fff;
  padding: 0.8rem;
  font-size: 0.867rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.modal-cta img {
  width: 1.067rem;
  height: 1.067rem;
}

.modal-close {
  width: 1.8rem;
  height: 1.8rem;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 1;
}

.modal-close img {
  width: 1.8rem;
  height: 1.8rem;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}
