/* 구경하는집 오픈 행사 랜딩 — LX하우시스 아줄 구경하는집 랜딩과 같은 구조를 아이비인테리어 색·글꼴로 옮긴다.
   휴대폰 폭 한 열(최대 480px)로만 짠다. 넓은 화면에서도 같은 열을 가운데에 둔다. */
:root {
  --cream: #fbf9f5;
  --paper: #f6f3ec;
  --beige: #ece6db;
  --beige-2: #ddd4c4;
  --line: #e0d8ca;
  --ink: #14130e;
  --ink-2: #48443a;
  --muted: #6b6455;
  --gold: #8c6d36;
  --gold-soft: #f3ecdc;
  --gold-light: #d8b878;
  --deep: #1e1c16;
  --error: #a3261e;
  --serif: "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --sans:
    "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --col: 480px;
  --pad: clamp(16px, 5.2vw, 24px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #e2dbcd;
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure,
fieldset {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
fieldset {
  padding: 0;
  border: 0;
  min-width: 0;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.nowrap {
  white-space: nowrap;
}
.muted {
  color: var(--muted);
  font-weight: 500;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 8px;
}

main,
.footer,
.preview-bar {
  max-width: var(--col);
  margin: 0 auto;
}
main {
  background: var(--cream);
  box-shadow: 0 0 40px rgba(20, 19, 14, 0.06);
}

/* 공개 전 미리보기 띠 */
.preview-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 10px var(--pad);
  background: #fff7e6;
  border-bottom: 1px dashed #c9a24a;
  font-size: 12.5px;
  line-height: 1.5;
  color: #5d4a1c;
}
.preview-bar nav {
  display: flex;
  gap: 6px;
  width: 100%;
}
.preview-bar nav a {
  padding: 3px 10px;
  border: 1px solid #d9c08a;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.preview-bar nav a[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tbd {
  display: inline-block;
  padding: 0 8px;
  border: 1px dashed var(--gold);
  border-radius: 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  vertical-align: middle;
}

/* ── 첫 화면 ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 34px var(--pad) 128px;
  text-align: center;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(255, 255, 255, 0.85) 0 9px,
      transparent 10px
    ),
    radial-gradient(
      circle at 88% 14%,
      rgba(255, 255, 255, 0.8) 0 15px,
      transparent 16px
    ),
    radial-gradient(
      circle at 82% 46%,
      rgba(255, 255, 255, 0.65) 0 7px,
      transparent 8px
    ),
    radial-gradient(
      circle at 16% 56%,
      rgba(255, 255, 255, 0.65) 0 12px,
      transparent 13px
    ),
    linear-gradient(180deg, #efe7d9 0%, #f5efe5 58%, var(--cream) 100%);
}
.hero-logo {
  width: 104px;
  height: auto;
  margin: 0 auto;
}
.hero-kicker {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.hero-rule {
  position: relative;
  width: 168px;
  height: 7px;
  margin: 14px auto 18px;
  border-top: 1px solid var(--beige-2);
  border-bottom: 1px solid var(--beige-2);
}
.hero-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px #f3ecdf;
}
.hero-title {
  font-family: var(--serif);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-title-sm {
  display: block;
  font-size: clamp(21px, 6vw, 27px);
  font-weight: 500;
  color: var(--ink-2);
}
.hero-title-lg {
  display: block;
  margin-top: 6px;
  font-size: clamp(38px, 11.2vw, 52px);
  font-weight: 700;
  color: var(--ink);
}
.hero-offer {
  margin-top: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-offer-lead {
  display: block;
  font-size: clamp(19px, 5.4vw, 24px);
  font-weight: 700;
  color: var(--ink);
}
.hero-offer-strong {
  display: inline-block;
  margin-top: 6px;
  padding: 0 4px;
  font-size: clamp(40px, 12vw, 56px);
  font-weight: 800;
  color: var(--gold);
  background: linear-gradient(transparent 70%, rgba(140, 109, 54, 0.12) 0);
  white-space: nowrap;
}
.hero-closed {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(24px, 7vw, 30px);
  font-weight: 700;
  color: var(--gold);
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(15px, 4.2vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-support {
  margin-top: 2px;
  font-size: clamp(16px, 4.6vw, 19px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}
.hero-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 7px 18px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: clamp(17px, 4.8vw, 20px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-date-label {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 104px;
  fill: #e7decd;
}

/* ── 특징 카드 · 사진 · 신청 단추 ── */
/* 아치 대신 흰 카드 한 장을 금색 가는 선으로 세 칸 나눈 지표 띠(LX 아줄의 아치·모눈과 구별) */
.badges {
  padding: 26px var(--pad) 32px;
  background: var(--beige);
}
.badge-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--gold);
  border-radius: 2px 2px 10px 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 19, 14, 0.06);
  counter-reset: badge;
}
.badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 4px 18px;
  text-align: center;
  counter-increment: badge;
}
.badge::before {
  content: counter(badge, decimal-leading-zero);
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.badge + .badge::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: var(--gold-light);
  opacity: 0.6;
}
.badge-sm {
  font-size: clamp(11.5px, 3.2vw, 13.5px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--muted);
}
.badge-lg {
  font-size: clamp(13.5px, 3.9vw, 17px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.photos {
  margin-top: 22px;
}
.photos-viewport {
  position: relative;
}
.photos-track {
  display: flex;
  overflow-x: auto;
  border-radius: 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.photos-track::-webkit-scrollbar {
  display: none;
}
.photos-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.photos-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photos-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 19, 14, 0.42);
  transform: translateY(-50%);
  cursor: pointer;
}
.photos-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photos-arrow--prev {
  left: 10px;
}
.photos-arrow--prev svg {
  transform: rotate(180deg);
}
.photos-arrow--next {
  right: 10px;
}
.photos-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 8px;
}
.photos-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.photos-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #cbbfa9;
  transition:
    width 0.2s,
    background-color 0.2s;
}
.photos-dot[aria-current="true"]::before {
  width: 22px;
  background: var(--gold);
}
.photos-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-2);
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 19, 14, 0.22);
}
.cta::after {
  content: "›";
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}
.cta:hover {
  background: #2b2920;
}
.cta-main {
  margin-top: 22px;
}

/* ── 공통 구획 ── */
.info,
.perks,
.meet,
.about,
.apply,
.map {
  padding: 40px var(--pad);
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(24px, 6.8vw, 30px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.eyebrow + .section-title {
  margin-top: 6px;
}
.sub-title {
  font-size: clamp(19px, 5.4vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 행사 안내 */
.info-list {
  margin-top: 18px;
  border-top: 2px solid var(--ink);
}
.info-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}
.info-row dt {
  font-weight: 700;
  color: var(--muted);
}
.info-row dd {
  font-weight: 700;
}
.info-row--strong dd {
  font-weight: 800;
}
.info-place {
  display: block;
  font-weight: 800;
}
.info-place-sub {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.info-unit {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(24px, 6.8vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
}
.info-tel {
  color: var(--gold);
  font-weight: 800;
  text-underline-offset: 3px;
}
.info-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-2);
}

/* 오픈 행사 혜택: 어두운 면 */
.perks {
  background: var(--deep);
  color: #ece6d8;
}
.perks .section-title {
  color: #fff;
}
.perks .eyebrow {
  color: var(--gold-light);
}
.perk-main {
  margin-top: 20px;
  padding: 26px 18px 24px;
  border: 1px solid rgba(216, 184, 120, 0.55);
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(216, 184, 120, 0.1),
    rgba(216, 184, 120, 0.02)
  );
}
.perk-main-lead {
  font-size: clamp(17px, 4.8vw, 20px);
  font-weight: 700;
  color: #f2ecdf;
}
.perk-main-strong {
  margin-top: 4px;
  font-size: clamp(44px, 13vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--gold-light);
  white-space: nowrap;
}
.perk-main-desc {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #cfc6b3;
}
.perk-list {
  margin-top: 14px;
}
.perk-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 16px 0;
  border-bottom: 1px solid rgba(236, 230, 216, 0.14);
}
.perk-num {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold-light);
}
.perk-list strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.perk-list span {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  color: #cfc6b3;
}
.perk-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: #a59c89;
}

/* 만나보는 방법 */
.steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.step-num {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--gold);
}
.steps strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}
.steps span {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: var(--ink-2);
}

/* 참여 방식 두 가지 · 9:16 설명 영상(모집 단계, 특징 카드 아래 사진 롤링 자리) */
.types {
  margin-top: 28px;
}
.types-lead {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
}
.type-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.type-tabs button {
  min-height: 46px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 15px/1.2 var(--sans);
  cursor: pointer;
}
.type-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}
.type-tabs button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -5px;
}
.type-desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
}
.type-film {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 9 / 16;
  margin: 14px auto 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f3f1ec;
}
.type-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 자동 재생을 멈추고 다시 트는 단추. 영상 오른쪽 아래(글자가 없는 자리)에 둔다 */
.type-film-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 19, 14, 0.55);
  color: #fbfaf7;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.1em;
  cursor: pointer;
}
.type-film-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.type-note {
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* 아이비인테리어 소개 */
.about {
  border-top: 1px solid var(--line);
}
.about-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.about-list li:first-child {
  margin-top: 8px;
}
.about-tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}
.about-list strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
}
.about-list p {
  margin-top: 2px;
  font-size: 15px;
  color: var(--ink-2);
}
.line-link {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid currentColor;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

/* ── 방문 예약 · 상담 신청 ── */
.apply {
  background: var(--beige);
  scroll-margin-top: 8px;
}
.apply:focus {
  outline: none;
}
.apply-lead {
  margin-top: 8px;
  color: var(--ink-2);
}
.form {
  margin-top: 18px;
  padding: 22px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.form-note {
  font-size: 13px;
  color: var(--ink-2);
}
.field {
  margin-top: 22px;
}
.field-label {
  display: block;
  margin-bottom: 9px;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
}
.req,
.opt {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  vertical-align: 2px;
}
.req {
  background: var(--gold-soft);
  color: var(--gold);
}
.opt {
  background: var(--beige);
  color: var(--muted);
}
.form-note .req,
.consent .req {
  margin: 0 6px 0 0;
}
.input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1.5px solid var(--beige-2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 500 17px/1.4 var(--sans);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder {
  color: #a59c8b;
}
.input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(140, 109, 54, 0.18);
}
.input[aria-invalid="true"] {
  border-color: var(--error);
}
.input--area {
  min-height: 104px;
  resize: vertical;
}
.field-hint {
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.field-error {
  margin-top: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--error);
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips--dates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.chip {
  position: relative;
  display: block;
}
.chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 50px;
  padding: 6px 16px;
  border: 1.5px solid var(--beige-2);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
.seg .chip span {
  min-height: 60px;
}
.chip small {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.chip input:checked + span {
  border-color: var(--gold);
  background: #fbf6ea;
  box-shadow: inset 0 0 0 1px var(--gold);
  color: var(--ink);
}
.chip input:checked + span::before {
  content: "✓";
  font-weight: 800;
  color: var(--gold);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.chip input:disabled + span {
  border-style: dashed;
  background: #f6f2ec;
  color: #b3a998;
  text-decoration: line-through;
  cursor: not-allowed;
}
.chip input[aria-invalid="true"] + span {
  border-color: var(--error);
}
.only[hidden] {
  display: none;
}

/* 선택 칸 + 바텀시트(app.js 가 라디오 목록 위에 덧입힌다. 자바스크립트가 없으면 라디오 단추가 보인다) */
.field.has-picker .chips {
  display: none;
}
.picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1.5px solid var(--beige-2);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font: 500 17px/1.4 var(--sans);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.picker.has-value {
  color: var(--ink);
  font-weight: 700;
}
.picker svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.picker[aria-expanded="true"] {
  border-color: var(--gold);
}
.picker[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.picker:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(140, 109, 54, 0.18);
}
.picker[aria-invalid="true"] {
  border-color: var(--error);
}
html.is-locked,
html.is-locked body {
  overflow: hidden;
}
.sheet {
  position: fixed;
  inset: auto 0 0;
  width: min(100%, var(--col));
  max-width: none;
  max-height: 80vh;
  max-height: min(80dvh, 640px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(20, 19, 14, 0.18);
  transform: translateY(100%);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet.is-open {
  transform: none;
}
.sheet::backdrop {
  background: rgba(20, 19, 14, 0);
  transition: background-color 0.22s;
}
.sheet.is-open::backdrop {
  background: rgba(20, 19, 14, 0.5);
}
.sheet-panel {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet-panel::before {
  content: "";
  flex: 0 0 auto;
  width: 40px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 2px;
  background: var(--beige-2);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px 6px var(--pad);
  border-bottom: 1px solid var(--line);
}
.sheet-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sheet-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.sheet-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.sheet-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 0 14px;
}
.sheet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px var(--pad);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 600 17px/1.4 var(--sans);
  text-align: left;
  cursor: pointer;
}
.sheet-list li:last-child .sheet-option {
  border-bottom: 0;
}
.sheet-option[aria-pressed="true"] {
  background: #fbf6ea;
  font-weight: 800;
}
.sheet-option[aria-pressed="true"]::after {
  content: "✓";
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}
.sheet-option:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}
.sheet-option:disabled {
  color: #b3a998;
  cursor: not-allowed;
}
@media (hover: hover) {
  .sheet-option:not(:disabled):hover {
    background: var(--cream);
  }
}

/* 방문 희망일 달력: 행사 기간 날짜만 라디오가 있고, 나머지 날짜는 흐린 숫자다.
   칸이 44px 이상이 되도록 양식 안쪽 여백을 조금 넘어 넓힌다(360px 화면에서 칸 44px). */
.cal {
  margin: 0 -12px;
  padding: 8px 0 12px;
  border-radius: 12px;
  background: var(--cream);
}
.cal:has(input[aria-invalid="true"]) {
  box-shadow: inset 0 0 0 1.5px var(--error);
}
.cal-head {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
}
.cal-title {
  flex: 1;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.cal-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.cal-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cal-nav:disabled {
  opacity: 0.25;
  cursor: default;
}
.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal-week {
  padding: 2px 0 4px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
}
.cal-grid {
  row-gap: 2px;
}
.cal-grid[hidden] {
  display: none;
}
.cal-week .is-sun,
.cal-day.is-sun {
  color: #b2463a;
}
.cal-week .is-sat,
.cal-day.is-sat {
  color: #3a5f9e;
}
.cal-day {
  position: relative;
  display: grid;
  place-items: center;
  height: 46px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
/* 행사 기간 띠: 주의 첫날·기간 첫날은 왼쪽을, 주의 끝날·기간 끝날은 오른쪽을 숫자 원에 맞춰 둥글게 닫는다 */
.cal-day.is-in::before {
  content: "";
  position: absolute;
  inset: 4px 0;
  background: #f2e9d5;
}
.cal-day.is-in.is-sun::before,
.cal-day.is-in.is-first::before {
  left: calc(50% - 19px);
  border-top-left-radius: 19px;
  border-bottom-left-radius: 19px;
}
.cal-day.is-in.is-sat::before,
.cal-day.is-in.is-last::before {
  right: calc(50% - 19px);
  border-top-right-radius: 19px;
  border-bottom-right-radius: 19px;
}
.cal-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  line-height: 1;
}
.cal-day input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.cal-day.is-off,
.cal-day.is-off.is-sun,
.cal-day.is-off.is-sat,
.cal-day input:disabled + .cal-num {
  color: #c9bfae;
  font-weight: 500;
}
.cal-day input:disabled {
  cursor: not-allowed;
}
.cal-day input:checked + .cal-num {
  background: var(--ink);
  color: #fff;
}
.cal-day input:checked + .cal-num::after {
  content: "✓";
  position: absolute;
  top: -5px;
  right: -6px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.cal-day input:focus-visible + .cal-num {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}
@media (hover: hover) {
  .cal-day input:not(:disabled):not(:checked):hover + .cal-num {
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--gold-light);
  }
}
.cal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  margin: 10px 14px 0;
  font-size: 13.5px;
  color: var(--ink-2);
}
.cal-key::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 10px;
  margin-right: 6px;
  border-radius: 5px;
  background: #f2e9d5;
  vertical-align: -1px;
}
.cal-picked {
  font-weight: 800;
  color: var(--ink);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  margin-top: 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}
.consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
}
.consent-check input {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--ink);
}
.consent-detail {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.consent-detail dl div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
}
.consent-detail dt {
  font-weight: 800;
  color: var(--ink);
}
.consent-detail p {
  margin-top: 8px;
}
.form-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fbeceb;
  color: var(--error);
  font-size: 14px;
  font-weight: 700;
}
.submit {
  display: block;
  width: 100%;
  min-height: 60px;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: 800 18px var(--sans);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 19, 14, 0.2);
}
.submit:disabled {
  opacity: 0.6;
  cursor: progress;
}
.done {
  margin-top: 18px;
  padding: 32px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.done:focus {
  outline: none;
}
.done-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 54px;
}
.done-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}
.done-summary {
  margin-top: 6px;
  font-weight: 800;
  color: var(--gold);
}
.done-info {
  margin: 16px auto 0;
  max-width: 320px;
  text-align: left;
  font-size: 14px;
}
.done-info div {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.done-info dt {
  color: var(--muted);
  font-weight: 700;
}
.done-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.done-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

/* ── 오시는 길 ── */
.map {
  border-top: 1px solid var(--line);
}
.map-lead {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
}
.map-figure {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.sitemap-svg {
  display: block;
  width: 100%;
  height: auto;
}
.map-figure figcaption {
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.map-info {
  margin-top: 16px;
}
.map-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.map-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

/* ── 바닥 ── */
.footer {
  padding: 28px var(--pad) calc(40px + 76px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
}
.footer img {
  width: auto;
  height: 46px;
  margin-bottom: 12px;
}
.footer-biz {
  margin-top: 12px;
}
.footer-biz div {
  display: flex;
  gap: 8px;
}
.footer-biz dt {
  flex: 0 0 auto;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 12px 0 8px;
}
.footer-links a {
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ── 아래 고정 단추: 첫 신청 단추가 지나갔고 신청 양식이 화면에 없을 때만 ── */
.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  width: min(100%, var(--col));
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 245, 0.97);
  border-top: 1px solid var(--line);
  transform: translate(-50%, 115%);
  transition: transform 0.22s ease;
}
.dock.is-on {
  transform: translate(-50%, 0);
}
.dock-tel,
.dock-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}
.dock-tel {
  border: 1.5px solid var(--ink);
  background: #fff;
}
.dock-tel svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.dock-cta {
  background: var(--ink);
  color: #fff;
  font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
  html,
  .photos-track {
    scroll-behavior: auto;
  }
  .dock,
  .photos-dot::before,
  .chip span,
  .picker svg,
  .sheet,
  .sheet::backdrop {
    transition: none;
  }
}
