/* Grupo AEDIA vCard Page Styles */
:root {
  --navy: #1a2744;
  --navy-light: #243352;
  --gold: #c9a84c;
  --gold-light: #d4b96a;
  --white: #ffffff;
  --gray-light: #f4f5f7;
  --gray: #6b7280;
  --text-dark: #1f2937;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--gray-light);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.vcard-container {
  max-width: 420px;
  width: 100%;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.vcard-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 40px 24px 30px;
  text-align: center;
}

.vcard-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  margin: 0 auto 16px;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--gold);
  font-weight: 600;
  overflow: hidden;
}

.vcard-avatar img { width: 100%; height: 100%; object-fit: cover; }

.vcard-name {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.vcard-title {
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.vcard-company {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-top: 6px;
}

.vcard-body { padding: 24px; }

.vcard-info-item {
  display: flex;
  align-items: center;
  padding: 14px 8px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.2s;
  border-radius: 8px;
  margin: 0 -8px;
}

.vcard-info-item:hover { background: var(--gray-light); }
.vcard-info-item:last-child { border-bottom: none; }

.vcard-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
  font-size: 18px;
}

.icon-phone { background: rgba(34,197,94,0.1); color: #22c55e; }
.icon-whatsapp { background: rgba(37,211,102,0.1); color: #25d366; }
.icon-email { background: rgba(59,130,246,0.1); color: #3b82f6; }
.icon-address { background: rgba(239,68,68,0.1); color: #ef4444; }
.icon-web { background: rgba(168,85,247,0.1); color: #a855f7; }

.vcard-info-label {
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vcard-info-value {
  font-size: 15px;
  color: var(--text-dark);
  margin-top: 2px;
}

.vcard-actions {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-save-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}

.btn-save-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201,168,76,0.4);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,211,102,0.4);
}

.vcard-qr {
  text-align: center;
  padding: 16px 24px 24px;
}

.vcard-qr-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 8px;
}

.vcard-footer {
  text-align: center;
  padding: 16px 24px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: var(--gray);
}

.vcard-footer a { color: var(--gold); text-decoration: none; }

@media (max-width: 480px) {
  body { padding: 0; }
  .vcard-container { border-radius: 0; min-height: 100vh; }
}
