/* =======================================================================
   ESTILOS COMPARTIDOS: TARJETAS NFC Y PÁGINA DE ENLACES (LINKTREE)
   ======================================================================= */

body { 
    background-color: #050505; 
    display: flex; 
    justify-content: center; 
    min-height: 100vh; 
    margin: 0; 
    font-family: "Montserrat", sans-serif; 
}

/* Contenedor principal estilo móvil */
.card-container { 
    width: 100%; 
    max-width: 480px; 
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.03) 0%, #050505 80%); 
    padding: 50px 25px 40px; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.card-container::before { 
    content: ""; 
    position: absolute; 
    top: -100px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 250px; 
    height: 250px; 
    background: radial-gradient(circle, rgba(255, 102, 0, 0.15) 0%, transparent 70%); 
    z-index: 0; 
    pointer-events: none; 
}

/* =========================================
   1. CABECERAS (PERFIL Y MARCA)
   ========================================= */

/* A. Cabecera de Marca (Para links.html) */
.brand-header { text-align: center; margin-bottom: 35px; position: relative; z-index: 2; width: 100%; }
.brand-header img { height: 45px; margin-bottom: 20px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5)); }
.brand-title { font-size: 1.3rem; font-weight: 800; color: var(--color-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.brand-subtitle { font-size: 0.9rem; color: #aaa; font-weight: 300; }

/* B. Cabecera de Perfil Personal (Para Tarjetas NFC) */
.profile-section { position: relative; z-index: 2; text-align: center; margin-bottom: 30px; width: 100%; }
.profile-pic-wrapper { position: relative; width: 110px; height: 110px; margin: 0 auto 20px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--color-accent), #333); }
.profile-pic { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #050505; background-color: #111; }
.company-logo-small { position: absolute; bottom: -5px; right: -5px; background: #050505; border-radius: 50%; padding: 5px; width: 35px; height: 35px; display: flex; justify-content: center; align-items: center; border: 1px solid rgba(255, 255, 255, 0.1); }
.company-logo-small img { width: 80%; }
.profile-name { font-size: 1.6rem; font-weight: 800; color: var(--color-light); margin-bottom: 5px; letter-spacing: 0.5px; }
.profile-title { font-size: 0.95rem; color: var(--color-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.profile-company { font-size: 0.85rem; color: #888; font-weight: 300; }

/* =========================================
   2. BOTONES Y ACCIONES RÁPIDAS
   ========================================= */

/* Botón principal guardar contacto */
.btn-save-contact { width: 100%; background: var(--color-light); color: #000; padding: 16px; border-radius: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; display: flex; justify-content: center; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 30px; transition: transform 0.3s, box-shadow 0.3s; position: relative; z-index: 2; }
.btn-save-contact:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2); }
.btn-save-contact svg { width: 20px; height: 20px; stroke: #000; stroke-width: 2; fill: none; }

/* Botones circulares (Llamar, WhatsApp, Email, Mapa) */
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; width: 100%; margin-bottom: 35px; position: relative; z-index: 2; }
.action-btn { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); padding: 15px 0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; transition: 0.3s; backdrop-filter: blur(5px); }
.action-btn:hover { background: rgba(255, 102, 0, 0.1); border-color: rgba(255, 102, 0, 0.3); transform: translateY(-3px); }
.action-btn svg { width: 22px; height: 22px; stroke: var(--color-light); stroke-width: 1.5; fill: none; transition: 0.3s; }
.action-btn:hover svg { stroke: var(--color-accent); }
.action-label { font-size: 0.7rem; color: #aaa; font-weight: 400; }

/* =========================================
   3. LISTA DE ENLACES (LINKTREE)
   ========================================= */
.links-section { width: 100%; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 2; margin-bottom: 30px; }
.link-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); padding: 15px 20px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; text-decoration: none; transition: 0.3s; backdrop-filter: blur(5px); }
.link-card:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); transform: translateX(5px); }

/* Enlace destacado (Primary) */
.link-card.primary { background: var(--color-accent); border-color: var(--color-accent); box-shadow: 0 8px 20px rgba(255, 102, 0, 0.2); }
.link-card.primary .link-title, .link-card.primary .link-subtitle, .link-card.primary .link-arrow { color: #000; }
.link-card.primary .link-icon { background: rgba(0, 0, 0, 0.15); border-color: transparent; }
.link-card.primary .link-icon svg { stroke: #000; }
.link-card.primary:hover { background: var(--color-light); border-color: var(--color-light); transform: translateY(-3px) translateX(0); box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2); }

.link-content { display: flex; align-items: center; gap: 15px; }
.link-icon { width: 40px; height: 40px; background: rgba(0, 0, 0, 0.5); border-radius: 8px; display: flex; justify-content: center; align-items: center; border: 1px solid rgba(255, 255, 255, 0.05); flex-shrink: 0; }
.link-icon svg { width: 20px; height: 20px; stroke: var(--color-accent); stroke-width: 1.5; fill: none; }
.link-text { display: flex; flex-direction: column; }
.link-title { color: var(--color-light); font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; letter-spacing: 0.5px; }
.link-subtitle { color: #888; font-size: 0.75rem; font-weight: 400; }
.link-arrow { color: #555; font-size: 1.2rem; font-weight: bold; transition: 0.3s; }

/* =========================================
   4. REDES SOCIALES DISCRETAS (links.html)
   ========================================= */
.social-icons { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; position: relative; z-index: 2; width: 100%; }
.social-icon-btn { display: flex; justify-content: center; align-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); color: #888; transition: 0.3s; backdrop-filter: blur(5px); }
.social-icon-btn:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 102, 0, 0.4); color: var(--color-accent); transform: translateY(-3px); }
.social-icon-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round;}

/* =========================================
   5. DIRECTORIO CORPORATIVO (links.html)
   ========================================= */
.section-title { font-size: 0.9rem; color: #777; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; width: 100%; text-align: left; margin-bottom: 15px; position: relative; z-index: 2; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.team-grid { display: flex; flex-direction: column; gap: 10px; width: 100%; position: relative; z-index: 2; }
.team-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.03); padding: 12px 15px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; text-decoration: none; transition: 0.3s; }
.team-card:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 102, 0, 0.3); }
.team-info-wrapper { display: flex; align-items: center; gap: 15px; }
.team-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid #111; }
.team-details { display: flex; flex-direction: column; }
.team-name { color: var(--color-light); font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.team-role { color: var(--color-accent); font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.download-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.download-icon svg { width: 14px; height: 14px; stroke: var(--color-light); stroke-width: 2; fill: none; }
.team-card:hover .download-icon { background: var(--color-accent); transform: scale(1.1); }
.team-card:hover .download-icon svg { stroke: #000; }

/* =========================================
   6. FOOTER DE LAS TARJETAS
   ========================================= */
.card-footer { margin-top: 40px; text-align: center; position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; width: 100%; }
.card-footer img { height: 25px; opacity: 0.5; margin-bottom: 10px; display: inline-block; }
.card-footer p { font-size: 0.7rem; color: #555; font-weight: 300; }