/* CONTACT */

@keyframes bg-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 24px 24px;
  }
}

body.page-contact {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #f8f8f8;
  background-image: radial-gradient(circle, #d0d0d0 1px, transparent 1px);
  background-size: 24px 24px;
  animation: bg-drift 6s linear infinite;
}

body.page-contact .contact-page {
  padding-top: 80px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.page-contact .location-panels {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #28166f;
  padding: 1.5rem;
  margin: 0 2rem 2rem;
  border-radius: 12px;
}

body.page-contact .location-panel {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
}

.contact-page {
  padding-top: 80px;
}

.location-tabs {
  display: flex;
  gap: 1rem;
  padding: 2rem;
  flex-shrink: 0;
  justify-content: center;
}

.location-tab {
  font-family: 'font-sans-serif', sans-serif;
  border: 2px solid #e5e5e5;
  border-radius: 999px;
  background: #f5f5f5;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  gap: 4px;
  transform-origin: bottom center;
  animation: tab-pulse 2s ease-in-out infinite;
}

@keyframes tab-pulse {
  0%   { border-color: #e5e5e5; color: #555; transform: scale(1); }
  50%  { border-color: #28166f; color: #28166f; transform: scale(1.02); }
  100% { border-color: #e5e5e5; color: #555; transform: scale(1); }
}

.location-tab.active {
  background: #28166f;
  border-color: #28166f;
  color: #fff;
  animation: none;
}

.location-tab:hover {
  background: #eee;
  color: #28166f;
  animation: none;
}

.tab-title {
  font-size: 17px;
  font-weight: 500;
}

.tab-sub {
  font-size: 13px;
  opacity: 0.6;
}

.location-panel {
  display: none;
  flex-direction: row;
}

.location-panel.active {
  display: flex;
}

.location-map {
  flex: 1;
  border: none;
  border-radius: 8px 8px 8px 8px;
}

.location-info {
  width: clamp(260px, 30%, 460px);
  flex-shrink: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #28166f;
  border-radius: 8px 0 0 8px;
  scrollbar-width: none;
}

.location-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.location-info-item:first-child {
  padding-top: 0;
}

.location-info-label {
  font-size: clamp(10px, 0.9vw, 12px);
  font-family: 'font-sans-serif', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-info-item span:last-child {
  font-size: clamp(14px, 1.2vw, 18px);
  font-family: 'font-sans-serif', sans-serif;
  color: #fff;
  line-height: 1.6;
}

.contact-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'font-sans-serif', sans-serif;
  font-size: 14px;
  transition: background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.contact-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2rem;
}

.contact-btn.full-width {
  grid-column: 1 / -1;
}