@charset "UTF-8";

/* ============================================================
   마사지달인 부산광안리점 — style.css
   테마: 광안리 바다 + 스파 (딥 제이드 / 웜 샌드 / 앰버)
   ============================================================ */

/* ------------------------------------------------------------
   1. :root — 디자인 토큰
------------------------------------------------------------ */
:root {
  /* 색상 */
  --color-primary: #14514a;
  --color-primary-dark: #0c3833;
  --color-primary-soft: #2d7c70;
  --color-accent: #c3873c;
  --color-accent-soft: #e0b177;

  --color-sand: #f7f2e9;
  --color-sand-deep: #ece2d2;
  --color-surface: #ffffff;

  --color-ink: #1b2422;
  --color-body: #414f4b;
  --color-muted: #6f7f7a;
  --color-line: #dcd3c4;

  /* 타이포그래피 */
  --font-sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", sans-serif;
  --font-serif: "Nanum Myeongjo", "Apple SD Gothic Neo", serif;

  --fs-hero: clamp(2rem, 6.2vw, 3.6rem);
  --fs-h2: clamp(1.55rem, 4vw, 2.35rem);
  --fs-h3: clamp(1.1rem, 2.4vw, 1.3rem);
  --fs-body: clamp(0.95rem, 2vw, 1.05rem);
  --fs-small: 0.875rem;

  /* 간격 */
  --space-section: clamp(4rem, 10vw, 7.5rem);
  --space-lg: 2.5rem;
  --space-md: 1.5rem;
  --space-sm: 0.75rem;

  /* 기타 */
  --wrap: 1140px;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(20, 81, 74, 0.07);
  --shadow-md: 0 14px 38px rgba(20, 81, 74, 0.12);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------
   2. reset
------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-body);
  background: var(--color-sand);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
}

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

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

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 공통 레이아웃 유틸 */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section--sand {
  background: var(--color-sand-deep);
}

.section--surface {
  background: var(--color-surface);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: var(--space-md);
  color: var(--color-muted);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  z-index: 999;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  transform: translateX(-50%);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ------------------------------------------------------------
   3. header — 로고 + 네비게이션
------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 242, 233, 0.97);
  border-bottom-color: var(--color-line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-h);
}

/* 텍스트 로고 */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.2;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-accent-soft);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.logo-branch {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

/* 네비게이션 */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.1rem);
}

.nav-list a {
  position: relative;
  padding-block: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-body);
  transition: color 0.2s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-primary);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

/* 햄버거 버튼 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span + span {
  margin-top: 6px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------------------------------------
   4. hero — 메인 배너
------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 12vw, 8.5rem);
  background: linear-gradient(165deg, var(--color-primary-dark) 0%, var(--color-primary) 58%, #1b6259 100%);
  color: #fff;
  isolation: isolate;
}

/* 히어로 배경 장식 — 은은한 물결 */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 46vw;
  height: 46vw;
  min-width: 320px;
  min-height: 320px;
  top: -18%;
  right: -12%;
  background: radial-gradient(circle at 35% 35%, rgba(224, 177, 119, 0.22), transparent 62%);
}

.hero::after {
  width: 34vw;
  height: 34vw;
  min-width: 240px;
  min-height: 240px;
  bottom: -22%;
  left: -10%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.hero-inner {
  max-width: 44rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-md);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-accent-soft);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: normal;
  color: var(--color-accent-soft);
}

.hero-desc {
  margin-top: var(--space-md);
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(195, 135, 60, 0.32);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #b0762f;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.btn--dark {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: var(--color-primary-dark);
}

/* 히어로 하단 요약 */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 6vw, 3.75rem);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts div {
  min-width: 8rem;
}

.hero-facts dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--color-accent-soft);
}

.hero-facts dd {
  margin-top: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

/* ------------------------------------------------------------
   5. about — 소개
------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.about-card {
  padding: clamp(1.75rem, 3.5vw, 2.4rem);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.about-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-md);
  border-radius: 16px;
  background: rgba(20, 81, 74, 0.08);
  color: var(--color-primary);
}

.about-card h3 {
  margin-bottom: 0.6rem;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--color-ink);
}

.about-card p {
  font-size: 0.96rem;
  color: var(--color-muted);
}

.about-lead {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-ink);
}

/* ------------------------------------------------------------
   6. services — 프로그램 카드 그리드
------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.6rem, 3.2vw, 2.1rem);
  background: var(--color-sand);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before,
.service-card:focus-within::before {
  transform: scaleY(1);
}

.service-no {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-accent);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--color-ink);
}

.service-card p {
  font-size: 0.94rem;
  color: var(--color-muted);
}

.service-note {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding: 1.1rem 1.4rem;
  background: rgba(20, 81, 74, 0.06);
  border-left: 3px solid var(--color-primary-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--color-body);
}

/* ------------------------------------------------------------
   7. process — 이용 안내 스텝
------------------------------------------------------------ */
.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  counter-reset: step;
}

.step-item {
  position: relative;
  padding-top: 2.6rem;
  counter-increment: step;
}

.step-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
}

.step-item::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 2.6rem;
  right: 0;
  height: 1px;
  background: var(--color-line);
}

.step-item:last-child::after {
  display: none;
}

.step-item h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-ink);
}

.step-item p {
  font-size: 0.93rem;
  color: var(--color-muted);
}

/* ------------------------------------------------------------
   8. contact — 오시는 길
------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.info-list {
  display: grid;
  gap: 1.15rem;
}

.info-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: var(--space-md);
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--color-line);
}

.info-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-item dt {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}

.info-item dd {
  font-size: 0.98rem;
  color: var(--color-ink);
}

.info-item dd a {
  border-bottom: 1px solid var(--color-accent-soft);
  transition: color 0.2s var(--ease);
}

.info-item dd a:hover,
.info-item dd a:focus-visible {
  color: var(--color-accent);
}

.info-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* 지도 자리 */
.map-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-md);
  min-height: 320px;
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  overflow: hidden;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  top: 34%;
  left: 30%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 rgba(195, 135, 60, 0.55);
  animation: pin-pulse 2.4s ease-out infinite;
}

@keyframes pin-pulse {
  70% {
    box-shadow: 0 0 0 26px rgba(195, 135, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(195, 135, 60, 0);
  }
}

.map-panel h3 {
  position: relative;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 800;
}

.map-panel p {
  position: relative;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.8);
}

.map-panel .btn {
  position: relative;
  align-self: flex-start;
}

/* ------------------------------------------------------------
   9. footer — 스크롤 반응 오브젝트 + 사업자 정보
------------------------------------------------------------ */
.site-footer {
  position: relative;
  isolation: isolate;
  padding-top: clamp(9rem, 22vw, 14rem);
  background: linear-gradient(180deg, #0f4740 0%, var(--color-primary-dark) 45%, #082723 100%);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  /* --sp: 푸터 진입 진행도(0~1), --gp: 전체 페이지 진행도 — script.js가 갱신 */
  --sp: 0;
  --gp: 0;
}

/* 스크롤 오브젝트 무대 */
.footer-scene {
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(9rem, 22vw, 14rem);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

/* 광안대교 실루엣 — 스크롤에 따라 가로 이동 + 상승 */
.scene-bridge {
  position: absolute;
  left: 50%;
  bottom: 38%;
  width: min(1180px, 132%);
  height: auto;
  color: rgba(224, 177, 119, 0.34);
  transform: translate3d(calc(-50% + var(--sp) * 46px), calc(var(--sp) * -20px), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}

/* 떠오르는 오브젝트(아로마 버블) */
.scene-orbs {
  position: absolute;
  inset: 0;
  transform: translate3d(0, calc(var(--sp) * -34px), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}

.orb {
  position: absolute;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.5), rgba(224, 177, 119, 0.16) 55%, rgba(224, 177, 119, 0) 72%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: orb-float linear infinite;
}

.orb--1 { left: 8%;  width: 46px; height: 46px; animation-duration: 13s; animation-delay: -2s; }
.orb--2 { left: 22%; width: 22px; height: 22px; animation-duration: 9s;  animation-delay: -5s; }
.orb--3 { left: 41%; width: 62px; height: 62px; animation-duration: 17s; animation-delay: -9s; }
.orb--4 { left: 58%; width: 30px; height: 30px; animation-duration: 11s; animation-delay: -1s; }
.orb--5 { left: 74%; width: 52px; height: 52px; animation-duration: 15s; animation-delay: -7s; }
.orb--6 { left: 89%; width: 26px; height: 26px; animation-duration: 10s; animation-delay: -4s; }

@keyframes orb-float {
  0% {
    transform: translate3d(0, 30%, 0) scale(0.85);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  80% {
    opacity: 0.85;
  }
  100% {
    transform: translate3d(18px, -240%, 0) scale(1.08);
    opacity: 0;
  }
}

/* 물결 레이어 — 스크롤 패럴랙스 + 무한 흐름 */
.wave-layer {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  transition: transform 0.12s linear;
  will-change: transform;
}

.wave-layer svg {
  width: 200%;
  height: 100%;
  animation: wave-drift linear infinite;
}

@keyframes wave-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.wave-layer--back {
  bottom: 26%;
  height: clamp(48px, 8vw, 86px);
  color: rgba(255, 255, 255, 0.08);
  transform: translate3d(calc(var(--sp) * -54px), 0, 0);
}

.wave-layer--back svg {
  animation-duration: 26s;
}

.wave-layer--mid {
  bottom: 12%;
  height: clamp(54px, 9vw, 96px);
  color: rgba(45, 124, 112, 0.55);
  transform: translate3d(calc(var(--sp) * 38px), 0, 0);
}

.wave-layer--mid svg {
  animation-duration: 18s;
  animation-direction: reverse;
}

.wave-layer--front {
  bottom: -2%;
  height: clamp(60px, 10vw, 110px);
  color: #0c3833;
  transform: translate3d(calc(var(--sp) * -26px), 0, 0);
}

.wave-layer--front svg {
  animation-duration: 12s;
}

/* 푸터 본문 */
.footer-inner {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4rem) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.35fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .logo-name {
  color: #fff;
}

.footer-brand .logo-branch {
  color: var(--color-accent-soft);
}

.footer-brand .logo-mark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent-soft);
}

.footer-tagline {
  margin-top: var(--space-md);
  max-width: 22rem;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.66);
}

/* 사업자 정보 */
.biz-title {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-accent-soft);
}

.biz-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem clamp(1.5rem, 4vw, 2.5rem);
  font-size: 0.9rem;
}

.biz-item dt {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.biz-item dd {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.biz-item--wide {
  grid-column: 1 / -1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 1.6rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-nav a {
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-accent-soft);
}

/* 맨 위로 버튼 */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease), background-color 0.25s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover,
.to-top:focus-visible {
  background: var(--color-accent);
}

/* ------------------------------------------------------------
   10. 스크롤 진입 애니메이션
------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }

/* ------------------------------------------------------------
   11. responsive
------------------------------------------------------------ */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-sand);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s var(--ease), visibility 0.35s var(--ease);
  }

  .site-nav.is-open {
    max-height: 22rem;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .nav-list li + li {
    border-top: 1px solid var(--color-line);
  }

  .nav-list a {
    display: block;
    padding-block: 0.95rem;
  }

  .nav-list a::after {
    display: none;
  }

  .step-item::after {
    display: none;
  }

  .hero-facts {
    gap: 1.25rem 2rem;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 2rem, var(--wrap));
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .info-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .orb--3,
  .orb--5 {
    display: none;
  }
}

/* ------------------------------------------------------------
   12. 접근성 — 모션 최소화 / 인쇄
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .scene-bridge,
  .scene-orbs,
  .wave-layer {
    transform: none !important;
  }
}

@media print {
  .site-header,
  .to-top,
  .footer-scene {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
