/* ================================================
   CONTACT — diseño editorial minimalista (beige/dark)
   ================================================ */
.contact-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #100f0d;
}

#background-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0e0d0b;
}

.contact-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 88px 24px 60px;
}

.contact-shell {
  width: 100%;
  max-width: 660px;
}

/* ---------- Intro ---------- */
.contact-intro {
  margin-bottom: clamp(34px, 6vh, 60px);
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 230, 218, 0.6);
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b6c79a;
  box-shadow: 0 0 0 0 rgba(182, 199, 154, 0.55);
  animation: status-pulse 2.4s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(182, 199, 154, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(182, 199, 154, 0); }
}

.contact-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 1.1rem 0;
  color: #ece6da;
}

.contact-lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(236, 230, 218, 0.62);
  max-width: 48ch;
  margin: 0;
}

/* ---------- Cards ---------- */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(236, 230, 218, 0.035);
  border: 1px solid rgba(236, 230, 218, 0.1);
  text-decoration: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.c-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(199, 178, 153, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.c-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 230, 218, 0.06);
  border: 1px solid rgba(236, 230, 218, 0.08);
  color: #c7b299;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.4s ease;
}

.c-icon svg { width: 22px; height: 22px; display: block; }

.c-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.c-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 230, 218, 0.45);
}

.c-value {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.98rem, 1.6vw, 1.18rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ece6da;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-arrow {
  color: rgba(236, 230, 218, 0.3);
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.4s ease;
}

.c-arrow svg { display: block; }

/* primary (email) */
.c-card--primary {
  background: rgba(199, 178, 153, 0.1);
  border-color: rgba(199, 178, 153, 0.28);
}
.c-card--primary .c-icon {
  background: rgba(199, 178, 153, 0.16);
  border-color: rgba(199, 178, 153, 0.3);
}
.c-card--primary .c-value { white-space: normal; word-break: break-word; }

@media (hover: hover) and (pointer: fine) {
  .c-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 178, 153, 0.42);
    background: rgba(236, 230, 218, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .c-card:hover::after { opacity: 1; }
  .c-card:hover .c-icon {
    background: rgba(199, 178, 153, 0.16);
    border-color: rgba(199, 178, 153, 0.32);
    color: #e6d8c0;
    transform: scale(1.06);
  }
  .c-card:hover .c-arrow { transform: translateX(5px); color: #c7b299; }
  .c-card--primary:hover { background: rgba(199, 178, 153, 0.15); }
}

.contact-foot {
  margin: clamp(28px, 5vh, 44px) 0 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(236, 230, 218, 0.4);
}

/* ---------- Entrance ---------- */
.contact-intro,
.c-card,
.contact-foot {
  opacity: 0;
  animation: c-rise 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.contact-intro { animation-delay: 0.05s; }
.contact-cards .c-card:nth-child(1) { animation-delay: 0.16s; }
.contact-cards .c-card:nth-child(2) { animation-delay: 0.26s; }
.contact-cards .c-card:nth-child(3) { animation-delay: 0.36s; }
.contact-foot { animation-delay: 0.48s; }

@keyframes c-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .contact-container { padding: 96px 18px 60px; }
  .c-card {
    grid-template-columns: 44px 1fr auto;
    gap: 15px;
    padding: 16px 16px;
    border-radius: 14px;
  }
  .c-icon { width: 44px; height: 44px; }
  .c-icon svg { width: 20px; height: 20px; }
  .c-value { font-size: 0.96rem; white-space: normal; word-break: break-word; }
  .c-label { font-size: 0.64rem; }
}
