/* Contact — editorial channel list (v3) */

.page-contact .site-main {
  padding-top: 0;
}

.contact {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -15%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 185, 84, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.contact::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10%;
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact__intro .page-hero__title {
  max-width: none;
}

.contact__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact__pills li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__channels {
  display: grid;
  gap: 0.75rem;
}

.contact__channel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.contact__channel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(29, 185, 84, 0.08) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.contact__channel:hover {
  transform: translateX(4px);
  border-color: rgba(29, 185, 84, 0.35);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.contact__channel:hover::before {
  opacity: 1;
}

.contact__channel--featured {
  border-color: rgba(29, 185, 84, 0.25);
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.contact__channel--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
}

.contact__channel--whatsapp .contact__channel-icon {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.25);
}

.contact__channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #1db954;
  background: rgba(29, 185, 84, 0.12);
  border: 1px solid rgba(29, 185, 84, 0.22);
  flex-shrink: 0;
}

.contact__channel-icon svg {
  width: 20px;
  height: 20px;
}

.contact__channel-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.contact__channel-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.contact__channel-value {
  font-family: var(--font-tight);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  word-break: break-word;
}

.contact__channel-hint {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
}

.contact__channel-arrow {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease, color 0.25s ease;
}

.contact__channel:hover .contact__channel-arrow {
  transform: translateX(4px);
  color: #1db954;
}

.contact__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact__actions .mk-btn {
  margin-top: 0;
}

@media (max-width: 860px) {
  .contact__layout {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact__channel:hover {
    transform: none;
  }
}
