/* ── Contact Section ── */
#contact {
  width: 100%;
  max-width: 600px;
  padding: clamp(3rem, 6vw, 6rem) 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.contact-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #031868;
  line-height: 1.2;
}

.contact-sub {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: #888;
}

.contact-divider {
  width: 100%;
  border-top: 1.5px dashed rgba(3, 24, 104, 0.2);
}

/* ── List ── */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 458px;
  height: 50px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow:
    0px 18px 17.8px -18px #473C3729,
    0px 0px 0px 1px #0000000F;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-item:hover {
  transform: translateX(4px);
  box-shadow:
    0px 18px 17.8px -18px #473C3740,
    0px 0px 0px 1px #0000001a;
}

.contact-item-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-item-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 100%;
  height: 100%;
}

.contact-item-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #031868;
}

.contact-item-value {
  font-size: 0.85rem;
  color: #888;
}

/* ── Footer ── */
#footer {
  width: 100%;
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(3, 24, 104, 0.1);
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .contact-item {
    height: auto;
    min-height: 50px;
  }

  .contact-item-value {
    font-size: 0.75rem;
    text-align: right;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
