/* ============================================================
   Footer v2 — dense sitemap footer.
   레퍼런스: Aman (warm beige multi-column), Aesop (dense link groups),
   Bulgari Hotels (CTA + social), Mandarin Oriental (structured legal).

   ⚠️ 브랜드 컬러 (#f6f5f0 cream, #d5c1b5 beige, #aa8e7d taupe, #393939 charcoal)
   는 변경 없음 — 이미 잡혀있는 브랜딩.
   ============================================================ */

[data-footer-v2] {
  --fv2-bg:        #f6f5f0;
  --fv2-bg-soft:   #f0e9e3;
  --fv2-beige:     #d5c1b5;
  --fv2-taupe:     #aa8e7d;
  --fv2-hair:      #d9cfc2;
  --fv2-text:      #2a2521;
  --fv2-text-2:    #5d5247;
  --fv2-text-3:    #8d7e6e;
  --fv2-watermark: #ece2d4;

  background: var(--fv2-bg);
  color: var(--fv2-text);
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  position: relative;
  overflow: hidden;
}

/* ── Wordmark watermark (top decorative band) ───────────────── */

[data-footer-v2] .fv2-wordmark {
  font-family: 'Cormorant Infant', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(80px, 11vw, 180px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fv2-watermark);
  text-align: center;
  white-space: nowrap;
  padding: 56px 0 36px;
  margin: 0;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
}

/* ── Container ──────────────────────────────────────────────── */

[data-footer-v2] .fv2-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 80px 56px;
  box-sizing: border-box;
}

@media (max-width: 980px) {
  [data-footer-v2] .fv2-inner { padding: 0 40px 48px; }
}
@media (max-width: 640px) {
  [data-footer-v2] .fv2-wordmark { padding: 40px 0 24px; }
  [data-footer-v2] .fv2-inner { padding: 0 24px 40px; }
}

/* ── Sitemap grid (4 columns) ───────────────────────────────── */

[data-footer-v2] .fv2-sitemap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 40px;
  padding: 0 0 56px;
  border-bottom: 1px solid var(--fv2-hair);
}

@media (max-width: 980px) {
  [data-footer-v2] .fv2-sitemap {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
}
@media (max-width: 480px) {
  [data-footer-v2] .fv2-sitemap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

[data-footer-v2] .fv2-col-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fv2-hair);
}

[data-footer-v2] .fv2-col-caption {
  font-family: 'Cormorant Infant', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--fv2-taupe);
  margin-bottom: 4px;
}

[data-footer-v2] .fv2-col-label {
  font-family: 'Pretendard Variable', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--fv2-text);
}

[data-footer-v2] .fv2-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-footer-v2] .fv2-col-list li {
  margin-bottom: 9px;
}

[data-footer-v2] .fv2-col-list li:last-child { margin-bottom: 0; }

[data-footer-v2] .fv2-col-list a {
  color: var(--fv2-text-2);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  transition: color 0.2s ease, padding-left 0.25s ease;
  position: relative;
  display: inline-block;
}

[data-footer-v2] .fv2-col-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--fv2-taupe);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

[data-footer-v2] .fv2-col-list a:hover {
  color: var(--fv2-text);
  padding-left: 14px;
}

[data-footer-v2] .fv2-col-list a:hover::before {
  width: 10px;
}

/* ── Contact + CTA + Follow row ────────────────────────────── */

[data-footer-v2] .fv2-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--fv2-hair);
  align-items: flex-start;
}

@media (max-width: 980px) {
  [data-footer-v2] .fv2-contact-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Home only — [info LEFT | 지도 MID | actions RIGHT] ─── */

[data-footer-v2] .fv2-contact-row--has-map {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 48px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  [data-footer-v2] .fv2-contact-row--has-map {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 36px;
  }
  [data-footer-v2] .fv2-contact-row--has-map .fv2-contact-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 8px;
    min-width: 0;
  }
  [data-footer-v2] .fv2-contact-row--has-map .fv2-follow {
    margin-top: 0;
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  [data-footer-v2] .fv2-contact-row--has-map {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  [data-footer-v2] .fv2-contact-row--has-map .fv2-contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  [data-footer-v2] .fv2-contact-row--has-map .fv2-follow {
    margin-left: 0;
  }
}

[data-footer-v2] .fv2-map {
  position: relative;
  background: var(--fv2-bg-soft);
  overflow: hidden;
  border-radius: 2px;
  min-height: 320px;
  box-shadow: 0 18px 40px -28px rgba(58, 40, 28, 0.20);
}

@media (max-width: 720px) {
  [data-footer-v2] .fv2-map {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

[data-footer-v2] .fv2-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

[data-footer-v2] .fv2-map__open {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fv2-text);
  text-decoration: none;
  box-shadow: 0 6px 16px -4px rgba(58, 40, 28, 0.22);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

[data-footer-v2] .fv2-map__open:hover {
  background: var(--fv2-text);
  color: #ffffff;
  transform: translateY(-2px);
}

[data-footer-v2] .fv2-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

[data-footer-v2] .fv2-logo img {
  display: block;
  height: 44px;
  width: auto;
}

[data-footer-v2] .fv2-meta {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px 24px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

[data-footer-v2] .fv2-meta dt {
  color: var(--fv2-taupe);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
}

[data-footer-v2] .fv2-meta dd {
  margin: 0;
  color: var(--fv2-text);
  letter-spacing: -0.005em;
}

[data-footer-v2] .fv2-meta dd a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

[data-footer-v2] .fv2-meta dd a:hover { border-bottom-color: currentColor; }

[data-footer-v2] .fv2-meta-sep {
  margin: 0 8px;
  color: var(--fv2-text-3);
}

/* ── Actions column (CTA + SNS) ────────────────────────────── */

[data-footer-v2] .fv2-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  min-width: 280px;
}

@media (max-width: 980px) {
  [data-footer-v2] .fv2-contact-actions {
    align-items: flex-start;
    min-width: 0;
  }
}

[data-footer-v2] .fv2-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 240px;
  padding: 14px 22px;
  background: var(--fv2-text);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid var(--fv2-text);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

[data-footer-v2] .fv2-cta .fv2-cta-arrow {
  transition: transform 0.3s ease;
  font-size: 15px;
}

[data-footer-v2] .fv2-cta:hover {
  background: var(--fv2-taupe);
  border-color: var(--fv2-taupe);
}

[data-footer-v2] .fv2-cta:hover .fv2-cta-arrow {
  transform: translateX(4px);
}

[data-footer-v2] .fv2-cta.fv2-cta-secondary {
  background: transparent;
  color: var(--fv2-text);
  border-color: var(--fv2-text);
}

[data-footer-v2] .fv2-cta.fv2-cta-secondary:hover {
  background: var(--fv2-text);
  color: #fff;
}

/* ── Follow group ──────────────────────────────────────────── */

[data-footer-v2] .fv2-follow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

[data-footer-v2] .fv2-follow-label {
  font-family: 'Cormorant Infant', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--fv2-taupe);
  letter-spacing: 0.05em;
}

[data-footer-v2] .fv2-sns {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-footer-v2] .fv2-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.25s ease, transform 0.25s ease;
}

[data-footer-v2] .fv2-sns a:hover {
  background: var(--fv2-text);
  transform: translateY(-2px);
}

[data-footer-v2] .fv2-sns a:hover img {
  filter: brightness(0) invert(1);
}

[data-footer-v2] .fv2-sns img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  transition: filter 0.25s ease;
}

/* ── Legal bottom (tiny, muted) ────────────────────────────── */

[data-footer-v2] .fv2-legal {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

[data-footer-v2] .fv2-legal-meta {
  display: flex;
  gap: 0;
  font-size: 12px;
  color: var(--fv2-text-3);
  flex-wrap: wrap;
  letter-spacing: 0.01em;
}

[data-footer-v2] .fv2-legal-meta span + span::before {
  content: '·';
  margin: 0 10px;
  color: var(--fv2-hair);
}

[data-footer-v2] .fv2-legal-copy {
  font-size: 12px;
  color: var(--fv2-text-3);
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  [data-footer-v2] .fv2-legal {
    flex-direction: column;
    align-items: flex-start;
  }
}
