/* =========================================================
   스테이연 홍보 홈페이지
   톤: 화이트 풀사이드 · 파스텔 민트 · 햇살 노랑
   토큰은 assets/tokens.css 에서 로드된다.
   ========================================================= */

* {
  box-sizing: border-box;
}

:root {
  --ease-polished: cubic-bezier(0.19, 1, 0.22, 1);
  --motion-medium: 0.42s var(--ease-polished);
  --motion-slow: 0.68s var(--ease-polished);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background:
    radial-gradient(circle at 76% 6%, rgba(165, 241, 233, 0.42), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #ffffff 52%, rgba(255, 246, 191, 0.34) 100%);
}

body {
  margin: 0;
  color: var(--body);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 450;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: linear-gradient(135deg, #a5f1e9, #fff6bf);
  color: var(--ink);
}

/* ---- 밝은 화면의 미세한 질감 ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

/* ---- 페이지 폭 헬퍼 ---- */
.hero,
.section,
.reservation,
.header-inner,
.footer-inner {
  --pad: max(24px, calc((100vw - var(--content-wide)) / 2));
}

/* =========================================================
   헤더
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(165, 241, 233, 0.46));
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 74px;
  padding: 0 var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(127, 233, 222, 0.78);
  background: linear-gradient(135deg, #fff6bf, #ffebad);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.brand-text em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: var(--space-7);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--body);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color var(--motion-medium), transform var(--motion-medium);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(135deg, #a5f1e9, #7fe9de);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-medium);
}

.nav-links a:hover {
  color: var(--green-strong);
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-booking {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #fff6bf, #ffebad);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  transition: background var(--motion-medium), transform var(--motion-medium), box-shadow var(--motion-medium);
}

.nav-booking:hover {
  background: linear-gradient(135deg, #ffebad, #fff6bf);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(255, 235, 173, 0.38);
}

.nav-booking svg {
  width: 16px;
  height: 16px;
  transition: transform var(--motion-medium);
}

.nav-booking:hover svg {
  transform: translate(2px, -2px);
}

/* =========================================================
   버튼
   ========================================================= */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform var(--motion-medium),
    background var(--motion-medium),
    border-color var(--motion-medium),
    color var(--motion-medium),
    box-shadow var(--motion-medium);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.42) 44%, transparent 74%);
  transform: translateX(-120%);
  transition: transform 0.72s var(--ease-polished);
  pointer-events: none;
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform var(--motion-medium);
}

.button:hover {
  transform: translateY(-4px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button:hover svg {
  transform: translateX(3px);
}

.button:focus-visible,
.nav-booking:focus-visible,
.faq-list summary:focus-visible {
  outline: 3px solid rgba(127, 233, 222, 0.64);
  outline-offset: 4px;
}

.button-primary {
  background: linear-gradient(135deg, #7fe9de, #a5f1e9);
  color: var(--on-dark);
  box-shadow: 0 14px 30px rgba(127, 233, 222, 0.36);
}

.button-primary:hover {
  background: linear-gradient(135deg, #a5f1e9, #fff6bf);
  box-shadow: 0 20px 40px rgba(127, 233, 222, 0.42);
}

.button-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-ghost:hover {
  border-color: var(--green);
  color: var(--ink);
}

.button-light {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(12, 48, 51, 0.08);
}

.button-outline {
  background: transparent;
  border-color: rgba(12, 48, 51, 0.22);
  color: var(--on-dark);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(12, 48, 51, 0.32);
}

/* =========================================================
   공통 타이포 / 섹션
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-strong);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--water));
}

.eyebrow-light {
  color: var(--green-strong);
}

.eyebrow-light .eyebrow-dot {
  background: var(--sand);
}

.section {
  padding: clamp(72px, 9vw, 128px) var(--pad);
}

.section-head {
  max-width: 880px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head.narrow {
  max-width: 620px;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-index span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff6bf;
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: 0;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
}

.section-desc {
  margin-top: 18px;
  max-width: 600px;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--muted);
}

/* =========================================================
   히어로
   ========================================================= */
.hero {
  padding: clamp(40px, 6vw, 84px) var(--pad) clamp(56px, 6vw, 80px);
  background:
    radial-gradient(circle at 84% 16%, rgba(165, 241, 233, 0.34), transparent 32%),
    linear-gradient(180deg, rgba(255, 246, 191, 0.18), rgba(255, 255, 255, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
}

h1 .accent {
  color: var(--green-strong);
  position: relative;
}

h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.16em;
  background: var(--water-soft);
  z-index: -1;
}

.hero-lead {
  margin-top: 24px;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.82;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-media img {
  height: clamp(420px, 56vw, 600px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(1.001);
  transition: transform var(--motion-slow), filter var(--motion-slow);
}

.hero-media:hover img {
  transform: scale(1.035) translateY(-4px);
  filter: saturate(1.05);
}

.hero-note {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform var(--motion-medium), box-shadow var(--motion-medium), background var(--motion-medium);
}

.hero-media:hover .hero-note {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 42px rgba(127, 233, 222, 0.26);
}

.hero-note span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.hero-note strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.hero-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #fff6bf, #ffebad);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  transform: rotate(4deg);
  box-shadow: var(--shadow);
  animation: floatTag 5.6s ease-in-out infinite;
}

/* ---- 핵심 정보 스트립 ---- */
.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 5vw, 64px);
}

.summary-strip li {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--motion-medium), box-shadow var(--motion-medium), border-color var(--motion-medium);
}

.summary-strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #7fe9de, #a5f1e9);
  transition: width var(--motion-medium);
}

.summary-strip li:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.summary-strip li:hover::before {
  width: 6px;
}

.summary-strip span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.summary-strip strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

/* =========================================================
   01 · 특징
   ========================================================= */
.intro {
  background: linear-gradient(180deg, #ffffff, rgba(165, 241, 233, 0.16));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--motion-medium), box-shadow var(--motion-medium), border-color var(--motion-medium);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 48px rgba(127, 233, 222, 0.24);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 15px;
  background: linear-gradient(135deg, #a5f1e9, #fff6bf);
  color: var(--green-strong);
  transition: transform var(--motion-medium), box-shadow var(--motion-medium);
}

.feature-card:hover .feature-icon {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 14px 26px rgba(127, 233, 222, 0.26);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.feature-card p {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* =========================================================
   02 · 공간
   ========================================================= */
.space {
  background: linear-gradient(180deg, rgba(165, 241, 233, 0.22), #ffffff);
}

.space-list {
  display: grid;
  gap: clamp(46px, 6vw, 84px);
}

.space-item {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: clamp(26px, 4.6vw, 62px);
  align-items: center;
}

.space-item.reverse .space-media {
  order: 2;
}

.space-item.reverse .space-text {
  order: 1;
}

.space-media {
  position: relative;
  min-width: 0;
  height: clamp(320px, 42vw, 500px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(165, 241, 233, 0.2));
  box-shadow: var(--shadow-lg);
  transition: transform var(--motion-medium), box-shadow var(--motion-medium), border-color var(--motion-medium);
}

.space-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 55, 60, 0), rgba(29, 55, 60, 0.12));
  pointer-events: none;
}

.space-item:hover .space-media {
  transform: translateY(-5px);
  border-color: rgba(127, 233, 222, 0.64);
  box-shadow: 0 30px 68px rgba(127, 233, 222, 0.32);
}

.space-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.74s var(--ease-polished), transform 0.96s var(--ease-polished), filter var(--motion-slow);
}

.space-photo.is-active {
  opacity: 1;
  transform: scale(1.001);
}

.space-item:hover .space-photo.is-active {
  transform: scale(1.052);
  filter: saturate(1.06);
}

.space-photo-count {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  min-width: 58px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.space-text {
  max-width: 460px;
}

.space-num {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--green-soft);
  letter-spacing: 0;
}

.space-text h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: 0;
}

.space-text p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.82;
  color: var(--muted);
}

/* =========================================================
   03 · 공간별 사진
   ========================================================= */
.space-gallery {
  background: linear-gradient(180deg, #ffffff, rgba(165, 241, 233, 0.2));
}

.space-gallery-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  margin-bottom: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.space-gallery-tab {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--motion-medium), background var(--motion-medium), color var(--motion-medium), box-shadow var(--motion-medium);
}

.space-gallery-tab:hover,
.space-gallery-tab:focus-visible {
  color: var(--ink);
  transform: translateY(-2px);
}

.space-gallery-tab:focus-visible {
  outline: 2px solid var(--green-strong);
  outline-offset: 2px;
}

.space-gallery-tab.is-active {
  background: linear-gradient(135deg, #7fe9de, #fff6bf);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(127, 233, 222, 0.28);
}

.space-gallery-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  animation: galleryPanelIn 0.52s var(--ease-polished) both;
}

.space-gallery-panel[hidden] {
  display: none;
}

.space-gallery-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--motion-medium), box-shadow var(--motion-medium), border-color var(--motion-medium);
}

.space-gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 46px rgba(127, 233, 222, 0.24);
}

.space-gallery-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: transform var(--motion-slow), filter var(--motion-slow);
}

.space-gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.space-gallery-card figcaption {
  min-height: 92px;
  padding: 16px 16px 18px;
}

.space-gallery-card span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--green-strong);
}

.space-gallery-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.38;
}

/* =========================================================
   04 · 예약 전 안내
   ========================================================= */
.guide {
  background: linear-gradient(180deg, #ffffff, rgba(255, 246, 191, 0.16));
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--motion-medium), box-shadow var(--motion-medium), border-color var(--motion-medium);
}

.guide-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 46px rgba(127, 233, 222, 0.22);
}

.guide-label {
  align-self: flex-start;
  padding: 5px 12px;
  margin-bottom: auto;
  border-radius: var(--radius-pill);
  background: #fff6bf;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition: background var(--motion-medium), transform var(--motion-medium);
}

.guide-card:hover .guide-label {
  transform: translateY(-2px);
  background: #ffebad;
}

.guide-card h3 {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.36;
  color: var(--ink);
}

.guide-card p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--muted);
}

.guide-card-primary {
  background: linear-gradient(135deg, #a5f1e9, #fff6bf);
  border-color: #7fe9de;
  box-shadow: 0 18px 40px rgba(127, 233, 222, 0.28);
}

.guide-card-primary h3 {
  color: var(--ink);
}

.guide-card-primary p {
  color: var(--body);
}

.guide-card-primary .guide-label {
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

/* =========================================================
   05 · 입실 흐름
   ========================================================= */
.flow {
  background: linear-gradient(135deg, #a5f1e9, #fff6bf);
  color: var(--on-dark);
}

.flow .section-index {
  color: var(--green-strong);
}

.flow .section-index span {
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.flow h2 {
  color: var(--ink);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-step {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.72);
  transition: transform var(--motion-medium), background var(--motion-medium), box-shadow var(--motion-medium);
}

.flow-step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 36px rgba(36, 111, 105, 0.12);
}

.flow-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #ffebad;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  transition: transform var(--motion-medium), box-shadow var(--motion-medium);
}

.flow-step:hover .flow-num {
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(255, 235, 173, 0.46);
}

.flow-step h3 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.flow-step p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--body);
}

/* =========================================================
   06 · FAQ
   ========================================================= */
.faq {
  background: linear-gradient(180deg, rgba(165, 241, 233, 0.18), #ffffff);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq-head {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background var(--motion-medium), border-color var(--motion-medium), box-shadow var(--motion-medium);
}

.faq-list details::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #7fe9de, #fff6bf);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity var(--motion-medium), transform var(--motion-medium);
}

.faq-list details:hover,
.faq-list details[open] {
  background: rgba(255, 255, 255, 0.54);
  border-color: var(--line-strong);
}

.faq-list details[open]::before {
  opacity: 1;
  transform: scaleY(1);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  word-break: keep-all;
  transition: color var(--motion-medium), transform var(--motion-medium);
}

.faq-list summary span {
  transition: transform var(--motion-medium), color var(--motion-medium);
}

.faq-list summary:hover span,
.faq-list details[open] summary span {
  color: var(--green-strong);
  transform: translateX(4px);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--green-strong);
  transition: transform var(--motion-medium), color var(--motion-medium);
}

.faq-list details[open] summary i {
  transform: rotate(45deg);
}

.faq-list p {
  padding: 0 4px 26px;
  margin-top: -4px;
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--muted);
  word-break: keep-all;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--motion-medium), transform var(--motion-medium);
}

.faq-list details[open] p {
  opacity: 1;
  transform: none;
}

/* =========================================================
   07 · 예약 CTA
   ========================================================= */
.reservation {
  padding: 0 var(--pad) clamp(72px, 8vw, 112px);
}

.reservation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px);
  border-radius: var(--radius-lg);
  color: var(--on-dark);
  background: linear-gradient(
      150deg,
      rgba(165, 241, 233, 0.9),
      rgba(255, 246, 191, 0.84)
    ),
    url("assets/photos/hero-pool.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
  transition: transform var(--motion-medium), box-shadow var(--motion-medium), background-position var(--motion-slow);
}

.reservation-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 68px rgba(127, 233, 222, 0.32);
  background-position: center 48%;
}

.reservation-panel h2 {
  margin-top: 16px;
  color: var(--ink);
}

.reservation-panel p {
  margin-top: 18px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
}

.reservation-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px;
}

.reservation-actions .button {
  width: 100%;
}

/* =========================================================
   푸터
   ========================================================= */
.site-footer {
  background: linear-gradient(135deg, #a5f1e9, #ffebad);
  color: var(--body);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding: 38px var(--pad);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand .brand-mark {
  background: var(--sand);
  color: var(--ink);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.footer-brand em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-size: 13.5px;
}

/* =========================================================
   모바일 고정 CTA
   ========================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  z-index: 120;
  left: 16px;
  right: 16px;
  bottom: 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #7fe9de, #a5f1e9);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(127, 233, 222, 0.42);
}

.mobile-cta svg {
  width: 18px;
  height: 18px;
}

@keyframes floatTag {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }
  50% {
    transform: rotate(2deg) translateY(-7px);
  }
}

@keyframes galleryPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   스크롤 리빌 애니메이션
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.88s var(--ease-polished), transform 0.88s var(--ease-polished);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button:hover,
  .feature-card:hover,
  .guide-card:hover,
  .nav-booking:hover {
    transform: none;
  }
}

/* =========================================================
   반응형 — 태블릿
   ========================================================= */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-lead {
    max-width: 540px;
  }

  .summary-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .guide-grid,
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .space-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .space-item.reverse .space-media,
  .space-item.reverse .space-text {
    order: initial;
  }

  .space-media {
    height: clamp(340px, 58vw, 520px);
  }

  .space-gallery-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-head {
    position: static;
  }

  .reservation-panel {
    grid-template-columns: 1fr;
  }

  .reservation-actions {
    min-width: 0;
  }
}

/* =========================================================
   반응형 — 모바일
   ========================================================= */
@media (max-width: 640px) {
  body {
    padding-bottom: 88px;
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .nav-booking {
    min-height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-actions {
    display: none;
  }

  .hero-media img {
    height: 340px;
  }

  .hero-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 13px 16px;
  }

  .summary-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .summary-strip li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
  }

  .summary-strip strong {
    margin-top: 0;
  }

  .feature-grid,
  .guide-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .space-list {
    gap: 42px;
  }

  .space-media {
    height: 340px;
  }

  .space-photo-count {
    right: 14px;
    bottom: 14px;
  }

  .space-gallery-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    border-radius: var(--radius);
  }

  .space-gallery-tab {
    min-width: 0;
    padding: 0 10px;
    font-size: 13px;
  }

  .space-gallery-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .space-gallery-card figcaption {
    min-height: 0;
  }

  .guide-card {
    min-height: 0;
  }

  .guide-card h3 {
    margin-top: 22px;
  }

  .reservation-actions {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-meta {
    text-align: left;
  }

  .mobile-cta {
    display: inline-flex;
  }
}
