/* VCARD PROFESIONAL - Fuentes grandes y diseño limpio */

:root {
  --primary: #2563eb;
  --secondary: #06b6d4;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f1f5f9;
  --white: #ffffff;
  --success: #10b981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  line-height: 1.6;
  font-size: 18px; /* FUENTE BASE GRANDE */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.header {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,0.8);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo i {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.logo strong {
  font-size: 22px; /* MÁS GRANDE */
  font-weight: 800;
}

.logo span {
  font-size: 15px; /* MÁS GRANDE */
  opacity: 0.8;
}

nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 17px; /* MÁS GRANDE */
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s;
}

nav a:hover {
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
}

/* HERO */
.hero {
  padding: 48px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}

/* PROFILE */
.profile-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.2);
}

.profile-info h1 {
  font-size: 32px; /* MUY GRANDE */
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.subtitle {
  font-size: 19px; /* MÁS GRANDE */
  opacity: 0.9;
  margin-bottom: 16px;
}

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badges span {
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.3);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 15px; /* MÁS GRANDE */
  font-weight: 700;
}

.info-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.info-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.info-box i {
  font-size: 28px;
  color: var(--secondary);
}

.info-box strong {
  display: block;
  font-size: 17px; /* MÁS GRANDE */
  margin-bottom: 4px;
}

.info-box span {
  font-size: 15px; /* MÁS GRANDE */
  opacity: 0.8;
}

/* CONTACT ACTIONS */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.contact-btn {
  padding: 18px 12px; /* MÁS PADDING */
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 16px; /* MÁS GRANDE */
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}

.contact-btn:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.contact-btn i {
  font-size: 24px; /* ÍCONO GRANDE */
}

.contact-btn.phone i { color: #3b82f6; }
.contact-btn.email i { color: #8b5cf6; }
.contact-btn.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
}
.contact-btn.save {
  background: rgba(0,0,0,0.3);
}

/* CARTA PREVIEW */
.carta-preview {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.carta-preview h3 {
  font-size: 20px; /* MÁS GRANDE */
  margin-bottom: 12px;
}

.carta-preview p {
  font-size: 16px; /* MÁS GRANDE */
  opacity: 0.8;
  margin-bottom: 20px;
}

.btn-carta {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 17px; /* MÁS GRANDE */
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* QR CARD */
.qr-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
}

.qr-card h3 {
  font-size: 22px; /* MÁS GRANDE */
  margin-bottom: 24px;
}

.qr-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.qr-box img {
  width: 100%;
  max-width: 280px;
}

.qr-instruction {
  font-size: 16px; /* MÁS GRANDE */
  opacity: 0.8;
  margin-bottom: 24px;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-btn {
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 16px; /* MÁS GRANDE */
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.share-btn:hover {
  background: rgba(255,255,255,0.1);
}

.share-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
}

.share-btn.nfc-btn {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  border: none;
}

/* CARTA SECTION */
.carta-section {
  display: none;
  padding: 48px 0;
  background: rgba(0,0,0,0.3);
}

.carta-section.show {
  display: block;
}

.carta-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.carta-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.carta-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.carta-header i {
  font-size: 52px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.carta-header h2 {
  font-size: 30px; /* GRANDE */
}

.carta-body {
  font-size: 18px; /* FUENTE GRANDE */
  line-height: 1.8;
}

.saludo {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 20px;
}

.carta-body p {
  margin-bottom: 20px;
}

.carta-body h3 {
  font-size: 22px; /* GRANDE */
  margin: 28px 0 16px;
}

.carta-list {
  list-style: none;
  margin: 20px 0;
}

.carta-list li {
  padding: 12px 0;
  font-size: 17px; /* GRANDE */
}

.firma {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 17px;
}

.firma-name {
  font-size: 22px; /* GRANDE */
  font-weight: 800;
  margin: 12px 0;
}

/* SERVICES */
.services {
  padding: 64px 0;
}

.services h2 {
  font-size: 36px; /* MUY GRANDE */
  text-align: center;
  margin-bottom: 48px;
  font-weight: 800;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.2s;
}

.service-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.service-card i {
  font-size: 42px; /* ÍCONO GRANDE */
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px; /* GRANDE */
  margin-bottom: 12px;
}

.service-card p {
  font-size: 16px; /* GRANDE */
  opacity: 0.85;
}

/* FOOTER */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 64px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px; /* GRANDE */
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.footer-contact {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

/* MODALS */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: rgba(30,41,59,0.95);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.modal-icon.downloading {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  animation: pulse 1.5s infinite;
}

.modal-icon.success {
  background: linear-gradient(135deg, var(--success), #34d399);
}

.modal-icon.nfc {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  position: relative;
}

.nfc-waves {
  position: absolute;
  inset: 0;
  border: 2px solid #a78bfa;
  border-radius: 50%;
  animation: nfcWave 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes nfcWave {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

.modal-content h3 {
  font-size: 26px; /* GRANDE */
  margin-bottom: 16px;
}

.modal-content p {
  font-size: 17px; /* GRANDE */
  opacity: 0.9;
  margin-bottom: 24px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width 0.3s;
}

.progress-text {
  font-size: 20px; /* GRANDE */
  font-weight: 800;
}

.nfc-instructions {
  text-align: left;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.nfc-instructions p {
  font-size: 16px; /* GRANDE */
  margin: 12px 0;
  opacity: 0.95;
}

.modal-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 18px; /* GRANDE */
  font-weight: 700;
  cursor: pointer;
}

.modal-btn.secondary {
  background: rgba(255,255,255,0.1);
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  
  .profile-card {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-info h1 {
    font-size: 26px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .info-boxes {
    grid-template-columns: 1fr;
  }
  
  nav a:not(.btn-primary) {
    display: none;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}