/* ============================================================
   SOUL HOME THAI — MIDNIGHT BATHHOUSE / EDITORIAL ROUTE MAP
   ============================================================ */

:root {
  --ink: #061410;
  --ink-2: #091d18;
  --ink-3: #0d2820;
  --paper: #f3f1e8;
  --paper-soft: #c9d2ca;
  --muted: #91a49b;
  --mint: #83e0c2;
  --mint-pale: #d9fff2;
  --coral: #ff8b68;
  --line: rgba(131, 224, 194, .18);
  --line-soft: rgba(243, 241, 232, .09);
  --frame: 73.75rem;
  --serif: "Hahmlet", "Noto Serif KR", serif;
  --body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mx: 50%;
  --my: 18%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body, h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }

body {
  min-width: 20rem;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(131, 224, 194, .105), transparent 26rem),
    var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .035;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.52) 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(255,255,255,.26) 6px);
  mix-blend-mode: soft-light;
}

::selection { color: var(--ink); background: var(--mint); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }

.naver-carousel-dom {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.stage {
  position: relative;
  min-height: 100dvh;
}

.frame {
  position: relative;
  width: min(100%, var(--frame));
  min-height: 100dvh;
  margin-inline: auto;
  overflow: clip;
  background:
    linear-gradient(90deg, transparent calc(25% - .5px), var(--line-soft) 25%, transparent calc(25% + .5px)),
    linear-gradient(90deg, transparent calc(75% - .5px), var(--line-soft) 75%, transparent calc(75% + .5px)),
    var(--ink);
  border-inline: 1px solid var(--line-soft);
  isolation: isolate;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.frame::before {
  top: 8rem;
  right: -16rem;
  width: 38rem;
  height: 38rem;
  box-shadow: 0 0 0 5rem rgba(131,224,194,.015), 0 0 0 10rem rgba(131,224,194,.01);
  animation: orbitDrift 13s ease-in-out infinite alternate;
}

.frame::after {
  top: 37rem;
  left: -9rem;
  width: 17rem;
  height: 17rem;
  border-color: rgba(255,139,104,.18);
  animation: orbitDrift 10s ease-in-out -4s infinite alternate-reverse;
}

@keyframes orbitDrift {
  to { transform: translate3d(2rem, 3rem, 0) rotate(8deg) scale(1.04); }
}

/* ---------- progress + side rails ---------- */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--mint), var(--coral));
  box-shadow: 0 0 1rem rgba(131,224,194,.6);
}

.rail { display: none; }

@media (min-width: 86rem) {
  .rail {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 12;
    width: calc((100vw - var(--frame)) / 2);
    min-width: 5rem;
    align-items: center;
    justify-content: center;
  }
  .rail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,20,16,.2), rgba(6,20,16,.76));
    backdrop-filter: saturate(.7);
  }
  .rail--left {
    left: 0;
    background: url(/assets/images/rail-left.webp) center / cover no-repeat;
  }
  .rail--right {
    right: 0;
    background: url(/assets/images/rail-right.webp) center / cover no-repeat;
  }
  .rail-track,
  .rail-actions { position: relative; z-index: 2; }
  .rail-track { height: 100%; overflow: hidden; }
  .rail-vtext {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    animation: vmarq 28s linear infinite;
  }
  .rail-vtext span {
    writing-mode: vertical-rl;
    white-space: nowrap;
    color: rgba(243,241,232,.62);
    font: 500 .68rem / 1 var(--mono);
    letter-spacing: .32em;
  }
  .rail-vtext i { color: var(--mint); font-style: normal; }
  .rail-actions { display: grid; gap: .9rem; justify-items: center; }
  .rail-btn {
    display: grid;
    width: 4.8rem;
    height: 4.8rem;
    place-items: center;
    align-content: center;
    gap: .05rem;
    color: var(--paper);
    background: rgba(6,20,16,.72);
    border: 1px solid rgba(131,224,194,.3);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    font-size: .67rem;
    font-weight: 700;
    transition: transform .35s var(--ease), color .35s, background .35s;
  }
  .rail-btn b { color: var(--mint); font: 500 1rem var(--mono); }
  .rail-btn:hover { transform: translateY(-4px) rotate(-4deg); color: var(--ink); background: var(--mint); }
  .rail-btn:hover b { color: var(--ink); }
  .rail-lotus { width: 3.4rem; margin-top: .6rem; opacity: .7; animation: slowFloat 6s ease-in-out infinite; }
  @keyframes vmarq { to { transform: translateY(-50%); } }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: .9rem clamp(1.1rem, 4vw, 3.5rem);
  background: rgba(6,20,16,.74);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px) saturate(1.15);
}

.brand { display: inline-flex; }
.brand img { width: 10.5rem; height: 2.125rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(.85rem, 2.5vw, 2rem); }
.site-header nav a {
  position: relative;
  color: var(--paper-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.45rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--mint);
  transition: transform .35s var(--ease);
}
.site-header nav a:hover { color: var(--paper); }
.site-header nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--mint);
  font: 500 .68rem / 1.2 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; }

.hero h1,
.page-hero h1,
.sec-head h2,
.hub-banner h2,
.guide-intro h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.035em;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero h1 .ln,
.page-hero h1 .ln,
.guide-intro h2 span { display: block; overflow: hidden; }
.hero h1 .ch,
.page-hero h1 .ch { display: inline-block; will-change: transform, opacity; }
.hero h1 em,
.page-hero h1 em { color: var(--mint); font-style: normal; }
.hero-sub,
.sec-head p,
.flow-step p,
.local-guide p,
.site-footer p { text-wrap: pretty; }

/* ---------- home + region hero ---------- */
.hero,
.page-hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 4.5rem) clamp(4rem, 7vw, 6.5rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(22rem, .98fr);
  grid-template-rows: auto auto auto auto auto;
  align-items: center;
  column-gap: clamp(2rem, 5vw, 5.75rem);
  min-height: min(52rem, calc(100dvh - 4.75rem));
}

.hero > :not(.hero-figure, .hero-thai) { grid-column: 1; }
.hero .eyebrow { align-self: end; }
.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(3rem, 5.3vw, 5.8rem);
  line-height: 1.08;
}
.hero-sub {
  max-width: 38rem;
  margin-top: 1.4rem;
  color: var(--paper-soft);
  font-size: clamp(.92rem, 1.3vw, 1.05rem);
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.btn {
  position: relative;
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.35rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  transition: transform .35s var(--ease), box-shadow .35s, color .35s, border-color .35s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-105%) skewX(-18deg);
  background: rgba(255,255,255,.32);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(110%) skewX(-18deg); }
.btn:hover { transform: translateY(-3px); }
.btn--gold { color: var(--ink); background: var(--mint); box-shadow: 0 .75rem 2rem rgba(131,224,194,.18); }
.btn--gold:hover { box-shadow: 0 1rem 2.5rem rgba(131,224,194,.3); }
.btn--ghost { color: var(--paper); border-color: var(--line); background: rgba(255,255,255,.02); }
.btn--ghost:hover { color: var(--coral); border-color: var(--coral); }

.hero-kws {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.4rem;
}
.hero-kws span {
  padding: .38rem .75rem;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font: 500 .68rem / 1.3 var(--mono);
}
.hero-kws span:first-child { color: var(--mint); border-color: var(--line); }

.hero-figure {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
  max-width: 31rem;
  justify-self: end;
  overflow: hidden;
  background: var(--ink-3);
  clip-path: polygon(9% 0, 100% 0, 100% 92%, 86% 100%, 0 100%, 0 8%);
}
.hero-figure::before {
  content: "SOUL / 24";
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  color: var(--paper);
  font: 500 .64rem / 1 var(--mono);
  letter-spacing: .2em;
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5.35;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
  filter: saturate(.78) contrast(1.05);
  will-change: transform, clip-path;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(6,20,16,.86));
}
.hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: var(--paper);
  border-top: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(7px);
}
.hero-note strong { color: var(--mint-pale); font-size: .83rem; }
.hero-note span { color: rgba(255,255,255,.66); font-size: .7rem; }
.hero-thai {
  position: absolute;
  top: 1rem;
  left: clamp(1.25rem, 5vw, 4.5rem);
  z-index: -1;
  color: transparent;
  font: 600 clamp(6rem, 16vw, 13rem) / .8 var(--serif);
  letter-spacing: -.08em;
  -webkit-text-stroke: 1px rgba(131,224,194,.09);
  user-select: none;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .78fr);
  grid-template-rows: auto auto auto auto;
  align-items: center;
  column-gap: clamp(2rem, 6vw, 6rem);
  min-height: 42rem;
}
.page-hero > :not(.hero-figure) { grid-column: 1; }
.page-hero h1 { margin-top: 1.2rem; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 1.09; }
.page-hero .hero-figure { grid-column: 2; grid-row: 1 / span 4; max-width: 27rem; }
.page-hero .hero-figure img { aspect-ratio: 4 / 5; }
.page-district .page-hero .hero-figure { clip-path: polygon(0 0, 91% 0, 100% 9%, 100% 100%, 9% 100%, 0 91%); }
.page-dong .page-hero .hero-figure { clip-path: ellipse(49% 48% at 50% 50%); }
.page-dong .page-hero .hero-figure::after { background: radial-gradient(circle, transparent 45%, rgba(6,20,16,.8)); }

/* ---------- ticker ---------- */
.marquee {
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  background: var(--mint);
  color: var(--ink);
  transform: rotate(-1deg) scale(1.02);
}
.marquee-inner { display: flex; width: max-content; animation: marq 28s linear infinite; }
.marquee-inner span {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  white-space: nowrap;
  font: 600 .72rem / 1 var(--mono);
  letter-spacing: .16em;
}
.marquee-inner i { color: #cf4e34; font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- section rhythm ---------- */
main > section:not(.hero, .page-hero),
.hub-metro {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8.5rem) clamp(1.25rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line-soft);
}
.sec-head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3.6rem); }
.sec-head h2 { margin-top: 1rem; font-size: clamp(2rem, 4.1vw, 4rem); line-height: 1.12; }
.sec-head p { max-width: 37rem; margin-top: 1rem; color: var(--muted); font-size: .94rem; line-height: 1.85; }

[data-rv] { will-change: transform, opacity, filter; }
.js [data-rv], .js [data-rv-group] > * { opacity: 0; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat { position: relative; min-height: 9.5rem; padding: 1.5rem 1.4rem; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 2px; background: var(--coral); }
.stat b { display: block; color: var(--mint); font: 600 clamp(2rem, 3.5vw, 3.7rem) / 1 var(--serif); }
.stat b small { margin-left: .15em; font: 500 .7rem / 1 var(--mono); letter-spacing: .08em; }
.stat span { display: block; margin-top: 1rem; color: var(--muted); font-size: .76rem; font-weight: 700; }

/* ---------- area cards ---------- */
.scroll-cue { display: none; }
.area-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.area-card { --lift: 0rem; position: relative; min-width: 0; overflow: hidden; background: var(--ink-2); transform: translateY(var(--lift)) perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transform-style: preserve-3d; transition: transform .25s ease; }
.area-card:nth-child(2), .area-card:nth-child(5) { --lift: 1.75rem; }
.area-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.62) contrast(1.06); transition: transform .8s var(--ease), filter .5s; }
.area-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,20,16,.92)); transition: opacity .4s; }
.area-card figcaption { position: absolute; right: 1.25rem; bottom: 1.2rem; left: 1.25rem; z-index: 2; }
.area-card strong { display: block; color: var(--paper); font: 600 1.3rem / 1.3 var(--serif); }
.area-card em { display: block; margin-top: .3rem; color: rgba(243,241,232,.62); font: 400 .68rem / 1.5 var(--mono); font-style: normal; }
.area-card:hover img { transform: scale(1.075); filter: saturate(1) contrast(1.04); }
.chip-live {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .65rem;
  color: var(--mint-pale);
  background: rgba(6,20,16,.68);
  border: 1px solid rgba(131,224,194,.3);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: .64rem;
  font-weight: 700;
}
.chip-live::before { content: ""; width: .35rem; height: .35rem; border-radius: 50%; background: var(--mint); animation: blink 1.7s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .28; box-shadow: 0 0 0 .35rem rgba(131,224,194,.08); } }

/* ---------- prices ---------- */
#price { background: var(--paper); color: var(--ink); }
#price .eyebrow { color: #276b59; }
#price .sec-head p { color: #53635d; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(6,20,16,.16); border: 1px solid rgba(6,20,16,.16); }
.price-card { --lift: 0px; position: relative; min-height: 25rem; padding: 1.7rem 1.4rem; overflow: hidden; background: #eeece2; transform: translateY(var(--lift)) perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: background .4s, color .4s, transform .25s var(--ease); transform-style: preserve-3d; }
.price-card::after { content: "0" counter(card); position: absolute; right: .6rem; bottom: -.55rem; color: rgba(6,20,16,.05); font: 600 8rem / 1 var(--serif); }
.price-card:nth-child(1) { counter-reset: card 1; }
.price-card:nth-child(2) { counter-reset: card 2; }
.price-card:nth-child(3) { counter-reset: card 3; }
.price-card:nth-child(4) { counter-reset: card 4; }
.price-card:hover { --lift: -8px; z-index: 1; color: var(--paper); background: var(--ink-3); }
.price-card > i { display: block; color: #276b59; font: 400 1.5rem / 1 var(--serif); font-style: normal; }
.price-card:hover > i { color: var(--mint); }
.price-card h3 { margin-top: 2.4rem; font: 600 1.25rem / 1.3 var(--serif); }
.price-card > p { min-height: 4.5rem; margin-top: .7rem; color: #68756f; font-size: .78rem; line-height: 1.65; }
.price-card:hover > p { color: var(--paper-soft); }
.price-lines { display: grid; gap: .75rem; margin-top: 1.6rem; }
.price-lines span { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; padding-bottom: .55rem; border-bottom: 1px solid rgba(6,20,16,.13); font-size: .8rem; }
.price-card:hover .price-lines span { border-color: var(--line-soft); }
.price-lines b { color: #68756f; font-weight: 600; }
.price-card:hover .price-lines b { color: var(--muted); }
.price-lines strong { color: #165c4b; font-size: .87rem; }
.price-card:hover .price-lines strong { color: var(--mint); }
.price-note { margin-top: 1.2rem; color: #5f6d67; font-size: .74rem; }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.flow-step { position: relative; min-height: 15rem; padding: 1.7rem 1.3rem; border-right: 1px solid var(--line-soft); }
.flow-step:last-child { border-right: 0; }
.flow-step::after { content: ""; position: absolute; right: 1.25rem; bottom: 1.25rem; width: .55rem; height: .55rem; border: 1px solid var(--mint); border-radius: 50%; box-shadow: 0 0 0 0 rgba(131,224,194,.25); animation: dotPulse 2.4s ease-out infinite; }
.flow-step:nth-child(2)::after { animation-delay: .6s; }
.flow-step:nth-child(3)::after { animation-delay: 1.2s; }
.flow-step:nth-child(4)::after { animation-delay: 1.8s; }
.flow-step h3 { display: grid; gap: 2.4rem; font: 600 1.05rem / 1.4 var(--serif); }
.flow-step h3 small { color: var(--coral); font: 500 .65rem / 1 var(--mono); letter-spacing: .16em; }
.flow-step p { margin-top: .75rem; color: var(--muted); font-size: .8rem; line-height: 1.75; }
@keyframes dotPulse { 70% { box-shadow: 0 0 0 .8rem rgba(131,224,194,0); } }

/* ---------- consultation ---------- */
.consult-section {
  display: grid;
  grid-template-columns: minmax(17rem, .7fr) minmax(0, 1.3fr);
  grid-template-areas: "head chat" "head checks";
  gap: 2.4rem 5rem;
  background: linear-gradient(135deg, rgba(131,224,194,.055), transparent 45%);
}
.consult-section .sec-head { grid-area: head; margin: 0; position: sticky; top: 7rem; align-self: start; }
.chat { grid-area: chat; display: grid; gap: .8rem; }
.bubble { max-width: 84%; padding: 1.15rem 1.3rem; font-size: .86rem; line-height: 1.7; }
.bubble small { display: block; margin-top: .55rem; color: var(--muted); font: 500 .62rem / 1 var(--mono); letter-spacing: .1em; }
.bubble--in { justify-self: start; background: var(--paper); color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 100%, 1rem 100%, 0 calc(100% - 1rem)); }
.bubble--in small { color: #627169; }
.bubble--out { justify-self: end; background: var(--ink-3); border: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 0 100%); }
.check-grid { grid-area: checks; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.check-item { min-height: 8rem; padding: 1.2rem; background: var(--ink); }
.check-item small { display: block; color: var(--coral); font: 500 .61rem / 1 var(--mono); letter-spacing: .12em; }
.check-item strong { display: block; margin-top: 1.5rem; font: 600 .96rem / 1.4 var(--serif); }

/* ---------- faq ---------- */
#faq { display: grid; grid-template-columns: minmax(17rem, .7fr) minmax(0, 1.3fr); gap: 5rem; }
#faq .sec-head { margin: 0; }
.faq { display: grid; align-content: start; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.45rem 3.5rem 1.45rem 0; cursor: pointer; list-style: none; font-size: .92rem; font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 1.2rem; right: .3rem; color: var(--mint); font: 400 1.4rem / 1 var(--mono); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--coral); }
.faq details p { max-width: 40rem; padding: 0 3rem 1.5rem 0; color: var(--muted); font-size: .83rem; line-height: 1.85; }

/* ---------- breadcrumbs + region links ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: .45rem; padding: 1.4rem clamp(1.25rem,5vw,4.5rem) 0; color: var(--muted); font: 500 .64rem / 1.4 var(--mono); letter-spacing: .06em; }
.crumb a:hover { color: var(--mint); }
.crumb b { color: var(--paper); font-weight: 500; }
.region-lead { padding-top: 2.4rem !important; padding-bottom: 2.4rem !important; background: var(--ink-2); }
.region-lead .hero-sub { margin: 0; padding-left: clamp(1.2rem, 5vw, 4rem); border-left: 2px solid var(--coral); }
.sub-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.sub-links a { padding: .55rem .85rem; color: var(--paper-soft); border: 1px solid var(--line-soft); border-radius: 999px; font-size: .76rem; font-weight: 700; transition: color .3s, border-color .3s, background .3s, transform .3s; }
.sub-links a:hover { color: var(--ink); background: var(--mint); border-color: var(--mint); transform: translateY(-2px); }
.sub-links a.hot { color: var(--mint); border-color: rgba(131,224,194,.36); }

/* ---------- local guide ---------- */
.local-guide { display: grid; grid-template-columns: minmax(15rem, .62fr) minmax(0, 1.38fr); gap: 4rem 5rem; background: var(--ink-2); }
.guide-intro { align-self: start; }
.guide-intro h2 { margin-top: 1rem; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.15; }
.guide-intro p { margin-top: 1rem; color: var(--muted); font-size: .86rem; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.guide-grid article,
.guide-cta { min-height: 16rem; padding: 1.4rem; background: var(--ink); }
.guide-grid small,
.guide-cta small { display: block; color: var(--coral); font: 500 .62rem / 1 var(--mono); letter-spacing: .12em; }
.guide-grid h3 { margin-top: 3rem; font: 600 1.08rem / 1.4 var(--serif); }
.guide-grid p { margin-top: .7rem; color: var(--muted); font-size: .78rem; line-height: 1.75; }
.guide-cta { display: flex; flex-direction: column; color: var(--ink); background: var(--mint); transition: background .35s, transform .35s var(--ease); }
.guide-cta small { color: #1e6653; }
.guide-cta strong { margin-top: auto; font: 600 1.45rem / 1.35 var(--serif); }
.guide-cta span { margin-top: 1rem; font-size: .73rem; font-weight: 800; }
.guide-cta:hover { background: var(--coral); transform: translate(-4px,-4px); }
.guide-neighbors { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.guide-neighbors > span { color: var(--mint); font: 500 .62rem / 1 var(--mono); letter-spacing: .14em; }
.guide-neighbors > p { margin-top: .55rem; color: var(--muted); font-size: .78rem; }
.guide-neighbors > div { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.guide-neighbors a { padding: .4rem .7rem; border-bottom: 1px solid var(--line); color: var(--paper-soft); font-size: .73rem; transition: color .25s; }
.guide-neighbors a:hover { color: var(--mint); }

/* ---------- area index ---------- */
.page-areas .page-hero { display: block; min-height: auto; padding-bottom: 3rem !important; }
.page-areas .page-hero h1 { max-width: 58rem; }
.page-areas .page-hero .hero-sub { max-width: 42rem; }
.hub-metro { counter-increment: metro; }
.hub-metro > h2 { display: flex; align-items: baseline; gap: 1rem; color: var(--mint); font: 600 clamp(2rem,4vw,3.8rem) / 1.1 var(--serif); }
.hub-metro > h2::before { content: "0" counter(metro); color: var(--coral); font: 500 .7rem / 1 var(--mono); }
.hub-metro > h2 small { color: var(--muted); font: 500 .62rem / 1 var(--mono); letter-spacing: .13em; }
.hub-dist { display: grid; grid-template-columns: minmax(9rem,.3fr) minmax(0,1.7fr); gap: 2rem; margin-top: 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--line-soft); }
.hub-dist h3 { font: 600 .95rem / 1.5 var(--serif); }
.hub-dist h3 a { border-bottom: 1px solid var(--mint); }
.hub-dist .sub-links { align-items: flex-start; }

/* ---------- conversion banner ---------- */
.hub-banner {
  position: relative;
  margin-inline: clamp(1.25rem,5vw,4.5rem);
  padding: clamp(3rem,6vw,5.5rem);
  overflow: hidden;
  color: var(--ink);
  background: var(--mint);
  clip-path: polygon(0 0, 96% 0, 100% 18%, 100% 100%, 4% 100%, 0 82%);
}
.hub-banner::after { content: "24"; position: absolute; right: 1rem; bottom: -3.3rem; color: rgba(6,20,16,.08); font: 600 13rem / 1 var(--serif); }
.hub-banner .eyebrow { color: #1f6a57; }
.hub-banner h2 { position: relative; z-index: 1; max-width: 42rem; margin-top: 1.2rem; font-size: clamp(2.2rem,4.6vw,4.6rem); line-height: 1.1; }
.hub-banner p { position: relative; z-index: 1; max-width: 36rem; margin: 1rem 0 1.7rem; color: #315e51; font-size: .86rem; }
.hub-banner .btn--gold { position: relative; z-index: 2; color: var(--paper); background: var(--ink); box-shadow: none; }

/* ---------- footer + persistent call ---------- */
.site-footer { padding: 4.5rem clamp(1.25rem,5vw,4.5rem) 8.5rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .76rem; }
.foot-brand { color: var(--paper); font: 600 1.2rem / 1.3 var(--serif); }
.foot-tel { display: inline-block; margin-top: 1rem; color: var(--mint); font: 600 clamp(1.5rem,3vw,2.6rem) / 1.2 var(--serif); }
.site-footer > p { max-width: 38rem; margin-top: .85rem; line-height: 1.75; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 1.6rem; }
.site-footer nav a:hover { color: var(--mint); }
.callbar {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 70;
  display: inline-flex;
  min-height: 3.7rem;
  align-items: center;
  gap: .65rem;
  padding: .8rem 1.3rem;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.36), 0 0 0 0 rgba(131,224,194,.26);
  font-size: .83rem;
  font-weight: 900;
  animation: callPulse 2.8s ease-out infinite;
  transition: transform .25s var(--ease), background .25s;
  will-change: transform;
}
.callbar:hover { background: var(--coral); transform: translateY(-4px); }
.callbar b { font-size: 1rem; }
@keyframes callPulse { 70% { box-shadow: 0 1rem 3rem rgba(0,0,0,.36), 0 0 0 .9rem rgba(131,224,194,0); } }
@keyframes slowFloat { 50% { transform: translateY(-8px) rotate(2deg); } }

@media (min-width: 75rem) {
  .callbar {
    right: 0;
    bottom: 3rem;
    width: 3.45rem;
    min-height: 14rem;
    padding: 1rem .55rem;
    flex-direction: column;
    border-right: 0;
    border-radius: 1.5rem 0 0 1.5rem;
    font-size: .68rem;
    letter-spacing: .04em;
    line-height: 1.45;
    writing-mode: vertical-rl;
  }
}

@media (min-width: 47rem) and (max-width: 74.99rem) {
  .callbar { width: 4rem; height: 4rem; min-height: 4rem; padding: 0; font-size: 0; }
  .callbar::after { content: "상담"; font-size: .64rem; }
}

/* ---------- info pages ---------- */
.page-info .page-hero { display: block; min-height: auto; padding-bottom: 2rem; }
.page-info main > section:not(.page-hero) { max-width: 58rem; border-top: 0; }
.page-info main > section:not(.page-hero) .hero-sub { color: var(--paper-soft); }

/* ---------- tablet ---------- */
@media (max-width: 60rem) {
  .frame { background: var(--ink); border: 0; }
  .hero,
  .page-hero { grid-template-columns: minmax(0,1fr) minmax(17rem,.78fr); column-gap: 2rem; }
  .hero h1 { font-size: clamp(3rem,7vw,4.6rem); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card { min-height: 22rem; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .consult-section,
  #faq,
  .local-guide { grid-template-columns: 1fr; grid-template-areas: none; gap: 2.8rem; }
  .consult-section .sec-head { grid-area: auto; position: static; }
  .chat { grid-area: auto; }
  .check-grid { grid-area: auto; }
  .guide-neighbors { grid-column: auto; }
}

@media (max-width: 85.99rem) {
  .hero-note { display: none; }
}

/* ---------- mobile composition ---------- */
@media (max-width: 46rem) {
  .site-header { min-height: 4.25rem; padding: .75rem 1rem; }
  .brand img { width: 9.4rem; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .68rem; }
  .site-header nav a:nth-child(3),
  .site-header nav a:nth-child(4) { display: none; }

  .hero,
  .page-hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 3.6rem 1.1rem 4.2rem;
  }
  .hero .eyebrow,
  .page-hero .eyebrow { order: 1; }
  .hero h1,
  .page-hero h1 { order: 2; margin-top: 1rem; font-size: clamp(2.65rem,12.2vw,3.65rem); line-height: 1.12; }
  .hero .hero-sub,
  .page-hero .hero-sub { order: 3; margin-top: 1rem; font-size: .88rem; line-height: 1.78; }
  .hero-actions { order: 4; margin-top: 1.5rem; }
  .hero-kws { order: 6; margin-top: 1rem; }
  .hero-figure,
  .page-hero .hero-figure { order: 5; width: calc(100% + 1.1rem); max-width: none; margin: 2rem -1.1rem 0 0; align-self: flex-end; clip-path: polygon(8% 0,100% 0,100% 92%,91% 100%,0 100%,0 8%); }
  .hero-figure img,
  .page-hero .hero-figure img { aspect-ratio: 4 / 4.9; object-position: center 35%; }
  .hero-thai { top: 2rem; left: .7rem; font-size: 7rem; }
  .hero-note { right: .7rem; bottom: .7rem; left: .7rem; padding: .8rem; }
  .hero-note span { max-width: 7.5rem; text-align: right; }
  .btn { min-height: 3rem; padding: .75rem 1rem; font-size: .77rem; }
  .marquee { transform: rotate(-1.5deg) scale(1.03); }

  main > section:not(.hero, .page-hero),
  .hub-metro { padding: 4.6rem 1.1rem; }
  .sec-head { margin-bottom: 2rem; }
  .sec-head h2 { font-size: 2.35rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 8rem; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .stat b { font-size: 2.35rem; }

  .scroll-cue { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; color: var(--muted); font: 500 .63rem / 1 var(--mono); letter-spacing: .08em; }
  .scroll-cue b { color: var(--mint); animation: cueNudge 1.4s ease-in-out infinite; }
  @keyframes cueNudge { 50% { transform: translateX(6px); } }
  .area-slider { display: flex; gap: .7rem; margin-inline: -1.1rem; padding: 0 1.1rem 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; background: transparent; scrollbar-width: none; }
  .area-slider::-webkit-scrollbar { display: none; }
  .area-card { flex: 0 0 76vw; scroll-snap-align: start; }
  .area-card:nth-child(2), .area-card:nth-child(5) { --lift: 0rem; }
  .area-card img { aspect-ratio: 4 / 4.8; }

  .price-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .price-card > p { min-height: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { min-height: 11.5rem; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .flow-step:last-child { border-bottom: 0; }
  .flow-step h3 { gap: 1.7rem; }
  .bubble { max-width: 92%; padding: 1rem; font-size: .8rem; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .check-item { min-height: 7.4rem; padding: 1rem; }
  .check-item strong { margin-top: 1.2rem; font-size: .88rem; }
  #faq { gap: 2.2rem; }
  .faq summary { font-size: .86rem; }

  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid article,
  .guide-cta { min-height: 13rem; }
  .guide-grid h3 { margin-top: 2rem; }
  .hub-banner { margin-inline: 1.1rem; padding: 3.4rem 1.5rem; clip-path: polygon(0 0,94% 0,100% 9%,100% 100%,6% 100%,0 91%); }
  .hub-banner h2 { font-size: 2.45rem; }
  .hub-banner::after { right: -.5rem; bottom: -2rem; font-size: 9rem; }

  .crumb { padding: 1rem 1.1rem 0; }
  .region-lead .hero-sub { padding-left: 1rem; }
  .hub-metro > h2 { flex-wrap: wrap; font-size: 2.4rem; }
  .hub-dist { display: block; }
  .hub-dist .sub-links { margin-top: 1rem; }
  .callbar { right: .7rem; bottom: max(.7rem, env(safe-area-inset-bottom)); left: .7rem; justify-content: center; }
  .site-footer { padding-bottom: 7.5rem; }
}

@media (max-width: 23rem) {
  .site-header nav a:nth-child(2) { display: none; }
  .hero h1,
  .page-hero h1 { font-size: 2.5rem; }
  .hero-actions .btn { width: 100%; }
  .check-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-rv], .js [data-rv-group] > * { opacity: 1; }
  .area-card:nth-child(2), .area-card:nth-child(5) { --lift: 0rem; }
}
