:root {
  --ink: #17251f;
  --muted: #69736d;
  --paper: #f7f6f1;
  --white: #fff;
  --line: #dfe2dc;
  --green: #174e3a;
  --green-2: #2f6b54;
  --mint: #dceae2;
  --sand: #e9dfca;
  --blue: #dfe8ed;
  --radius: 28px;
  --shadow: 0 22px 60px rgba(28, 45, 37, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px)/2));
  background: rgba(247, 246, 241, .88);
  border-bottom: 1px solid rgba(23, 37, 31, .08);
  backdrop-filter: blur(16px);
}
.brand { height: 52px; display: flex; align-items: center; gap: 3px; padding-right: 13px; overflow: hidden; color: white; background: #1b3819; border-radius: 7px; }
.brand-logo { width: auto; height: 52px; flex: 0 0 auto; }
.branch-name { white-space: nowrap; font-size: 13px; font-weight: 750; letter-spacing: -.02em; }
.header-cta { border: 0; color: white; background: var(--green); border-radius: 999px; padding: 12px 17px; font-weight: 700; cursor: pointer; }

.hero { min-height: 100svh; padding-block: 138px 72px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 18px; color: var(--green-2); font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: .17em; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(44px, 5vw, 76px); line-height: 1.08; letter-spacing: -.055em; font-weight: 500; }
h1 em { color: var(--green); font-style: normal; font-family: Georgia, "Noto Serif KR", serif; font-weight: 500; }
.hero h1 { font-size: clamp(38px, 3.8vw, 54px); letter-spacing: -.065em; }
.hero-title-line { display: block; width: max-content; max-width: none; white-space: nowrap; }
.hero-lead { max-width: 520px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; letter-spacing: -.02em; }
.service-area { max-width: 520px; margin: 12px 0 0; color: #53625a; font-size: 13px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 0 23px; font-weight: 750; cursor: pointer; }
.button.primary { color: white; background: var(--green); box-shadow: 0 10px 30px rgba(23, 78, 58, .18); }
.text-button { gap: 10px; padding-inline: 5px; }
.text-button span { color: var(--green); }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.quick-facts li { min-width: 0; padding-right: 16px; }
.quick-facts strong, .quick-facts span { display: block; }
.quick-facts strong { font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.quick-facts span { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.hero-visual { position: relative; min-width: 0; }
.hero-visual > img { aspect-ratio: 4/5; object-fit: cover; border-radius: 180px 180px 34px 34px; box-shadow: var(--shadow); filter: brightness(1.08) saturate(1.03); }
.availability-card { position: absolute; top: 11%; left: -31px; width: 245px; display: flex; gap: 12px; align-items: center; padding: 17px 18px; border: 1px solid rgba(255,255,255,.75); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 16px 45px rgba(23,37,31,.14); backdrop-filter: blur(10px); }
.availability-card small, .availability-card strong { display: block; }
.availability-card small { color: var(--muted); font-size: 11px; }
.availability-card strong { margin-top: 4px; font-size: 13px; line-height: 1.4; }
.status-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #47a36d; box-shadow: 0 0 0 6px rgba(71,163,109,.13); }
.route-card { position: absolute; right: -22px; bottom: -28px; width: min(390px, 86%); padding: 20px 22px; color: white; background: var(--green); border-radius: 20px; box-shadow: var(--shadow); }
.route-line { height: 16px; display: flex; align-items: center; }
.route-line i { width: 12px; height: 12px; border: 3px solid white; border-radius: 50%; }
.route-line i:last-child { background: white; }
.route-line span { flex: 1; height: 1px; background: rgba(255,255,255,.55); }
.route-labels { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 9px; font-size: 11px; }
.route-labels b { font-size: 12px; }

.space-section { padding: 112px 0 120px; color: white; background: var(--ink); overflow: hidden; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 67px); line-height: 1.08; letter-spacing: -.05em; font-weight: 500; }
.section-heading > p { max-width: 500px; margin: 0 0 5px; color: rgba(255,255,255,.62); font-size: 16px; line-height: 1.75; }
.space-section .eyebrow { color: #98c6ad; }
.gallery-wrap { position: relative; margin-top: 38px; }
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.gallery-tabs::-webkit-scrollbar { display: none; }
.gallery-tabs button { flex: 0 0 auto; min-height: 38px; padding: 0 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.65); background: transparent; cursor: pointer; }
.gallery-tabs button.active { color: var(--ink); border-color: white; background: white; font-weight: 800; }
.gallery { display: flex; gap: 20px; padding: 0 max(20px, calc((100vw - 1180px)/2)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery-card { position: relative; flex: 0 0 min(68vw, 650px); aspect-ratio: 16/10; margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: center; background: #2c3832; }
.gallery-card.portrait { flex-basis: min(39vw, 370px); }
.gallery-card img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-card.lounge-card img { filter: brightness(1.12) saturate(1.02); }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card:after { content: ""; position: absolute; inset: auto 0 0; height: 48%; background: linear-gradient(transparent, rgba(7,18,13,.85)); }
.gallery-card figcaption { position: absolute; z-index: 1; inset: auto 25px 23px; display: flex; gap: 16px; align-items: flex-start; }
.gallery-card figcaption > span { color: #b8cabe; font: 15px Georgia, serif; }
.gallery-card strong, .gallery-card small { display: block; }
.gallery-card strong { font-size: 21px; }
.gallery-card small { margin-top: 6px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.45; }
.gallery-nav { position: absolute; z-index: 3; top: calc(50% - 24px); width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; background: rgba(20,34,28,.72); cursor: pointer; backdrop-filter: blur(8px); }
.gallery-nav.previous { left: max(12px, calc((100vw - 1270px)/2)); }
.gallery-nav.next { right: max(12px, calc((100vw - 1270px)/2)); }

.compare-section { padding: 112px 0 32px; }
.section-heading.compact { color: var(--ink); }
.section-heading.compact > p { color: var(--muted); }
#compare-title { font-size: clamp(34px, 4vw, 52px); }
.compare-title-line { white-space: nowrap; }
.matcher { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 54px; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 50px rgba(25, 45, 36, .05); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 13px; font-size: 13px; font-weight: 750; }
.segmented { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented button { flex: 0 0 auto; min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; color: #59635e; background: white; cursor: pointer; }
.segmented button.active { color: white; border-color: var(--green); background: var(--green); }
.result-bar { display: flex; justify-content: space-between; align-items: baseline; margin: 38px 2px 16px; }
.result-bar p { margin: 0; font-size: 15px; font-weight: 750; }
.result-bar p span { font: 25px Georgia, serif; }
.result-bar small { color: var(--muted); }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.option-card { min-width: 0; display: flex; flex-direction: column; padding: 25px; background: white; border: 1px solid var(--line); border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease, opacity .2s ease; }
.option-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(27,50,39,.1); }
.option-card.filtered-out { display: none; }
.option-top { display: flex; justify-content: space-between; align-items: center; }
.option-icon { color: var(--muted); font: 16px Georgia, serif; }
.badge { padding: 7px 10px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 10px; font-weight: 800; }
.badge.green { background: #e5eedf; }
.badge.blue { background: var(--blue); color: #385568; }
.badge.sand { background: var(--sand); color: #735e32; }
.option-card h3 { margin: 27px 0 7px; font-size: 25px; letter-spacing: -.04em; }
.option-card > p { min-height: 46px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 24px 0 17px; }
.price small { color: var(--muted); }
.price strong { font-size: 24px; letter-spacing: -.04em; }
.price.verbal { min-height: 32px; }
.price.verbal strong { font-size: 20px; }
.price.consult-price { display: grid; gap: 4px; min-height: 58px; align-content: center; }
.price.consult-price small { font-size: 12px; }
.price-toggle { display: flex; width: fit-content; padding: 3px; border-radius: 10px; background: #f1f3ef; }
.price-toggle button { min-width: 52px; padding: 6px 10px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 11px; cursor: pointer; }
.price-toggle button.active { color: var(--green); background: white; box-shadow: 0 3px 10px rgba(30,50,42,.08); font-weight: 800; }
.option-card ul { flex: 1; list-style: none; margin: 18px 0 23px; padding: 17px 0 0; border-top: 1px solid var(--line); }
.option-card li { position: relative; margin: 9px 0; padding-left: 15px; color: #58625d; font-size: 12px; line-height: 1.45; }
.option-card li:before { content: ""; position: absolute; left: 0; top: .52em; width: 5px; height: 5px; border-radius: 50%; background: #80a58f; }
.card-cta { display: flex; align-items: center; justify-content: space-between; min-height: 43px; padding: 0; border: 0; border-top: 1px solid var(--line); color: var(--green); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.card-cta span { font-size: 18px; }
.amenity-strip { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 26px; }
.amenity-strip span { padding: 8px 11px; border: 1px solid #d8ddd7; border-radius: 999px; color: var(--muted); font-size: 11px; }
.channels-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 70px; }
.space-note-card, .contact-card { padding: 42px; border-radius: 28px; }
.space-note-card { background: #e7eee8; }
.space-note-card h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; }
.space-note-card > p:not(.eyebrow) { max-width: 620px; margin: 22px 0; color: #59675f; font-size: 14px; line-height: 1.75; }
.note-link { display: inline-flex; align-items: center; gap: 12px; color: var(--green); font-size: 13px; font-weight: 800; }
.note-link span { font-size: 18px; }
.contact-card { color: white; background: var(--ink); }
.contact-card .eyebrow { color: #9bc5ad; }
.contact-card h3 { margin: 0 0 22px; font-size: 32px; line-height: 1.18; letter-spacing: -.04em; }
.contact-links { display: grid; gap: 8px; }
.contact-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-links span { color: rgba(255,255,255,.58); font-size: 11px; }
.contact-links strong { font-size: 13px; }
.tour-banner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin-top: 78px; padding: 64px; color: white; background: var(--green); border-radius: 32px; }
.tour-banner .eyebrow { color: #a9d0ba; }
.tour-banner h2 { margin: 0; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.08; letter-spacing: -.05em; font-weight: 500; }
.tour-title-line { display: block; width: max-content; white-space: nowrap; }
.tour-banner > div:last-child > p { margin: 0 0 25px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.button.light { color: var(--green); background: white; box-shadow: none; }
footer { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 34px 4px 0; color: var(--muted); font-size: 11px; }
footer div { display: flex; gap: 10px; align-items: baseline; color: var(--ink); }
footer div span { color: var(--muted); }
footer a:hover { color: var(--green); }

.tour-dialog { width: min(590px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: white; box-shadow: 0 30px 100px rgba(10,25,18,.3); }
.tour-dialog::backdrop { background: rgba(10,24,17,.58); backdrop-filter: blur(7px); }
.tour-dialog form { position: relative; padding: 40px; }
.tour-dialog h2 { margin: 0; font-size: 38px; line-height: 1.12; letter-spacing: -.04em; }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f0f2ee; font-size: 24px; cursor: pointer; }
.dialog-intro { margin: 15px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.tour-dialog label { display: grid; gap: 7px; margin: 14px 0; font-size: 12px; font-weight: 750; }
.tour-dialog input, .tour-dialog select, .tour-dialog textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; color: var(--ink); background: #fafbf8; outline: none; }
.tour-dialog input:focus, .tour-dialog select:focus, .tour-dialog textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(47,107,84,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit-preview { width: 100%; margin-top: 10px; }
.preview-result { margin-top: 16px; padding: 17px; border-radius: 14px; background: #edf5f0; }
.preview-result strong { color: var(--green); }
.preview-result p { margin: 7px 0; font-size: 13px; line-height: 1.5; }
.preview-result small { color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 52px; padding-top: 122px; }
  .hero-copy { max-width: 690px; }
  .hero-visual { width: min(660px, 92%); margin-inline: auto; }
  .hero-visual > img { aspect-ratio: 5/4; border-radius: 120px 120px 28px 28px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .matcher { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .channels-panel { grid-template-columns: 1fr; }
  .tour-banner { grid-template-columns: 1fr; gap: 28px; padding: 50px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p:last-child { text-align: right; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 68px; padding-inline: 15px; }
  .brand { height: 42px; padding-right: 9px; border-radius: 6px; }
  .brand-logo { height: 42px; }
  .branch-name { font-size: 11px; }
  .header-cta { padding: 10px 13px; font-size: 11px; }
  .hero { min-height: auto; padding-block: 112px 84px; gap: 46px; }
  h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero h1 { font-size: clamp(30px, 8.9vw, 38px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .button { width: 100%; }
  .quick-facts { margin-top: 32px; }
  .quick-facts strong { font-size: 16px; }
  .quick-facts span { font-size: 10px; }
  .hero-visual { width: 100%; }
  .hero-visual > img { aspect-ratio: 4/5; border-radius: 100px 100px 24px 24px; }
  .availability-card { top: 20px; left: -4px; width: 220px; padding: 13px 14px; }
  .availability-card strong { font-size: 11px; }
  .route-card { right: -4px; bottom: -32px; width: 94%; padding: 17px; }
  .route-labels { font-size: 9px; }
  .route-labels b { font-size: 10px; }
  .space-section, .compare-section { padding-top: 90px; }
  .section-heading h2 { font-size: 42px; }
  #compare-title { font-size: clamp(31px, 8.6vw, 36px); }
  .section-heading > p { font-size: 14px; }
  .gallery { gap: 12px; padding-inline: 14px; }
  .gallery-tabs { width: 100%; padding-inline: 14px; }
  .gallery-card, .gallery-card.portrait { flex-basis: 84vw; aspect-ratio: 4/5; }
  .gallery-card figcaption { inset: auto 18px 18px; }
  .gallery-nav { width: 42px; height: 42px; }
  .matcher { padding: 18px; margin-top: 38px; }
  .segmented { margin-right: -18px; padding-right: 18px; }
  .result-bar { align-items: flex-start; flex-direction: column; gap: 7px; }
  .result-bar small { font-size: 10px; }
  .option-grid { display: flex; gap: 12px; margin-inline: -14px; padding-inline: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .option-grid::-webkit-scrollbar { display: none; }
  .option-card { flex: 0 0 86vw; scroll-snap-align: center; }
  .option-card.filtered-out { display: none; }
  .channels-panel { margin-top: 52px; }
  .space-note-card, .contact-card { padding: 30px 23px; border-radius: 24px; }
  .tour-banner { margin-top: 58px; padding: 34px 24px; border-radius: 25px; }
  .tour-banner h2 { font-size: clamp(22px, 7vw, 27px); }
  footer { grid-template-columns: 1fr; gap: 7px; padding: 28px 3px 0; }
  footer > p { margin: 0; }
  footer > p:last-child { text-align: left; }
  .tour-dialog { border-radius: 24px 24px 0 0; margin: auto 0 0; width: 100%; max-width: none; max-height: 94svh; }
  .tour-dialog form { padding: 34px 20px max(24px, env(safe-area-inset-bottom)); }
  .tour-dialog h2 { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 370px) {
  .brand { height: 36px; padding-right: 8px; }
  .brand-logo { height: 36px; }
  .branch-name { font-size: 10px; }
}

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