/* ════════════════════════════════════
   07-footer.css — Last(Contact) 섹션 + Footer + 반응형
   ════════════════════════════════════ */
.last {
  background: var(--ink);
  padding: 8rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  position: relative;
}
.last-no {
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.15);
  margin-bottom: 1rem;
}
.last-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(232, 228, 222, 0.88);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.last-em {
  font-style: italic;
  color: rgba(232, 228, 222, 0.5);
}
.last-div {
  height: 1px;
  background: rgba(232, 228, 222, 0.08);
  margin: 1.8rem 0;
}
.last-desc {
  font-size: 1.5rem;
  line-height: 2;
  color: rgba(232, 228, 222, 0.28);
}
.ext-links {
  display: flex;
  flex-direction: column;
}
.ext-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(232, 228, 222, 0.06);
  text-decoration: none;
  color: rgba(232, 228, 222, 0.82);
  transition: padding-left 0.3s;
}
.ext-link:first-child {
  border-top: 1px solid rgba(232, 228, 222, 0.06);
}
.ext-link:hover {
  padding-left: 0.5rem;
}
.ext-l {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.ext-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* border: 1px solid rgba(232, 228, 222, 0.1); */
}
.ext-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10%;
}
.ei-n {
  background: #f5f5f5;
}
.ei-g {
  background: #f5f5f5;
}
.ei-m {
  background: #f5f5f5;
}
.ext-label {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.5);
}
.ext-val {
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 0.1rem;
}
.ext-arr {
  font-size: 0.9rem;
  color: rgba(232, 228, 222, 0.18);
  transition: color 0.3s;
}
.ext-link:hover .ext-arr {
  color: rgba(232, 228, 222, 0.6);
}
footer {
  background: #111009;
  border-top: 1px solid rgba(232, 228, 222, 0.04);
  padding: 1.8rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.f-name {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.5);
}
.f-copy {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(232, 228, 222, 0.5);
}

/* ── 반응형 — 모든 섹션 공통, 가장 마지막에 로드되어야 함 ── */
@media (max-width: 1024px) {
  .last {
    grid-template-columns: 1fr; /* 2열 → 1열 */
    gap: 3rem;
    padding: 6rem 1.8rem;
  }
}

@media (max-width: 640px) {
  .last {
    padding: 4.5rem 1.2rem;
  }
  .last-title {
    font-size: clamp(2.4rem, 9vw, 3rem);
  }
  .last-desc {
    font-size: 1.1rem;
    line-height: 1.8;
  }
  .ext-val {
    font-size: 1.05rem;
  }
  footer {
    padding: 1.5rem 1.2rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}