/* Colour and type follow Airbnb's tone: white canvas, near-black text, Rausch pink for the main action. */
:root {
  --rausch: #ff385c;
  --rausch-dark: #e00b41;
  --brand-gradient: linear-gradient(to right, #e61e4d 0%, #e31c5f 50%, #d70466 100%);
  --ink: #222222;
  --ink-soft: #6a6a6a;
  --line: #dddddd;
  --line-soft: #ebebeb;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 6px 16px rgba(0, 0, 0, .12);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05);
  --max: 1200px;
  --font: "Airbnb Cereal VF", Circular, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", Roboto, "Helvetica Neue", sans-serif;
}

:lang(zh-Hans) { --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(zh-Hant) { --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.label { display: block; font-size: .75rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.icon.star { fill: currentColor; stroke: none; }
.icon.star--off { fill: var(--line); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line-soft); }
.topbar__inner { display: flex; align-items: center; gap: 32px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--rausch); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; }
.brand__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--rausch); color: #fff; font-size: 1.1rem; }
.brand__thin { font-weight: 400; }
.brand__latin { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-soft); }
html[lang="en"] .brand__latin { display: none; }
.topnav { display: flex; gap: 4px; margin-right: auto; }
.topnav a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 14px; border-radius: 999px; }
.topnav a:hover { background: var(--bg-soft); }

.lang-switch { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-soft); }
.lang-switch button {
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  font: inherit; font-size: .85rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.lang-switch button:hover { background: var(--bg-soft); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .1s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.98); }
.btn .icon { width: 18px; height: 18px; }
.btn--brand { background: var(--brand-gradient); color: #fff; }
.btn--brand:hover { box-shadow: var(--shadow); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--kakao { background: #fee500; color: rgba(0, 0, 0, .85); }
.btn--kakao:hover { box-shadow: var(--shadow); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.reviews__updated { font-size: .8rem; color: var(--ink-soft); }
.btn--dark .handle { font-weight: 400; opacity: .7; }
.btn--outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--bg-soft); }
.btn--small { min-height: 40px; padding: 0 14px; font-size: .875rem; }
.btn--block { width: 100%; }
.link { font-weight: 600; text-underline-offset: 3px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600;
}
.pill .icon { width: 18px; height: 18px; }
.pill--float { position: absolute; top: 14px; left: 14px; border: 0; box-shadow: var(--shadow-soft); }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.eyebrow { font-weight: 600; color: var(--rausch); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; white-space: pre-line; }
.lead { font-size: 1.1rem; color: var(--ink-soft); margin-top: 16px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.hero__photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 100%; gap: 8px; height: 440px; }
.hero__photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; background: var(--bg-soft); }
.hero__photo--main { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.hero__photo--side { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

/* Sections */
.section { padding: 64px 0; }
.section--line .container { border-top: 1px solid var(--line); padding-top: 64px; }
.section--line { padding-top: 0; }
.section__head { margin-bottom: 32px; }
.section__head h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin-bottom: 6px; }

/* Stay cards */
.stay-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: start; }
.stay { display: flex; flex-direction: column; gap: 18px; }

.gallery { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 20 / 19; background: var(--bg-soft); }
.gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft); opacity: 0; transition: opacity .2s;
}
.gallery__nav .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery:hover .gallery__nav, .gallery__nav:focus-visible { opacity: 1; }
.gallery__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.gallery__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.gallery__dot.is-active { background: #fff; }

.stay__body { display: flex; flex-direction: column; gap: 14px; }
.stay__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stay__head h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.stay__tagline { display: block; margin-top: 4px; font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.stay__rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; flex-shrink: 0; white-space: nowrap; }
.stay__rating .icon { width: 14px; height: 14px; }
.stay__rating span { font-weight: 400; color: var(--ink-soft); }
.stay__area { color: var(--ink-soft); margin-top: -10px; }
.stay__summary { color: var(--ink); }

.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink); font-size: .95rem; }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs .icon { width: 20px; height: 20px; }

.favorite {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
}
.favorite__score { display: flex; align-items: center; gap: 2px; }
.favorite__score strong { font-size: 1.6rem; letter-spacing: -0.03em; }
.laurel { width: 26px; height: 34px; stroke-width: 1.3; }
.laurel--right { transform: scaleX(-1); }
.favorite__label { display: flex; flex-direction: column; line-height: 1.3; }
.favorite__label span, .favorite__count span { font-size: .8rem; color: var(--ink-soft); }
.favorite__count { display: flex; flex-direction: column; align-items: center; padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.3; }
.favorite__count strong { font-size: 1.2rem; }

.reviews { display: grid; gap: 24px; padding: 8px 0; }
.review { display: flex; flex-direction: column; gap: 8px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__who div { display: flex; flex-direction: column; line-height: 1.3; }
.review__who span { font-size: .875rem; color: var(--ink-soft); }
.avatar {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 600; flex: none;
}
.review:nth-child(2) .avatar { background: #6a6a6a; }
.review:nth-child(3) .avatar { background: #b0b0b0; }
.stars { display: inline-flex; gap: 1px; color: var(--ink); }
.stars .icon { width: 11px; height: 11px; }
.review__text { white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__text.is-open { display: block; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; color: var(--ink); }
.review__note { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-soft); }
.review__note .icon { width: 14px; height: 14px; }

/* Amenities */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .icon { width: 28px; height: 28px; stroke-width: 1.4; }
.feature div { display: flex; flex-direction: column; }
.feature span { font-size: .875rem; color: var(--ink-soft); }
.notes { margin-top: 40px; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }
.notes h3 { font-size: 1.05rem; margin-bottom: 12px; }
.notes ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.notes li { position: relative; padding-left: 16px; font-size: .95rem; }
.notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--rausch); }

/* Location */
.location__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--bg-soft); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-area {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 140px; height: 140px;
  border-radius: 50%; background: rgba(255, 56, 92, .14); border: 2px solid rgba(255, 56, 92, .5); pointer-events: none;
}
.location__info { display: flex; flex-direction: column; gap: 16px; }
.location__area { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.05rem; }
.nearby { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.nearby li { display: flex; align-items: center; gap: 12px; }
.taxi-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.taxi-card__address { font-size: 1.1rem; font-weight: 600; }
.map-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.map-buttons .icon { width: 14px; height: 14px; }
.tip { font-size: .875rem; color: var(--ink-soft); }

/* Host */
.host { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.host-card { border-radius: 24px; box-shadow: var(--shadow); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.host-card__id { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.host-card__id strong { font-size: 1.8rem; margin-top: 6px; }
.host-card__id > span:last-child { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; }
.host-card__id > span:last-child .icon { width: 14px; height: 14px; }
.avatar--lg { width: 96px; height: 96px; font-size: 2.2rem; background: var(--ink); }
.avatar__badge { position: absolute; right: -2px; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--rausch); display: grid; place-items: center; }
.avatar__badge .icon { width: 16px; height: 16px; color: #fff; }
.host-card__facts { display: grid; gap: 12px; font-size: .875rem; }
.host-card__facts li { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.host-card__facts li:last-child { border: 0; padding: 0; }
.host-card__facts .icon { width: 18px; height: 18px; }
.host-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.host-text h3 { font-size: 1.3rem; }
.host-text .small { display: inline-flex; align-items: center; gap: 6px; }
.host-text .small .icon { width: 18px; height: 18px; }

/* Footer */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 28px 0; font-size: .875rem; color: var(--ink-soft); margin-top: 32px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .host { grid-template-columns: 1fr; gap: 32px; }
  .host-card { max-width: 420px; }
}
@media (max-width: 900px) {
  .topnav { display: none; }
  .lang-switch { margin-left: auto; }
  .hero__inner, .stay-list, .location__grid { grid-template-columns: 1fr; }
  .hero__inner { gap: 32px; }
  .hero__photos { height: 300px; order: -1; }
  .map-wrap { min-height: 320px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--max)); }
  .topbar__inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 10px; }
  .lang-switch { width: 100%; margin-left: 0; }
  .lang-switch button { flex: 1; padding: 7px 4px; font-size: .8rem; }
  .hero { padding-top: 20px; }
  .hero__photos { grid-template-columns: 1fr; height: 240px; }
  .hero__photo--main { border-radius: var(--radius-lg); }
  .hero__photo--side { display: none; }
  .section { padding: 48px 0; }
  .section--line .container { padding-top: 48px; }
  .features { grid-template-columns: 1fr; gap: 20px; }
  .notes ul { grid-template-columns: 1fr; }
  .favorite { gap: 10px; padding: 14px; }
  .gallery__nav { opacity: 1; }
  .host-card { grid-template-columns: 1fr 1fr; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery__nav { transition: none; }
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
